diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 377408c2..3fad05d1 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: ['20.19.0', '22.x'] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -28,5 +28,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci - - run: npm run build:dist + - run: npm ci --legacy-peer-deps=false --strict-peer-deps + - run: npm test + - run: npx playwright install --with-deps chromium + - run: npm run test:browser + - run: npm run test:consumer diff --git a/.gitignore b/.gitignore index c4f95615..455afdd7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,9 @@ # testing /coverage +/test-results/ +/playwright-report/ +/.verification/ # production #/build diff --git a/.npmignore b/.npmignore index 4b392fee..9341f39b 100644 --- a/.npmignore +++ b/.npmignore @@ -8,3 +8,9 @@ /.prettierrc /globals.d.ts /tsconfig.json +/tests/ +/vitest.config.ts +/playwright.config.ts +/test-results/ +/playwright-report/ +/.verification/ diff --git a/dist/cspr-design.es.js b/dist/cspr-design.es.js index 9a85a667..f1438848 100644 --- a/dist/cspr-design.es.js +++ b/dist/cspr-design.es.js @@ -1,67 +1,67 @@ -import { jsx as $, jsxs as Pe, Fragment as At } from "react/jsx-runtime"; -import be, { keyframes as qc, css as ef, useTheme as jo } from "styled-components"; -import * as tf from "react"; -import St, { useState as Ct, useEffect as vt, useReducer as Zc, useRef as wt, useCallback as ot, isValidElement as rf, cloneElement as Xc, createContext as Wi, useContext as Do, createElement as is, forwardRef as nf, memo as of, useDebugValue as as, useMemo as In, useLayoutEffect as Yc, Component as af, Children as y0 } from "react"; -import sf, { createPortal as uf } from "react-dom"; -const It = (e, o) => { - const g = e[o]; - if (g == null) - throw Error(`Missing size declaration: ${o}`); - return g; -}, cf = St.createContext({}), Qc = !0; -function lf({ baseColor: e, highlightColor: o, width: g, height: C, borderRadius: P, circle: x, direction: n, duration: c, enableAnimation: r = Qc, customHighlightBackground: a }) { +import { jsx as W, jsxs as Le, Fragment as pt } from "react/jsx-runtime"; +import xe, { keyframes as rd, css as uh, useTheme as wi } from "styled-components"; +import * as sn from "react"; +import yt, { useState as ft, useEffect as Ze, useReducer as _c, useRef as Qe, useCallback as rt, isValidElement as Ec, cloneElement as od, createContext as Ir, useLayoutEffect as id, useMemo as Fn, useContext as No, Component as lh, Children as n0 } from "react"; +import dh, { flushSync as ad, createPortal as r0 } from "react-dom"; +const xt = (e, t) => { + const c = e[t]; + if (c == null) + throw Error(`Missing size declaration: ${t}`); + return c; +}, fh = yt.createContext({}), sd = !0; +function ph({ baseColor: e, highlightColor: t, width: c, height: h, borderRadius: S, circle: g, direction: n, duration: s, enableAnimation: r = sd, customHighlightBackground: o }) { const i = {}; - return n === "rtl" && (i["--animation-direction"] = "reverse"), typeof c == "number" && (i["--animation-duration"] = `${c}s`), r || (i["--pseudo-element-display"] = "none"), (typeof g == "string" || typeof g == "number") && (i.width = g), (typeof C == "string" || typeof C == "number") && (i.height = C), (typeof P == "string" || typeof P == "number") && (i.borderRadius = P), x && (i.borderRadius = "50%"), typeof e < "u" && (i["--base-color"] = e), typeof o < "u" && (i["--highlight-color"] = o), typeof a == "string" && (i["--custom-highlight-background"] = a), i; + return n === "rtl" && (i["--animation-direction"] = "reverse"), typeof s == "number" && (i["--animation-duration"] = `${s}s`), r || (i["--pseudo-element-display"] = "none"), (typeof c == "string" || typeof c == "number") && (i.width = c), (typeof h == "string" || typeof h == "number") && (i.height = h), (typeof S == "string" || typeof S == "number") && (i.borderRadius = S), g && (i.borderRadius = "50%"), typeof e < "u" && (i["--base-color"] = e), typeof t < "u" && (i["--highlight-color"] = t), typeof o == "string" && (i["--custom-highlight-background"] = o), i; } -function io({ count: e = 1, wrapper: o, className: g, containerClassName: C, containerTestId: P, circle: x = !1, style: n, ...c }) { - var r, a, i; - const m = St.useContext(cf), t = { ...c }; - for (const [s, v] of Object.entries(c)) - typeof v > "u" && delete t[s]; +function Bo({ count: e = 1, wrapper: t, className: c, containerClassName: h, containerTestId: S, circle: g = !1, style: n, ...s }) { + var r, o, i; + const p = yt.useContext(fh), a = { ...s }; + for (const [u, y] of Object.entries(s)) + typeof y > "u" && delete a[u]; const f = { - ...m, - ...t, - circle: x - }, b = { + ...p, + ...a, + circle: g + }, C = { ...n, - ...lf(f) + ...ph(f) }; - let y = "react-loading-skeleton"; - g && (y += ` ${g}`); - const u = (r = f.inline) !== null && r !== void 0 ? r : !1, d = [], l = Math.ceil(e); - for (let s = 0; s < l; s++) { - let v = b; - if (l > e && s === l - 1) { - const h = (a = v.width) !== null && a !== void 0 ? a : "100%", O = e % 1, I = typeof h == "number" ? h * O : `calc(${h} * ${O})`; - v = { ...v, width: I }; - } - const p = St.createElement("span", { className: y, style: v, key: s }, ""); - u ? d.push(p) : d.push(St.createElement( - St.Fragment, - { key: s }, - p, - St.createElement("br", null) + let w = "react-loading-skeleton"; + c && (w += ` ${c}`); + const m = (r = f.inline) !== null && r !== void 0 ? r : !1, v = [], l = Math.ceil(e); + for (let u = 0; u < l; u++) { + let y = C; + if (l > e && u === l - 1) { + const b = (o = y.width) !== null && o !== void 0 ? o : "100%", _ = e % 1, E = typeof b == "number" ? b * _ : `calc(${b} * ${_})`; + y = { ...y, width: E }; + } + const d = yt.createElement("span", { className: w, style: y, key: u }, ""); + m ? v.push(d) : v.push(yt.createElement( + yt.Fragment, + { key: u }, + d, + yt.createElement("br", null) )); } - return St.createElement("span", { className: C, "data-testid": P, "aria-live": "polite", "aria-busy": (i = f.enableAnimation) !== null && i !== void 0 ? i : Qc }, o ? d.map((s, v) => St.createElement(o, { key: v }, s)) : d); + return yt.createElement("span", { className: h, "data-testid": S, "aria-live": "polite", "aria-busy": (i = f.enableAnimation) !== null && i !== void 0 ? i : sd }, t ? v.map((u, y) => yt.createElement(t, { key: y }, u)) : v); } -const g0 = be("span").withConfig({ - shouldForwardProp: (e, o) => !["loading"].includes(e) && o(e), +const o0 = xe("span").withConfig({ + shouldForwardProp: (e, t) => !["loading"].includes(e) && t(e), displayName: "text__StyledText", componentId: "sc-1vbqbb2-0" })(({ theme: e, - loading: o, - variation: g = "inherit", - monotype: C = !1, - noWrap: P = !1, - uppercase: x = !1, + loading: t, + variation: c = "inherit", + monotype: h = !1, + noWrap: S = !1, + uppercase: g = !1, capitalize: n = !1, - capitalizeFirstLetter: c = !1, + capitalizeFirstLetter: s = !1, wordBreak: r = !1 }) => ({ - fontFamily: C ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, - fontWeight: C ? e.typography.fontWeight.regular : e.typography.fontWeight.medium, + fontFamily: h ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, + fontWeight: h ? e.typography.fontWeight.regular : e.typography.fontWeight.medium, color: { inherit: "inherit", lightGray: e.styleguideColors.contentTertiary, @@ -73,19 +73,19 @@ const g0 = be("span").withConfig({ blue: e.styleguideColors.contentBlue, red: e.styleguideColors.contentRed, green: e.styleguideColors.contentGreen - }[g], - whiteSpace: P ? "nowrap" : "initial", - ...o && { + }[c], + whiteSpace: S ? "nowrap" : "initial", + ...t && { display: "inline-block", width: "100%" }, - ...x && { + ...g && { textTransform: "uppercase" }, ...n && { textTransform: "capitalize" }, - ...c && { + ...s && { "&:first-letter": { textTransform: "capitalize" } @@ -94,101 +94,101 @@ const g0 = be("span").withConfig({ wordBreak: "break-word" }, "-webkit-text-size-adjust": "100%" -})), ao = St.forwardRef(function({ - tag: o = "span", - ...g -}, C) { - const P = ["h1", "h2", "h3", "h4", "h5", "h6", "span"].includes(o) ? o : "span"; - return g.loading ? /* @__PURE__ */ $(g0, { ref: C, ...g, as: P, children: /* @__PURE__ */ $(io, {}) }) : /* @__PURE__ */ $(g0, { ref: C, ...g, as: P }); -}), df = be(ao).withConfig({ +})), Ro = yt.forwardRef(function({ + tag: t = "span", + ...c +}, h) { + const S = ["h1", "h2", "h3", "h4", "h5", "h6", "span"].includes(t) ? t : "span"; + return c.loading ? /* @__PURE__ */ W(o0, { ref: h, ...c, as: S, children: /* @__PURE__ */ W(Bo, {}) }) : /* @__PURE__ */ W(o0, { ref: h, ...c, as: S }); +}), hh = xe(Ro).withConfig({ displayName: "body-text__StyledText", componentId: "sc-2827zm-0" })(({ theme: e, - size: o = 3, - scale: g = "sm", - lineHeight: C = "sm" + size: t = 3, + scale: c = "sm", + lineHeight: h = "sm" }) => ({ - fontWeight: It({ + fontWeight: xt({ 1: e.typography.fontWeight.semiBold, 2: e.typography.fontWeight.medium, 3: e.typography.fontWeight.regular, 4: e.typography.fontWeight.light - }, o), - fontSize: It({ + }, t), + fontSize: xt({ xl: "1.25rem", lg: "1.125rem", md: "1rem", sm: "0.875rem", xs: "0.813rem" - }, g), - lineHeight: It({ + }, c), + lineHeight: xt({ sm: "1.5rem", xs: "1.25rem" - }, C), + }, h), "&:where(h1, h2, h3, h4, h5, h6)": { margin: 0 } -})), Ae = St.forwardRef(function(o, g) { - return /* @__PURE__ */ $(df, { ref: g, ...o }); -}), ff = be("div").withConfig({ +})), Be = yt.forwardRef(function(t, c) { + return /* @__PURE__ */ W(hh, { ref: c, ...t }); +}), yh = xe("div").withConfig({ displayName: "flex-box__StyledFlexBox", componentId: "sc-9weptk-0" })(({ itemsSpacing: e, - direction: o, - justify: g, - wrap: C, - align: P, - grow: x, + direction: t, + justify: c, + wrap: h, + align: S, + grow: g, shrink: n, - basis: c = "auto", + basis: s = "auto", gap: r, - onClick: a + onClick: o }) => ({ display: "flex", gap: r, - flexDirection: o, - flexWrap: C, - justifyContent: g, - alignItems: P, - flexGrow: x, + flexDirection: t, + flexWrap: h, + justifyContent: c, + alignItems: S, + flexGrow: g, flexShrink: n, - flexBasis: c, + flexBasis: s, ...e != null && { "> * + *": { - [o === "row" ? "marginLeft" : "marginTop"]: e + [t === "row" ? "marginLeft" : "marginTop"]: e }, "> * + *:where(h1, h2, h3, h4, h5, h6)": { - [o === "row" ? "marginLeft" : "marginTop"]: `${e}px !important` + [t === "row" ? "marginLeft" : "marginTop"]: `${e}px !important` } }, - ...a && { + ...o && { cursor: "pointer" } -})), ss = St.forwardRef((e, o) => { +})), xc = yt.forwardRef((e, t) => { const { - tag: g = "div" - } = e, C = ["div", "span"].includes(g) ? g : "div"; - return /* @__PURE__ */ $(ff, { ref: o, ...e, as: C }); -}), je = St.forwardRef((e, o) => /* @__PURE__ */ $(ss, { ref: o, direction: "row", ...e })), Kt = St.forwardRef((e, o) => /* @__PURE__ */ $(ss, { ref: o, direction: "column", ...e })); -var hf = (e) => typeof e != "string" ? {} : e.split(/ ?; ?/).reduce((o, g) => { - const [C, P] = g.split(/ ?: ?/).map((x, n) => n === 0 ? x.replace(/\s+/g, "") : x.trim()); - if (C && P) { - const x = C.replace(/(\w)-(\w)/g, (c, r, a) => `${r}${a.toUpperCase()}`); - let n = P.trim(); - Number.isNaN(Number(P)) || (n = Number(P)), o[C.startsWith("-") ? C : x] = n; - } - return o; + tag: c = "div" + } = e, h = ["div", "span"].includes(c) ? c : "div"; + return /* @__PURE__ */ W(yh, { ref: t, ...e, as: h }); +}), je = yt.forwardRef((e, t) => /* @__PURE__ */ W(xc, { ref: t, direction: "row", ...e })), Ht = yt.forwardRef((e, t) => /* @__PURE__ */ W(xc, { ref: t, direction: "column", ...e })); +var mh = (e) => typeof e != "string" ? {} : e.split(/ ?; ?/).reduce((t, c) => { + const [h, S] = c.split(/ ?: ?/).map((g, n) => n === 0 ? g.replace(/\s+/g, "") : g.trim()); + if (h && S) { + const g = h.replace(/(\w)-(\w)/g, (s, r, o) => `${r}${o.toUpperCase()}`); + let n = S.trim(); + Number.isNaN(Number(S)) || (n = Number(S)), t[h.startsWith("-") ? h : g] = n; + } + return t; }, {}); -function pf(e = 6) { - const o = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; - let g = ""; - for (let C = e; C > 0; --C) - g += o[Math.round(Math.random() * (o.length - 1))]; - return g; -} -var mf = [ +function gh(e = 6) { + const t = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; + let c = ""; + for (let h = e; h > 0; --h) + c += t[Math.round(Math.random() * (t.length - 1))]; + return c; +} +var vh = [ "br", "col", "colgroup", @@ -210,7 +210,7 @@ var mf = [ "tr", "ul", "wbr" -], v0 = { +], i0 = { // HTML "accept-charset": "acceptCharset", acceptcharset: "acceptCharset", @@ -548,48 +548,48 @@ var mf = [ ontouchstart: "onTouchStart", onwheel: "onWheel" }; -function yf(e, o) { - const { key: g, level: C, ...P } = o; +function bh(e, t) { + const { key: c, level: h, ...S } = t; switch (e.nodeType) { case 1: - return tf.createElement( - vf(e.nodeName), - gf(e, g), - b0(e.childNodes, C, P) + return sn.createElement( + Ch(e.nodeName), + wh(e, c), + a0(e.childNodes, h, S) ); case 3: { - const x = e.nodeValue?.toString() ?? ""; - if (!P.allowWhiteSpaces && /^\s+$/.test(x) && !/[\u00A0\u202F]/.test(x)) + const g = e.nodeValue?.toString() ?? ""; + if (!S.allowWhiteSpaces && /^\s+$/.test(g) && !/[\u00A0\u202F]/.test(g)) return null; if (!e.parentNode) - return x; + return g; const n = e.parentNode.nodeName.toLowerCase(); - return mf.includes(n) ? (/\S/.test(x) && console.warn( - `A textNode is not allowed inside '${n}'. Your text "${x}" will be ignored` - ), null) : x; + return vh.includes(n) ? (/\S/.test(g) && console.warn( + `A textNode is not allowed inside '${n}'. Your text "${g}" will be ignored` + ), null) : g; } case 8: return null; case 11: - return b0(e.childNodes, C, o); + return a0(e.childNodes, h, t); /* c8 ignore next 3 */ default: return null; } } -function gf(e, o) { - const g = { - key: o +function wh(e, t) { + const c = { + key: t }; if (e instanceof Element) { - const C = e.getAttribute("class"); - C && (g.className = C), [...e.attributes].forEach((P) => { - switch (P.name) { + const h = e.getAttribute("class"); + h && (c.className = h), [...e.attributes].forEach((S) => { + switch (S.name) { // this is manually handled above, so break; case "class": break; case "style": - g[P.name] = hf(P.value); + c[S.name] = mh(S.value); break; case "allowfullscreen": case "allowpaymentrequest": @@ -616,68 +616,68 @@ function gf(e, o) { case "reversed": case "selected": case "typemustmatch": - g[v0[P.name] || P.name] = !0; + c[i0[S.name] || S.name] = !0; break; default: - g[v0[P.name] || P.name] = P.value; + c[i0[S.name] || S.name] = S.value; } }); } - return g; + return c; } -function b0(e, o, g) { - const C = [...e].map( - (P, x) => Ii(P, { - ...g, - index: x, - level: o + 1 +function a0(e, t, c) { + const h = [...e].map( + (S, g) => _a(S, { + ...c, + index: g, + level: t + 1 }) ).filter(Boolean); - return C.length ? C : null; + return h.length ? h : null; } -function vf(e) { +function Ch(e) { return /[a-z]+[A-Z]+[a-z]+/.test(e) ? e : e.toLowerCase(); } -function el(e, o = {}) { - return typeof e == "string" ? bf(e, o) : e instanceof Node ? Ii(e, o) : null; +function cd(e, t = {}) { + return typeof e == "string" ? Sh(e, t) : e instanceof Node ? _a(e, t) : null; } -function Ii(e, o = {}) { +function _a(e, t = {}) { if (!e || !(e instanceof Node)) return null; - const { actions: g = [], index: C = 0, level: P = 0, randomKey: x } = o; - let n = e, c = `${P}-${C}`; + const { actions: c = [], index: h = 0, level: S = 0, randomKey: g } = t; + let n = e, s = `${S}-${h}`; const r = []; - return x && P === 0 && (c = `${pf()}-${c}`), Array.isArray(g) && g.forEach((a) => { - a.condition(n, c, P) && (typeof a.pre == "function" && (n = a.pre(n, c, P), n instanceof Node || (n = e, process.env.NODE_ENV !== "production" && console.warn( + return g && S === 0 && (s = `${gh()}-${s}`), Array.isArray(c) && c.forEach((o) => { + o.condition(n, s, S) && (typeof o.pre == "function" && (n = o.pre(n, s, S), n instanceof Node || (n = e, process.env.NODE_ENV !== "production" && console.warn( "The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)" - ))), typeof a.post == "function" && r.push(a.post(n, c, P))); - }), r.length ? r : yf(n, { key: c, level: P, ...o }); + ))), typeof o.post == "function" && r.push(o.post(n, s, S))); + }), r.length ? r : bh(n, { key: s, level: S, ...t }); } -function bf(e, o = {}) { +function Sh(e, t = {}) { if (!e || typeof e != "string") return null; const { - includeAllNodes: g = !1, - nodeOnly: C = !1, - selector: P = "body > *", - type: x = "text/html" - } = o; + includeAllNodes: c = !1, + nodeOnly: h = !1, + selector: S = "body > *", + type: g = "text/html" + } = t; try { - const c = new DOMParser().parseFromString(e, x); - if (g) { - const { childNodes: a } = c.body; - return C ? a : [...a].map((i) => Ii(i, o)); + const s = new DOMParser().parseFromString(e, g); + if (c) { + const { childNodes: o } = s.body; + return h ? o : [...o].map((i) => _a(i, t)); } - const r = c.querySelector(P) || c.body.childNodes[0]; + const r = s.querySelector(S) || s.body.childNodes[0]; if (!(r instanceof Node)) throw new TypeError("Error parsing input"); - return C ? r : Ii(r, o); + return h ? r : _a(r, t); } catch (n) { process.env.NODE_ENV !== "production" && console.error(n); } return null; } -var wf = Object.defineProperty, Cf = (e, o, g) => o in e ? wf(e, o, { enumerable: !0, configurable: !0, writable: !0, value: g }) : e[o] = g, ri = (e, o, g) => Cf(e, typeof o != "symbol" ? o + "" : o, g), w0 = "react-inlinesvg", _f = 10, Dt = { +var _h = Object.defineProperty, Eh = (e, t, c) => t in e ? _h(e, t, { enumerable: !0, configurable: !0, writable: !0, value: c }) : e[t] = c, Ui = (e, t, c) => Eh(e, typeof t != "symbol" ? t + "" : t, c), s0 = "react-inlinesvg", xh = 10, It = { IDLE: "idle", LOADING: "loading", LOADED: "loaded", @@ -685,65 +685,65 @@ var wf = Object.defineProperty, Cf = (e, o, g) => o in e ? wf(e, o, { enumerable READY: "ready", UNSUPPORTED: "unsupported" }; -function Sf(e) { +function Mh(e) { return e[Math.floor(Math.random() * e.length)]; } -function _o() { +function ii() { return !!(typeof window < "u" && window.document?.createElement); } -function Mf() { - return Af() && typeof window < "u" && window !== null; +function Ph() { + return Lh() && typeof window < "u" && window !== null; } -function xf(e, ...o) { - const g = {}; - for (const C in e) - ({}).hasOwnProperty.call(e, C) && (o.includes(C) || (g[C] = e[C])); - return g; +function Oh(e, ...t) { + const c = {}; + for (const h in e) + ({}).hasOwnProperty.call(e, h) && (t.includes(h) || (c[h] = e[h])); + return c; } -function Ef(e) { - const o = "abcdefghijklmnopqrstuvwxyz", C = `${o}${o.toUpperCase()}1234567890`; - let P = ""; - for (let x = 0; x < e; x++) - P += Sf(C); - return P; -} -async function tl(e, o) { - const g = await fetch(e, o), C = g.headers.get("content-type"), [P] = (C ?? "").split(/ ?; ?/); - if (g.status > 299) +function Th(e) { + const t = "abcdefghijklmnopqrstuvwxyz", h = `${t}${t.toUpperCase()}1234567890`; + let S = ""; + for (let g = 0; g < e; g++) + S += Mh(h); + return S; +} +async function ud(e, t) { + const c = await fetch(e, t), h = c.headers.get("content-type"), [S] = (h ?? "").split(/ ?; ?/); + if (c.status > 299) throw new Error("Not found"); - if (!["image/svg+xml", "text/plain"].some((x) => P.includes(x))) - throw new Error(`Content type isn't valid: ${P}`); - return g.text(); + if (!["image/svg+xml", "text/plain"].some((g) => S.includes(g))) + throw new Error(`Content type isn't valid: ${S}`); + return c.text(); } -function Pf(e = 1) { - return new Promise((o) => { - setTimeout(o, e * 1e3); +function Ah(e = 1) { + return new Promise((t) => { + setTimeout(t, e * 1e3); }); } -function Af() { +function Lh() { if (!document) return !1; const e = document.createElement("div"); e.innerHTML = ""; - const o = e.firstChild; - return !!o && o.namespaceURI === "http://www.w3.org/2000/svg"; + const t = e.firstChild; + return !!t && t.namespaceURI === "http://www.w3.org/2000/svg"; } -var Of = class { +var Ih = class { constructor() { - ri(this, "cacheApi"), ri(this, "cacheStore"), ri(this, "subscribers", []), ri(this, "isReady", !1), this.cacheStore = /* @__PURE__ */ new Map(); - let e = w0, o = !1; - _o() && (e = window.REACT_INLINESVG_CACHE_NAME ?? w0, o = !!window.REACT_INLINESVG_PERSISTENT_CACHE && "caches" in window), o ? caches.open(e).then((g) => { - this.cacheApi = g; - }).catch((g) => { - console.error(`Failed to open cache: ${g.message}`), this.cacheApi = void 0; + Ui(this, "cacheApi"), Ui(this, "cacheStore"), Ui(this, "subscribers", []), Ui(this, "isReady", !1), this.cacheStore = /* @__PURE__ */ new Map(); + let e = s0, t = !1; + ii() && (e = window.REACT_INLINESVG_CACHE_NAME ?? s0, t = !!window.REACT_INLINESVG_PERSISTENT_CACHE && "caches" in window), t ? caches.open(e).then((c) => { + this.cacheApi = c; + }).catch((c) => { + console.error(`Failed to open cache: ${c.message}`), this.cacheApi = void 0; }).finally(() => { this.isReady = !0; - const g = [...this.subscribers]; - this.subscribers.length = 0, g.forEach((C) => { + const c = [...this.subscribers]; + this.subscribers.length = 0, c.forEach((h) => { try { - C(); - } catch (P) { - console.error(`Error in CacheStore subscriber callback: ${P.message}`); + h(); + } catch (S) { + console.error(`Error in CacheStore subscriber callback: ${S.message}`); } }); }) : this.isReady = !0; @@ -751,71 +751,71 @@ var Of = class { onReady(e) { this.isReady ? e() : this.subscribers.push(e); } - async get(e, o) { - return await (this.cacheApi ? this.fetchAndAddToPersistentCache(e, o) : this.fetchAndAddToInternalCache(e, o)), this.cacheStore.get(e)?.content ?? ""; + async get(e, t) { + return await (this.cacheApi ? this.fetchAndAddToPersistentCache(e, t) : this.fetchAndAddToInternalCache(e, t)), this.cacheStore.get(e)?.content ?? ""; } - set(e, o) { - this.cacheStore.set(e, o); + set(e, t) { + this.cacheStore.set(e, t); } isCached(e) { - return this.cacheStore.get(e)?.status === Dt.LOADED; + return this.cacheStore.get(e)?.status === It.LOADED; } - async fetchAndAddToInternalCache(e, o) { - const g = this.cacheStore.get(e); - if (g?.status === Dt.LOADING) { + async fetchAndAddToInternalCache(e, t) { + const c = this.cacheStore.get(e); + if (c?.status === It.LOADING) { await this.handleLoading(e, async () => { - this.cacheStore.set(e, { content: "", status: Dt.IDLE }), await this.fetchAndAddToInternalCache(e, o); + this.cacheStore.set(e, { content: "", status: It.IDLE }), await this.fetchAndAddToInternalCache(e, t); }); return; } - if (!g?.content) { - this.cacheStore.set(e, { content: "", status: Dt.LOADING }); + if (!c?.content) { + this.cacheStore.set(e, { content: "", status: It.LOADING }); try { - const C = await tl(e, o); - this.cacheStore.set(e, { content: C, status: Dt.LOADED }); - } catch (C) { - throw this.cacheStore.set(e, { content: "", status: Dt.FAILED }), C; + const h = await ud(e, t); + this.cacheStore.set(e, { content: h, status: It.LOADED }); + } catch (h) { + throw this.cacheStore.set(e, { content: "", status: It.FAILED }), h; } } } - async fetchAndAddToPersistentCache(e, o) { - const g = this.cacheStore.get(e); - if (g?.status === Dt.LOADED) + async fetchAndAddToPersistentCache(e, t) { + const c = this.cacheStore.get(e); + if (c?.status === It.LOADED) return; - if (g?.status === Dt.LOADING) { + if (c?.status === It.LOADING) { await this.handleLoading(e, async () => { - this.cacheStore.set(e, { content: "", status: Dt.IDLE }), await this.fetchAndAddToPersistentCache(e, o); + this.cacheStore.set(e, { content: "", status: It.IDLE }), await this.fetchAndAddToPersistentCache(e, t); }); return; } - this.cacheStore.set(e, { content: "", status: Dt.LOADING }); - const C = await this.cacheApi?.match(e); - if (C) { - const P = await C.text(); - this.cacheStore.set(e, { content: P, status: Dt.LOADED }); + this.cacheStore.set(e, { content: "", status: It.LOADING }); + const h = await this.cacheApi?.match(e); + if (h) { + const S = await h.text(); + this.cacheStore.set(e, { content: S, status: It.LOADED }); return; } try { - await this.cacheApi?.add(new Request(e, o)); - const x = await (await this.cacheApi?.match(e))?.text() ?? ""; - this.cacheStore.set(e, { content: x, status: Dt.LOADED }); - } catch (P) { - throw this.cacheStore.set(e, { content: "", status: Dt.FAILED }), P; + await this.cacheApi?.add(new Request(e, t)); + const g = await (await this.cacheApi?.match(e))?.text() ?? ""; + this.cacheStore.set(e, { content: g, status: It.LOADED }); + } catch (S) { + throw this.cacheStore.set(e, { content: "", status: It.FAILED }), S; } } - async handleLoading(e, o) { - for (let g = 0; g < _f; g++) { - if (this.cacheStore.get(e)?.status !== Dt.LOADING) + async handleLoading(e, t) { + for (let c = 0; c < xh; c++) { + if (this.cacheStore.get(e)?.status !== It.LOADING) return; - await Pf(0.1); + await Ah(0.1); } - await o(); + await t(); } keys() { return [...this.cacheStore.keys()]; } data() { - return [...this.cacheStore.entries()].map(([e, o]) => ({ [e]: o })); + return [...this.cacheStore.entries()].map(([e, t]) => ({ [e]: t })); } async delete(e) { this.cacheApi && await this.cacheApi.delete(e), this.cacheStore.delete(e); @@ -823,198 +823,198 @@ var Of = class { async clear() { if (this.cacheApi) { const e = await this.cacheApi.keys(); - await Promise.allSettled(e.map((o) => this.cacheApi.delete(o))); + await Promise.allSettled(e.map((t) => this.cacheApi.delete(t))); } this.cacheStore.clear(); } }; -function C0(e) { - const o = wt(void 0); - return vt(() => { - o.current = e; - }), o.current; +function c0(e) { + const t = Qe(void 0); + return Ze(() => { + t.current = e; + }), t.current; } -function Tf(e) { +function Nh(e) { const { - baseURL: o, - content: g, - description: C, - handleError: P, - hash: x, + baseURL: t, + content: c, + description: h, + handleError: S, + hash: g, preProcessor: n, - title: c, + title: s, uniquifyIDs: r = !1 } = e; try { - const a = If(g, n), i = el(a, { nodeOnly: !0 }); + const o = Bh(c, n), i = cd(o, { nodeOnly: !0 }); if (!i || !(i instanceof SVGSVGElement)) throw new Error("Could not convert the src to a DOM Node"); - const m = rl(i, { baseURL: o, hash: x, uniquifyIDs: r }); - if (C) { - const t = m.querySelector("desc"); - t?.parentNode && t.parentNode.removeChild(t); + const p = ld(i, { baseURL: t, hash: g, uniquifyIDs: r }); + if (h) { + const a = p.querySelector("desc"); + a?.parentNode && a.parentNode.removeChild(a); const f = document.createElementNS("http://www.w3.org/2000/svg", "desc"); - f.innerHTML = C, m.prepend(f); + f.innerHTML = h, p.prepend(f); } - if (typeof c < "u") { - const t = m.querySelector("title"); - if (t?.parentNode && t.parentNode.removeChild(t), c) { + if (typeof s < "u") { + const a = p.querySelector("title"); + if (a?.parentNode && a.parentNode.removeChild(a), s) { const f = document.createElementNS("http://www.w3.org/2000/svg", "title"); - f.innerHTML = c, m.prepend(f); + f.innerHTML = s, p.prepend(f); } } - return m; - } catch (a) { - return P(a); + return p; + } catch (o) { + return S(o); } } -function If(e, o) { - return o ? o(e) : e; +function Bh(e, t) { + return t ? t(e) : e; } -function rl(e, o) { - const { baseURL: g = "", hash: C, uniquifyIDs: P } = o, x = ["id", "href", "xlink:href", "xlink:role", "xlink:arcrole"], n = ["href", "xlink:href"], c = (r, a) => n.includes(r) && (a ? !a.includes("#") : !1); - return P && [...e.children].forEach((r) => { +function ld(e, t) { + const { baseURL: c = "", hash: h, uniquifyIDs: S } = t, g = ["id", "href", "xlink:href", "xlink:role", "xlink:arcrole"], n = ["href", "xlink:href"], s = (r, o) => n.includes(r) && (o ? !o.includes("#") : !1); + return S && [...e.children].forEach((r) => { if (r.attributes?.length) { - const a = Object.values(r.attributes).map((i) => { - const m = i, t = /url\((.*?)\)/.exec(i.value); - return t?.[1] && (m.value = i.value.replace(t[0], `url(${g}${t[1]}__${C})`)), m; + const o = Object.values(r.attributes).map((i) => { + const p = i, a = /url\((.*?)\)/.exec(i.value); + return a?.[1] && (p.value = i.value.replace(a[0], `url(${c}${a[1]}__${h})`)), p; }); - x.forEach((i) => { - const m = a.find((t) => t.name === i); - m && !c(i, m.value) && (m.value = `${m.value}__${C}`); + g.forEach((i) => { + const p = o.find((a) => a.name === i); + p && !s(i, p.value) && (p.value = `${p.value}__${h}`); }); } - return r.children.length ? rl(r, o) : r; + return r.children.length ? ld(r, t) : r; }), e; } -var Jn; -function Nf(e) { +var Eo; +function Rh(e) { const { - cacheRequests: o = !0, - children: g = null, - description: C, - fetchOptions: P, - innerRef: x, + cacheRequests: t = !0, + children: c = null, + description: h, + fetchOptions: S, + innerRef: g, loader: n = null, - onError: c, + onError: s, onLoad: r, - src: a, + src: o, title: i, - uniqueHash: m - } = e, [t, f] = Zc( - (H, U) => ({ - ...H, - ...U + uniqueHash: p + } = e, [a, f] = _c( + (N, k) => ({ + ...N, + ...k }), { content: "", element: null, - isCached: o && Jn.isCached(e.src), - status: Dt.IDLE - } - ), { content: b, element: y, isCached: u, status: d } = t, l = C0(e), s = C0(t), v = wt(m ?? Ef(8)), p = wt(!1), h = wt(!1), O = ot( - (H) => { - p.current && (f({ - status: H.message === "Browser does not support SVG" ? Dt.UNSUPPORTED : Dt.FAILED - }), c?.(H)); + isCached: t && Eo.isCached(e.src), + status: It.IDLE + } + ), { content: C, element: w, isCached: m, status: v } = a, l = c0(e), u = c0(a), y = Qe(p ?? Th(8)), d = Qe(!1), b = Qe(!1), _ = rt( + (N) => { + d.current && (f({ + status: N.message === "Browser does not support SVG" ? It.UNSUPPORTED : It.FAILED + }), s?.(N)); }, - [c] - ), I = ot((H, U = !1) => { - p.current && f({ - content: H, - isCached: U, - status: Dt.LOADED + [s] + ), E = rt((N, k = !1) => { + d.current && f({ + content: N, + isCached: k, + status: It.LOADED }); - }, []), k = ot(async () => { - const H = await tl(a, P); - I(H); - }, [P, I, a]), R = ot(() => { + }, []), B = rt(async () => { + const N = await ud(o, S); + E(N); + }, [S, E, o]), O = rt(() => { try { - const H = Tf({ ...e, handleError: O, hash: v.current, content: b }), U = el(H); - if (!U || !rf(U)) + const N = Nh({ ...e, handleError: _, hash: y.current, content: C }), k = cd(N); + if (!k || !Ec(k)) throw new Error("Could not convert the src to a React element"); f({ - element: U, - status: Dt.READY + element: k, + status: It.READY }); - } catch (H) { - O(H); - } - }, [b, O, e]), L = ot(async () => { - const H = /^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(a); - let U; - if (H ? U = H[1] ? window.atob(H[2]) : decodeURIComponent(H[2]) : a.includes(" { + const N = /^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(o); + let k; + if (N ? k = N[1] ? window.atob(N[2]) : decodeURIComponent(N[2]) : o.includes(" { - p.current && f({ + }, [t, B, S, _, E, o]), x = rt(async () => { + d.current && f({ content: "", element: null, isCached: !1, - status: Dt.LOADING + status: It.LOADING }); }, []); - vt( + Ze( () => { - if (p.current = !0, !(!_o() || h.current)) { + if (d.current = !0, !(!ii() || b.current)) { try { - if (d === Dt.IDLE) { - if (!Mf()) + if (v === It.IDLE) { + if (!Ph()) throw new Error("Browser does not support SVG"); - if (!a) + if (!o) throw new Error("Missing src"); - N(); + x(); } - } catch (H) { - O(H); + } catch (N) { + _(N); } - return h.current = !0, () => { - p.current = !1; + return b.current = !0, () => { + d.current = !1; }; } }, // eslint-disable-next-line react-hooks/exhaustive-deps [] - ), vt(() => { - if (!(!_o() || !l) && l.src !== a) { - if (!a) { - O(new Error("Missing src")); + ), Ze(() => { + if (!(!ii() || !l) && l.src !== o) { + if (!o) { + _(new Error("Missing src")); return; } - N(); - } - }, [O, N, l, a]), vt(() => { - d === Dt.LOADED && R(); - }, [d, R]), vt(() => { - !_o() || !l || l.src !== a || (l.title !== i || l.description !== C) && R(); - }, [C, R, l, a, i]), vt(() => { - if (s) - switch (d) { - case Dt.LOADING: { - s.status !== Dt.LOADING && L(); + x(); + } + }, [_, x, l, o]), Ze(() => { + v === It.LOADED && O(); + }, [v, O]), Ze(() => { + !ii() || !l || l.src !== o || (l.title !== i || l.description !== h) && O(); + }, [h, O, l, o, i]), Ze(() => { + if (u) + switch (v) { + case It.LOADING: { + u.status !== It.LOADING && I(); break; } - case Dt.LOADED: { - s.status !== Dt.LOADED && R(); + case It.LOADED: { + u.status !== It.LOADED && O(); break; } - case Dt.READY: { - s.status !== Dt.READY && r?.(a, u); + case It.READY: { + u.status !== It.READY && r?.(o, m); break; } } - }, [L, R, u, r, s, a, d]); - const B = xf( + }, [I, O, m, r, u, o, v]); + const A = Oh( e, "baseURL", "cacheRequests", @@ -1031,210 +1031,210 @@ function Nf(e) { "uniqueHash", "uniquifyIDs" ); - return _o() ? y ? Xc(y, { - ref: x, - ...B - }) : [Dt.UNSUPPORTED, Dt.FAILED].includes(d) ? g : n : n; -} -function Lf(e) { - Jn || (Jn = new Of()); - const { loader: o } = e, [g, C] = Ct(Jn.isReady); - return vt(() => { - g || Jn.onReady(() => { - C(!0); + return ii() ? w ? od(w, { + ref: g, + ...A + }) : [It.UNSUPPORTED, It.FAILED].includes(v) ? c : n : n; +} +function kh(e) { + Eo || (Eo = new Ih()); + const { loader: t } = e, [c, h] = ft(Eo.isReady); + return Ze(() => { + c || Eo.onReady(() => { + h(!0); }); - }, [g]), g ? /* @__PURE__ */ St.createElement(Nf, { ...e }) : o; + }, [c]), c ? /* @__PURE__ */ yt.createElement(Rh, { ...e }) : t; } -const Rf = be("span").withConfig({ - shouldForwardProp: (e, o) => !["rotate"].includes(e) && o(e), +const Hh = xe("span").withConfig({ + shouldForwardProp: (e, t) => !["rotate"].includes(e) && t(e), displayName: "svg-icon__Container", componentId: "sc-kfvmzi-0" })(({ theme: e, - size: o, - width: g, - height: C, - color: P, - active: x, + size: t, + width: c, + height: h, + color: S, + active: g, rotate: n, - marginLeft: c, + marginLeft: s, marginRight: r }) => ({ display: "inline-block", verticalAlign: "middle", - width: g ?? o, - height: C ?? o, - color: P || "inherit", + width: c ?? t, + height: h ?? t, + color: S || "inherit", svg: { display: "block", fill: "currentColor", - color: P || "inherit", - width: g ?? o, - height: C ?? o + color: S || "inherit", + width: c ?? t, + height: h ?? t }, transform: n ? "rotateX(180deg)" : "rotateX(0deg)", transition: "transform 500ms ease", - marginLeft: c ? 8 : "initial", + marginLeft: s ? 8 : "initial", marginRight: r ? 8 : "initial" -})), kf = be(Lf).withConfig({ +})), jh = xe(kh).withConfig({ displayName: "svg-icon__StyledReactSVG", componentId: "sc-kfvmzi-1" })(({ theme: e }) => ({ display: "flex" -})), _t = St.forwardRef(({ +})), vt = yt.forwardRef(({ src: e, - alt: o, - size: g = 16, - color: C, - onClick: P, - rotate: x = !1, + alt: t, + size: c = 16, + color: h, + onClick: S, + rotate: g = !1, ...n -}, c) => /* @__PURE__ */ $(Rf, { ref: c, role: "img", "aria-label": o, size: g, color: C, rotate: x, onClick: (i) => { - P && P(i); -}, ...n, children: /* @__PURE__ */ $(kf, { src: e, preProcessor: (i) => i, title: o, "aria-hidden": "true", cacheRequests: !0 }) })), so = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e", v_ = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", ni = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e", us = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e", b_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e", nl = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e", w_ = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e", Bf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e", Hf = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", jf = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e", Df = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e", Vf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e", ol = "data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Uf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e", il = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e", zf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", C_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", __ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ff = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e", Ao = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e", S_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e", M_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", x_ = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", E_ = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", P_ = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e", Ji = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Kf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", A_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Wf = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e", Jf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", O_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", $f = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", T_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", I_ = "data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e", Gf = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", qf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Zf = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e", N_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Xf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e", L_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", R_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e", Yf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e", k_ = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", B_ = "data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", H_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e", j_ = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e", D_ = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", Qf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e", V_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e", U_ = "data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e", po = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e", z_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e", e1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", F_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e", K_ = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", W_ = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", al = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e", J_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", $_ = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e", G_ = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", $i = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e", t1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e", _0 = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e", r1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e", n1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", q_ = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Z_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", X_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Y_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Q_ = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", eS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", tS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", rS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e", nS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", o1 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e", oS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", i1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", a1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", s1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", iS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", aS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", sS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", uS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", cS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", lS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", dS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", fS = "data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", hS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", pS = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e", mS = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e", yS = "data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e", gS = "data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e", vS = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e", bS = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e", wS = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e", CS = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e", _S = "data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e", SS = "data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e"; -var u1 = /* @__PURE__ */ ((e) => (e.Success = "success", e.Error = "error", e.Info = "info", e.Pending = "pending", e.Warning = "warning", e))(u1 || {}); -const c1 = { - success: $i, - info: qf, - pending: ol, - error: Ji, - warning: o1 -}, l1 = { +}, s) => /* @__PURE__ */ W(Hh, { ref: s, role: "img", "aria-label": t, size: c, color: h, rotate: g, onClick: (i) => { + S && S(i); +}, ...n, children: /* @__PURE__ */ W(jh, { src: e, preProcessor: (i) => i, title: t, "aria-hidden": "true", cacheRequests: !0 }) })), ko = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e", cP = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", Fi = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e", Mc = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e", uP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e", dd = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e", lP = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e", Dh = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e", Vh = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", Uh = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e", Fh = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e", zh = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e", fd = "data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Kh = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e", pd = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e", Wh = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", dP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", fP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Jh = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e", di = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e", pP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e", hP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", yP = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", mP = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", gP = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e", Ja = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", $h = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", vP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Gh = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e", qh = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", bP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Zh = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", wP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", CP = "data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e", Yh = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Xh = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Qh = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e", SP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ey = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e", _P = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", EP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e", ty = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e", xP = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", MP = "data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", PP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e", OP = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e", TP = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", ny = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e", AP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e", LP = "data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e", Yo = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e", IP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e", ry = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", NP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e", BP = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", RP = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", hd = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e", kP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", HP = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e", jP = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", $a = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e", oy = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e", u0 = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e", iy = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e", ay = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", DP = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", VP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", UP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", FP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", zP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", KP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", WP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", JP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e", $P = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", sy = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e", GP = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", cy = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", uy = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ly = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", qP = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", ZP = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", YP = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", XP = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", QP = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", eO = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", tO = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", nO = "data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", rO = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", oO = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e", iO = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e", aO = "data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e", sO = "data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e", cO = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e", uO = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e", lO = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e", dO = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e", fO = "data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e", pO = "data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e"; +var dy = /* @__PURE__ */ ((e) => (e.Success = "success", e.Error = "error", e.Info = "info", e.Pending = "pending", e.Warning = "warning", e))(dy || {}); +const fy = { + success: $a, + info: Xh, + pending: fd, + error: Ja, + warning: sy +}, py = { success: "borderPrimary", info: "borderPrimary", warning: "borderPrimary", error: "fillSecondaryRedHover", pending: "fillSecondary" -}, d1 = { +}, hy = { success: "contentGreen", info: "contentSecondary", warning: "contentSecondary", error: "contentRed", pending: "contentLightBlue" -}, S0 = be(je).withConfig({ +}, l0 = xe(je).withConfig({ displayName: "alert__Container", componentId: "sc-h63w8q-0" })(({ theme: e, - status: o + status: t }) => ({ minHeight: 52, padding: 16, borderRadius: e.borderRadius.base, - backgroundColor: e.styleguideColors[l1[o]], + backgroundColor: e.styleguideColors[py[t]], svg: { - color: e.styleguideColors[d1[o]] + color: e.styleguideColors[hy[t]] } -})), MS = (e) => { +})), hO = (e) => { const { - message: o, - title: g, - status: C, - scale: P = "sm", - lineHeight: x = "sm" - } = e, n = e.iconSrc ? e.iconSrc : c1[C], c = e.iconSrc ? "" : C; - return g ? /* @__PURE__ */ $(S0, { status: c, itemsSpacing: 8, children: /* @__PURE__ */ Pe(Kt, { itemsSpacing: 8, children: [ - /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(_t, { src: n, alt: `Alert icon with ${c} status` }), - /* @__PURE__ */ $(Ae, { size: 1, lineHeight: x, scale: P, variation: "black", children: g }) + message: t, + title: c, + status: h, + scale: S = "sm", + lineHeight: g = "sm" + } = e, n = e.iconSrc ? e.iconSrc : fy[h], s = e.iconSrc ? "" : h; + return c ? /* @__PURE__ */ W(l0, { status: s, itemsSpacing: 8, children: /* @__PURE__ */ Le(Ht, { itemsSpacing: 8, children: [ + /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(vt, { src: n, alt: `Alert icon with ${s} status` }), + /* @__PURE__ */ W(Be, { size: 1, lineHeight: g, scale: S, variation: "black", children: c }) ] }), - /* @__PURE__ */ $(Ae, { variation: "black", size: 3, lineHeight: x, scale: P, children: o }) - ] }) }) : /* @__PURE__ */ Pe(S0, { status: c, align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(_t, { src: n }), - /* @__PURE__ */ $(Ae, { size: 3, lineHeight: x, scale: P, variation: "black", children: o }) + /* @__PURE__ */ W(Be, { variation: "black", size: 3, lineHeight: g, scale: S, children: t }) + ] }) }) : /* @__PURE__ */ Le(l0, { status: s, align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(vt, { src: n }), + /* @__PURE__ */ W(Be, { size: 3, lineHeight: g, scale: S, variation: "black", children: t }) ] }); -}, f1 = (e, { - ttl: o, - width: g +}, yy = (e, { + ttl: t, + width: c }) => { if (e) return e; }; -function pa(e, o) { - var g = e[0], C = e[1], P = e[2], x = e[3]; - g = sr(g, C, P, x, o[0], 7, -680876936), x = sr(x, g, C, P, o[1], 12, -389564586), P = sr(P, x, g, C, o[2], 17, 606105819), C = sr(C, P, x, g, o[3], 22, -1044525330), g = sr(g, C, P, x, o[4], 7, -176418897), x = sr(x, g, C, P, o[5], 12, 1200080426), P = sr(P, x, g, C, o[6], 17, -1473231341), C = sr(C, P, x, g, o[7], 22, -45705983), g = sr(g, C, P, x, o[8], 7, 1770035416), x = sr(x, g, C, P, o[9], 12, -1958414417), P = sr(P, x, g, C, o[10], 17, -42063), C = sr(C, P, x, g, o[11], 22, -1990404162), g = sr(g, C, P, x, o[12], 7, 1804603682), x = sr(x, g, C, P, o[13], 12, -40341101), P = sr(P, x, g, C, o[14], 17, -1502002290), C = sr(C, P, x, g, o[15], 22, 1236535329), g = ur(g, C, P, x, o[1], 5, -165796510), x = ur(x, g, C, P, o[6], 9, -1069501632), P = ur(P, x, g, C, o[11], 14, 643717713), C = ur(C, P, x, g, o[0], 20, -373897302), g = ur(g, C, P, x, o[5], 5, -701558691), x = ur(x, g, C, P, o[10], 9, 38016083), P = ur(P, x, g, C, o[15], 14, -660478335), C = ur(C, P, x, g, o[4], 20, -405537848), g = ur(g, C, P, x, o[9], 5, 568446438), x = ur(x, g, C, P, o[14], 9, -1019803690), P = ur(P, x, g, C, o[3], 14, -187363961), C = ur(C, P, x, g, o[8], 20, 1163531501), g = ur(g, C, P, x, o[13], 5, -1444681467), x = ur(x, g, C, P, o[2], 9, -51403784), P = ur(P, x, g, C, o[7], 14, 1735328473), C = ur(C, P, x, g, o[12], 20, -1926607734), g = cr(g, C, P, x, o[5], 4, -378558), x = cr(x, g, C, P, o[8], 11, -2022574463), P = cr(P, x, g, C, o[11], 16, 1839030562), C = cr(C, P, x, g, o[14], 23, -35309556), g = cr(g, C, P, x, o[1], 4, -1530992060), x = cr(x, g, C, P, o[4], 11, 1272893353), P = cr(P, x, g, C, o[7], 16, -155497632), C = cr(C, P, x, g, o[10], 23, -1094730640), g = cr(g, C, P, x, o[13], 4, 681279174), x = cr(x, g, C, P, o[0], 11, -358537222), P = cr(P, x, g, C, o[3], 16, -722521979), C = cr(C, P, x, g, o[6], 23, 76029189), g = cr(g, C, P, x, o[9], 4, -640364487), x = cr(x, g, C, P, o[12], 11, -421815835), P = cr(P, x, g, C, o[15], 16, 530742520), C = cr(C, P, x, g, o[2], 23, -995338651), g = lr(g, C, P, x, o[0], 6, -198630844), x = lr(x, g, C, P, o[7], 10, 1126891415), P = lr(P, x, g, C, o[14], 15, -1416354905), C = lr(C, P, x, g, o[5], 21, -57434055), g = lr(g, C, P, x, o[12], 6, 1700485571), x = lr(x, g, C, P, o[3], 10, -1894986606), P = lr(P, x, g, C, o[10], 15, -1051523), C = lr(C, P, x, g, o[1], 21, -2054922799), g = lr(g, C, P, x, o[8], 6, 1873313359), x = lr(x, g, C, P, o[15], 10, -30611744), P = lr(P, x, g, C, o[6], 15, -1560198380), C = lr(C, P, x, g, o[13], 21, 1309151649), g = lr(g, C, P, x, o[4], 6, -145523070), x = lr(x, g, C, P, o[11], 10, -1120210379), P = lr(P, x, g, C, o[2], 15, 718787259), C = lr(C, P, x, g, o[9], 21, -343485551), e[0] = Cn(g, e[0]), e[1] = Cn(C, e[1]), e[2] = Cn(P, e[2]), e[3] = Cn(x, e[3]); -} -function Gi(e, o, g, C, P, x) { - return o = Cn(Cn(o, e), Cn(C, x)), Cn(o << P | o >>> 32 - P, g); -} -function sr(e, o, g, C, P, x, n) { - return Gi(o & g | ~o & C, e, o, P, x, n); -} -function ur(e, o, g, C, P, x, n) { - return Gi(o & C | g & ~C, e, o, P, x, n); -} -function cr(e, o, g, C, P, x, n) { - return Gi(o ^ g ^ C, e, o, P, x, n); -} -function lr(e, o, g, C, P, x, n) { - return Gi(g ^ (o | ~C), e, o, P, x, n); -} -function h1(e) { - var o = e.length, g = [1732584193, -271733879, -1732584194, 271733878], C; - for (C = 64; C <= e.length; C += 64) - pa(g, p1(e.substring(C - 64, C))); - e = e.substring(C - 64); - var P = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; - for (C = 0; C < e.length; C++) P[C >> 2] |= e.charCodeAt(C) << (C % 4 << 3); - if (P[C >> 2] |= 128 << (C % 4 << 3), C > 55) - for (pa(g, P), C = 0; C < 16; C++) P[C] = 0; - return P[14] = o * 8, pa(g, P), g; -} -function p1(e) { - var o = [], g; - for (g = 0; g < 64; g += 4) - o[g >> 2] = e.charCodeAt(g) + (e.charCodeAt(g + 1) << 8) + (e.charCodeAt(g + 2) << 16) + (e.charCodeAt(g + 3) << 24); - return o; -} -var M0 = "0123456789abcdef".split(""); -function m1(e) { - for (var o = "", g = 0; g < 4; g++) o += M0[e >> g * 8 + 4 & 15] + M0[e >> g * 8 & 15]; - return o; -} -function y1(e) { - for (var o = 0; o < e.length; o++) e[o] = m1(e[o]); +function bs(e, t) { + var c = e[0], h = e[1], S = e[2], g = e[3]; + c = dn(c, h, S, g, t[0], 7, -680876936), g = dn(g, c, h, S, t[1], 12, -389564586), S = dn(S, g, c, h, t[2], 17, 606105819), h = dn(h, S, g, c, t[3], 22, -1044525330), c = dn(c, h, S, g, t[4], 7, -176418897), g = dn(g, c, h, S, t[5], 12, 1200080426), S = dn(S, g, c, h, t[6], 17, -1473231341), h = dn(h, S, g, c, t[7], 22, -45705983), c = dn(c, h, S, g, t[8], 7, 1770035416), g = dn(g, c, h, S, t[9], 12, -1958414417), S = dn(S, g, c, h, t[10], 17, -42063), h = dn(h, S, g, c, t[11], 22, -1990404162), c = dn(c, h, S, g, t[12], 7, 1804603682), g = dn(g, c, h, S, t[13], 12, -40341101), S = dn(S, g, c, h, t[14], 17, -1502002290), h = dn(h, S, g, c, t[15], 22, 1236535329), c = fn(c, h, S, g, t[1], 5, -165796510), g = fn(g, c, h, S, t[6], 9, -1069501632), S = fn(S, g, c, h, t[11], 14, 643717713), h = fn(h, S, g, c, t[0], 20, -373897302), c = fn(c, h, S, g, t[5], 5, -701558691), g = fn(g, c, h, S, t[10], 9, 38016083), S = fn(S, g, c, h, t[15], 14, -660478335), h = fn(h, S, g, c, t[4], 20, -405537848), c = fn(c, h, S, g, t[9], 5, 568446438), g = fn(g, c, h, S, t[14], 9, -1019803690), S = fn(S, g, c, h, t[3], 14, -187363961), h = fn(h, S, g, c, t[8], 20, 1163531501), c = fn(c, h, S, g, t[13], 5, -1444681467), g = fn(g, c, h, S, t[2], 9, -51403784), S = fn(S, g, c, h, t[7], 14, 1735328473), h = fn(h, S, g, c, t[12], 20, -1926607734), c = pn(c, h, S, g, t[5], 4, -378558), g = pn(g, c, h, S, t[8], 11, -2022574463), S = pn(S, g, c, h, t[11], 16, 1839030562), h = pn(h, S, g, c, t[14], 23, -35309556), c = pn(c, h, S, g, t[1], 4, -1530992060), g = pn(g, c, h, S, t[4], 11, 1272893353), S = pn(S, g, c, h, t[7], 16, -155497632), h = pn(h, S, g, c, t[10], 23, -1094730640), c = pn(c, h, S, g, t[13], 4, 681279174), g = pn(g, c, h, S, t[0], 11, -358537222), S = pn(S, g, c, h, t[3], 16, -722521979), h = pn(h, S, g, c, t[6], 23, 76029189), c = pn(c, h, S, g, t[9], 4, -640364487), g = pn(g, c, h, S, t[12], 11, -421815835), S = pn(S, g, c, h, t[15], 16, 530742520), h = pn(h, S, g, c, t[2], 23, -995338651), c = hn(c, h, S, g, t[0], 6, -198630844), g = hn(g, c, h, S, t[7], 10, 1126891415), S = hn(S, g, c, h, t[14], 15, -1416354905), h = hn(h, S, g, c, t[5], 21, -57434055), c = hn(c, h, S, g, t[12], 6, 1700485571), g = hn(g, c, h, S, t[3], 10, -1894986606), S = hn(S, g, c, h, t[10], 15, -1051523), h = hn(h, S, g, c, t[1], 21, -2054922799), c = hn(c, h, S, g, t[8], 6, 1873313359), g = hn(g, c, h, S, t[15], 10, -30611744), S = hn(S, g, c, h, t[6], 15, -1560198380), h = hn(h, S, g, c, t[13], 21, 1309151649), c = hn(c, h, S, g, t[4], 6, -145523070), g = hn(g, c, h, S, t[11], 10, -1120210379), S = hn(S, g, c, h, t[2], 15, 718787259), h = hn(h, S, g, c, t[9], 21, -343485551), e[0] = Mr(c, e[0]), e[1] = Mr(h, e[1]), e[2] = Mr(S, e[2]), e[3] = Mr(g, e[3]); +} +function Ga(e, t, c, h, S, g) { + return t = Mr(Mr(t, e), Mr(h, g)), Mr(t << S | t >>> 32 - S, c); +} +function dn(e, t, c, h, S, g, n) { + return Ga(t & c | ~t & h, e, t, S, g, n); +} +function fn(e, t, c, h, S, g, n) { + return Ga(t & h | c & ~h, e, t, S, g, n); +} +function pn(e, t, c, h, S, g, n) { + return Ga(t ^ c ^ h, e, t, S, g, n); +} +function hn(e, t, c, h, S, g, n) { + return Ga(c ^ (t | ~h), e, t, S, g, n); +} +function my(e) { + var t = e.length, c = [1732584193, -271733879, -1732584194, 271733878], h; + for (h = 64; h <= e.length; h += 64) + bs(c, gy(e.substring(h - 64, h))); + e = e.substring(h - 64); + var S = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; + for (h = 0; h < e.length; h++) S[h >> 2] |= e.charCodeAt(h) << (h % 4 << 3); + if (S[h >> 2] |= 128 << (h % 4 << 3), h > 55) + for (bs(c, S), h = 0; h < 16; h++) S[h] = 0; + return S[14] = t * 8, bs(c, S), c; +} +function gy(e) { + var t = [], c; + for (c = 0; c < 64; c += 4) + t[c >> 2] = e.charCodeAt(c) + (e.charCodeAt(c + 1) << 8) + (e.charCodeAt(c + 2) << 16) + (e.charCodeAt(c + 3) << 24); + return t; +} +var d0 = "0123456789abcdef".split(""); +function vy(e) { + for (var t = "", c = 0; c < 4; c++) t += d0[e >> c * 8 + 4 & 15] + d0[e >> c * 8 & 15]; + return t; +} +function by(e) { + for (var t = 0; t < e.length; t++) e[t] = vy(e[t]); return e.join(""); } -function sl(e) { - return y1(h1(e)); +function yd(e) { + return by(my(e)); } -function Cn(e, o) { - return e + o & 4294967295; +function Mr(e, t) { + return e + t & 4294967295; } -sl("hello") != "5d41402abc4b2a76b9719d911017c592"; -const g1 = (e, o, g = 20, C = 5) => { - let P = "white", x = sl(o), n = Math.floor(g / C), c = x.slice(0, 6), r = x.split("").map((i) => parseInt(i, 16) < 8 ? 0 : 1), a = []; - a[0] = a[4] = r.slice(0, 5), a[1] = a[3] = r.slice(5, 10), a[2] = r.slice(10, 15), e.imageSmoothingEnabled = !1, e.clearRect(0, 0, g, g), a.forEach((i, m) => { - i.forEach((t, f) => { - t ? (e.fillStyle = "#" + c, e.fillRect(n * m, n * f, n, n)) : (e.fillStyle = P, e.fillRect(n * m, n * f, n, n)); +yd("hello") != "5d41402abc4b2a76b9719d911017c592"; +const wy = (e, t, c = 20, h = 5) => { + let S = "white", g = yd(t), n = Math.floor(c / h), s = g.slice(0, 6), r = g.split("").map((i) => parseInt(i, 16) < 8 ? 0 : 1), o = []; + o[0] = o[4] = r.slice(0, 5), o[1] = o[3] = r.slice(5, 10), o[2] = r.slice(10, 15), e.imageSmoothingEnabled = !1, e.clearRect(0, 0, c, c), o.forEach((i, p) => { + i.forEach((a, f) => { + a ? (e.fillStyle = "#" + s, e.fillRect(n * p, n * f, n, n)) : (e.fillStyle = S, e.fillRect(n * p, n * f, n, n)); }); }); -}, v1 = (e, o = 20) => { - const g = Math.floor(0.6 * o), C = Math.floor(1 / 5 * o), P = ``, x = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(P), n = new Image(); +}, Cy = (e, t = 20) => { + const c = Math.floor(0.6 * t), h = Math.floor(1 / 5 * t), S = ``, g = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(S), n = new Image(); n.onload = function() { - e.drawImage(n, C, C); - }, n.src = x; -}, oi = 5, b1 = ({ + e.drawImage(n, h, h); + }, n.src = g; +}, zi = 5, Sy = ({ hexString: e, - size: o = 20 + size: t = 20 }) => { - const g = e.toLowerCase(); - let C = Math.floor(o / oi); - const x = { - borderRadius: `${Math.floor(1 / 10 * o)}px`, + const c = e.toLowerCase(); + let h = Math.floor(t / zi); + const g = { + borderRadius: `${Math.floor(1 / 10 * t)}px`, backgroundColor: "rgb(152, 157, 178)" - }, n = wt(null), c = wt(0); - return vt(() => { + }, n = Qe(null), s = Qe(0); + return Ze(() => { if (n.current) { const r = n.current.getContext("2d"); - r && (r.canvas.height = C * oi, r.canvas.width = C * oi, g.startsWith("01") && g.length === 66 || g.startsWith("02") && g.length === 68 ? c.current = requestAnimationFrame(() => g1(r, g, o, oi)) : c.current = requestAnimationFrame(() => v1(r, o))); + r && (r.canvas.height = h * zi, r.canvas.width = h * zi, c.startsWith("01") && c.length === 66 || c.startsWith("02") && c.length === 68 ? s.current = requestAnimationFrame(() => wy(r, c, t, zi)) : s.current = requestAnimationFrame(() => Cy(r, t))); } - return () => cancelAnimationFrame(c.current); - }, [C, e]), /* @__PURE__ */ $("canvas", { className: "account-identicon", style: x, ref: n }); -}, w1 = (e) => e == null ? !1 : new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()), x0 = (e = "default") => { - const o = { + return () => cancelAnimationFrame(s.current); + }, [h, e]), /* @__PURE__ */ W("canvas", { className: "account-identicon", style: g, ref: n }); +}, _y = (e) => e == null ? !1 : new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()), f0 = (e = "default") => { + const t = { tiny: 2, small: 2, default: 2, @@ -1243,9 +1243,9 @@ const g1 = (e, o, g = 20, C = 5) => { medium: 12, big: 12 }; - return o[e] || o.default; -}, Ba = (e = "default") => { - const o = { + return t[e] || t.default; +}, Gs = (e = "default") => { + const t = { tiny: 16, small: 20, average: 28, @@ -1254,9 +1254,9 @@ const g1 = (e, o, g = 20, C = 5) => { medium: 80, big: 124 }; - return o[e] || o.default; -}, C1 = (e = "default") => { - const o = { + return t[e] || t.default; +}, Ey = (e = "default") => { + const t = { tiny: "contentTertiary", small: "contentTertiary", default: "contentQuaternary", @@ -1265,8 +1265,8 @@ const g1 = (e, o, g = 20, C = 5) => { medium: "contentQuaternary", big: "contentQuaternary" }; - return o[e] || o.default; -}, ul = (e = "default") => ({ + return t[e] || t.default; +}, md = (e = "default") => ({ tiny: 0, small: 0, default: 4, @@ -1274,24 +1274,24 @@ const g1 = (e, o, g = 20, C = 5) => { semiMedium: 4, medium: 4, big: 0 -})[e], ma = be.div.withConfig({ +})[e], ws = xe.div.withConfig({ displayName: "avatar__BackgroundWrapper", componentId: "sc-1p1ar3a-0" })(({ theme: e, - sizeType: o, - withBgColor: g = !1 + sizeType: t, + withBgColor: c = !1 }) => ({ - borderRadius: x0(o), - height: Ba(o), - width: Ba(o), + borderRadius: f0(t), + height: Gs(t), + width: Gs(t), padding: 0, - margin: ul(o), - backgroundColor: g ? e.styleguideColors[C1(o)] : "transparent", + margin: md(t), + backgroundColor: c ? e.styleguideColors[Ey(t)] : "transparent", "& > canvas": { - borderRadius: x0(o) + borderRadius: f0(t) } -})), _1 = be.div.withConfig({ +})), xy = xe.div.withConfig({ displayName: "avatar__IconHashWrapper", componentId: "sc-1p1ar3a-1" })(({ @@ -1302,172 +1302,172 @@ const g1 = (e, o, g = 20, C = 5) => { display: "flex", justifyContent: "center", alignItems: "center" -})), kr = St.forwardRef(function(o, g) { +})), An = yt.forwardRef(function(t, c) { const { - loading: C, - hash: P, - src: x, + loading: h, + hash: S, + src: g, size: n = "default", - transparentBg: c = !1, + transparentBg: s = !1, ...r - } = o, a = Ba(n), i = 2, m = "86400"; - if (C || !P && !x) - return /* @__PURE__ */ $("div", { ...r, children: /* @__PURE__ */ $(io, { style: { + } = t, o = Gs(n), i = 2, p = "86400"; + if (h || !S && !g) + return /* @__PURE__ */ W("div", { ...r, children: /* @__PURE__ */ W(Bo, { style: { borderRadius: 2, - width: a, - fontSize: `${a}px`, - margin: ul(n) + width: o, + fontSize: `${o}px`, + margin: md(n) } }) }); - if (x) { - const t = f1(x, { - ttl: m, - width: a * i + if (g) { + const a = yy(g, { + ttl: p, + width: o * i }); - return /* @__PURE__ */ $("span", { ref: g, ...r, children: /* @__PURE__ */ $(ma, { sizeType: n, style: { - background: `url("${t}") center / contain no-repeat` - }, children: /* @__PURE__ */ $("div", { style: { - width: a, - height: a + return /* @__PURE__ */ W("span", { ref: c, ...r, children: /* @__PURE__ */ W(ws, { sizeType: n, style: { + background: `url("${a}") center / contain no-repeat` + }, children: /* @__PURE__ */ W("div", { style: { + width: o, + height: o } }) }) }); } - return P && w1(P) ? /* @__PURE__ */ $("span", { ref: g, ...r, children: /* @__PURE__ */ $(ma, { sizeType: n, withBgColor: !c, children: /* @__PURE__ */ $(_1, { children: /* @__PURE__ */ $(_t, { src: $f, size: a - 8 }) }) }) }) : /* @__PURE__ */ $("span", { ref: g, ...r, children: /* @__PURE__ */ $(ma, { sizeType: n, children: P && /* @__PURE__ */ $(b1, { hexString: P, size: a, ...r }) }) }); + return S && _y(S) ? /* @__PURE__ */ W("span", { ref: c, ...r, children: /* @__PURE__ */ W(ws, { sizeType: n, withBgColor: !s, children: /* @__PURE__ */ W(xy, { children: /* @__PURE__ */ W(vt, { src: Zh, size: o - 8 }) }) }) }) : /* @__PURE__ */ W("span", { ref: c, ...r, children: /* @__PURE__ */ W(ws, { sizeType: n, children: S && /* @__PURE__ */ W(Sy, { hexString: S, size: o, ...r }) }) }); }); -kr.displayName = "Avatar"; -function qi(e) { +An.displayName = "Avatar"; +function qa(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -function S1(e) { +function My(e) { if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e; - var o = e.default; - if (typeof o == "function") { - var g = function C() { - var P = !1; + var t = e.default; + if (typeof t == "function") { + var c = function h() { + var S = !1; try { - P = this instanceof C; + S = this instanceof h; } catch { } - return P ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments); + return S ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments); }; - g.prototype = o.prototype; - } else g = {}; - return Object.defineProperty(g, "__esModule", { value: !0 }), Object.keys(e).forEach(function(C) { - var P = Object.getOwnPropertyDescriptor(e, C); - Object.defineProperty(g, C, P.get ? P : { + c.prototype = t.prototype; + } else c = {}; + return Object.defineProperty(c, "__esModule", { value: !0 }), Object.keys(e).forEach(function(h) { + var S = Object.getOwnPropertyDescriptor(e, h); + Object.defineProperty(c, h, S.get ? S : { enumerable: !0, get: function() { - return e[C]; + return e[h]; } }); - }), g; + }), c; } -var ya, E0; -function M1() { - return E0 || (E0 = 1, ya = function() { +var Cs, p0; +function Py() { + return p0 || (p0 = 1, Cs = function() { var e = document.getSelection(); if (!e.rangeCount) return function() { }; - for (var o = document.activeElement, g = [], C = 0; C < e.rangeCount; C++) - g.push(e.getRangeAt(C)); - switch (o.tagName.toUpperCase()) { + for (var t = document.activeElement, c = [], h = 0; h < e.rangeCount; h++) + c.push(e.getRangeAt(h)); + switch (t.tagName.toUpperCase()) { // .toUpperCase handles XHTML case "INPUT": case "TEXTAREA": - o.blur(); + t.blur(); break; default: - o = null; + t = null; break; } return e.removeAllRanges(), function() { - e.type === "Caret" && e.removeAllRanges(), e.rangeCount || g.forEach(function(P) { - e.addRange(P); - }), o && o.focus(); + e.type === "Caret" && e.removeAllRanges(), e.rangeCount || c.forEach(function(S) { + e.addRange(S); + }), t && t.focus(); }; - }), ya; + }), Cs; } -var ga, P0; -function x1() { - if (P0) return ga; - P0 = 1; - var e = M1(), o = { +var Ss, h0; +function Oy() { + if (h0) return Ss; + h0 = 1; + var e = Py(), t = { "text/plain": "Text", "text/html": "Url", default: "Text" - }, g = "Copy to clipboard: #{key}, Enter"; - function C(x) { + }, c = "Copy to clipboard: #{key}, Enter"; + function h(g) { var n = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C"; - return x.replace(/#{\s*key\s*}/g, n); + return g.replace(/#{\s*key\s*}/g, n); } - function P(x, n) { - var c, r, a, i, m, t, f = !1; - n || (n = {}), c = n.debug || !1; + function S(g, n) { + var s, r, o, i, p, a, f = !1; + n || (n = {}), s = n.debug || !1; try { - a = e(), i = document.createRange(), m = document.getSelection(), t = document.createElement("span"), t.textContent = x, t.ariaHidden = "true", t.style.all = "unset", t.style.position = "fixed", t.style.top = 0, t.style.clip = "rect(0, 0, 0, 0)", t.style.whiteSpace = "pre", t.style.webkitUserSelect = "text", t.style.MozUserSelect = "text", t.style.msUserSelect = "text", t.style.userSelect = "text", t.addEventListener("copy", function(y) { - if (y.stopPropagation(), n.format) - if (y.preventDefault(), typeof y.clipboardData > "u") { - c && console.warn("unable to use e.clipboardData"), c && console.warn("trying IE specific stuff"), window.clipboardData.clearData(); - var u = o[n.format] || o.default; - window.clipboardData.setData(u, x); + o = e(), i = document.createRange(), p = document.getSelection(), a = document.createElement("span"), a.textContent = g, a.ariaHidden = "true", a.style.all = "unset", a.style.position = "fixed", a.style.top = 0, a.style.clip = "rect(0, 0, 0, 0)", a.style.whiteSpace = "pre", a.style.webkitUserSelect = "text", a.style.MozUserSelect = "text", a.style.msUserSelect = "text", a.style.userSelect = "text", a.addEventListener("copy", function(w) { + if (w.stopPropagation(), n.format) + if (w.preventDefault(), typeof w.clipboardData > "u") { + s && console.warn("unable to use e.clipboardData"), s && console.warn("trying IE specific stuff"), window.clipboardData.clearData(); + var m = t[n.format] || t.default; + window.clipboardData.setData(m, g); } else - y.clipboardData.clearData(), y.clipboardData.setData(n.format, x); - n.onCopy && (y.preventDefault(), n.onCopy(y.clipboardData)); - }), document.body.appendChild(t), i.selectNodeContents(t), m.addRange(i); - var b = document.execCommand("copy"); - if (!b) + w.clipboardData.clearData(), w.clipboardData.setData(n.format, g); + n.onCopy && (w.preventDefault(), n.onCopy(w.clipboardData)); + }), document.body.appendChild(a), i.selectNodeContents(a), p.addRange(i); + var C = document.execCommand("copy"); + if (!C) throw new Error("copy command was unsuccessful"); f = !0; - } catch (y) { - c && console.error("unable to copy using execCommand: ", y), c && console.warn("trying IE specific stuff"); + } catch (w) { + s && console.error("unable to copy using execCommand: ", w), s && console.warn("trying IE specific stuff"); try { - window.clipboardData.setData(n.format || "text", x), n.onCopy && n.onCopy(window.clipboardData), f = !0; - } catch (u) { - c && console.error("unable to copy using clipboardData: ", u), c && console.error("falling back to prompt"), r = C("message" in n ? n.message : g), window.prompt(r, x); + window.clipboardData.setData(n.format || "text", g), n.onCopy && n.onCopy(window.clipboardData), f = !0; + } catch (m) { + s && console.error("unable to copy using clipboardData: ", m), s && console.error("falling back to prompt"), r = h("message" in n ? n.message : c), window.prompt(r, g); } } finally { - m && (typeof m.removeRange == "function" ? m.removeRange(i) : m.removeAllRanges()), t && document.body.removeChild(t), a(); + p && (typeof p.removeRange == "function" ? p.removeRange(i) : p.removeAllRanges()), a && document.body.removeChild(a), o(); } return f; } - return ga = P, ga; + return Ss = S, Ss; } -var E1 = x1(); -const cl = /* @__PURE__ */ qi(E1), A0 = { +var Ty = Oy(); +const gd = /* @__PURE__ */ qa(Ty), y0 = { blue: "contentBlue", gray: "contentTertiary", green: "contentGreen" -}, P1 = qc(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]), A1 = be.span.withConfig({ +}, Ay = rd(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]), Ly = xe.span.withConfig({ displayName: "copy__StyledContainer", componentId: "sc-1fp6ltg-0" -})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:", ";animation:", ";& svg{color:", ";path{fill:", ";}:hover{color:", ";path{fill:", ";}}:active{color:", ";path{fill:", ";}}}"], (e) => e.isCopied ? "none" : "initial", (e) => e.isCopied ? ef(["", " 3s"], P1) : "none", (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlueClick, (e) => e.theme.styleguideColors.fillPrimaryBlueClick), O1 = be(_t).withConfig({ +})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:", ";animation:", ";& svg{color:", ";path{fill:", ";}:hover{color:", ";path{fill:", ";}}:active{color:", ";path{fill:", ";}}}"], (e) => e.isCopied ? "none" : "initial", (e) => e.isCopied ? uh(["", " 3s"], Ay) : "none", (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlueClick, (e) => e.theme.styleguideColors.fillPrimaryBlueClick), Iy = xe(vt).withConfig({ displayName: "copy__StyledSvgIcon", componentId: "sc-1fp6ltg-1" })(({ theme: e, - variation: o = "blue" + variation: t = "blue" }) => e.withMedia({ - color: e.styleguideColors[A0[o]], + color: e.styleguideColors[y0[t]], path: { - fill: e.styleguideColors[A0[o]] + fill: e.styleguideColors[y0[t]] } -})), Zi = ({ +})), Za = ({ value: e, - label: o = "Copy Public Key", - copiedLabel: g = "Copied!", - variation: C, - styles: P, - minified: x = !1 + label: t = "Copy Public Key", + copiedLabel: c = "Copied!", + variation: h, + styles: S, + minified: g = !1 }) => { - const [n, c] = Ct(!1), r = n ? $i : il, a = n ? g : o, i = n ? "green" : "black", m = (t) => { - t?.stopPropagation(), e && (cl(e), c(!0), setTimeout(() => c(!1), 2800)); + const [n, s] = ft(!1), r = n ? $a : pd, o = n ? c : t, i = n ? "green" : "black", p = (a) => { + a?.stopPropagation(), e && (gd(e), s(!0), setTimeout(() => s(!1), 2800)); }; - return /* @__PURE__ */ $(je, { style: P, align: "center", itemsSpacing: 8, children: /* @__PURE__ */ Pe(A1, { onClick: m, isCopied: n, tabIndex: 0, onKeyDown: (t) => { - t.key === "Enter" && m(); + return /* @__PURE__ */ W(je, { style: S, align: "center", itemsSpacing: 8, children: /* @__PURE__ */ Le(Ly, { onClick: p, isCopied: n, tabIndex: 0, onKeyDown: (a) => { + a.key === "Enter" && p(); }, children: [ - /* @__PURE__ */ $(O1, { variation: C, size: 16, src: r, role: "img", alt: "Copy button" }), - !x && /* @__PURE__ */ $(Ae, { size: 3, variation: i, children: a }) + /* @__PURE__ */ W(Iy, { variation: h, size: 16, src: r, role: "img", alt: "Copy button" }), + !g && /* @__PURE__ */ W(Be, { size: 3, variation: i, children: o }) ] }) }); -}, T1 = (e, o) => ({ +}, Ny = (e, t) => ({ primaryBlue: { color: e.styleguideColors.contentBlue, hover: e.styleguideColors.fillPrimaryBlueHover, @@ -1483,183 +1483,183 @@ const cl = /* @__PURE__ */ qi(E1), A0 = { hover: e.styleguideColors.contentRed, active: e.styleguideColors.fillPrimaryRedClick } -})[o] || { +})[t] || { color: "inherit", hover: "inherit", active: "inherit" -}, I1 = be.a.withConfig({ +}, By = xe.a.withConfig({ displayName: "link__StyledLink", componentId: "sc-npzuii-0" })(({ theme: e, - color: o, - lineHeight: g = "sm" + color: t, + lineHeight: c = "sm" }) => { - const C = T1(e, o); + const h = Ny(e, t); return { textDecoration: "none", - lineHeight: It({ + lineHeight: xt({ sm: "1.5rem", xs: "1.25rem" - }, g), - color: C.color, + }, c), + color: h.color, "&:hover, &:hover > *": { - color: C.hover + color: h.hover }, "&:active, &:active > *": { - color: C.active + color: h.active } }; -}), fr = St.forwardRef(function({ - color: o = "primaryRed", - ...g -}, C) { - return /* @__PURE__ */ $(I1, { ref: C, target: "_blank", color: o, ...g }); +}), mn = yt.forwardRef(function({ + color: t = "primaryRed", + ...c +}, h) { + return /* @__PURE__ */ W(By, { ref: h, target: "_blank", color: t, ...c }); }); -var Ha = function(e, o) { - return Ha = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(g, C) { - g.__proto__ = C; - } || function(g, C) { - for (var P in C) Object.prototype.hasOwnProperty.call(C, P) && (g[P] = C[P]); - }, Ha(e, o); +var qs = function(e, t) { + return qs = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, h) { + c.__proto__ = h; + } || function(c, h) { + for (var S in h) Object.prototype.hasOwnProperty.call(h, S) && (c[S] = h[S]); + }, qs(e, t); }; -function Zr(e, o) { - if (typeof o != "function" && o !== null) - throw new TypeError("Class extends value " + String(o) + " is not a constructor or null"); - Ha(e, o); - function g() { +function Kn(e, t) { + if (typeof t != "function" && t !== null) + throw new TypeError("Class extends value " + String(t) + " is not a constructor or null"); + qs(e, t); + function c() { this.constructor = e; } - e.prototype = o === null ? Object.create(o) : (g.prototype = o.prototype, new g()); + e.prototype = t === null ? Object.create(t) : (c.prototype = t.prototype, new c()); } -var st = function() { - return st = Object.assign || function(o) { - for (var g, C = 1, P = arguments.length; C < P; C++) { - g = arguments[C]; - for (var x in g) Object.prototype.hasOwnProperty.call(g, x) && (o[x] = g[x]); +var nt = function() { + return nt = Object.assign || function(t) { + for (var c, h = 1, S = arguments.length; h < S; h++) { + c = arguments[h]; + for (var g in c) Object.prototype.hasOwnProperty.call(c, g) && (t[g] = c[g]); } - return o; - }, st.apply(this, arguments); + return t; + }, nt.apply(this, arguments); }; -function N1(e, o) { - var g = {}; - for (var C in e) Object.prototype.hasOwnProperty.call(e, C) && o.indexOf(C) < 0 && (g[C] = e[C]); +function Ry(e, t) { + var c = {}; + for (var h in e) Object.prototype.hasOwnProperty.call(e, h) && t.indexOf(h) < 0 && (c[h] = e[h]); if (e != null && typeof Object.getOwnPropertySymbols == "function") - for (var P = 0, C = Object.getOwnPropertySymbols(e); P < C.length; P++) - o.indexOf(C[P]) < 0 && Object.prototype.propertyIsEnumerable.call(e, C[P]) && (g[C[P]] = e[C[P]]); - return g; -} -function pn(e, o, g) { - if (g || arguments.length === 2) for (var C = 0, P = o.length, x; C < P; C++) - (x || !(C in o)) && (x || (x = Array.prototype.slice.call(o, 0, C)), x[C] = o[C]); - return e.concat(x || Array.prototype.slice.call(o)); -} -function Qr(e, o) { - var g = o && o.cache ? o.cache : D1, C = o && o.serializer ? o.serializer : H1, P = o && o.strategy ? o.strategy : k1; - return P(e, { - cache: g, - serializer: C + for (var S = 0, h = Object.getOwnPropertySymbols(e); S < h.length; S++) + t.indexOf(h[S]) < 0 && Object.prototype.propertyIsEnumerable.call(e, h[S]) && (c[h[S]] = e[h[S]]); + return c; +} +function ur(e, t, c) { + if (c || arguments.length === 2) for (var h = 0, S = t.length, g; h < S; h++) + (g || !(h in t)) && (g || (g = Array.prototype.slice.call(t, 0, h)), g[h] = t[h]); + return e.concat(g || Array.prototype.slice.call(t)); +} +function $n(e, t) { + var c = t && t.cache ? t.cache : Fy, h = t && t.serializer ? t.serializer : Vy, S = t && t.strategy ? t.strategy : jy; + return S(e, { + cache: c, + serializer: h }); } -function L1(e) { +function ky(e) { return e == null || typeof e == "number" || typeof e == "boolean"; } -function R1(e, o, g, C) { - var P = L1(C) ? C : g(C), x = o.get(P); - return typeof x > "u" && (x = e.call(this, C), o.set(P, x)), x; +function Hy(e, t, c, h) { + var S = ky(h) ? h : c(h), g = t.get(S); + return typeof g > "u" && (g = e.call(this, h), t.set(S, g)), g; } -function ll(e, o, g) { - var C = Array.prototype.slice.call(arguments, 3), P = g(C), x = o.get(P); - return typeof x > "u" && (x = e.apply(this, C), o.set(P, x)), x; +function vd(e, t, c) { + var h = Array.prototype.slice.call(arguments, 3), S = c(h), g = t.get(S); + return typeof g > "u" && (g = e.apply(this, h), t.set(S, g)), g; } -function dl(e, o, g, C, P) { - return g.bind(o, e, C, P); +function bd(e, t, c, h, S) { + return c.bind(t, e, h, S); } -function k1(e, o) { - var g = e.length === 1 ? R1 : ll; - return dl(e, this, g, o.cache.create(), o.serializer); +function jy(e, t) { + var c = e.length === 1 ? Hy : vd; + return bd(e, this, c, t.cache.create(), t.serializer); } -function B1(e, o) { - return dl(e, this, ll, o.cache.create(), o.serializer); +function Dy(e, t) { + return bd(e, this, vd, t.cache.create(), t.serializer); } -var H1 = function() { +var Vy = function() { return JSON.stringify(arguments); -}, j1 = ( +}, Uy = ( /** @class */ function() { function e() { this.cache = /* @__PURE__ */ Object.create(null); } - return e.prototype.get = function(o) { - return this.cache[o]; - }, e.prototype.set = function(o, g) { - this.cache[o] = g; + return e.prototype.get = function(t) { + return this.cache[t]; + }, e.prototype.set = function(t, c) { + this.cache[t] = c; }, e; }() -), D1 = { +), Fy = { create: function() { - return new j1(); + return new Uy(); } -}, en = { - variadic: B1 -}, Et; +}, Gn = { + variadic: Dy +}, Ct; (function(e) { e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG"; -})(Et || (Et = {})); -var Wt; +})(Ct || (Ct = {})); +var zt; (function(e) { e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag"; -})(Wt || (Wt = {})); -var Yn; +})(zt || (zt = {})); +var Oo; (function(e) { e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime"; -})(Yn || (Yn = {})); -function O0(e) { - return e.type === Wt.literal; +})(Oo || (Oo = {})); +function m0(e) { + return e.type === zt.literal; } -function V1(e) { - return e.type === Wt.argument; +function zy(e) { + return e.type === zt.argument; } -function fl(e) { - return e.type === Wt.number; +function wd(e) { + return e.type === zt.number; } -function hl(e) { - return e.type === Wt.date; +function Cd(e) { + return e.type === zt.date; } -function pl(e) { - return e.type === Wt.time; +function Sd(e) { + return e.type === zt.time; } -function ml(e) { - return e.type === Wt.select; +function _d(e) { + return e.type === zt.select; } -function yl(e) { - return e.type === Wt.plural; +function Ed(e) { + return e.type === zt.plural; } -function U1(e) { - return e.type === Wt.pound; +function Ky(e) { + return e.type === zt.pound; } -function gl(e) { - return e.type === Wt.tag; +function xd(e) { + return e.type === zt.tag; } -function vl(e) { - return !!(e && typeof e == "object" && e.type === Yn.number); +function Md(e) { + return !!(e && typeof e == "object" && e.type === Oo.number); } -function ja(e) { - return !!(e && typeof e == "object" && e.type === Yn.dateTime); +function Zs(e) { + return !!(e && typeof e == "object" && e.type === Oo.dateTime); } -var bl = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, z1 = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g; -function F1(e) { - var o = {}; - return e.replace(z1, function(g) { - var C = g.length; - switch (g[0]) { +var Pd = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wy = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g; +function Jy(e) { + var t = {}; + return e.replace(Wy, function(c) { + var h = c.length; + switch (c[0]) { // Era case "G": - o.era = C === 4 ? "long" : C === 5 ? "narrow" : "short"; + t.era = h === 4 ? "long" : h === 5 ? "narrow" : "short"; break; // Year case "y": - o.year = C === 2 ? "2-digit" : "numeric"; + t.year = h === 2 ? "2-digit" : "numeric"; break; case "Y": case "u": @@ -1673,14 +1673,14 @@ function F1(e) { // Month case "M": case "L": - o.month = ["numeric", "2-digit", "short", "long", "narrow"][C - 1]; + t.month = ["numeric", "2-digit", "short", "long", "narrow"][h - 1]; break; // Week case "w": case "W": throw new RangeError("`w/W` (week) patterns are not supported"); case "d": - o.day = ["numeric", "2-digit"][C - 1]; + t.day = ["numeric", "2-digit"][h - 1]; break; case "D": case "F": @@ -1688,21 +1688,21 @@ function F1(e) { throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead"); // Weekday case "E": - o.weekday = C === 4 ? "long" : C === 5 ? "narrow" : "short"; + t.weekday = h === 4 ? "long" : h === 5 ? "narrow" : "short"; break; case "e": - if (C < 4) + if (h < 4) throw new RangeError("`e..eee` (weekday) patterns are not supported"); - o.weekday = ["short", "long", "narrow", "short"][C - 4]; + t.weekday = ["short", "long", "narrow", "short"][h - 4]; break; case "c": - if (C < 4) + if (h < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported"); - o.weekday = ["short", "long", "narrow", "short"][C - 4]; + t.weekday = ["short", "long", "narrow", "short"][h - 4]; break; // Period case "a": - o.hour12 = !0; + t.hour12 = !0; break; case "b": // am, pm, noon, midnight @@ -1710,16 +1710,16 @@ function F1(e) { throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead"); // Hour case "h": - o.hourCycle = "h12", o.hour = ["numeric", "2-digit"][C - 1]; + t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][h - 1]; break; case "H": - o.hourCycle = "h23", o.hour = ["numeric", "2-digit"][C - 1]; + t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][h - 1]; break; case "K": - o.hourCycle = "h11", o.hour = ["numeric", "2-digit"][C - 1]; + t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][h - 1]; break; case "k": - o.hourCycle = "h24", o.hour = ["numeric", "2-digit"][C - 1]; + t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][h - 1]; break; case "j": case "J": @@ -1727,18 +1727,18 @@ function F1(e) { throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead"); // Minute case "m": - o.minute = ["numeric", "2-digit"][C - 1]; + t.minute = ["numeric", "2-digit"][h - 1]; break; // Second case "s": - o.second = ["numeric", "2-digit"][C - 1]; + t.second = ["numeric", "2-digit"][h - 1]; break; case "S": case "A": throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead"); // Zone case "z": - o.timeZoneName = C < 4 ? "short" : "long"; + t.timeZoneName = h < 4 ? "short" : "long"; break; case "Z": // 1..3, 4, 5: The ISO8601 varios formats @@ -1754,38 +1754,38 @@ function F1(e) { throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead"); } return ""; - }), o; + }), t; } -var K1 = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i; -function W1(e) { +var $y = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i; +function Gy(e) { if (e.length === 0) throw new Error("Number skeleton cannot be empty"); - for (var o = e.split(K1).filter(function(t) { - return t.length > 0; - }), g = [], C = 0, P = o; C < P.length; C++) { - var x = P[C], n = x.split("/"); + for (var t = e.split($y).filter(function(a) { + return a.length > 0; + }), c = [], h = 0, S = t; h < S.length; h++) { + var g = S[h], n = g.split("/"); if (n.length === 0) throw new Error("Invalid number skeleton"); - for (var c = n[0], r = n.slice(1), a = 0, i = r; a < i.length; a++) { - var m = i[a]; - if (m.length === 0) + for (var s = n[0], r = n.slice(1), o = 0, i = r; o < i.length; o++) { + var p = i[o]; + if (p.length === 0) throw new Error("Invalid number skeleton"); } - g.push({ stem: c, options: r }); + c.push({ stem: s, options: r }); } - return g; + return c; } -function J1(e) { +function qy(e) { return e.replace(/^(.*?)-/, ""); } -var T0 = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wl = /^(@+)?(\+|#+)?[rs]?$/g, $1 = /(\*)(0+)|(#+)(0+)|(0+)/g, Cl = /^(0+)$/; -function I0(e) { - var o = {}; - return e[e.length - 1] === "r" ? o.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (o.roundingPriority = "lessPrecision"), e.replace(wl, function(g, C, P) { - return typeof P != "string" ? (o.minimumSignificantDigits = C.length, o.maximumSignificantDigits = C.length) : P === "+" ? o.minimumSignificantDigits = C.length : C[0] === "#" ? o.maximumSignificantDigits = C.length : (o.minimumSignificantDigits = C.length, o.maximumSignificantDigits = C.length + (typeof P == "string" ? P.length : 0)), ""; - }), o; +var g0 = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Od = /^(@+)?(\+|#+)?[rs]?$/g, Zy = /(\*)(0+)|(#+)(0+)|(0+)/g, Td = /^(0+)$/; +function v0(e) { + var t = {}; + return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Od, function(c, h, S) { + return typeof S != "string" ? (t.minimumSignificantDigits = h.length, t.maximumSignificantDigits = h.length) : S === "+" ? t.minimumSignificantDigits = h.length : h[0] === "#" ? t.maximumSignificantDigits = h.length : (t.minimumSignificantDigits = h.length, t.maximumSignificantDigits = h.length + (typeof S == "string" ? S.length : 0)), ""; + }), t; } -function _l(e) { +function Ad(e) { switch (e) { case "sign-auto": return { @@ -1825,117 +1825,117 @@ function _l(e) { }; } } -function G1(e) { - var o; - if (e[0] === "E" && e[1] === "E" ? (o = { +function Yy(e) { + var t; + if (e[0] === "E" && e[1] === "E" ? (t = { notation: "engineering" - }, e = e.slice(2)) : e[0] === "E" && (o = { + }, e = e.slice(2)) : e[0] === "E" && (t = { notation: "scientific" - }, e = e.slice(1)), o) { - var g = e.slice(0, 2); - if (g === "+!" ? (o.signDisplay = "always", e = e.slice(2)) : g === "+?" && (o.signDisplay = "exceptZero", e = e.slice(2)), !Cl.test(e)) + }, e = e.slice(1)), t) { + var c = e.slice(0, 2); + if (c === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : c === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Td.test(e)) throw new Error("Malformed concise eng/scientific notation"); - o.minimumIntegerDigits = e.length; + t.minimumIntegerDigits = e.length; } - return o; + return t; } -function N0(e) { - var o = {}, g = _l(e); - return g || o; +function b0(e) { + var t = {}, c = Ad(e); + return c || t; } -function q1(e) { - for (var o = {}, g = 0, C = e; g < C.length; g++) { - var P = C[g]; - switch (P.stem) { +function Xy(e) { + for (var t = {}, c = 0, h = e; c < h.length; c++) { + var S = h[c]; + switch (S.stem) { case "percent": case "%": - o.style = "percent"; + t.style = "percent"; continue; case "%x100": - o.style = "percent", o.scale = 100; + t.style = "percent", t.scale = 100; continue; case "currency": - o.style = "currency", o.currency = P.options[0]; + t.style = "currency", t.currency = S.options[0]; continue; case "group-off": case ",_": - o.useGrouping = !1; + t.useGrouping = !1; continue; case "precision-integer": case ".": - o.maximumFractionDigits = 0; + t.maximumFractionDigits = 0; continue; case "measure-unit": case "unit": - o.style = "unit", o.unit = J1(P.options[0]); + t.style = "unit", t.unit = qy(S.options[0]); continue; case "compact-short": case "K": - o.notation = "compact", o.compactDisplay = "short"; + t.notation = "compact", t.compactDisplay = "short"; continue; case "compact-long": case "KK": - o.notation = "compact", o.compactDisplay = "long"; + t.notation = "compact", t.compactDisplay = "long"; continue; case "scientific": - o = st(st(st({}, o), { notation: "scientific" }), P.options.reduce(function(r, a) { - return st(st({}, r), N0(a)); + t = nt(nt(nt({}, t), { notation: "scientific" }), S.options.reduce(function(r, o) { + return nt(nt({}, r), b0(o)); }, {})); continue; case "engineering": - o = st(st(st({}, o), { notation: "engineering" }), P.options.reduce(function(r, a) { - return st(st({}, r), N0(a)); + t = nt(nt(nt({}, t), { notation: "engineering" }), S.options.reduce(function(r, o) { + return nt(nt({}, r), b0(o)); }, {})); continue; case "notation-simple": - o.notation = "standard"; + t.notation = "standard"; continue; // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h case "unit-width-narrow": - o.currencyDisplay = "narrowSymbol", o.unitDisplay = "narrow"; + t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow"; continue; case "unit-width-short": - o.currencyDisplay = "code", o.unitDisplay = "short"; + t.currencyDisplay = "code", t.unitDisplay = "short"; continue; case "unit-width-full-name": - o.currencyDisplay = "name", o.unitDisplay = "long"; + t.currencyDisplay = "name", t.unitDisplay = "long"; continue; case "unit-width-iso-code": - o.currencyDisplay = "symbol"; + t.currencyDisplay = "symbol"; continue; case "scale": - o.scale = parseFloat(P.options[0]); + t.scale = parseFloat(S.options[0]); continue; case "rounding-mode-floor": - o.roundingMode = "floor"; + t.roundingMode = "floor"; continue; case "rounding-mode-ceiling": - o.roundingMode = "ceil"; + t.roundingMode = "ceil"; continue; case "rounding-mode-down": - o.roundingMode = "trunc"; + t.roundingMode = "trunc"; continue; case "rounding-mode-up": - o.roundingMode = "expand"; + t.roundingMode = "expand"; continue; case "rounding-mode-half-even": - o.roundingMode = "halfEven"; + t.roundingMode = "halfEven"; continue; case "rounding-mode-half-down": - o.roundingMode = "halfTrunc"; + t.roundingMode = "halfTrunc"; continue; case "rounding-mode-half-up": - o.roundingMode = "halfExpand"; + t.roundingMode = "halfExpand"; continue; // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width case "integer-width": - if (P.options.length > 1) + if (S.options.length > 1) throw new RangeError("integer-width stems only accept a single optional option"); - P.options[0].replace($1, function(r, a, i, m, t, f) { - if (a) - o.minimumIntegerDigits = i.length; + S.options[0].replace(Zy, function(r, o, i, p, a, f) { + if (o) + t.minimumIntegerDigits = i.length; else { - if (m && t) + if (p && a) throw new Error("We currently do not support maximum integer digits"); if (f) throw new Error("We currently do not support exact integer digits"); @@ -1944,32 +1944,32 @@ function q1(e) { }); continue; } - if (Cl.test(P.stem)) { - o.minimumIntegerDigits = P.stem.length; + if (Td.test(S.stem)) { + t.minimumIntegerDigits = S.stem.length; continue; } - if (T0.test(P.stem)) { - if (P.options.length > 1) + if (g0.test(S.stem)) { + if (S.options.length > 1) throw new RangeError("Fraction-precision stems only accept a single optional option"); - P.stem.replace(T0, function(r, a, i, m, t, f) { - return i === "*" ? o.minimumFractionDigits = a.length : m && m[0] === "#" ? o.maximumFractionDigits = m.length : t && f ? (o.minimumFractionDigits = t.length, o.maximumFractionDigits = t.length + f.length) : (o.minimumFractionDigits = a.length, o.maximumFractionDigits = a.length), ""; + S.stem.replace(g0, function(r, o, i, p, a, f) { + return i === "*" ? t.minimumFractionDigits = o.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : a && f ? (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length + f.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), ""; }); - var x = P.options[0]; - x === "w" ? o = st(st({}, o), { trailingZeroDisplay: "stripIfInteger" }) : x && (o = st(st({}, o), I0(x))); + var g = S.options[0]; + g === "w" ? t = nt(nt({}, t), { trailingZeroDisplay: "stripIfInteger" }) : g && (t = nt(nt({}, t), v0(g))); continue; } - if (wl.test(P.stem)) { - o = st(st({}, o), I0(P.stem)); + if (Od.test(S.stem)) { + t = nt(nt({}, t), v0(S.stem)); continue; } - var n = _l(P.stem); - n && (o = st(st({}, o), n)); - var c = G1(P.stem); - c && (o = st(st({}, o), c)); + var n = Ad(S.stem); + n && (t = nt(nt({}, t), n)); + var s = Yy(S.stem); + s && (t = nt(nt({}, t), s)); } - return o; + return t; } -var ii = { +var Ki = { "001": [ "H", "h" @@ -3384,27 +3384,27 @@ var ii = { "h" ] }; -function Z1(e, o) { - for (var g = "", C = 0; C < e.length; C++) { - var P = e.charAt(C); - if (P === "j") { - for (var x = 0; C + 1 < e.length && e.charAt(C + 1) === P; ) - x++, C++; - var n = 1 + (x & 1), c = x < 2 ? 1 : 3 + (x >> 1), r = "a", a = X1(o); - for ((a == "H" || a == "k") && (c = 0); c-- > 0; ) - g += r; +function Qy(e, t) { + for (var c = "", h = 0; h < e.length; h++) { + var S = e.charAt(h); + if (S === "j") { + for (var g = 0; h + 1 < e.length && e.charAt(h + 1) === S; ) + g++, h++; + var n = 1 + (g & 1), s = g < 2 ? 1 : 3 + (g >> 1), r = "a", o = em(t); + for ((o == "H" || o == "k") && (s = 0); s-- > 0; ) + c += r; for (; n-- > 0; ) - g = a + g; - } else P === "J" ? g += "H" : g += P; + c = o + c; + } else S === "J" ? c += "H" : c += S; } - return g; + return c; } -function X1(e) { - var o = e.hourCycle; - if (o === void 0 && // @ts-ignore hourCycle(s) is not identified yet +function em(e) { + var t = e.hourCycle; + if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet e.hourCycles && // @ts-ignore - e.hourCycles.length && (o = e.hourCycles[0]), o) - switch (o) { + e.hourCycles.length && (t = e.hourCycles[0]), t) + switch (t) { case "h24": return "k"; case "h23": @@ -3416,228 +3416,228 @@ function X1(e) { default: throw new Error("Invalid hourCycle"); } - var g = e.language, C; - g !== "root" && (C = e.maximize().region); - var P = ii[C || ""] || ii[g || ""] || ii["".concat(g, "-001")] || ii["001"]; - return P[0]; + var c = e.language, h; + c !== "root" && (h = e.maximize().region); + var S = Ki[h || ""] || Ki[c || ""] || Ki["".concat(c, "-001")] || Ki["001"]; + return S[0]; } -var va, Y1 = new RegExp("^".concat(bl.source, "*")), Q1 = new RegExp("".concat(bl.source, "*$")); -function Ot(e, o) { - return { start: e, end: o }; +var _s, tm = new RegExp("^".concat(Pd.source, "*")), nm = new RegExp("".concat(Pd.source, "*$")); +function _t(e, t) { + return { start: e, end: t }; } -var eh = !!String.prototype.startsWith && "_a".startsWith("a", 1), th = !!String.fromCodePoint, rh = !!Object.fromEntries, nh = !!String.prototype.codePointAt, oh = !!String.prototype.trimStart, ih = !!String.prototype.trimEnd, ah = !!Number.isSafeInteger, sh = ah ? Number.isSafeInteger : function(e) { +var rm = !!String.prototype.startsWith && "_a".startsWith("a", 1), om = !!String.fromCodePoint, im = !!Object.fromEntries, am = !!String.prototype.codePointAt, sm = !!String.prototype.trimStart, cm = !!String.prototype.trimEnd, um = !!Number.isSafeInteger, lm = um ? Number.isSafeInteger : function(e) { return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991; -}, Da = !0; +}, Ys = !0; try { - var uh = Ml("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); - Da = ((va = uh.exec("a")) === null || va === void 0 ? void 0 : va[0]) === "a"; + var dm = Id("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); + Ys = ((_s = dm.exec("a")) === null || _s === void 0 ? void 0 : _s[0]) === "a"; } catch { - Da = !1; + Ys = !1; } -var L0 = eh ? ( +var w0 = rm ? ( // Native - function(o, g, C) { - return o.startsWith(g, C); + function(t, c, h) { + return t.startsWith(c, h); } ) : ( // For IE11 - function(o, g, C) { - return o.slice(C, C + g.length) === g; + function(t, c, h) { + return t.slice(h, h + c.length) === c; } -), Va = th ? String.fromCodePoint : ( +), Xs = om ? String.fromCodePoint : ( // IE11 function() { - for (var o = [], g = 0; g < arguments.length; g++) - o[g] = arguments[g]; - for (var C = "", P = o.length, x = 0, n; P > x; ) { - if (n = o[x++], n > 1114111) + for (var t = [], c = 0; c < arguments.length; c++) + t[c] = arguments[c]; + for (var h = "", S = t.length, g = 0, n; S > g; ) { + if (n = t[g++], n > 1114111) throw RangeError(n + " is not a valid code point"); - C += n < 65536 ? String.fromCharCode(n) : String.fromCharCode(((n -= 65536) >> 10) + 55296, n % 1024 + 56320); + h += n < 65536 ? String.fromCharCode(n) : String.fromCharCode(((n -= 65536) >> 10) + 55296, n % 1024 + 56320); } - return C; + return h; } -), R0 = ( +), C0 = ( // native - rh ? Object.fromEntries : ( + im ? Object.fromEntries : ( // Ponyfill - function(o) { - for (var g = {}, C = 0, P = o; C < P.length; C++) { - var x = P[C], n = x[0], c = x[1]; - g[n] = c; + function(t) { + for (var c = {}, h = 0, S = t; h < S.length; h++) { + var g = S[h], n = g[0], s = g[1]; + c[n] = s; } - return g; + return c; } ) -), Sl = nh ? ( +), Ld = am ? ( // Native - function(o, g) { - return o.codePointAt(g); + function(t, c) { + return t.codePointAt(c); } ) : ( // IE 11 - function(o, g) { - var C = o.length; - if (!(g < 0 || g >= C)) { - var P = o.charCodeAt(g), x; - return P < 55296 || P > 56319 || g + 1 === C || (x = o.charCodeAt(g + 1)) < 56320 || x > 57343 ? P : (P - 55296 << 10) + (x - 56320) + 65536; + function(t, c) { + var h = t.length; + if (!(c < 0 || c >= h)) { + var S = t.charCodeAt(c), g; + return S < 55296 || S > 56319 || c + 1 === h || (g = t.charCodeAt(c + 1)) < 56320 || g > 57343 ? S : (S - 55296 << 10) + (g - 56320) + 65536; } } -), ch = oh ? ( +), fm = sm ? ( // Native - function(o) { - return o.trimStart(); + function(t) { + return t.trimStart(); } ) : ( // Ponyfill - function(o) { - return o.replace(Y1, ""); + function(t) { + return t.replace(tm, ""); } -), lh = ih ? ( +), pm = cm ? ( // Native - function(o) { - return o.trimEnd(); + function(t) { + return t.trimEnd(); } ) : ( // Ponyfill - function(o) { - return o.replace(Q1, ""); + function(t) { + return t.replace(nm, ""); } ); -function Ml(e, o) { - return new RegExp(e, o); -} -var Ua; -if (Da) { - var k0 = Ml("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); - Ua = function(o, g) { - var C; - k0.lastIndex = g; - var P = k0.exec(o); - return (C = P[1]) !== null && C !== void 0 ? C : ""; +function Id(e, t) { + return new RegExp(e, t); +} +var Qs; +if (Ys) { + var S0 = Id("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); + Qs = function(t, c) { + var h; + S0.lastIndex = c; + var S = S0.exec(t); + return (h = S[1]) !== null && h !== void 0 ? h : ""; }; } else - Ua = function(o, g) { - for (var C = []; ; ) { - var P = Sl(o, g); - if (P === void 0 || xl(P) || ph(P)) + Qs = function(t, c) { + for (var h = []; ; ) { + var S = Ld(t, c); + if (S === void 0 || Nd(S) || gm(S)) break; - C.push(P), g += P >= 65536 ? 2 : 1; + h.push(S), c += S >= 65536 ? 2 : 1; } - return Va.apply(void 0, C); + return Xs.apply(void 0, h); }; -var dh = ( +var hm = ( /** @class */ function() { - function e(o, g) { - g === void 0 && (g = {}), this.message = o, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!g.ignoreTag, this.locale = g.locale, this.requiresOtherClause = !!g.requiresOtherClause, this.shouldParseSkeletons = !!g.shouldParseSkeletons; + function e(t, c) { + c === void 0 && (c = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!c.ignoreTag, this.locale = c.locale, this.requiresOtherClause = !!c.requiresOtherClause, this.shouldParseSkeletons = !!c.shouldParseSkeletons; } return e.prototype.parse = function() { if (this.offset() !== 0) throw Error("parser can only be used once"); return this.parseMessage(0, "", !1); - }, e.prototype.parseMessage = function(o, g, C) { - for (var P = []; !this.isEOF(); ) { - var x = this.char(); - if (x === 123) { - var n = this.parseArgument(o, C); + }, e.prototype.parseMessage = function(t, c, h) { + for (var S = []; !this.isEOF(); ) { + var g = this.char(); + if (g === 123) { + var n = this.parseArgument(t, h); if (n.err) return n; - P.push(n.val); + S.push(n.val); } else { - if (x === 125 && o > 0) + if (g === 125 && t > 0) break; - if (x === 35 && (g === "plural" || g === "selectordinal")) { - var c = this.clonePosition(); - this.bump(), P.push({ - type: Wt.pound, - location: Ot(c, this.clonePosition()) + if (g === 35 && (c === "plural" || c === "selectordinal")) { + var s = this.clonePosition(); + this.bump(), S.push({ + type: zt.pound, + location: _t(s, this.clonePosition()) }); - } else if (x === 60 && !this.ignoreTag && this.peek() === 47) { - if (C) + } else if (g === 60 && !this.ignoreTag && this.peek() === 47) { + if (h) break; - return this.error(Et.UNMATCHED_CLOSING_TAG, Ot(this.clonePosition(), this.clonePosition())); - } else if (x === 60 && !this.ignoreTag && za(this.peek() || 0)) { - var n = this.parseTag(o, g); + return this.error(Ct.UNMATCHED_CLOSING_TAG, _t(this.clonePosition(), this.clonePosition())); + } else if (g === 60 && !this.ignoreTag && ec(this.peek() || 0)) { + var n = this.parseTag(t, c); if (n.err) return n; - P.push(n.val); + S.push(n.val); } else { - var n = this.parseLiteral(o, g); + var n = this.parseLiteral(t, c); if (n.err) return n; - P.push(n.val); + S.push(n.val); } } } - return { val: P, err: null }; - }, e.prototype.parseTag = function(o, g) { - var C = this.clonePosition(); + return { val: S, err: null }; + }, e.prototype.parseTag = function(t, c) { + var h = this.clonePosition(); this.bump(); - var P = this.parseTagName(); + var S = this.parseTagName(); if (this.bumpSpace(), this.bumpIf("/>")) return { val: { - type: Wt.literal, - value: "<".concat(P, "/>"), - location: Ot(C, this.clonePosition()) + type: zt.literal, + value: "<".concat(S, "/>"), + location: _t(h, this.clonePosition()) }, err: null }; if (this.bumpIf(">")) { - var x = this.parseMessage(o + 1, g, !0); - if (x.err) - return x; - var n = x.val, c = this.clonePosition(); + var g = this.parseMessage(t + 1, c, !0); + if (g.err) + return g; + var n = g.val, s = this.clonePosition(); if (this.bumpIf("")) { - if (this.isEOF() || !za(this.char())) - return this.error(Et.INVALID_TAG, Ot(c, this.clonePosition())); - var r = this.clonePosition(), a = this.parseTagName(); - return P !== a ? this.error(Et.UNMATCHED_CLOSING_TAG, Ot(r, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? { + if (this.isEOF() || !ec(this.char())) + return this.error(Ct.INVALID_TAG, _t(s, this.clonePosition())); + var r = this.clonePosition(), o = this.parseTagName(); + return S !== o ? this.error(Ct.UNMATCHED_CLOSING_TAG, _t(r, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? { val: { - type: Wt.tag, - value: P, + type: zt.tag, + value: S, children: n, - location: Ot(C, this.clonePosition()) + location: _t(h, this.clonePosition()) }, err: null - } : this.error(Et.INVALID_TAG, Ot(c, this.clonePosition()))); + } : this.error(Ct.INVALID_TAG, _t(s, this.clonePosition()))); } else - return this.error(Et.UNCLOSED_TAG, Ot(C, this.clonePosition())); + return this.error(Ct.UNCLOSED_TAG, _t(h, this.clonePosition())); } else - return this.error(Et.INVALID_TAG, Ot(C, this.clonePosition())); + return this.error(Ct.INVALID_TAG, _t(h, this.clonePosition())); }, e.prototype.parseTagName = function() { - var o = this.offset(); - for (this.bump(); !this.isEOF() && hh(this.char()); ) + var t = this.offset(); + for (this.bump(); !this.isEOF() && mm(this.char()); ) this.bump(); - return this.message.slice(o, this.offset()); - }, e.prototype.parseLiteral = function(o, g) { - for (var C = this.clonePosition(), P = ""; ; ) { - var x = this.tryParseQuote(g); - if (x) { - P += x; + return this.message.slice(t, this.offset()); + }, e.prototype.parseLiteral = function(t, c) { + for (var h = this.clonePosition(), S = ""; ; ) { + var g = this.tryParseQuote(c); + if (g) { + S += g; continue; } - var n = this.tryParseUnquoted(o, g); + var n = this.tryParseUnquoted(t, c); if (n) { - P += n; + S += n; continue; } - var c = this.tryParseLeftAngleBracket(); - if (c) { - P += c; + var s = this.tryParseLeftAngleBracket(); + if (s) { + S += s; continue; } break; } - var r = Ot(C, this.clonePosition()); + var r = _t(h, this.clonePosition()); return { - val: { type: Wt.literal, value: P, location: r }, + val: { type: zt.literal, value: S, location: r }, err: null }; }, e.prototype.tryParseLeftAngleBracket = function() { return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail. - !fh(this.peek() || 0)) ? (this.bump(), "<") : null; - }, e.prototype.tryParseQuote = function(o) { + !ym(this.peek() || 0)) ? (this.bump(), "<") : null; + }, e.prototype.tryParseQuote = function(t) { if (this.isEOF() || this.char() !== 39) return null; switch (this.peek()) { @@ -3650,123 +3650,123 @@ var dh = ( case 125: break; case 35: - if (o === "plural" || o === "selectordinal") + if (t === "plural" || t === "selectordinal") break; return null; default: return null; } this.bump(); - var g = [this.char()]; + var c = [this.char()]; for (this.bump(); !this.isEOF(); ) { - var C = this.char(); - if (C === 39) + var h = this.char(); + if (h === 39) if (this.peek() === 39) - g.push(39), this.bump(); + c.push(39), this.bump(); else { this.bump(); break; } else - g.push(C); + c.push(h); this.bump(); } - return Va.apply(void 0, g); - }, e.prototype.tryParseUnquoted = function(o, g) { + return Xs.apply(void 0, c); + }, e.prototype.tryParseUnquoted = function(t, c) { if (this.isEOF()) return null; - var C = this.char(); - return C === 60 || C === 123 || C === 35 && (g === "plural" || g === "selectordinal") || C === 125 && o > 0 ? null : (this.bump(), Va(C)); - }, e.prototype.parseArgument = function(o, g) { - var C = this.clonePosition(); + var h = this.char(); + return h === 60 || h === 123 || h === 35 && (c === "plural" || c === "selectordinal") || h === 125 && t > 0 ? null : (this.bump(), Xs(h)); + }, e.prototype.parseArgument = function(t, c) { + var h = this.clonePosition(); if (this.bump(), this.bumpSpace(), this.isEOF()) - return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(C, this.clonePosition())); + return this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE, _t(h, this.clonePosition())); if (this.char() === 125) - return this.bump(), this.error(Et.EMPTY_ARGUMENT, Ot(C, this.clonePosition())); - var P = this.parseIdentifierIfPossible().value; - if (!P) - return this.error(Et.MALFORMED_ARGUMENT, Ot(C, this.clonePosition())); + return this.bump(), this.error(Ct.EMPTY_ARGUMENT, _t(h, this.clonePosition())); + var S = this.parseIdentifierIfPossible().value; + if (!S) + return this.error(Ct.MALFORMED_ARGUMENT, _t(h, this.clonePosition())); if (this.bumpSpace(), this.isEOF()) - return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(C, this.clonePosition())); + return this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE, _t(h, this.clonePosition())); switch (this.char()) { // Simple argument: `{name}` case 125: return this.bump(), { val: { - type: Wt.argument, + type: zt.argument, // value does not include the opening and closing braces. - value: P, - location: Ot(C, this.clonePosition()) + value: S, + location: _t(h, this.clonePosition()) }, err: null }; // Argument with options: `{name, format, ...}` case 44: - return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(C, this.clonePosition())) : this.parseArgumentOptions(o, g, P, C); + return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE, _t(h, this.clonePosition())) : this.parseArgumentOptions(t, c, S, h); default: - return this.error(Et.MALFORMED_ARGUMENT, Ot(C, this.clonePosition())); + return this.error(Ct.MALFORMED_ARGUMENT, _t(h, this.clonePosition())); } }, e.prototype.parseIdentifierIfPossible = function() { - var o = this.clonePosition(), g = this.offset(), C = Ua(this.message, g), P = g + C.length; - this.bumpTo(P); - var x = this.clonePosition(), n = Ot(o, x); - return { value: C, location: n }; - }, e.prototype.parseArgumentOptions = function(o, g, C, P) { - var x, n = this.clonePosition(), c = this.parseIdentifierIfPossible().value, r = this.clonePosition(); - switch (c) { + var t = this.clonePosition(), c = this.offset(), h = Qs(this.message, c), S = c + h.length; + this.bumpTo(S); + var g = this.clonePosition(), n = _t(t, g); + return { value: h, location: n }; + }, e.prototype.parseArgumentOptions = function(t, c, h, S) { + var g, n = this.clonePosition(), s = this.parseIdentifierIfPossible().value, r = this.clonePosition(); + switch (s) { case "": - return this.error(Et.EXPECT_ARGUMENT_TYPE, Ot(n, r)); + return this.error(Ct.EXPECT_ARGUMENT_TYPE, _t(n, r)); case "number": case "date": case "time": { this.bumpSpace(); - var a = null; + var o = null; if (this.bumpIf(",")) { this.bumpSpace(); - var i = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible(); - if (m.err) - return m; - var t = lh(m.val); - if (t.length === 0) - return this.error(Et.EXPECT_ARGUMENT_STYLE, Ot(this.clonePosition(), this.clonePosition())); - var f = Ot(i, this.clonePosition()); - a = { style: t, styleLocation: f }; - } - var b = this.tryParseArgumentClose(P); - if (b.err) - return b; - var y = Ot(P, this.clonePosition()); - if (a && L0(a?.style, "::", 0)) { - var u = ch(a.style.slice(2)); - if (c === "number") { - var m = this.parseNumberSkeletonFromString(u, a.styleLocation); - return m.err ? m : { - val: { type: Wt.number, value: C, location: y, style: m.val }, + var i = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible(); + if (p.err) + return p; + var a = pm(p.val); + if (a.length === 0) + return this.error(Ct.EXPECT_ARGUMENT_STYLE, _t(this.clonePosition(), this.clonePosition())); + var f = _t(i, this.clonePosition()); + o = { style: a, styleLocation: f }; + } + var C = this.tryParseArgumentClose(S); + if (C.err) + return C; + var w = _t(S, this.clonePosition()); + if (o && w0(o?.style, "::", 0)) { + var m = fm(o.style.slice(2)); + if (s === "number") { + var p = this.parseNumberSkeletonFromString(m, o.styleLocation); + return p.err ? p : { + val: { type: zt.number, value: h, location: w, style: p.val }, err: null }; } else { - if (u.length === 0) - return this.error(Et.EXPECT_DATE_TIME_SKELETON, y); - var d = u; - this.locale && (d = Z1(u, this.locale)); - var t = { - type: Yn.dateTime, - pattern: d, - location: a.styleLocation, - parsedOptions: this.shouldParseSkeletons ? F1(d) : {} - }, l = c === "date" ? Wt.date : Wt.time; + if (m.length === 0) + return this.error(Ct.EXPECT_DATE_TIME_SKELETON, w); + var v = m; + this.locale && (v = Qy(m, this.locale)); + var a = { + type: Oo.dateTime, + pattern: v, + location: o.styleLocation, + parsedOptions: this.shouldParseSkeletons ? Jy(v) : {} + }, l = s === "date" ? zt.date : zt.time; return { - val: { type: l, value: C, location: y, style: t }, + val: { type: l, value: h, location: w, style: a }, err: null }; } } return { val: { - type: c === "number" ? Wt.number : c === "date" ? Wt.date : Wt.time, - value: C, - location: y, - style: (x = a?.style) !== null && x !== void 0 ? x : null + type: s === "number" ? zt.number : s === "date" ? zt.date : zt.time, + value: h, + location: w, + style: (g = o?.style) !== null && g !== void 0 ? g : null }, err: null }; @@ -3774,74 +3774,74 @@ var dh = ( case "plural": case "selectordinal": case "select": { - var s = this.clonePosition(); + var u = this.clonePosition(); if (this.bumpSpace(), !this.bumpIf(",")) - return this.error(Et.EXPECT_SELECT_ARGUMENT_OPTIONS, Ot(s, st({}, s))); + return this.error(Ct.EXPECT_SELECT_ARGUMENT_OPTIONS, _t(u, nt({}, u))); this.bumpSpace(); - var v = this.parseIdentifierIfPossible(), p = 0; - if (c !== "select" && v.value === "offset") { + var y = this.parseIdentifierIfPossible(), d = 0; + if (s !== "select" && y.value === "offset") { if (!this.bumpIf(":")) - return this.error(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Ot(this.clonePosition(), this.clonePosition())); + return this.error(Ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _t(this.clonePosition(), this.clonePosition())); this.bumpSpace(); - var m = this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Et.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE); - if (m.err) - return m; - this.bumpSpace(), v = this.parseIdentifierIfPossible(), p = m.val; + var p = this.tryParseDecimalInteger(Ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Ct.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE); + if (p.err) + return p; + this.bumpSpace(), y = this.parseIdentifierIfPossible(), d = p.val; } - var h = this.tryParsePluralOrSelectOptions(o, c, g, v); - if (h.err) - return h; - var b = this.tryParseArgumentClose(P); + var b = this.tryParsePluralOrSelectOptions(t, s, c, y); if (b.err) return b; - var O = Ot(P, this.clonePosition()); - return c === "select" ? { + var C = this.tryParseArgumentClose(S); + if (C.err) + return C; + var _ = _t(S, this.clonePosition()); + return s === "select" ? { val: { - type: Wt.select, - value: C, - options: R0(h.val), - location: O + type: zt.select, + value: h, + options: C0(b.val), + location: _ }, err: null } : { val: { - type: Wt.plural, - value: C, - options: R0(h.val), - offset: p, - pluralType: c === "plural" ? "cardinal" : "ordinal", - location: O + type: zt.plural, + value: h, + options: C0(b.val), + offset: d, + pluralType: s === "plural" ? "cardinal" : "ordinal", + location: _ }, err: null }; } default: - return this.error(Et.INVALID_ARGUMENT_TYPE, Ot(n, r)); + return this.error(Ct.INVALID_ARGUMENT_TYPE, _t(n, r)); } - }, e.prototype.tryParseArgumentClose = function(o) { - return this.isEOF() || this.char() !== 125 ? this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(o, this.clonePosition())) : (this.bump(), { val: !0, err: null }); + }, e.prototype.tryParseArgumentClose = function(t) { + return this.isEOF() || this.char() !== 125 ? this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE, _t(t, this.clonePosition())) : (this.bump(), { val: !0, err: null }); }, e.prototype.parseSimpleArgStyleIfPossible = function() { - for (var o = 0, g = this.clonePosition(); !this.isEOF(); ) { - var C = this.char(); - switch (C) { + for (var t = 0, c = this.clonePosition(); !this.isEOF(); ) { + var h = this.char(); + switch (h) { case 39: { this.bump(); - var P = this.clonePosition(); + var S = this.clonePosition(); if (!this.bumpUntil("'")) - return this.error(Et.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, Ot(P, this.clonePosition())); + return this.error(Ct.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _t(S, this.clonePosition())); this.bump(); break; } case 123: { - o += 1, this.bump(); + t += 1, this.bump(); break; } case 125: { - if (o > 0) - o -= 1; + if (t > 0) + t -= 1; else return { - val: this.message.slice(g.offset, this.offset()), + val: this.message.slice(c.offset, this.offset()), err: null }; break; @@ -3852,70 +3852,70 @@ var dh = ( } } return { - val: this.message.slice(g.offset, this.offset()), + val: this.message.slice(c.offset, this.offset()), err: null }; - }, e.prototype.parseNumberSkeletonFromString = function(o, g) { - var C = []; + }, e.prototype.parseNumberSkeletonFromString = function(t, c) { + var h = []; try { - C = W1(o); + h = Gy(t); } catch { - return this.error(Et.INVALID_NUMBER_SKELETON, g); + return this.error(Ct.INVALID_NUMBER_SKELETON, c); } return { val: { - type: Yn.number, - tokens: C, - location: g, - parsedOptions: this.shouldParseSkeletons ? q1(C) : {} + type: Oo.number, + tokens: h, + location: c, + parsedOptions: this.shouldParseSkeletons ? Xy(h) : {} }, err: null }; - }, e.prototype.tryParsePluralOrSelectOptions = function(o, g, C, P) { - for (var x, n = !1, c = [], r = /* @__PURE__ */ new Set(), a = P.value, i = P.location; ; ) { - if (a.length === 0) { - var m = this.clonePosition(); - if (g !== "select" && this.bumpIf("=")) { - var t = this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_SELECTOR, Et.INVALID_PLURAL_ARGUMENT_SELECTOR); - if (t.err) - return t; - i = Ot(m, this.clonePosition()), a = this.message.slice(m.offset, this.offset()); + }, e.prototype.tryParsePluralOrSelectOptions = function(t, c, h, S) { + for (var g, n = !1, s = [], r = /* @__PURE__ */ new Set(), o = S.value, i = S.location; ; ) { + if (o.length === 0) { + var p = this.clonePosition(); + if (c !== "select" && this.bumpIf("=")) { + var a = this.tryParseDecimalInteger(Ct.EXPECT_PLURAL_ARGUMENT_SELECTOR, Ct.INVALID_PLURAL_ARGUMENT_SELECTOR); + if (a.err) + return a; + i = _t(p, this.clonePosition()), o = this.message.slice(p.offset, this.offset()); } else break; } - if (r.has(a)) - return this.error(g === "select" ? Et.DUPLICATE_SELECT_ARGUMENT_SELECTOR : Et.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, i); - a === "other" && (n = !0), this.bumpSpace(); + if (r.has(o)) + return this.error(c === "select" ? Ct.DUPLICATE_SELECT_ARGUMENT_SELECTOR : Ct.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, i); + o === "other" && (n = !0), this.bumpSpace(); var f = this.clonePosition(); if (!this.bumpIf("{")) - return this.error(g === "select" ? Et.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : Et.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, Ot(this.clonePosition(), this.clonePosition())); - var b = this.parseMessage(o + 1, g, C); - if (b.err) - return b; - var y = this.tryParseArgumentClose(f); - if (y.err) - return y; - c.push([ - a, + return this.error(c === "select" ? Ct.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : Ct.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _t(this.clonePosition(), this.clonePosition())); + var C = this.parseMessage(t + 1, c, h); + if (C.err) + return C; + var w = this.tryParseArgumentClose(f); + if (w.err) + return w; + s.push([ + o, { - value: b.val, - location: Ot(f, this.clonePosition()) + value: C.val, + location: _t(f, this.clonePosition()) } - ]), r.add(a), this.bumpSpace(), x = this.parseIdentifierIfPossible(), a = x.value, i = x.location; + ]), r.add(o), this.bumpSpace(), g = this.parseIdentifierIfPossible(), o = g.value, i = g.location; } - return c.length === 0 ? this.error(g === "select" ? Et.EXPECT_SELECT_ARGUMENT_SELECTOR : Et.EXPECT_PLURAL_ARGUMENT_SELECTOR, Ot(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !n ? this.error(Et.MISSING_OTHER_CLAUSE, Ot(this.clonePosition(), this.clonePosition())) : { val: c, err: null }; - }, e.prototype.tryParseDecimalInteger = function(o, g) { - var C = 1, P = this.clonePosition(); - this.bumpIf("+") || this.bumpIf("-") && (C = -1); - for (var x = !1, n = 0; !this.isEOF(); ) { - var c = this.char(); - if (c >= 48 && c <= 57) - x = !0, n = n * 10 + (c - 48), this.bump(); + return s.length === 0 ? this.error(c === "select" ? Ct.EXPECT_SELECT_ARGUMENT_SELECTOR : Ct.EXPECT_PLURAL_ARGUMENT_SELECTOR, _t(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !n ? this.error(Ct.MISSING_OTHER_CLAUSE, _t(this.clonePosition(), this.clonePosition())) : { val: s, err: null }; + }, e.prototype.tryParseDecimalInteger = function(t, c) { + var h = 1, S = this.clonePosition(); + this.bumpIf("+") || this.bumpIf("-") && (h = -1); + for (var g = !1, n = 0; !this.isEOF(); ) { + var s = this.char(); + if (s >= 48 && s <= 57) + g = !0, n = n * 10 + (s - 48), this.bump(); else break; } - var r = Ot(P, this.clonePosition()); - return x ? (n *= C, sh(n) ? { val: n, err: null } : this.error(g, r)) : this.error(o, r); + var r = _t(S, this.clonePosition()); + return g ? (n *= h, lm(n) ? { val: n, err: null } : this.error(c, r)) : this.error(t, r); }, e.prototype.offset = function() { return this.position.offset; }, e.prototype.isEOF = function() { @@ -3927,341 +3927,341 @@ var dh = ( column: this.position.column }; }, e.prototype.char = function() { - var o = this.position.offset; - if (o >= this.message.length) + var t = this.position.offset; + if (t >= this.message.length) throw Error("out of bound"); - var g = Sl(this.message, o); - if (g === void 0) - throw Error("Offset ".concat(o, " is at invalid UTF-16 code unit boundary")); - return g; - }, e.prototype.error = function(o, g) { + var c = Ld(this.message, t); + if (c === void 0) + throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary")); + return c; + }, e.prototype.error = function(t, c) { return { val: null, err: { - kind: o, + kind: t, message: this.message, - location: g + location: c } }; }, e.prototype.bump = function() { if (!this.isEOF()) { - var o = this.char(); - o === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += o < 65536 ? 1 : 2); + var t = this.char(); + t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2); } - }, e.prototype.bumpIf = function(o) { - if (L0(this.message, o, this.offset())) { - for (var g = 0; g < o.length; g++) + }, e.prototype.bumpIf = function(t) { + if (w0(this.message, t, this.offset())) { + for (var c = 0; c < t.length; c++) this.bump(); return !0; } return !1; - }, e.prototype.bumpUntil = function(o) { - var g = this.offset(), C = this.message.indexOf(o, g); - return C >= 0 ? (this.bumpTo(C), !0) : (this.bumpTo(this.message.length), !1); - }, e.prototype.bumpTo = function(o) { - if (this.offset() > o) - throw Error("targetOffset ".concat(o, " must be greater than or equal to the current offset ").concat(this.offset())); - for (o = Math.min(o, this.message.length); ; ) { - var g = this.offset(); - if (g === o) + }, e.prototype.bumpUntil = function(t) { + var c = this.offset(), h = this.message.indexOf(t, c); + return h >= 0 ? (this.bumpTo(h), !0) : (this.bumpTo(this.message.length), !1); + }, e.prototype.bumpTo = function(t) { + if (this.offset() > t) + throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset())); + for (t = Math.min(t, this.message.length); ; ) { + var c = this.offset(); + if (c === t) break; - if (g > o) - throw Error("targetOffset ".concat(o, " is at invalid UTF-16 code unit boundary")); + if (c > t) + throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary")); if (this.bump(), this.isEOF()) break; } }, e.prototype.bumpSpace = function() { - for (; !this.isEOF() && xl(this.char()); ) + for (; !this.isEOF() && Nd(this.char()); ) this.bump(); }, e.prototype.peek = function() { if (this.isEOF()) return null; - var o = this.char(), g = this.offset(), C = this.message.charCodeAt(g + (o >= 65536 ? 2 : 1)); - return C ?? null; + var t = this.char(), c = this.offset(), h = this.message.charCodeAt(c + (t >= 65536 ? 2 : 1)); + return h ?? null; }, e; }() ); -function za(e) { +function ec(e) { return e >= 97 && e <= 122 || e >= 65 && e <= 90; } -function fh(e) { - return za(e) || e === 47; +function ym(e) { + return ec(e) || e === 47; } -function hh(e) { +function mm(e) { return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039; } -function xl(e) { +function Nd(e) { return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233; } -function ph(e) { +function gm(e) { return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094; } -function Fa(e) { - e.forEach(function(o) { - if (delete o.location, ml(o) || yl(o)) - for (var g in o.options) - delete o.options[g].location, Fa(o.options[g].value); - else fl(o) && vl(o.style) || (hl(o) || pl(o)) && ja(o.style) ? delete o.style.location : gl(o) && Fa(o.children); +function tc(e) { + e.forEach(function(t) { + if (delete t.location, _d(t) || Ed(t)) + for (var c in t.options) + delete t.options[c].location, tc(t.options[c].value); + else wd(t) && Md(t.style) || (Cd(t) || Sd(t)) && Zs(t.style) ? delete t.style.location : xd(t) && tc(t.children); }); } -function mh(e, o) { - o === void 0 && (o = {}), o = st({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, o); - var g = new dh(e, o).parse(); - if (g.err) { - var C = SyntaxError(Et[g.err.kind]); - throw C.location = g.err.location, C.originalMessage = g.err.message, C; +function vm(e, t) { + t === void 0 && (t = {}), t = nt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t); + var c = new hm(e, t).parse(); + if (c.err) { + var h = SyntaxError(Ct[c.err.kind]); + throw h.location = c.err.location, h.originalMessage = c.err.message, h; } - return o?.captureLocation || Fa(g.val), g.val; + return t?.captureLocation || tc(c.val), c.val; } -var sn; +var er; (function(e) { e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API"; -})(sn || (sn = {})); -var Sn = ( +})(er || (er = {})); +var Nr = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, P) { - var x = e.call(this, g) || this; - return x.code = C, x.originalMessage = P, x; + Kn(t, e); + function t(c, h, S) { + var g = e.call(this, c) || this; + return g.code = h, g.originalMessage = S, g; } - return o.prototype.toString = function() { + return t.prototype.toString = function() { return "[formatjs Error: ".concat(this.code, "] ").concat(this.message); - }, o; + }, t; }(Error) -), B0 = ( +), _0 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, P, x) { - return e.call(this, 'Invalid values for "'.concat(g, '": "').concat(C, '". Options are "').concat(Object.keys(P).join('", "'), '"'), sn.INVALID_VALUE, x) || this; + Kn(t, e); + function t(c, h, S, g) { + return e.call(this, 'Invalid values for "'.concat(c, '": "').concat(h, '". Options are "').concat(Object.keys(S).join('", "'), '"'), er.INVALID_VALUE, g) || this; } - return o; - }(Sn) -), yh = ( + return t; + }(Nr) +), bm = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, P) { - return e.call(this, 'Value for "'.concat(g, '" must be of type ').concat(C), sn.INVALID_VALUE, P) || this; + Kn(t, e); + function t(c, h, S) { + return e.call(this, 'Value for "'.concat(c, '" must be of type ').concat(h), er.INVALID_VALUE, S) || this; } - return o; - }(Sn) -), gh = ( + return t; + }(Nr) +), wm = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, 'The intl string context variable "'.concat(g, '" was not provided to the string "').concat(C, '"'), sn.MISSING_VALUE, C) || this; + Kn(t, e); + function t(c, h) { + return e.call(this, 'The intl string context variable "'.concat(c, '" was not provided to the string "').concat(h, '"'), er.MISSING_VALUE, h) || this; } - return o; - }(Sn) -), vr; + return t; + }(Nr) +), wn; (function(e) { e[e.literal = 0] = "literal", e[e.object = 1] = "object"; -})(vr || (vr = {})); -function vh(e) { - return e.length < 2 ? e : e.reduce(function(o, g) { - var C = o[o.length - 1]; - return !C || C.type !== vr.literal || g.type !== vr.literal ? o.push(g) : C.value += g.value, o; +})(wn || (wn = {})); +function Cm(e) { + return e.length < 2 ? e : e.reduce(function(t, c) { + var h = t[t.length - 1]; + return !h || h.type !== wn.literal || c.type !== wn.literal ? t.push(c) : h.value += c.value, t; }, []); } -function bh(e) { +function Sm(e) { return typeof e == "function"; } -function Mi(e, o, g, C, P, x, n) { - if (e.length === 1 && O0(e[0])) +function ha(e, t, c, h, S, g, n) { + if (e.length === 1 && m0(e[0])) return [ { - type: vr.literal, + type: wn.literal, value: e[0].value } ]; - for (var c = [], r = 0, a = e; r < a.length; r++) { - var i = a[r]; - if (O0(i)) { - c.push({ - type: vr.literal, + for (var s = [], r = 0, o = e; r < o.length; r++) { + var i = o[r]; + if (m0(i)) { + s.push({ + type: wn.literal, value: i.value }); continue; } - if (U1(i)) { - typeof x == "number" && c.push({ - type: vr.literal, - value: g.getNumberFormat(o).format(x) + if (Ky(i)) { + typeof g == "number" && s.push({ + type: wn.literal, + value: c.getNumberFormat(t).format(g) }); continue; } - var m = i.value; - if (!(P && m in P)) - throw new gh(m, n); - var t = P[m]; - if (V1(i)) { - (!t || typeof t == "string" || typeof t == "number") && (t = typeof t == "string" || typeof t == "number" ? String(t) : ""), c.push({ - type: typeof t == "string" ? vr.literal : vr.object, - value: t + var p = i.value; + if (!(S && p in S)) + throw new wm(p, n); + var a = S[p]; + if (zy(i)) { + (!a || typeof a == "string" || typeof a == "number") && (a = typeof a == "string" || typeof a == "number" ? String(a) : ""), s.push({ + type: typeof a == "string" ? wn.literal : wn.object, + value: a }); continue; } - if (hl(i)) { - var f = typeof i.style == "string" ? C.date[i.style] : ja(i.style) ? i.style.parsedOptions : void 0; - c.push({ - type: vr.literal, - value: g.getDateTimeFormat(o, f).format(t) + if (Cd(i)) { + var f = typeof i.style == "string" ? h.date[i.style] : Zs(i.style) ? i.style.parsedOptions : void 0; + s.push({ + type: wn.literal, + value: c.getDateTimeFormat(t, f).format(a) }); continue; } - if (pl(i)) { - var f = typeof i.style == "string" ? C.time[i.style] : ja(i.style) ? i.style.parsedOptions : C.time.medium; - c.push({ - type: vr.literal, - value: g.getDateTimeFormat(o, f).format(t) + if (Sd(i)) { + var f = typeof i.style == "string" ? h.time[i.style] : Zs(i.style) ? i.style.parsedOptions : h.time.medium; + s.push({ + type: wn.literal, + value: c.getDateTimeFormat(t, f).format(a) }); continue; } - if (fl(i)) { - var f = typeof i.style == "string" ? C.number[i.style] : vl(i.style) ? i.style.parsedOptions : void 0; - f && f.scale && (t = t * (f.scale || 1)), c.push({ - type: vr.literal, - value: g.getNumberFormat(o, f).format(t) + if (wd(i)) { + var f = typeof i.style == "string" ? h.number[i.style] : Md(i.style) ? i.style.parsedOptions : void 0; + f && f.scale && (a = a * (f.scale || 1)), s.push({ + type: wn.literal, + value: c.getNumberFormat(t, f).format(a) }); continue; } - if (gl(i)) { - var b = i.children, y = i.value, u = P[y]; - if (!bh(u)) - throw new yh(y, "function", n); - var d = Mi(b, o, g, C, P, x), l = u(d.map(function(p) { - return p.value; + if (xd(i)) { + var C = i.children, w = i.value, m = S[w]; + if (!Sm(m)) + throw new bm(w, "function", n); + var v = ha(C, t, c, h, S, g), l = m(v.map(function(d) { + return d.value; })); - Array.isArray(l) || (l = [l]), c.push.apply(c, l.map(function(p) { + Array.isArray(l) || (l = [l]), s.push.apply(s, l.map(function(d) { return { - type: typeof p == "string" ? vr.literal : vr.object, - value: p + type: typeof d == "string" ? wn.literal : wn.object, + value: d }; })); } - if (ml(i)) { - var s = i.options[t] || i.options.other; - if (!s) - throw new B0(i.value, t, Object.keys(i.options), n); - c.push.apply(c, Mi(s.value, o, g, C, P)); + if (_d(i)) { + var u = i.options[a] || i.options.other; + if (!u) + throw new _0(i.value, a, Object.keys(i.options), n); + s.push.apply(s, ha(u.value, t, c, h, S)); continue; } - if (yl(i)) { - var s = i.options["=".concat(t)]; - if (!s) { + if (Ed(i)) { + var u = i.options["=".concat(a)]; + if (!u) { if (!Intl.PluralRules) - throw new Sn(`Intl.PluralRules is not available in this environment. + throw new Nr(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`, sn.MISSING_INTL_API, n); - var v = g.getPluralRules(o, { type: i.pluralType }).select(t - (i.offset || 0)); - s = i.options[v] || i.options.other; +`, er.MISSING_INTL_API, n); + var y = c.getPluralRules(t, { type: i.pluralType }).select(a - (i.offset || 0)); + u = i.options[y] || i.options.other; } - if (!s) - throw new B0(i.value, t, Object.keys(i.options), n); - c.push.apply(c, Mi(s.value, o, g, C, P, t - (i.offset || 0))); + if (!u) + throw new _0(i.value, a, Object.keys(i.options), n); + s.push.apply(s, ha(u.value, t, c, h, S, a - (i.offset || 0))); continue; } } - return vh(c); + return Cm(s); } -function wh(e, o) { - return o ? st(st(st({}, e || {}), o || {}), Object.keys(e).reduce(function(g, C) { - return g[C] = st(st({}, e[C]), o[C] || {}), g; +function _m(e, t) { + return t ? nt(nt(nt({}, e || {}), t || {}), Object.keys(e).reduce(function(c, h) { + return c[h] = nt(nt({}, e[h]), t[h] || {}), c; }, {})) : e; } -function Ch(e, o) { - return o ? Object.keys(e).reduce(function(g, C) { - return g[C] = wh(e[C], o[C]), g; - }, st({}, e)) : e; +function Em(e, t) { + return t ? Object.keys(e).reduce(function(c, h) { + return c[h] = _m(e[h], t[h]), c; + }, nt({}, e)) : e; } -function ba(e) { +function Es(e) { return { create: function() { return { - get: function(o) { - return e[o]; + get: function(t) { + return e[t]; }, - set: function(o, g) { - e[o] = g; + set: function(t, c) { + e[t] = c; } }; } }; } -function _h(e) { +function xm(e) { return e === void 0 && (e = { number: {}, dateTime: {}, pluralRules: {} }), { - getNumberFormat: Qr(function() { - for (var o, g = [], C = 0; C < arguments.length; C++) - g[C] = arguments[C]; - return new ((o = Intl.NumberFormat).bind.apply(o, pn([void 0], g, !1)))(); + getNumberFormat: $n(function() { + for (var t, c = [], h = 0; h < arguments.length; h++) + c[h] = arguments[h]; + return new ((t = Intl.NumberFormat).bind.apply(t, ur([void 0], c, !1)))(); }, { - cache: ba(e.number), - strategy: en.variadic + cache: Es(e.number), + strategy: Gn.variadic }), - getDateTimeFormat: Qr(function() { - for (var o, g = [], C = 0; C < arguments.length; C++) - g[C] = arguments[C]; - return new ((o = Intl.DateTimeFormat).bind.apply(o, pn([void 0], g, !1)))(); + getDateTimeFormat: $n(function() { + for (var t, c = [], h = 0; h < arguments.length; h++) + c[h] = arguments[h]; + return new ((t = Intl.DateTimeFormat).bind.apply(t, ur([void 0], c, !1)))(); }, { - cache: ba(e.dateTime), - strategy: en.variadic + cache: Es(e.dateTime), + strategy: Gn.variadic }), - getPluralRules: Qr(function() { - for (var o, g = [], C = 0; C < arguments.length; C++) - g[C] = arguments[C]; - return new ((o = Intl.PluralRules).bind.apply(o, pn([void 0], g, !1)))(); + getPluralRules: $n(function() { + for (var t, c = [], h = 0; h < arguments.length; h++) + c[h] = arguments[h]; + return new ((t = Intl.PluralRules).bind.apply(t, ur([void 0], c, !1)))(); }, { - cache: ba(e.pluralRules), - strategy: en.variadic + cache: Es(e.pluralRules), + strategy: Gn.variadic }) }; } -var El = ( +var Bd = ( /** @class */ function() { - function e(o, g, C, P) { - g === void 0 && (g = e.defaultLocale); - var x = this; + function e(t, c, h, S) { + c === void 0 && (c = e.defaultLocale); + var g = this; if (this.formatterCache = { number: {}, dateTime: {}, pluralRules: {} }, this.format = function(r) { - var a = x.formatToParts(r); - if (a.length === 1) - return a[0].value; - var i = a.reduce(function(m, t) { - return !m.length || t.type !== vr.literal || typeof m[m.length - 1] != "string" ? m.push(t.value) : m[m.length - 1] += t.value, m; + var o = g.formatToParts(r); + if (o.length === 1) + return o[0].value; + var i = o.reduce(function(p, a) { + return !p.length || a.type !== wn.literal || typeof p[p.length - 1] != "string" ? p.push(a.value) : p[p.length - 1] += a.value, p; }, []); return i.length <= 1 ? i[0] || "" : i; }, this.formatToParts = function(r) { - return Mi(x.ast, x.locales, x.formatters, x.formats, r, void 0, x.message); + return ha(g.ast, g.locales, g.formatters, g.formats, r, void 0, g.message); }, this.resolvedOptions = function() { var r; return { - locale: ((r = x.resolvedLocale) === null || r === void 0 ? void 0 : r.toString()) || Intl.NumberFormat.supportedLocalesOf(x.locales)[0] + locale: ((r = g.resolvedLocale) === null || r === void 0 ? void 0 : r.toString()) || Intl.NumberFormat.supportedLocalesOf(g.locales)[0] }; }, this.getAst = function() { - return x.ast; - }, this.locales = g, this.resolvedLocale = e.resolveLocale(g), typeof o == "string") { - if (this.message = o, !e.__parse) + return g.ast; + }, this.locales = c, this.resolvedLocale = e.resolveLocale(c), typeof t == "string") { + if (this.message = t, !e.__parse) throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`"); - var n = P || {}; + var n = S || {}; n.formatters; - var c = N1(n, ["formatters"]); - this.ast = e.__parse(o, st(st({}, c), { locale: this.resolvedLocale })); + var s = Ry(n, ["formatters"]); + this.ast = e.__parse(t, nt(nt({}, s), { locale: this.resolvedLocale })); } else - this.ast = o; + this.ast = t; if (!Array.isArray(this.ast)) throw new TypeError("A message must be provided as a String or AST."); - this.formats = Ch(e.formats, C), this.formatters = P && P.formatters || _h(this.formatterCache); + this.formats = Em(e.formats, h), this.formatters = S && S.formatters || xm(this.formatterCache); } return Object.defineProperty(e, "defaultLocale", { get: function() { @@ -4269,12 +4269,12 @@ var El = ( }, enumerable: !1, configurable: !0 - }), e.memoizedDefaultLocale = null, e.resolveLocale = function(o) { + }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) { if (!(typeof Intl.Locale > "u")) { - var g = Intl.NumberFormat.supportedLocalesOf(o); - return g.length > 0 ? new Intl.Locale(g[0]) : new Intl.Locale(typeof o == "string" ? o : o[0]); + var c = Intl.NumberFormat.supportedLocalesOf(t); + return c.length > 0 ? new Intl.Locale(c[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]); } - }, e.__parse = mh, e.formats = { + }, e.__parse = vm, e.formats = { number: { integer: { maximumFractionDigits: 0 @@ -4334,114 +4334,114 @@ var El = ( } }, e; }() -), Nn; +), Gr; (function(e) { e.FORMAT_ERROR = "FORMAT_ERROR", e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER", e.INVALID_CONFIG = "INVALID_CONFIG", e.MISSING_DATA = "MISSING_DATA", e.MISSING_TRANSLATION = "MISSING_TRANSLATION"; -})(Nn || (Nn = {})); -var Vo = ( +})(Gr || (Gr = {})); +var Ci = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, P) { - var x = this, n = P ? P instanceof Error ? P : new Error(String(P)) : void 0; - return x = e.call(this, "[@formatjs/intl Error ".concat(g, "] ").concat(C, ` + Kn(t, e); + function t(c, h, S) { + var g = this, n = S ? S instanceof Error ? S : new Error(String(S)) : void 0; + return g = e.call(this, "[@formatjs/intl Error ".concat(c, "] ").concat(h, ` `).concat(n ? ` `.concat(n.message, ` -`).concat(n.stack) : "")) || this, x.code = g, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(x, o), x; +`).concat(n.stack) : "")) || this, g.code = c, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(g, t), g; } - return o; + return t; }(Error) -), Sh = ( +), Mm = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, Nn.UNSUPPORTED_FORMATTER, g, C) || this; + Kn(t, e); + function t(c, h) { + return e.call(this, Gr.UNSUPPORTED_FORMATTER, c, h) || this; } - return o; - }(Vo) -), Mh = ( + return t; + }(Ci) +), Pm = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, Nn.INVALID_CONFIG, g, C) || this; + Kn(t, e); + function t(c, h) { + return e.call(this, Gr.INVALID_CONFIG, c, h) || this; } - return o; - }(Vo) -), H0 = ( + return t; + }(Ci) +), E0 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, Nn.MISSING_DATA, g, C) || this; + Kn(t, e); + function t(c, h) { + return e.call(this, Gr.MISSING_DATA, c, h) || this; } - return o; - }(Vo) -), Kr = ( + return t; + }(Ci) +), Hn = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, P) { - var x = e.call(this, Nn.FORMAT_ERROR, "".concat(g, ` -Locale: `).concat(C, ` -`), P) || this; - return x.locale = C, x; - } - return o; - }(Vo) -), wa = ( + Kn(t, e); + function t(c, h, S) { + var g = e.call(this, Gr.FORMAT_ERROR, "".concat(c, ` +Locale: `).concat(h, ` +`), S) || this; + return g.locale = h, g; + } + return t; + }(Ci) +), xs = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, P, x) { - var n = e.call(this, "".concat(g, ` -MessageID: `).concat(P?.id, ` -Default Message: `).concat(P?.defaultMessage, ` -Description: `).concat(P?.description, ` -`), C, x) || this; - return n.descriptor = P, n.locale = C, n; - } - return o; - }(Kr) -), xh = ( + Kn(t, e); + function t(c, h, S, g) { + var n = e.call(this, "".concat(c, ` +MessageID: `).concat(S?.id, ` +Default Message: `).concat(S?.defaultMessage, ` +Description: `).concat(S?.description, ` +`), h, g) || this; + return n.descriptor = S, n.locale = h, n; + } + return t; + }(Hn) +), Om = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - var P = e.call(this, Nn.MISSING_TRANSLATION, 'Missing message: "'.concat(g.id, '" for locale "').concat(C, '", using ').concat(g.defaultMessage ? "default message (".concat(typeof g.defaultMessage == "string" ? g.defaultMessage : g.defaultMessage.map(function(x) { + Kn(t, e); + function t(c, h) { + var S = e.call(this, Gr.MISSING_TRANSLATION, 'Missing message: "'.concat(c.id, '" for locale "').concat(h, '", using ').concat(c.defaultMessage ? "default message (".concat(typeof c.defaultMessage == "string" ? c.defaultMessage : c.defaultMessage.map(function(g) { var n; - return (n = x.value) !== null && n !== void 0 ? n : JSON.stringify(x); + return (n = g.value) !== null && n !== void 0 ? n : JSON.stringify(g); }).join(), ")") : "id", " as fallback.")) || this; - return P.descriptor = g, P; + return S.descriptor = c, S; } - return o; - }(Vo) + return t; + }(Ci) ); -function Eh(e, o, g) { - if (g === void 0 && (g = Error), !e) - throw new g(o); +function Tm(e, t, c) { + if (c === void 0 && (c = Error), !e) + throw new c(t); } -function uo(e, o, g) { - return g === void 0 && (g = {}), o.reduce(function(C, P) { - return P in e ? C[P] = e[P] : P in g && (C[P] = g[P]), C; +function Ho(e, t, c) { + return c === void 0 && (c = {}), t.reduce(function(h, S) { + return S in e ? h[S] = e[S] : S in c && (h[S] = c[S]), h; }, {}); } -var Ph = function(e) { +var Am = function(e) { process.env.NODE_ENV !== "production" && console.error(e); -}, Ah = function(e) { +}, Lm = function(e) { process.env.NODE_ENV !== "production" && console.warn(e); -}, Oh = { +}, Im = { formats: {}, messages: {}, timeZone: void 0, defaultLocale: "en", defaultFormats: {}, fallbackOnEmptyString: !0, - onError: Ph, - onWarn: Ah + onError: Am, + onWarn: Lm }; -function Pl() { +function Rd() { return { dateTime: {}, number: {}, @@ -4452,149 +4452,149 @@ function Pl() { displayNames: {} }; } -function En(e) { +function Vr(e) { return { create: function() { return { - get: function(o) { - return e[o]; + get: function(t) { + return e[t]; }, - set: function(o, g) { - e[o] = g; + set: function(t, c) { + e[t] = c; } }; } }; } -function Th(e) { - e === void 0 && (e = Pl()); - var o = Intl.RelativeTimeFormat, g = Intl.ListFormat, C = Intl.DisplayNames, P = Qr(function() { - for (var c, r = [], a = 0; a < arguments.length; a++) - r[a] = arguments[a]; - return new ((c = Intl.DateTimeFormat).bind.apply(c, pn([void 0], r, !1)))(); +function Nm(e) { + e === void 0 && (e = Rd()); + var t = Intl.RelativeTimeFormat, c = Intl.ListFormat, h = Intl.DisplayNames, S = $n(function() { + for (var s, r = [], o = 0; o < arguments.length; o++) + r[o] = arguments[o]; + return new ((s = Intl.DateTimeFormat).bind.apply(s, ur([void 0], r, !1)))(); }, { - cache: En(e.dateTime), - strategy: en.variadic - }), x = Qr(function() { - for (var c, r = [], a = 0; a < arguments.length; a++) - r[a] = arguments[a]; - return new ((c = Intl.NumberFormat).bind.apply(c, pn([void 0], r, !1)))(); + cache: Vr(e.dateTime), + strategy: Gn.variadic + }), g = $n(function() { + for (var s, r = [], o = 0; o < arguments.length; o++) + r[o] = arguments[o]; + return new ((s = Intl.NumberFormat).bind.apply(s, ur([void 0], r, !1)))(); }, { - cache: En(e.number), - strategy: en.variadic - }), n = Qr(function() { - for (var c, r = [], a = 0; a < arguments.length; a++) - r[a] = arguments[a]; - return new ((c = Intl.PluralRules).bind.apply(c, pn([void 0], r, !1)))(); + cache: Vr(e.number), + strategy: Gn.variadic + }), n = $n(function() { + for (var s, r = [], o = 0; o < arguments.length; o++) + r[o] = arguments[o]; + return new ((s = Intl.PluralRules).bind.apply(s, ur([void 0], r, !1)))(); }, { - cache: En(e.pluralRules), - strategy: en.variadic + cache: Vr(e.pluralRules), + strategy: Gn.variadic }); return { - getDateTimeFormat: P, - getNumberFormat: x, - getMessageFormat: Qr(function(c, r, a, i) { - return new El(c, r, a, st({ formatters: { - getNumberFormat: x, - getDateTimeFormat: P, + getDateTimeFormat: S, + getNumberFormat: g, + getMessageFormat: $n(function(s, r, o, i) { + return new Bd(s, r, o, nt({ formatters: { + getNumberFormat: g, + getDateTimeFormat: S, getPluralRules: n } }, i || {})); }, { - cache: En(e.message), - strategy: en.variadic + cache: Vr(e.message), + strategy: Gn.variadic }), - getRelativeTimeFormat: Qr(function() { - for (var c = [], r = 0; r < arguments.length; r++) - c[r] = arguments[r]; - return new (o.bind.apply(o, pn([void 0], c, !1)))(); + getRelativeTimeFormat: $n(function() { + for (var s = [], r = 0; r < arguments.length; r++) + s[r] = arguments[r]; + return new (t.bind.apply(t, ur([void 0], s, !1)))(); }, { - cache: En(e.relativeTime), - strategy: en.variadic + cache: Vr(e.relativeTime), + strategy: Gn.variadic }), getPluralRules: n, - getListFormat: Qr(function() { - for (var c = [], r = 0; r < arguments.length; r++) - c[r] = arguments[r]; - return new (g.bind.apply(g, pn([void 0], c, !1)))(); + getListFormat: $n(function() { + for (var s = [], r = 0; r < arguments.length; r++) + s[r] = arguments[r]; + return new (c.bind.apply(c, ur([void 0], s, !1)))(); }, { - cache: En(e.list), - strategy: en.variadic + cache: Vr(e.list), + strategy: Gn.variadic }), - getDisplayNames: Qr(function() { - for (var c = [], r = 0; r < arguments.length; r++) - c[r] = arguments[r]; - return new (C.bind.apply(C, pn([void 0], c, !1)))(); + getDisplayNames: $n(function() { + for (var s = [], r = 0; r < arguments.length; r++) + s[r] = arguments[r]; + return new (h.bind.apply(h, ur([void 0], s, !1)))(); }, { - cache: En(e.displayNames), - strategy: en.variadic + cache: Vr(e.displayNames), + strategy: Gn.variadic }) }; } -function cs(e, o, g, C) { - var P = e && e[o], x; - if (P && (x = P[g]), x) - return x; - C(new Sh("No ".concat(o, " format named: ").concat(g))); +function Pc(e, t, c, h) { + var S = e && e[t], g; + if (S && (g = S[c]), g) + return g; + h(new Mm("No ".concat(t, " format named: ").concat(c))); } -function ai(e, o) { - return Object.keys(e).reduce(function(g, C) { - return g[C] = st({ timeZone: o }, e[C]), g; +function Wi(e, t) { + return Object.keys(e).reduce(function(c, h) { + return c[h] = nt({ timeZone: t }, e[h]), c; }, {}); } -function j0(e, o) { - var g = Object.keys(st(st({}, e), o)); - return g.reduce(function(C, P) { - return C[P] = st(st({}, e[P] || {}), o[P] || {}), C; +function x0(e, t) { + var c = Object.keys(nt(nt({}, e), t)); + return c.reduce(function(h, S) { + return h[S] = nt(nt({}, e[S] || {}), t[S] || {}), h; }, {}); } -function D0(e, o) { - if (!o) +function M0(e, t) { + if (!t) return e; - var g = El.formats; - return st(st(st({}, g), e), { date: j0(ai(g.date, o), ai(e.date || {}, o)), time: j0(ai(g.time, o), ai(e.time || {}, o)) }); -} -var V0 = function(e, o, g, C, P) { - var x = e.locale, n = e.formats, c = e.messages, r = e.defaultLocale, a = e.defaultFormats, i = e.fallbackOnEmptyString, m = e.onError, t = e.timeZone, f = e.defaultRichTextElements; - g === void 0 && (g = { id: "" }); - var b = g.id, y = g.defaultMessage; - Eh(!!b, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue"); - var u = String(b), d = ( + var c = Bd.formats; + return nt(nt(nt({}, c), e), { date: x0(Wi(c.date, t), Wi(e.date || {}, t)), time: x0(Wi(c.time, t), Wi(e.time || {}, t)) }); +} +var P0 = function(e, t, c, h, S) { + var g = e.locale, n = e.formats, s = e.messages, r = e.defaultLocale, o = e.defaultFormats, i = e.fallbackOnEmptyString, p = e.onError, a = e.timeZone, f = e.defaultRichTextElements; + c === void 0 && (c = { id: "" }); + var C = c.id, w = c.defaultMessage; + Tm(!!C, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue"); + var m = String(C), v = ( // In case messages is Object.create(null) // e.g import('foo.json') from webpack) // See https://github.com/formatjs/formatjs/issues/1914 - c && Object.prototype.hasOwnProperty.call(c, u) && c[u] + s && Object.prototype.hasOwnProperty.call(s, m) && s[m] ); - if (Array.isArray(d) && d.length === 1 && d[0].type === Wt.literal) - return d[0].value; - if (!C && d && typeof d == "string" && !f) - return d.replace(/'\{(.*?)\}'/gi, "{$1}"); - if (C = st(st({}, f), C || {}), n = D0(n, t), a = D0(a, t), !d) { - if (i === !1 && d === "") - return d; - if ((!y || x && x.toLowerCase() !== r.toLowerCase()) && m(new xh(g, x)), y) + if (Array.isArray(v) && v.length === 1 && v[0].type === zt.literal) + return v[0].value; + if (!h && v && typeof v == "string" && !f) + return v.replace(/'\{(.*?)\}'/gi, "{$1}"); + if (h = nt(nt({}, f), h || {}), n = M0(n, a), o = M0(o, a), !v) { + if (i === !1 && v === "") + return v; + if ((!w || g && g.toLowerCase() !== r.toLowerCase()) && p(new Om(c, g)), w) try { - var l = o.getMessageFormat(y, r, a, P); - return l.format(C); - } catch (s) { - return m(new wa('Error formatting default message for: "'.concat(u, '", rendering default message verbatim'), x, g, s)), typeof y == "string" ? y : u; + var l = t.getMessageFormat(w, r, o, S); + return l.format(h); + } catch (u) { + return p(new xs('Error formatting default message for: "'.concat(m, '", rendering default message verbatim'), g, c, u)), typeof w == "string" ? w : m; } - return u; + return m; } try { - var l = o.getMessageFormat(d, x, n, st({ formatters: o }, P || {})); - return l.format(C); - } catch (s) { - m(new wa('Error formatting message: "'.concat(u, '", using ').concat(y ? "default message" : "id", " as fallback."), x, g, s)); + var l = t.getMessageFormat(v, g, n, nt({ formatters: t }, S || {})); + return l.format(h); + } catch (u) { + p(new xs('Error formatting message: "'.concat(m, '", using ').concat(w ? "default message" : "id", " as fallback."), g, c, u)); } - if (y) + if (w) try { - var l = o.getMessageFormat(y, r, a, P); - return l.format(C); - } catch (s) { - m(new wa('Error formatting the default message for: "'.concat(u, '", rendering message verbatim'), x, g, s)); + var l = t.getMessageFormat(w, r, o, S); + return l.format(h); + } catch (u) { + p(new xs('Error formatting the default message for: "'.concat(m, '", rendering message verbatim'), g, c, u)); } - return typeof d == "string" ? d : typeof y == "string" ? y : u; -}, Ih = [ + return typeof v == "string" ? v : typeof w == "string" ? w : m; +}, Bm = [ "formatMatcher", "timeZone", "hour12", @@ -4615,159 +4615,159 @@ var V0 = function(e, o, g, C, P) { "numberingSystem", "fractionalSecondDigits" ]; -function Uo(e, o, g, C) { - var P = e.locale, x = e.formats, n = e.onError, c = e.timeZone; - C === void 0 && (C = {}); - var r = C.format, a = st(st({}, c && { timeZone: c }), r && cs(x, o, r, n)), i = uo(C, Ih, a); - return o === "time" && !i.hour && !i.minute && !i.second && !i.timeStyle && !i.dateStyle && (i = st(st({}, i), { hour: "numeric", minute: "numeric" })), g(P, i); -} -function Nh(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var P = g[0], x = g[1], n = x === void 0 ? {} : x, c = typeof P == "string" ? new Date(P || 0) : P; +function Si(e, t, c, h) { + var S = e.locale, g = e.formats, n = e.onError, s = e.timeZone; + h === void 0 && (h = {}); + var r = h.format, o = nt(nt({}, s && { timeZone: s }), r && Pc(g, t, r, n)), i = Ho(h, Bm, o); + return t === "time" && !i.hour && !i.minute && !i.second && !i.timeStyle && !i.dateStyle && (i = nt(nt({}, i), { hour: "numeric", minute: "numeric" })), c(S, i); +} +function Rm(e, t) { + for (var c = [], h = 2; h < arguments.length; h++) + c[h - 2] = arguments[h]; + var S = c[0], g = c[1], n = g === void 0 ? {} : g, s = typeof S == "string" ? new Date(S || 0) : S; try { - return Uo(e, "date", o, n).format(c); + return Si(e, "date", t, n).format(s); } catch (r) { - e.onError(new Kr("Error formatting date.", e.locale, r)); + e.onError(new Hn("Error formatting date.", e.locale, r)); } - return String(c); + return String(s); } -function Lh(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var P = g[0], x = g[1], n = x === void 0 ? {} : x, c = typeof P == "string" ? new Date(P || 0) : P; +function km(e, t) { + for (var c = [], h = 2; h < arguments.length; h++) + c[h - 2] = arguments[h]; + var S = c[0], g = c[1], n = g === void 0 ? {} : g, s = typeof S == "string" ? new Date(S || 0) : S; try { - return Uo(e, "time", o, n).format(c); + return Si(e, "time", t, n).format(s); } catch (r) { - e.onError(new Kr("Error formatting time.", e.locale, r)); + e.onError(new Hn("Error formatting time.", e.locale, r)); } - return String(c); + return String(s); } -function Rh(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var P = g[0], x = g[1], n = g[2], c = n === void 0 ? {} : n, r = typeof P == "string" ? new Date(P || 0) : P, a = typeof x == "string" ? new Date(x || 0) : x; +function Hm(e, t) { + for (var c = [], h = 2; h < arguments.length; h++) + c[h - 2] = arguments[h]; + var S = c[0], g = c[1], n = c[2], s = n === void 0 ? {} : n, r = typeof S == "string" ? new Date(S || 0) : S, o = typeof g == "string" ? new Date(g || 0) : g; try { - return Uo(e, "dateTimeRange", o, c).formatRange(r, a); + return Si(e, "dateTimeRange", t, s).formatRange(r, o); } catch (i) { - e.onError(new Kr("Error formatting date time range.", e.locale, i)); + e.onError(new Hn("Error formatting date time range.", e.locale, i)); } return String(r); } -function kh(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var P = g[0], x = g[1], n = x === void 0 ? {} : x, c = typeof P == "string" ? new Date(P || 0) : P; +function jm(e, t) { + for (var c = [], h = 2; h < arguments.length; h++) + c[h - 2] = arguments[h]; + var S = c[0], g = c[1], n = g === void 0 ? {} : g, s = typeof S == "string" ? new Date(S || 0) : S; try { - return Uo(e, "date", o, n).formatToParts(c); + return Si(e, "date", t, n).formatToParts(s); } catch (r) { - e.onError(new Kr("Error formatting date.", e.locale, r)); + e.onError(new Hn("Error formatting date.", e.locale, r)); } return []; } -function Bh(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var P = g[0], x = g[1], n = x === void 0 ? {} : x, c = typeof P == "string" ? new Date(P || 0) : P; +function Dm(e, t) { + for (var c = [], h = 2; h < arguments.length; h++) + c[h - 2] = arguments[h]; + var S = c[0], g = c[1], n = g === void 0 ? {} : g, s = typeof S == "string" ? new Date(S || 0) : S; try { - return Uo(e, "time", o, n).formatToParts(c); + return Si(e, "time", t, n).formatToParts(s); } catch (r) { - e.onError(new Kr("Error formatting time.", e.locale, r)); + e.onError(new Hn("Error formatting time.", e.locale, r)); } return []; } -var Hh = [ +var Vm = [ "style", "type", "fallback", "languageDisplay" ]; -function jh(e, o, g, C) { - var P = e.locale, x = e.onError, n = Intl.DisplayNames; - n || x(new Sn(`Intl.DisplayNames is not available in this environment. +function Um(e, t, c, h) { + var S = e.locale, g = e.onError, n = Intl.DisplayNames; + n || g(new Nr(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`, sn.MISSING_INTL_API)); - var c = uo(C, Hh); +`, er.MISSING_INTL_API)); + var s = Ho(h, Vm); try { - return o(P, c).of(g); + return t(S, s).of(c); } catch (r) { - x(new Kr("Error formatting display name.", P, r)); + g(new Hn("Error formatting display name.", S, r)); } } -var Dh = [ +var Fm = [ "type", "style" -], U0 = Date.now(); -function Vh(e) { - return "".concat(U0, "_").concat(e, "_").concat(U0); -} -function Uh(e, o, g, C) { - C === void 0 && (C = {}); - var P = Al(e, o, g, C).reduce(function(x, n) { - var c = n.value; - return typeof c != "string" ? x.push(c) : typeof x[x.length - 1] == "string" ? x[x.length - 1] += c : x.push(c), x; +], O0 = Date.now(); +function zm(e) { + return "".concat(O0, "_").concat(e, "_").concat(O0); +} +function Km(e, t, c, h) { + h === void 0 && (h = {}); + var S = kd(e, t, c, h).reduce(function(g, n) { + var s = n.value; + return typeof s != "string" ? g.push(s) : typeof g[g.length - 1] == "string" ? g[g.length - 1] += s : g.push(s), g; }, []); - return P.length === 1 ? P[0] : P.length === 0 ? "" : P; + return S.length === 1 ? S[0] : S.length === 0 ? "" : S; } -function Al(e, o, g, C) { - var P = e.locale, x = e.onError; - C === void 0 && (C = {}); +function kd(e, t, c, h) { + var S = e.locale, g = e.onError; + h === void 0 && (h = {}); var n = Intl.ListFormat; - n || x(new Sn(`Intl.ListFormat is not available in this environment. + n || g(new Nr(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" -`, sn.MISSING_INTL_API)); - var c = uo(C, Dh); +`, er.MISSING_INTL_API)); + var s = Ho(h, Fm); try { - var r = {}, a = g.map(function(i, m) { + var r = {}, o = c.map(function(i, p) { if (typeof i == "object") { - var t = Vh(m); - return r[t] = i, t; + var a = zm(p); + return r[a] = i, a; } return String(i); }); - return o(P, c).formatToParts(a).map(function(i) { - return i.type === "literal" ? i : st(st({}, i), { value: r[i.value] || i.value }); + return t(S, s).formatToParts(o).map(function(i) { + return i.type === "literal" ? i : nt(nt({}, i), { value: r[i.value] || i.value }); }); } catch (i) { - x(new Kr("Error formatting list.", P, i)); + g(new Hn("Error formatting list.", S, i)); } - return g; + return c; } -var zh = ["type"]; -function Fh(e, o, g, C) { - var P = e.locale, x = e.onError; - C === void 0 && (C = {}), Intl.PluralRules || x(new Sn(`Intl.PluralRules is not available in this environment. +var Wm = ["type"]; +function Jm(e, t, c, h) { + var S = e.locale, g = e.onError; + h === void 0 && (h = {}), Intl.PluralRules || g(new Nr(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`, sn.MISSING_INTL_API)); - var n = uo(C, zh); +`, er.MISSING_INTL_API)); + var n = Ho(h, Wm); try { - return o(P, n).select(g); - } catch (c) { - x(new Kr("Error formatting plural.", P, c)); + return t(S, n).select(c); + } catch (s) { + g(new Hn("Error formatting plural.", S, s)); } return "other"; } -var Kh = ["numeric", "style"]; -function Wh(e, o, g) { - var C = e.locale, P = e.formats, x = e.onError; - g === void 0 && (g = {}); - var n = g.format, c = !!n && cs(P, "relative", n, x) || {}, r = uo(g, Kh, c); - return o(C, r); -} -function Jh(e, o, g, C, P) { - P === void 0 && (P = {}), C || (C = "second"); - var x = Intl.RelativeTimeFormat; - x || e.onError(new Sn(`Intl.RelativeTimeFormat is not available in this environment. +var $m = ["numeric", "style"]; +function Gm(e, t, c) { + var h = e.locale, S = e.formats, g = e.onError; + c === void 0 && (c = {}); + var n = c.format, s = !!n && Pc(S, "relative", n, g) || {}, r = Ho(c, $m, s); + return t(h, r); +} +function qm(e, t, c, h, S) { + S === void 0 && (S = {}), h || (h = "second"); + var g = Intl.RelativeTimeFormat; + g || e.onError(new Nr(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`, sn.MISSING_INTL_API)); +`, er.MISSING_INTL_API)); try { - return Wh(e, o, P).format(g, C); + return Gm(e, t, S).format(c, h); } catch (n) { - e.onError(new Kr("Error formatting relative time.", e.locale, n)); + e.onError(new Hn("Error formatting relative time.", e.locale, n)); } - return String(g); + return String(c); } -var $h = [ +var Zm = [ "style", "currency", "unit", @@ -4793,93 +4793,93 @@ var $h = [ "roundingIncrement", "roundingMode" ]; -function Ol(e, o, g) { - var C = e.locale, P = e.formats, x = e.onError; - g === void 0 && (g = {}); - var n = g.format, c = n && cs(P, "number", n, x) || {}, r = uo(g, $h, c); - return o(C, r); -} -function Gh(e, o, g, C) { - C === void 0 && (C = {}); +function Hd(e, t, c) { + var h = e.locale, S = e.formats, g = e.onError; + c === void 0 && (c = {}); + var n = c.format, s = n && Pc(S, "number", n, g) || {}, r = Ho(c, Zm, s); + return t(h, r); +} +function Ym(e, t, c, h) { + h === void 0 && (h = {}); try { - return Ol(e, o, C).format(g); - } catch (P) { - e.onError(new Kr("Error formatting number.", e.locale, P)); + return Hd(e, t, h).format(c); + } catch (S) { + e.onError(new Hn("Error formatting number.", e.locale, S)); } - return String(g); + return String(c); } -function qh(e, o, g, C) { - C === void 0 && (C = {}); +function Xm(e, t, c, h) { + h === void 0 && (h = {}); try { - return Ol(e, o, C).formatToParts(g); - } catch (P) { - e.onError(new Kr("Error formatting number.", e.locale, P)); + return Hd(e, t, h).formatToParts(c); + } catch (S) { + e.onError(new Hn("Error formatting number.", e.locale, S)); } return []; } -function Zh(e) { - var o = e ? e[Object.keys(e)[0]] : void 0; - return typeof o == "string"; +function Qm(e) { + var t = e ? e[Object.keys(e)[0]] : void 0; + return typeof t == "string"; } -function Xh(e) { - e.onWarn && e.defaultRichTextElements && Zh(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. +function e3(e) { + e.onWarn && e.defaultRichTextElements && Qm(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. Please consider using "@formatjs/cli" to pre-compile your messages for performance. For more details see https://formatjs.github.io/docs/getting-started/message-distribution`); } -function Yh(e, o) { - var g = Th(o), C = st(st({}, Oh), e), P = C.locale, x = C.defaultLocale, n = C.onError; - return P ? !Intl.NumberFormat.supportedLocalesOf(P).length && n ? n(new H0('Missing locale data for locale: "'.concat(P, '" in Intl.NumberFormat. Using default locale: "').concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(P).length && n && n(new H0('Missing locale data for locale: "'.concat(P, '" in Intl.DateTimeFormat. Using default locale: "').concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : (n && n(new Mh('"locale" was not configured, using "'.concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))), C.locale = C.defaultLocale || "en"), Xh(C), st(st({}, C), { formatters: g, formatNumber: Gh.bind(null, C, g.getNumberFormat), formatNumberToParts: qh.bind(null, C, g.getNumberFormat), formatRelativeTime: Jh.bind(null, C, g.getRelativeTimeFormat), formatDate: Nh.bind(null, C, g.getDateTimeFormat), formatDateToParts: kh.bind(null, C, g.getDateTimeFormat), formatTime: Lh.bind(null, C, g.getDateTimeFormat), formatDateTimeRange: Rh.bind(null, C, g.getDateTimeFormat), formatTimeToParts: Bh.bind(null, C, g.getDateTimeFormat), formatPlural: Fh.bind(null, C, g.getPluralRules), formatMessage: V0.bind(null, C, g), $t: V0.bind(null, C, g), formatList: Uh.bind(null, C, g.getListFormat), formatListToParts: Al.bind(null, C, g.getListFormat), formatDisplayName: jh.bind(null, C, g.getDisplayNames) }); +function t3(e, t) { + var c = Nm(t), h = nt(nt({}, Im), e), S = h.locale, g = h.defaultLocale, n = h.onError; + return S ? !Intl.NumberFormat.supportedLocalesOf(S).length && n ? n(new E0('Missing locale data for locale: "'.concat(S, '" in Intl.NumberFormat. Using default locale: "').concat(g, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(S).length && n && n(new E0('Missing locale data for locale: "'.concat(S, '" in Intl.DateTimeFormat. Using default locale: "').concat(g, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : (n && n(new Pm('"locale" was not configured, using "'.concat(g, '" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))), h.locale = h.defaultLocale || "en"), e3(h), nt(nt({}, h), { formatters: c, formatNumber: Ym.bind(null, h, c.getNumberFormat), formatNumberToParts: Xm.bind(null, h, c.getNumberFormat), formatRelativeTime: qm.bind(null, h, c.getRelativeTimeFormat), formatDate: Rm.bind(null, h, c.getDateTimeFormat), formatDateToParts: jm.bind(null, h, c.getDateTimeFormat), formatTime: km.bind(null, h, c.getDateTimeFormat), formatDateTimeRange: Hm.bind(null, h, c.getDateTimeFormat), formatTimeToParts: Dm.bind(null, h, c.getDateTimeFormat), formatPlural: Jm.bind(null, h, c.getPluralRules), formatMessage: P0.bind(null, h, c), $t: P0.bind(null, h, c), formatList: Km.bind(null, h, c.getListFormat), formatListToParts: kd.bind(null, h, c.getListFormat), formatDisplayName: Um.bind(null, h, c.getDisplayNames) }); } -const z0 = 6e4, F0 = 525600, K0 = 43200, W0 = 1440, J0 = Symbol.for("constructDateFrom"); -function ls(e, o) { - return typeof e == "function" ? e(o) : e && typeof e == "object" && J0 in e ? e[J0](o) : e instanceof Date ? new e.constructor(o) : new Date(o); +const T0 = 6e4, A0 = 525600, L0 = 43200, I0 = 1440, N0 = Symbol.for("constructDateFrom"); +function Oc(e, t) { + return typeof e == "function" ? e(t) : e && typeof e == "object" && N0 in e ? e[N0](t) : e instanceof Date ? new e.constructor(t) : new Date(t); } -function Ln(e, o) { - return ls(o || e, e); +function qr(e, t) { + return Oc(t || e, e); } -let Qh = {}; -function Tl() { - return Qh; +let n3 = {}; +function jd() { + return n3; } -function $0(e, o) { - const g = Tl(), C = o?.weekStartsOn ?? o?.locale?.options?.weekStartsOn ?? g.weekStartsOn ?? g.locale?.options?.weekStartsOn ?? 0, P = Ln(e, o?.in), x = P.getDay(), n = (x < C ? 7 : 0) + x - C; - return P.setDate(P.getDate() - n), P.setHours(0, 0, 0, 0), P; +function B0(e, t) { + const c = jd(), h = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? c.weekStartsOn ?? c.locale?.options?.weekStartsOn ?? 0, S = qr(e, t?.in), g = S.getDay(), n = (g < h ? 7 : 0) + g - h; + return S.setDate(S.getDate() - n), S.setHours(0, 0, 0, 0), S; } -function G0(e) { - const o = Ln(e), g = new Date( +function R0(e) { + const t = qr(e), c = new Date( Date.UTC( - o.getFullYear(), - o.getMonth(), - o.getDate(), - o.getHours(), - o.getMinutes(), - o.getSeconds(), - o.getMilliseconds() + t.getFullYear(), + t.getMonth(), + t.getDate(), + t.getHours(), + t.getMinutes(), + t.getSeconds(), + t.getMilliseconds() ) ); - return g.setUTCFullYear(o.getFullYear()), +e - +g; + return c.setUTCFullYear(t.getFullYear()), +e - +c; } -function Il(e, ...o) { - const g = ls.bind( +function Dd(e, ...t) { + const c = Oc.bind( null, - e || o.find((C) => typeof C == "object") + e || t.find((h) => typeof h == "object") ); - return o.map(g); + return t.map(c); } -function ep(e, o) { - const g = +Ln(e) - +Ln(o); - return g < 0 ? -1 : g > 0 ? 1 : g; +function r3(e, t) { + const c = +qr(e) - +qr(t); + return c < 0 ? -1 : c > 0 ? 1 : c; } -function tp(e) { - return ls(e, Date.now()); +function o3(e) { + return Oc(e, Date.now()); } -function rp(e) { - return (o) => { - const C = (e ? Math[e] : Math.trunc)(o); - return C === 0 ? 0 : C; +function i3(e) { + return (t) => { + const h = (e ? Math[e] : Math.trunc)(t); + return h === 0 ? 0 : h; }; } -const np = { +const a3 = { lessThanXSeconds: { one: "less than a second", other: "less than {{count}} seconds" @@ -4941,77 +4941,77 @@ const np = { one: "almost 1 year", other: "almost {{count}} years" } -}, op = (e, o, g) => { - let C; - const P = np[e]; - return typeof P == "string" ? C = P : o === 1 ? C = P.one : C = P.other.replace("{{count}}", o.toString()), g?.addSuffix ? g.comparison && g.comparison > 0 ? "in " + C : C + " ago" : C; +}, s3 = (e, t, c) => { + let h; + const S = a3[e]; + return typeof S == "string" ? h = S : t === 1 ? h = S.one : h = S.other.replace("{{count}}", t.toString()), c?.addSuffix ? c.comparison && c.comparison > 0 ? "in " + h : h + " ago" : h; }; -function Ut(e) { - return (o = {}) => { - const g = o.width ? String(o.width) : e.defaultWidth; - return e.formats[g] || e.formats[e.defaultWidth]; +function Bt(e) { + return (t = {}) => { + const c = t.width ? String(t.width) : e.defaultWidth; + return e.formats[c] || e.formats[e.defaultWidth]; }; } -const ip = { +const c3 = { full: "EEEE, MMMM do, y", long: "MMMM do, y", medium: "MMM d, y", short: "MM/dd/yyyy" -}, ap = { +}, u3 = { full: "h:mm:ss a zzzz", long: "h:mm:ss a z", medium: "h:mm:ss a", short: "h:mm a" -}, sp = { +}, l3 = { full: "{{date}} 'at' {{time}}", long: "{{date}} 'at' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, up = { - date: Ut({ - formats: ip, +}, d3 = { + date: Bt({ + formats: c3, defaultWidth: "full" }), - time: Ut({ - formats: ap, + time: Bt({ + formats: u3, defaultWidth: "full" }), - dateTime: Ut({ - formats: sp, + dateTime: Bt({ + formats: l3, defaultWidth: "full" }) -}, cp = { +}, f3 = { lastWeek: "'last' eeee 'at' p", yesterday: "'yesterday at' p", today: "'today at' p", tomorrow: "'tomorrow at' p", nextWeek: "eeee 'at' p", other: "P" -}, lp = (e, o, g, C) => cp[e]; -function ht(e) { - return (o, g) => { - const C = g?.context ? String(g.context) : "standalone"; - let P; - if (C === "formatting" && e.formattingValues) { - const n = e.defaultFormattingWidth || e.defaultWidth, c = g?.width ? String(g.width) : n; - P = e.formattingValues[c] || e.formattingValues[n]; +}, p3 = (e, t, c, h) => f3[e]; +function at(e) { + return (t, c) => { + const h = c?.context ? String(c.context) : "standalone"; + let S; + if (h === "formatting" && e.formattingValues) { + const n = e.defaultFormattingWidth || e.defaultWidth, s = c?.width ? String(c.width) : n; + S = e.formattingValues[s] || e.formattingValues[n]; } else { - const n = e.defaultWidth, c = g?.width ? String(g.width) : e.defaultWidth; - P = e.values[c] || e.values[n]; + const n = e.defaultWidth, s = c?.width ? String(c.width) : e.defaultWidth; + S = e.values[s] || e.values[n]; } - const x = e.argumentCallback ? e.argumentCallback(o) : o; - return P[x]; + const g = e.argumentCallback ? e.argumentCallback(t) : t; + return S[g]; }; } -const dp = { +const h3 = { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] -}, fp = { +}, y3 = { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"] -}, hp = { +}, m3 = { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: [ "Jan", @@ -5041,7 +5041,7 @@ const dp = { "November", "December" ] -}, pp = { +}, g3 = { narrow: ["S", "M", "T", "W", "T", "F", "S"], short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], @@ -5054,7 +5054,7 @@ const dp = { "Friday", "Saturday" ] -}, mp = { +}, v3 = { narrow: { am: "a", pm: "p", @@ -5085,7 +5085,7 @@ const dp = { evening: "evening", night: "night" } -}, yp = { +}, b3 = { narrow: { am: "a", pm: "p", @@ -5116,101 +5116,101 @@ const dp = { evening: "in the evening", night: "at night" } -}, gp = (e, o) => { - const g = Number(e), C = g % 100; - if (C > 20 || C < 10) - switch (C % 10) { +}, w3 = (e, t) => { + const c = Number(e), h = c % 100; + if (h > 20 || h < 10) + switch (h % 10) { case 1: - return g + "st"; + return c + "st"; case 2: - return g + "nd"; + return c + "nd"; case 3: - return g + "rd"; + return c + "rd"; } - return g + "th"; -}, vp = { - ordinalNumber: gp, - era: ht({ - values: dp, + return c + "th"; +}, C3 = { + ordinalNumber: w3, + era: at({ + values: h3, defaultWidth: "wide" }), - quarter: ht({ - values: fp, + quarter: at({ + values: y3, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: hp, + month: at({ + values: m3, defaultWidth: "wide" }), - day: ht({ - values: pp, + day: at({ + values: g3, defaultWidth: "wide" }), - dayPeriod: ht({ - values: mp, + dayPeriod: at({ + values: v3, defaultWidth: "wide", - formattingValues: yp, + formattingValues: b3, defaultFormattingWidth: "wide" }) }; -function pt(e) { - return (o, g = {}) => { - const C = g.width, P = C && e.matchPatterns[C] || e.matchPatterns[e.defaultMatchWidth], x = o.match(P); - if (!x) +function st(e) { + return (t, c = {}) => { + const h = c.width, S = h && e.matchPatterns[h] || e.matchPatterns[e.defaultMatchWidth], g = t.match(S); + if (!g) return null; - const n = x[0], c = C && e.parsePatterns[C] || e.parsePatterns[e.defaultParseWidth], r = Array.isArray(c) ? wp(c, (m) => m.test(n)) : ( + const n = g[0], s = h && e.parsePatterns[h] || e.parsePatterns[e.defaultParseWidth], r = Array.isArray(s) ? _3(s, (p) => p.test(n)) : ( // [TODO] -- I challenge you to fix the type - bp(c, (m) => m.test(n)) + S3(s, (p) => p.test(n)) ); - let a; - a = e.valueCallback ? e.valueCallback(r) : r, a = g.valueCallback ? ( + let o; + o = e.valueCallback ? e.valueCallback(r) : r, o = c.valueCallback ? ( // [TODO] -- I challenge you to fix the type - g.valueCallback(a) - ) : a; - const i = o.slice(n.length); - return { value: a, rest: i }; + c.valueCallback(o) + ) : o; + const i = t.slice(n.length); + return { value: o, rest: i }; }; } -function bp(e, o) { - for (const g in e) - if (Object.prototype.hasOwnProperty.call(e, g) && o(e[g])) - return g; -} -function wp(e, o) { - for (let g = 0; g < e.length; g++) - if (o(e[g])) - return g; -} -function ln(e) { - return (o, g = {}) => { - const C = o.match(e.matchPattern); - if (!C) return null; - const P = C[0], x = o.match(e.parsePattern); - if (!x) return null; - let n = e.valueCallback ? e.valueCallback(x[0]) : x[0]; - n = g.valueCallback ? g.valueCallback(n) : n; - const c = o.slice(P.length); - return { value: n, rest: c }; +function S3(e, t) { + for (const c in e) + if (Object.prototype.hasOwnProperty.call(e, c) && t(e[c])) + return c; +} +function _3(e, t) { + for (let c = 0; c < e.length; c++) + if (t(e[c])) + return c; +} +function ar(e) { + return (t, c = {}) => { + const h = t.match(e.matchPattern); + if (!h) return null; + const S = h[0], g = t.match(e.parsePattern); + if (!g) return null; + let n = e.valueCallback ? e.valueCallback(g[0]) : g[0]; + n = c.valueCallback ? c.valueCallback(n) : n; + const s = t.slice(S.length); + return { value: n, rest: s }; }; } -const Cp = /^(\d+)(th|st|nd|rd)?/i, _p = /\d+/i, Sp = { +const E3 = /^(\d+)(th|st|nd|rd)?/i, x3 = /\d+/i, M3 = { narrow: /^(b|a)/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, wide: /^(before christ|before common era|anno domini|common era)/i -}, Mp = { +}, P3 = { any: [/^b/i, /^(a|c)/i] -}, xp = { +}, O3 = { narrow: /^[1234]/i, abbreviated: /^q[1234]/i, wide: /^[1234](th|st|nd|rd)? quarter/i -}, Ep = { +}, T3 = { any: [/1/i, /2/i, /3/i, /4/i] -}, Pp = { +}, A3 = { narrow: /^[jfmasond]/i, abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i -}, Ap = { +}, L3 = { narrow: [ /^j/i, /^f/i, @@ -5239,18 +5239,18 @@ const Cp = /^(\d+)(th|st|nd|rd)?/i, _p = /\d+/i, Sp = { /^n/i, /^d/i ] -}, Op = { +}, I3 = { narrow: /^[smtwf]/i, short: /^(su|mo|tu|we|th|fr|sa)/i, abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i -}, Tp = { +}, N3 = { narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] -}, Ip = { +}, B3 = { narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i -}, Np = { +}, R3 = { any: { am: /^a/i, pm: /^p/i, @@ -5261,172 +5261,172 @@ const Cp = /^(\d+)(th|st|nd|rd)?/i, _p = /\d+/i, Sp = { evening: /evening/i, night: /night/i } -}, Lp = { - ordinalNumber: ln({ - matchPattern: Cp, - parsePattern: _p, +}, k3 = { + ordinalNumber: ar({ + matchPattern: E3, + parsePattern: x3, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: Sp, + era: st({ + matchPatterns: M3, defaultMatchWidth: "wide", - parsePatterns: Mp, + parsePatterns: P3, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: xp, + quarter: st({ + matchPatterns: O3, defaultMatchWidth: "wide", - parsePatterns: Ep, + parsePatterns: T3, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Pp, + month: st({ + matchPatterns: A3, defaultMatchWidth: "wide", - parsePatterns: Ap, + parsePatterns: L3, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Op, + day: st({ + matchPatterns: I3, defaultMatchWidth: "wide", - parsePatterns: Tp, + parsePatterns: N3, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Ip, + dayPeriod: st({ + matchPatterns: B3, defaultMatchWidth: "any", - parsePatterns: Np, + parsePatterns: R3, defaultParseWidth: "any" }) -}, Nl = { +}, Vd = { code: "en-US", - formatDistance: op, - formatLong: up, - formatRelative: lp, - localize: vp, - match: Lp, + formatDistance: s3, + formatLong: d3, + formatRelative: p3, + localize: C3, + match: k3, options: { weekStartsOn: 0, firstWeekContainsDate: 1 } }; -function Ca(e, o) { - const g = e < 0 ? "-" : "", C = Math.abs(e).toString().padStart(o, "0"); - return g + C; +function Ms(e, t) { + const c = e < 0 ? "-" : "", h = Math.abs(e).toString().padStart(t, "0"); + return c + h; } -function Rp(e, o, g) { - const C = Tl(), P = g?.locale ?? C.locale ?? Nl, x = ep(e, o); - if (isNaN(x)) +function H3(e, t, c) { + const h = jd(), S = c?.locale ?? h.locale ?? Vd, g = r3(e, t); + if (isNaN(g)) throw new RangeError("Invalid time value"); - const n = Object.assign({}, g, { - addSuffix: g?.addSuffix, - comparison: x - }), [c, r] = Il( - g?.in, - ...x > 0 ? [o, e] : [e, o] - ), a = rp(g?.roundingMethod ?? "round"), i = r.getTime() - c.getTime(), m = i / z0, t = G0(r) - G0(c), f = (i - t) / z0, b = g?.unit; - let y; - if (b ? y = b : m < 1 ? y = "second" : m < 60 ? y = "minute" : m < W0 ? y = "hour" : f < K0 ? y = "day" : f < F0 ? y = "month" : y = "year", y === "second") { - const u = a(i / 1e3); - return P.formatDistance("xSeconds", u, n); - } else if (y === "minute") { - const u = a(m); - return P.formatDistance("xMinutes", u, n); - } else if (y === "hour") { - const u = a(m / 60); - return P.formatDistance("xHours", u, n); - } else if (y === "day") { - const u = a(f / W0); - return P.formatDistance("xDays", u, n); - } else if (y === "month") { - const u = a(f / K0); - return u === 12 && b !== "month" ? P.formatDistance("xYears", 1, n) : P.formatDistance("xMonths", u, n); + const n = Object.assign({}, c, { + addSuffix: c?.addSuffix, + comparison: g + }), [s, r] = Dd( + c?.in, + ...g > 0 ? [t, e] : [e, t] + ), o = i3(c?.roundingMethod ?? "round"), i = r.getTime() - s.getTime(), p = i / T0, a = R0(r) - R0(s), f = (i - a) / T0, C = c?.unit; + let w; + if (C ? w = C : p < 1 ? w = "second" : p < 60 ? w = "minute" : p < I0 ? w = "hour" : f < L0 ? w = "day" : f < A0 ? w = "month" : w = "year", w === "second") { + const m = o(i / 1e3); + return S.formatDistance("xSeconds", m, n); + } else if (w === "minute") { + const m = o(p); + return S.formatDistance("xMinutes", m, n); + } else if (w === "hour") { + const m = o(p / 60); + return S.formatDistance("xHours", m, n); + } else if (w === "day") { + const m = o(f / I0); + return S.formatDistance("xDays", m, n); + } else if (w === "month") { + const m = o(f / L0); + return m === 12 && C !== "month" ? S.formatDistance("xYears", 1, n) : S.formatDistance("xMonths", m, n); } else { - const u = a(f / F0); - return P.formatDistance("xYears", u, n); + const m = o(f / A0); + return S.formatDistance("xYears", m, n); } } -function kp(e, o) { - return Rp(e, tp(e), o); +function j3(e, t) { + return H3(e, o3(e), t); } -function Bp(e, o) { - const g = Ln(e, o?.in); - if (isNaN(+g)) +function D3(e, t) { + const c = qr(e, t?.in); + if (isNaN(+c)) throw new RangeError("Invalid time value"); - const C = o?.format ?? "extended"; - let P = ""; - const x = C === "extended" ? "-" : ""; + const h = t?.format ?? "extended"; + let S = ""; + const g = h === "extended" ? "-" : ""; { - const n = Ca(g.getDate(), 2), c = Ca(g.getMonth() + 1, 2); - P = `${Ca(g.getFullYear(), 4)}${x}${c}${x}${n}`; + const n = Ms(c.getDate(), 2), s = Ms(c.getMonth() + 1, 2); + S = `${Ms(c.getFullYear(), 4)}${g}${s}${g}${n}`; } - return P; + return S; } -function Oo(e, o, g) { - const [C, P] = Il( - g?.in, +function fi(e, t, c) { + const [h, S] = Dd( + c?.in, e, - o + t ); - return +$0(C, g) == +$0(P, g); + return +B0(h, c) == +B0(S, c); } -const gt = (e) => typeof e == "string", mo = () => { - let e, o; - const g = new Promise((C, P) => { - e = C, o = P; +const lt = (e) => typeof e == "string", Xo = () => { + let e, t; + const c = new Promise((h, S) => { + e = h, t = S; }); - return g.resolve = e, g.reject = o, g; -}, q0 = (e) => e == null ? "" : "" + e, Hp = (e, o, g) => { - e.forEach((C) => { - o[C] && (g[C] = o[C]); + return c.resolve = e, c.reject = t, c; +}, k0 = (e) => e == null ? "" : "" + e, V3 = (e, t, c) => { + e.forEach((h) => { + t[h] && (c[h] = t[h]); }); -}, jp = /###/g, Z0 = (e) => e && e.indexOf("###") > -1 ? e.replace(jp, ".") : e, X0 = (e) => !e || gt(e), So = (e, o, g) => { - const C = gt(o) ? o.split(".") : o; - let P = 0; - for (; P < C.length - 1; ) { - if (X0(e)) return {}; - const x = Z0(C[P]); - !e[x] && g && (e[x] = new g()), Object.prototype.hasOwnProperty.call(e, x) ? e = e[x] : e = {}, ++P; - } - return X0(e) ? {} : { +}, U3 = /###/g, H0 = (e) => e && e.indexOf("###") > -1 ? e.replace(U3, ".") : e, j0 = (e) => !e || lt(e), ai = (e, t, c) => { + const h = lt(t) ? t.split(".") : t; + let S = 0; + for (; S < h.length - 1; ) { + if (j0(e)) return {}; + const g = H0(h[S]); + !e[g] && c && (e[g] = new c()), Object.prototype.hasOwnProperty.call(e, g) ? e = e[g] : e = {}, ++S; + } + return j0(e) ? {} : { obj: e, - k: Z0(C[P]) + k: H0(h[S]) }; -}, Y0 = (e, o, g) => { +}, D0 = (e, t, c) => { const { - obj: C, - k: P - } = So(e, o, Object); - if (C !== void 0 || o.length === 1) { - C[P] = g; + obj: h, + k: S + } = ai(e, t, Object); + if (h !== void 0 || t.length === 1) { + h[S] = c; return; } - let x = o[o.length - 1], n = o.slice(0, o.length - 1), c = So(e, n, Object); - for (; c.obj === void 0 && n.length; ) - x = `${n[n.length - 1]}.${x}`, n = n.slice(0, n.length - 1), c = So(e, n, Object), c?.obj && typeof c.obj[`${c.k}.${x}`] < "u" && (c.obj = void 0); - c.obj[`${c.k}.${x}`] = g; -}, Dp = (e, o, g, C) => { + let g = t[t.length - 1], n = t.slice(0, t.length - 1), s = ai(e, n, Object); + for (; s.obj === void 0 && n.length; ) + g = `${n[n.length - 1]}.${g}`, n = n.slice(0, n.length - 1), s = ai(e, n, Object), s?.obj && typeof s.obj[`${s.k}.${g}`] < "u" && (s.obj = void 0); + s.obj[`${s.k}.${g}`] = c; +}, F3 = (e, t, c, h) => { const { - obj: P, - k: x - } = So(e, o, Object); - P[x] = P[x] || [], P[x].push(g); -}, Ni = (e, o) => { + obj: S, + k: g + } = ai(e, t, Object); + S[g] = S[g] || [], S[g].push(c); +}, Ea = (e, t) => { const { - obj: g, - k: C - } = So(e, o); - if (g && Object.prototype.hasOwnProperty.call(g, C)) - return g[C]; -}, Vp = (e, o, g) => { - const C = Ni(e, g); - return C !== void 0 ? C : Ni(o, g); -}, Ll = (e, o, g) => { - for (const C in o) - C !== "__proto__" && C !== "constructor" && (C in e ? gt(e[C]) || e[C] instanceof String || gt(o[C]) || o[C] instanceof String ? g && (e[C] = o[C]) : Ll(e[C], o[C], g) : e[C] = o[C]); + obj: c, + k: h + } = ai(e, t); + if (c && Object.prototype.hasOwnProperty.call(c, h)) + return c[h]; +}, z3 = (e, t, c) => { + const h = Ea(e, c); + return h !== void 0 ? h : Ea(t, c); +}, Ud = (e, t, c) => { + for (const h in t) + h !== "__proto__" && h !== "constructor" && (h in e ? lt(e[h]) || e[h] instanceof String || lt(t[h]) || t[h] instanceof String ? c && (e[h] = t[h]) : Ud(e[h], t[h], c) : e[h] = t[h]); return e; -}, Kn = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); -var Up = { +}, Co = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); +var K3 = { "&": "&", "<": "<", ">": ">", @@ -5434,51 +5434,51 @@ var Up = { "'": "'", "/": "/" }; -const zp = (e) => gt(e) ? e.replace(/[&<>"'\/]/g, (o) => Up[o]) : e; -class Fp { - constructor(o) { - this.capacity = o, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; - } - getRegExp(o) { - const g = this.regExpMap.get(o); - if (g !== void 0) - return g; - const C = new RegExp(o); - return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(o, C), this.regExpQueue.push(o), C; - } -} -const Kp = [" ", ",", "?", "!", ";"], Wp = new Fp(20), Jp = (e, o, g) => { - o = o || "", g = g || ""; - const C = Kp.filter((n) => o.indexOf(n) < 0 && g.indexOf(n) < 0); - if (C.length === 0) return !0; - const P = Wp.getRegExp(`(${C.map((n) => n === "?" ? "\\?" : n).join("|")})`); - let x = !P.test(e); - if (!x) { - const n = e.indexOf(g); - n > 0 && !P.test(e.substring(0, n)) && (x = !0); +const W3 = (e) => lt(e) ? e.replace(/[&<>"'\/]/g, (t) => K3[t]) : e; +class J3 { + constructor(t) { + this.capacity = t, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; + } + getRegExp(t) { + const c = this.regExpMap.get(t); + if (c !== void 0) + return c; + const h = new RegExp(t); + return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(t, h), this.regExpQueue.push(t), h; } - return x; -}, Ka = (e, o, g = ".") => { +} +const $3 = [" ", ",", "?", "!", ";"], G3 = new J3(20), q3 = (e, t, c) => { + t = t || "", c = c || ""; + const h = $3.filter((n) => t.indexOf(n) < 0 && c.indexOf(n) < 0); + if (h.length === 0) return !0; + const S = G3.getRegExp(`(${h.map((n) => n === "?" ? "\\?" : n).join("|")})`); + let g = !S.test(e); + if (!g) { + const n = e.indexOf(c); + n > 0 && !S.test(e.substring(0, n)) && (g = !0); + } + return g; +}, nc = (e, t, c = ".") => { if (!e) return; - if (e[o]) - return Object.prototype.hasOwnProperty.call(e, o) ? e[o] : void 0; - const C = o.split(g); - let P = e; - for (let x = 0; x < C.length; ) { - if (!P || typeof P != "object") + if (e[t]) + return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0; + const h = t.split(c); + let S = e; + for (let g = 0; g < h.length; ) { + if (!S || typeof S != "object") return; - let n, c = ""; - for (let r = x; r < C.length; ++r) - if (r !== x && (c += g), c += C[r], n = P[c], n !== void 0) { - if (["string", "number", "boolean"].indexOf(typeof n) > -1 && r < C.length - 1) + let n, s = ""; + for (let r = g; r < h.length; ++r) + if (r !== g && (s += c), s += h[r], n = S[s], n !== void 0) { + if (["string", "number", "boolean"].indexOf(typeof n) > -1 && r < h.length - 1) continue; - x += r - x + 1; + g += r - g + 1; break; } - P = n; + S = n; } - return P; -}, To = (e) => e?.replace("_", "-"), $p = { + return S; +}, pi = (e) => e?.replace("_", "-"), Z3 = { type: "logger", log(e) { this.output("log", e); @@ -5489,889 +5489,889 @@ const Kp = [" ", ",", "?", "!", ";"], Wp = new Fp(20), Jp = (e, o, g) => { error(e) { this.output("error", e); }, - output(e, o) { - console?.[e]?.apply?.(console, o); + output(e, t) { + console?.[e]?.apply?.(console, t); } }; -class Li { - constructor(o, g = {}) { - this.init(o, g); +class xa { + constructor(t, c = {}) { + this.init(t, c); } - init(o, g = {}) { - this.prefix = g.prefix || "i18next:", this.logger = o || $p, this.options = g, this.debug = g.debug; + init(t, c = {}) { + this.prefix = c.prefix || "i18next:", this.logger = t || Z3, this.options = c, this.debug = c.debug; } - log(...o) { - return this.forward(o, "log", "", !0); + log(...t) { + return this.forward(t, "log", "", !0); } - warn(...o) { - return this.forward(o, "warn", "", !0); + warn(...t) { + return this.forward(t, "warn", "", !0); } - error(...o) { - return this.forward(o, "error", ""); + error(...t) { + return this.forward(t, "error", ""); } - deprecate(...o) { - return this.forward(o, "warn", "WARNING DEPRECATED: ", !0); + deprecate(...t) { + return this.forward(t, "warn", "WARNING DEPRECATED: ", !0); } - forward(o, g, C, P) { - return P && !this.debug ? null : (gt(o[0]) && (o[0] = `${C}${this.prefix} ${o[0]}`), this.logger[g](o)); + forward(t, c, h, S) { + return S && !this.debug ? null : (lt(t[0]) && (t[0] = `${h}${this.prefix} ${t[0]}`), this.logger[c](t)); } - create(o) { - return new Li(this.logger, { - prefix: `${this.prefix}:${o}:`, + create(t) { + return new xa(this.logger, { + prefix: `${this.prefix}:${t}:`, ...this.options }); } - clone(o) { - return o = o || this.options, o.prefix = o.prefix || this.prefix, new Li(this.logger, o); + clone(t) { + return t = t || this.options, t.prefix = t.prefix || this.prefix, new xa(this.logger, t); } } -var tn = new Li(); -class Xi { +var qn = new xa(); +class Ya { constructor() { this.observers = {}; } - on(o, g) { - return o.split(" ").forEach((C) => { - this.observers[C] || (this.observers[C] = /* @__PURE__ */ new Map()); - const P = this.observers[C].get(g) || 0; - this.observers[C].set(g, P + 1); + on(t, c) { + return t.split(" ").forEach((h) => { + this.observers[h] || (this.observers[h] = /* @__PURE__ */ new Map()); + const S = this.observers[h].get(c) || 0; + this.observers[h].set(c, S + 1); }), this; } - off(o, g) { - if (this.observers[o]) { - if (!g) { - delete this.observers[o]; + off(t, c) { + if (this.observers[t]) { + if (!c) { + delete this.observers[t]; return; } - this.observers[o].delete(g); + this.observers[t].delete(c); } } - emit(o, ...g) { - this.observers[o] && Array.from(this.observers[o].entries()).forEach(([P, x]) => { - for (let n = 0; n < x; n++) - P(...g); - }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([P, x]) => { - for (let n = 0; n < x; n++) - P.apply(P, [o, ...g]); + emit(t, ...c) { + this.observers[t] && Array.from(this.observers[t].entries()).forEach(([S, g]) => { + for (let n = 0; n < g; n++) + S(...c); + }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([S, g]) => { + for (let n = 0; n < g; n++) + S.apply(S, [t, ...c]); }); } } -class Q0 extends Xi { - constructor(o, g = { +class V0 extends Ya { + constructor(t, c = { ns: ["translation"], defaultNS: "translation" }) { - super(), this.data = o || {}, this.options = g, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); + super(), this.data = t || {}, this.options = c, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); } - addNamespaces(o) { - this.options.ns.indexOf(o) < 0 && this.options.ns.push(o); + addNamespaces(t) { + this.options.ns.indexOf(t) < 0 && this.options.ns.push(t); } - removeNamespaces(o) { - const g = this.options.ns.indexOf(o); - g > -1 && this.options.ns.splice(g, 1); + removeNamespaces(t) { + const c = this.options.ns.indexOf(t); + c > -1 && this.options.ns.splice(c, 1); } - getResource(o, g, C, P = {}) { - const x = P.keySeparator !== void 0 ? P.keySeparator : this.options.keySeparator, n = P.ignoreJSONStructure !== void 0 ? P.ignoreJSONStructure : this.options.ignoreJSONStructure; - let c; - o.indexOf(".") > -1 ? c = o.split(".") : (c = [o, g], C && (Array.isArray(C) ? c.push(...C) : gt(C) && x ? c.push(...C.split(x)) : c.push(C))); - const r = Ni(this.data, c); - return !r && !g && !C && o.indexOf(".") > -1 && (o = c[0], g = c[1], C = c.slice(2).join(".")), r || !n || !gt(C) ? r : Ka(this.data?.[o]?.[g], C, x); + getResource(t, c, h, S = {}) { + const g = S.keySeparator !== void 0 ? S.keySeparator : this.options.keySeparator, n = S.ignoreJSONStructure !== void 0 ? S.ignoreJSONStructure : this.options.ignoreJSONStructure; + let s; + t.indexOf(".") > -1 ? s = t.split(".") : (s = [t, c], h && (Array.isArray(h) ? s.push(...h) : lt(h) && g ? s.push(...h.split(g)) : s.push(h))); + const r = Ea(this.data, s); + return !r && !c && !h && t.indexOf(".") > -1 && (t = s[0], c = s[1], h = s.slice(2).join(".")), r || !n || !lt(h) ? r : nc(this.data?.[t]?.[c], h, g); } - addResource(o, g, C, P, x = { + addResource(t, c, h, S, g = { silent: !1 }) { - const n = x.keySeparator !== void 0 ? x.keySeparator : this.options.keySeparator; - let c = [o, g]; - C && (c = c.concat(n ? C.split(n) : C)), o.indexOf(".") > -1 && (c = o.split("."), P = g, g = c[1]), this.addNamespaces(g), Y0(this.data, c, P), x.silent || this.emit("added", o, g, C, P); + const n = g.keySeparator !== void 0 ? g.keySeparator : this.options.keySeparator; + let s = [t, c]; + h && (s = s.concat(n ? h.split(n) : h)), t.indexOf(".") > -1 && (s = t.split("."), S = c, c = s[1]), this.addNamespaces(c), D0(this.data, s, S), g.silent || this.emit("added", t, c, h, S); } - addResources(o, g, C, P = { + addResources(t, c, h, S = { silent: !1 }) { - for (const x in C) - (gt(C[x]) || Array.isArray(C[x])) && this.addResource(o, g, x, C[x], { + for (const g in h) + (lt(h[g]) || Array.isArray(h[g])) && this.addResource(t, c, g, h[g], { silent: !0 }); - P.silent || this.emit("added", o, g, C); + S.silent || this.emit("added", t, c, h); } - addResourceBundle(o, g, C, P, x, n = { + addResourceBundle(t, c, h, S, g, n = { silent: !1, skipCopy: !1 }) { - let c = [o, g]; - o.indexOf(".") > -1 && (c = o.split("."), P = C, C = g, g = c[1]), this.addNamespaces(g); - let r = Ni(this.data, c) || {}; - n.skipCopy || (C = JSON.parse(JSON.stringify(C))), P ? Ll(r, C, x) : r = { + let s = [t, c]; + t.indexOf(".") > -1 && (s = t.split("."), S = h, h = c, c = s[1]), this.addNamespaces(c); + let r = Ea(this.data, s) || {}; + n.skipCopy || (h = JSON.parse(JSON.stringify(h))), S ? Ud(r, h, g) : r = { ...r, - ...C - }, Y0(this.data, c, r), n.silent || this.emit("added", o, g, C); + ...h + }, D0(this.data, s, r), n.silent || this.emit("added", t, c, h); } - removeResourceBundle(o, g) { - this.hasResourceBundle(o, g) && delete this.data[o][g], this.removeNamespaces(g), this.emit("removed", o, g); + removeResourceBundle(t, c) { + this.hasResourceBundle(t, c) && delete this.data[t][c], this.removeNamespaces(c), this.emit("removed", t, c); } - hasResourceBundle(o, g) { - return this.getResource(o, g) !== void 0; + hasResourceBundle(t, c) { + return this.getResource(t, c) !== void 0; } - getResourceBundle(o, g) { - return g || (g = this.options.defaultNS), this.getResource(o, g); + getResourceBundle(t, c) { + return c || (c = this.options.defaultNS), this.getResource(t, c); } - getDataByLanguage(o) { - return this.data[o]; + getDataByLanguage(t) { + return this.data[t]; } - hasLanguageSomeTranslations(o) { - const g = this.getDataByLanguage(o); - return !!(g && Object.keys(g) || []).find((P) => g[P] && Object.keys(g[P]).length > 0); + hasLanguageSomeTranslations(t) { + const c = this.getDataByLanguage(t); + return !!(c && Object.keys(c) || []).find((S) => c[S] && Object.keys(c[S]).length > 0); } toJSON() { return this.data; } } -var Rl = { +var Fd = { processors: {}, addPostProcessor(e) { this.processors[e.name] = e; }, - handle(e, o, g, C, P) { - return e.forEach((x) => { - o = this.processors[x]?.process(o, g, C, P) ?? o; - }), o; + handle(e, t, c, h, S) { + return e.forEach((g) => { + t = this.processors[g]?.process(t, c, h, S) ?? t; + }), t; } }; -const eu = {}, tu = (e) => !gt(e) && typeof e != "boolean" && typeof e != "number"; -class Ri extends Xi { - constructor(o, g = {}) { - super(), Hp(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], o, this), this.options = g, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = tn.create("translator"); +const U0 = {}, F0 = (e) => !lt(e) && typeof e != "boolean" && typeof e != "number"; +class Ma extends Ya { + constructor(t, c = {}) { + super(), V3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = c, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = qn.create("translator"); } - changeLanguage(o) { - o && (this.language = o); + changeLanguage(t) { + t && (this.language = t); } - exists(o, g = { + exists(t, c = { interpolation: {} }) { - const C = { - ...g + const h = { + ...c }; - return o == null ? !1 : this.resolve(o, C)?.res !== void 0; - } - extractFromKey(o, g) { - let C = g.nsSeparator !== void 0 ? g.nsSeparator : this.options.nsSeparator; - C === void 0 && (C = ":"); - const P = g.keySeparator !== void 0 ? g.keySeparator : this.options.keySeparator; - let x = g.ns || this.options.defaultNS || []; - const n = C && o.indexOf(C) > -1, c = !this.options.userDefinedKeySeparator && !g.keySeparator && !this.options.userDefinedNsSeparator && !g.nsSeparator && !Jp(o, C, P); - if (n && !c) { - const r = o.match(this.interpolator.nestingRegexp); + return t == null ? !1 : this.resolve(t, h)?.res !== void 0; + } + extractFromKey(t, c) { + let h = c.nsSeparator !== void 0 ? c.nsSeparator : this.options.nsSeparator; + h === void 0 && (h = ":"); + const S = c.keySeparator !== void 0 ? c.keySeparator : this.options.keySeparator; + let g = c.ns || this.options.defaultNS || []; + const n = h && t.indexOf(h) > -1, s = !this.options.userDefinedKeySeparator && !c.keySeparator && !this.options.userDefinedNsSeparator && !c.nsSeparator && !q3(t, h, S); + if (n && !s) { + const r = t.match(this.interpolator.nestingRegexp); if (r && r.length > 0) return { - key: o, - namespaces: gt(x) ? [x] : x + key: t, + namespaces: lt(g) ? [g] : g }; - const a = o.split(C); - (C !== P || C === P && this.options.ns.indexOf(a[0]) > -1) && (x = a.shift()), o = a.join(P); + const o = t.split(h); + (h !== S || h === S && this.options.ns.indexOf(o[0]) > -1) && (g = o.shift()), t = o.join(S); } return { - key: o, - namespaces: gt(x) ? [x] : x + key: t, + namespaces: lt(g) ? [g] : g }; } - translate(o, g, C) { - let P = typeof g == "object" ? { - ...g - } : g; - if (typeof P != "object" && this.options.overloadTranslationOptionHandler && (P = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (P = { - ...P - }), P || (P = {}), o == null) return ""; - Array.isArray(o) || (o = [String(o)]); - const x = P.returnDetails !== void 0 ? P.returnDetails : this.options.returnDetails, n = P.keySeparator !== void 0 ? P.keySeparator : this.options.keySeparator, { - key: c, + translate(t, c, h) { + let S = typeof c == "object" ? { + ...c + } : c; + if (typeof S != "object" && this.options.overloadTranslationOptionHandler && (S = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (S = { + ...S + }), S || (S = {}), t == null) return ""; + Array.isArray(t) || (t = [String(t)]); + const g = S.returnDetails !== void 0 ? S.returnDetails : this.options.returnDetails, n = S.keySeparator !== void 0 ? S.keySeparator : this.options.keySeparator, { + key: s, namespaces: r - } = this.extractFromKey(o[o.length - 1], P), a = r[r.length - 1]; - let i = P.nsSeparator !== void 0 ? P.nsSeparator : this.options.nsSeparator; + } = this.extractFromKey(t[t.length - 1], S), o = r[r.length - 1]; + let i = S.nsSeparator !== void 0 ? S.nsSeparator : this.options.nsSeparator; i === void 0 && (i = ":"); - const m = P.lng || this.language, t = P.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; - if (m?.toLowerCase() === "cimode") - return t ? x ? { - res: `${a}${i}${c}`, - usedKey: c, - exactUsedKey: c, - usedLng: m, - usedNS: a, - usedParams: this.getUsedParamsDetails(P) - } : `${a}${i}${c}` : x ? { - res: c, - usedKey: c, - exactUsedKey: c, - usedLng: m, - usedNS: a, - usedParams: this.getUsedParamsDetails(P) - } : c; - const f = this.resolve(o, P); - let b = f?.res; - const y = f?.usedKey || c, u = f?.exactUsedKey || c, d = ["[object Number]", "[object Function]", "[object RegExp]"], l = P.joinArrays !== void 0 ? P.joinArrays : this.options.joinArrays, s = !this.i18nFormat || this.i18nFormat.handleAsObject, v = P.count !== void 0 && !gt(P.count), p = Ri.hasDefaultValue(P), h = v ? this.pluralResolver.getSuffix(m, P.count, P) : "", O = P.ordinal && v ? this.pluralResolver.getSuffix(m, P.count, { + const p = S.lng || this.language, a = S.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; + if (p?.toLowerCase() === "cimode") + return a ? g ? { + res: `${o}${i}${s}`, + usedKey: s, + exactUsedKey: s, + usedLng: p, + usedNS: o, + usedParams: this.getUsedParamsDetails(S) + } : `${o}${i}${s}` : g ? { + res: s, + usedKey: s, + exactUsedKey: s, + usedLng: p, + usedNS: o, + usedParams: this.getUsedParamsDetails(S) + } : s; + const f = this.resolve(t, S); + let C = f?.res; + const w = f?.usedKey || s, m = f?.exactUsedKey || s, v = ["[object Number]", "[object Function]", "[object RegExp]"], l = S.joinArrays !== void 0 ? S.joinArrays : this.options.joinArrays, u = !this.i18nFormat || this.i18nFormat.handleAsObject, y = S.count !== void 0 && !lt(S.count), d = Ma.hasDefaultValue(S), b = y ? this.pluralResolver.getSuffix(p, S.count, S) : "", _ = S.ordinal && y ? this.pluralResolver.getSuffix(p, S.count, { ordinal: !1 - }) : "", I = v && !P.ordinal && P.count === 0, k = I && P[`defaultValue${this.options.pluralSeparator}zero`] || P[`defaultValue${h}`] || P[`defaultValue${O}`] || P.defaultValue; - let R = b; - s && !b && p && (R = k); - const L = tu(R), N = Object.prototype.toString.apply(R); - if (s && R && L && d.indexOf(N) < 0 && !(gt(l) && Array.isArray(R))) { - if (!P.returnObjects && !this.options.returnObjects) { + }) : "", E = y && !S.ordinal && S.count === 0, B = E && S[`defaultValue${this.options.pluralSeparator}zero`] || S[`defaultValue${b}`] || S[`defaultValue${_}`] || S.defaultValue; + let O = C; + u && !C && d && (O = B); + const I = F0(O), x = Object.prototype.toString.apply(O); + if (u && O && I && v.indexOf(x) < 0 && !(lt(l) && Array.isArray(O))) { + if (!S.returnObjects && !this.options.returnObjects) { this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); - const B = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, R, { - ...P, + const A = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(w, O, { + ...S, ns: r - }) : `key '${c} (${this.language})' returned an object instead of string.`; - return x ? (f.res = B, f.usedParams = this.getUsedParamsDetails(P), f) : B; + }) : `key '${s} (${this.language})' returned an object instead of string.`; + return g ? (f.res = A, f.usedParams = this.getUsedParamsDetails(S), f) : A; } if (n) { - const B = Array.isArray(R), H = B ? [] : {}, U = B ? u : y; - for (const S in R) - if (Object.prototype.hasOwnProperty.call(R, S)) { - const T = `${U}${n}${S}`; - p && !b ? H[S] = this.translate(T, { - ...P, - defaultValue: tu(k) ? k[S] : void 0, + const A = Array.isArray(O), N = A ? [] : {}, k = A ? m : w; + for (const j in O) + if (Object.prototype.hasOwnProperty.call(O, j)) { + const D = `${k}${n}${j}`; + d && !C ? N[j] = this.translate(D, { + ...S, + defaultValue: F0(B) ? B[j] : void 0, joinArrays: !1, ns: r - }) : H[S] = this.translate(T, { - ...P, + }) : N[j] = this.translate(D, { + ...S, joinArrays: !1, ns: r - }), H[S] === T && (H[S] = R[S]); + }), N[j] === D && (N[j] = O[j]); } - b = H; + C = N; } - } else if (s && gt(l) && Array.isArray(b)) - b = b.join(l), b && (b = this.extendTranslation(b, o, P, C)); + } else if (u && lt(l) && Array.isArray(C)) + C = C.join(l), C && (C = this.extendTranslation(C, t, S, h)); else { - let B = !1, H = !1; - !this.isValidLookup(b) && p && (B = !0, b = k), this.isValidLookup(b) || (H = !0, b = c); - const S = (P.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && H ? void 0 : b, T = p && k !== b && this.options.updateMissing; - if (H || B || T) { - if (this.logger.log(T ? "updateKey" : "missingKey", m, a, c, T ? k : b), n) { - const w = this.resolve(c, { - ...P, + let A = !1, N = !1; + !this.isValidLookup(C) && d && (A = !0, C = B), this.isValidLookup(C) || (N = !0, C = s); + const j = (S.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : C, D = d && B !== C && this.options.updateMissing; + if (N || A || D) { + if (this.logger.log(D ? "updateKey" : "missingKey", p, o, s, D ? B : C), n) { + const M = this.resolve(s, { + ...S, keySeparator: !1 }); - w && w.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); - } - let E = []; - const M = this.languageUtils.getFallbackCodes(this.options.fallbackLng, P.lng || this.language); - if (this.options.saveMissingTo === "fallback" && M && M[0]) - for (let w = 0; w < M.length; w++) - E.push(M[w]); - else this.options.saveMissingTo === "all" ? E = this.languageUtils.toResolveHierarchy(P.lng || this.language) : E.push(P.lng || this.language); - const _ = (w, A, j) => { - const V = p && j !== b ? j : S; - this.options.missingKeyHandler ? this.options.missingKeyHandler(w, a, A, V, T, P) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(w, a, A, V, T, P), this.emit("missingKey", w, a, A, b); + M && M.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); + } + let T = []; + const L = this.languageUtils.getFallbackCodes(this.options.fallbackLng, S.lng || this.language); + if (this.options.saveMissingTo === "fallback" && L && L[0]) + for (let M = 0; M < L.length; M++) + T.push(L[M]); + else this.options.saveMissingTo === "all" ? T = this.languageUtils.toResolveHierarchy(S.lng || this.language) : T.push(S.lng || this.language); + const R = (M, P, H) => { + const K = d && H !== C ? H : j; + this.options.missingKeyHandler ? this.options.missingKeyHandler(M, o, P, K, D, S) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(M, o, P, K, D, S), this.emit("missingKey", M, o, P, C); }; - this.options.saveMissing && (this.options.saveMissingPlurals && v ? E.forEach((w) => { - const A = this.pluralResolver.getSuffixes(w, P); - I && P[`defaultValue${this.options.pluralSeparator}zero`] && A.indexOf(`${this.options.pluralSeparator}zero`) < 0 && A.push(`${this.options.pluralSeparator}zero`), A.forEach((j) => { - _([w], c + j, P[`defaultValue${j}`] || k); + this.options.saveMissing && (this.options.saveMissingPlurals && y ? T.forEach((M) => { + const P = this.pluralResolver.getSuffixes(M, S); + E && S[`defaultValue${this.options.pluralSeparator}zero`] && P.indexOf(`${this.options.pluralSeparator}zero`) < 0 && P.push(`${this.options.pluralSeparator}zero`), P.forEach((H) => { + R([M], s + H, S[`defaultValue${H}`] || B); }); - }) : _(E, c, k)); + }) : R(T, s, B)); } - b = this.extendTranslation(b, o, P, f, C), H && b === c && this.options.appendNamespaceToMissingKey && (b = `${a}${i}${c}`), (H || B) && this.options.parseMissingKeyHandler && (b = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}${i}${c}` : c, B ? b : void 0, P)); + C = this.extendTranslation(C, t, S, f, h), N && C === s && this.options.appendNamespaceToMissingKey && (C = `${o}${i}${s}`), (N || A) && this.options.parseMissingKeyHandler && (C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${o}${i}${s}` : s, A ? C : void 0, S)); } - return x ? (f.res = b, f.usedParams = this.getUsedParamsDetails(P), f) : b; + return g ? (f.res = C, f.usedParams = this.getUsedParamsDetails(S), f) : C; } - extendTranslation(o, g, C, P, x) { + extendTranslation(t, c, h, S, g) { if (this.i18nFormat?.parse) - o = this.i18nFormat.parse(o, { + t = this.i18nFormat.parse(t, { ...this.options.interpolation.defaultVariables, - ...C - }, C.lng || this.language || P.usedLng, P.usedNS, P.usedKey, { - resolved: P + ...h + }, h.lng || this.language || S.usedLng, S.usedNS, S.usedKey, { + resolved: S }); - else if (!C.skipInterpolation) { - C.interpolation && this.interpolator.init({ - ...C, + else if (!h.skipInterpolation) { + h.interpolation && this.interpolator.init({ + ...h, interpolation: { ...this.options.interpolation, - ...C.interpolation + ...h.interpolation } }); - const r = gt(o) && (C?.interpolation?.skipOnVariables !== void 0 ? C.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); - let a; + const r = lt(t) && (h?.interpolation?.skipOnVariables !== void 0 ? h.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); + let o; if (r) { - const m = o.match(this.interpolator.nestingRegexp); - a = m && m.length; + const p = t.match(this.interpolator.nestingRegexp); + o = p && p.length; } - let i = C.replace && !gt(C.replace) ? C.replace : C; + let i = h.replace && !lt(h.replace) ? h.replace : h; if (this.options.interpolation.defaultVariables && (i = { ...this.options.interpolation.defaultVariables, ...i - }), o = this.interpolator.interpolate(o, i, C.lng || this.language || P.usedLng, C), r) { - const m = o.match(this.interpolator.nestingRegexp), t = m && m.length; - a < t && (C.nest = !1); + }), t = this.interpolator.interpolate(t, i, h.lng || this.language || S.usedLng, h), r) { + const p = t.match(this.interpolator.nestingRegexp), a = p && p.length; + o < a && (h.nest = !1); } - !C.lng && P && P.res && (C.lng = this.language || P.usedLng), C.nest !== !1 && (o = this.interpolator.nest(o, (...m) => x?.[0] === m[0] && !C.context ? (this.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${g[0]}`), null) : this.translate(...m, g), C)), C.interpolation && this.interpolator.reset(); + !h.lng && S && S.res && (h.lng = this.language || S.usedLng), h.nest !== !1 && (t = this.interpolator.nest(t, (...p) => g?.[0] === p[0] && !h.context ? (this.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${c[0]}`), null) : this.translate(...p, c), h)), h.interpolation && this.interpolator.reset(); } - const n = C.postProcess || this.options.postProcess, c = gt(n) ? [n] : n; - return o != null && c?.length && C.applyPostProcessor !== !1 && (o = Rl.handle(c, o, g, this.options && this.options.postProcessPassResolved ? { + const n = h.postProcess || this.options.postProcess, s = lt(n) ? [n] : n; + return t != null && s?.length && h.applyPostProcessor !== !1 && (t = Fd.handle(s, t, c, this.options && this.options.postProcessPassResolved ? { i18nResolved: { - ...P, - usedParams: this.getUsedParamsDetails(C) + ...S, + usedParams: this.getUsedParamsDetails(h) }, - ...C - } : C, this)), o; - } - resolve(o, g = {}) { - let C, P, x, n, c; - return gt(o) && (o = [o]), o.forEach((r) => { - if (this.isValidLookup(C)) return; - const a = this.extractFromKey(r, g), i = a.key; - P = i; - let m = a.namespaces; - this.options.fallbackNS && (m = m.concat(this.options.fallbackNS)); - const t = g.count !== void 0 && !gt(g.count), f = t && !g.ordinal && g.count === 0, b = g.context !== void 0 && (gt(g.context) || typeof g.context == "number") && g.context !== "", y = g.lngs ? g.lngs : this.languageUtils.toResolveHierarchy(g.lng || this.language, g.fallbackLng); - m.forEach((u) => { - this.isValidLookup(C) || (c = u, !eu[`${y[0]}-${u}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(c) && (eu[`${y[0]}-${u}`] = !0, this.logger.warn(`key "${P}" for languages "${y.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((d) => { - if (this.isValidLookup(C)) return; - n = d; + ...h + } : h, this)), t; + } + resolve(t, c = {}) { + let h, S, g, n, s; + return lt(t) && (t = [t]), t.forEach((r) => { + if (this.isValidLookup(h)) return; + const o = this.extractFromKey(r, c), i = o.key; + S = i; + let p = o.namespaces; + this.options.fallbackNS && (p = p.concat(this.options.fallbackNS)); + const a = c.count !== void 0 && !lt(c.count), f = a && !c.ordinal && c.count === 0, C = c.context !== void 0 && (lt(c.context) || typeof c.context == "number") && c.context !== "", w = c.lngs ? c.lngs : this.languageUtils.toResolveHierarchy(c.lng || this.language, c.fallbackLng); + p.forEach((m) => { + this.isValidLookup(h) || (s = m, !U0[`${w[0]}-${m}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(s) && (U0[`${w[0]}-${m}`] = !0, this.logger.warn(`key "${S}" for languages "${w.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), w.forEach((v) => { + if (this.isValidLookup(h)) return; + n = v; const l = [i]; if (this.i18nFormat?.addLookupKeys) - this.i18nFormat.addLookupKeys(l, i, d, u, g); + this.i18nFormat.addLookupKeys(l, i, v, m, c); else { - let v; - t && (v = this.pluralResolver.getSuffix(d, g.count, g)); - const p = `${this.options.pluralSeparator}zero`, h = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; - if (t && (l.push(i + v), g.ordinal && v.indexOf(h) === 0 && l.push(i + v.replace(h, this.options.pluralSeparator)), f && l.push(i + p)), b) { - const O = `${i}${this.options.contextSeparator}${g.context}`; - l.push(O), t && (l.push(O + v), g.ordinal && v.indexOf(h) === 0 && l.push(O + v.replace(h, this.options.pluralSeparator)), f && l.push(O + p)); + let y; + a && (y = this.pluralResolver.getSuffix(v, c.count, c)); + const d = `${this.options.pluralSeparator}zero`, b = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; + if (a && (l.push(i + y), c.ordinal && y.indexOf(b) === 0 && l.push(i + y.replace(b, this.options.pluralSeparator)), f && l.push(i + d)), C) { + const _ = `${i}${this.options.contextSeparator}${c.context}`; + l.push(_), a && (l.push(_ + y), c.ordinal && y.indexOf(b) === 0 && l.push(_ + y.replace(b, this.options.pluralSeparator)), f && l.push(_ + d)); } } - let s; - for (; s = l.pop(); ) - this.isValidLookup(C) || (x = s, C = this.getResource(d, u, s, g)); + let u; + for (; u = l.pop(); ) + this.isValidLookup(h) || (g = u, h = this.getResource(v, m, u, c)); })); }); }), { - res: C, - usedKey: P, - exactUsedKey: x, + res: h, + usedKey: S, + exactUsedKey: g, usedLng: n, - usedNS: c + usedNS: s }; } - isValidLookup(o) { - return o !== void 0 && !(!this.options.returnNull && o === null) && !(!this.options.returnEmptyString && o === ""); + isValidLookup(t) { + return t !== void 0 && !(!this.options.returnNull && t === null) && !(!this.options.returnEmptyString && t === ""); } - getResource(o, g, C, P = {}) { - return this.i18nFormat?.getResource ? this.i18nFormat.getResource(o, g, C, P) : this.resourceStore.getResource(o, g, C, P); + getResource(t, c, h, S = {}) { + return this.i18nFormat?.getResource ? this.i18nFormat.getResource(t, c, h, S) : this.resourceStore.getResource(t, c, h, S); } - getUsedParamsDetails(o = {}) { - const g = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], C = o.replace && !gt(o.replace); - let P = C ? o.replace : o; - if (C && typeof o.count < "u" && (P.count = o.count), this.options.interpolation.defaultVariables && (P = { + getUsedParamsDetails(t = {}) { + const c = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], h = t.replace && !lt(t.replace); + let S = h ? t.replace : t; + if (h && typeof t.count < "u" && (S.count = t.count), this.options.interpolation.defaultVariables && (S = { ...this.options.interpolation.defaultVariables, - ...P - }), !C) { - P = { - ...P + ...S + }), !h) { + S = { + ...S }; - for (const x of g) - delete P[x]; + for (const g of c) + delete S[g]; } - return P; + return S; } - static hasDefaultValue(o) { - const g = "defaultValue"; - for (const C in o) - if (Object.prototype.hasOwnProperty.call(o, C) && g === C.substring(0, g.length) && o[C] !== void 0) + static hasDefaultValue(t) { + const c = "defaultValue"; + for (const h in t) + if (Object.prototype.hasOwnProperty.call(t, h) && c === h.substring(0, c.length) && t[h] !== void 0) return !0; return !1; } } -class ru { - constructor(o) { - this.options = o, this.supportedLngs = this.options.supportedLngs || !1, this.logger = tn.create("languageUtils"); +class z0 { + constructor(t) { + this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = qn.create("languageUtils"); } - getScriptPartFromCode(o) { - if (o = To(o), !o || o.indexOf("-") < 0) return null; - const g = o.split("-"); - return g.length === 2 || (g.pop(), g[g.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(g.join("-")); + getScriptPartFromCode(t) { + if (t = pi(t), !t || t.indexOf("-") < 0) return null; + const c = t.split("-"); + return c.length === 2 || (c.pop(), c[c.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(c.join("-")); } - getLanguagePartFromCode(o) { - if (o = To(o), !o || o.indexOf("-") < 0) return o; - const g = o.split("-"); - return this.formatLanguageCode(g[0]); + getLanguagePartFromCode(t) { + if (t = pi(t), !t || t.indexOf("-") < 0) return t; + const c = t.split("-"); + return this.formatLanguageCode(c[0]); } - formatLanguageCode(o) { - if (gt(o) && o.indexOf("-") > -1) { - let g; + formatLanguageCode(t) { + if (lt(t) && t.indexOf("-") > -1) { + let c; try { - g = Intl.getCanonicalLocales(o)[0]; + c = Intl.getCanonicalLocales(t)[0]; } catch { } - return g && this.options.lowerCaseLng && (g = g.toLowerCase()), g || (this.options.lowerCaseLng ? o.toLowerCase() : o); + return c && this.options.lowerCaseLng && (c = c.toLowerCase()), c || (this.options.lowerCaseLng ? t.toLowerCase() : t); } - return this.options.cleanCode || this.options.lowerCaseLng ? o.toLowerCase() : o; + return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t; } - isSupportedCode(o) { - return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (o = this.getLanguagePartFromCode(o)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(o) > -1; + isSupportedCode(t) { + return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (t = this.getLanguagePartFromCode(t)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(t) > -1; } - getBestMatchFromCodes(o) { - if (!o) return null; - let g; - return o.forEach((C) => { - if (g) return; - const P = this.formatLanguageCode(C); - (!this.options.supportedLngs || this.isSupportedCode(P)) && (g = P); - }), !g && this.options.supportedLngs && o.forEach((C) => { - if (g) return; - const P = this.getScriptPartFromCode(C); - if (this.isSupportedCode(P)) return g = P; - const x = this.getLanguagePartFromCode(C); - if (this.isSupportedCode(x)) return g = x; - g = this.options.supportedLngs.find((n) => { - if (n === x) return n; - if (!(n.indexOf("-") < 0 && x.indexOf("-") < 0) && (n.indexOf("-") > 0 && x.indexOf("-") < 0 && n.substring(0, n.indexOf("-")) === x || n.indexOf(x) === 0 && x.length > 1)) + getBestMatchFromCodes(t) { + if (!t) return null; + let c; + return t.forEach((h) => { + if (c) return; + const S = this.formatLanguageCode(h); + (!this.options.supportedLngs || this.isSupportedCode(S)) && (c = S); + }), !c && this.options.supportedLngs && t.forEach((h) => { + if (c) return; + const S = this.getScriptPartFromCode(h); + if (this.isSupportedCode(S)) return c = S; + const g = this.getLanguagePartFromCode(h); + if (this.isSupportedCode(g)) return c = g; + c = this.options.supportedLngs.find((n) => { + if (n === g) return n; + if (!(n.indexOf("-") < 0 && g.indexOf("-") < 0) && (n.indexOf("-") > 0 && g.indexOf("-") < 0 && n.substring(0, n.indexOf("-")) === g || n.indexOf(g) === 0 && g.length > 1)) return n; }); - }), g || (g = this.getFallbackCodes(this.options.fallbackLng)[0]), g; - } - getFallbackCodes(o, g) { - if (!o) return []; - if (typeof o == "function" && (o = o(g)), gt(o) && (o = [o]), Array.isArray(o)) return o; - if (!g) return o.default || []; - let C = o[g]; - return C || (C = o[this.getScriptPartFromCode(g)]), C || (C = o[this.formatLanguageCode(g)]), C || (C = o[this.getLanguagePartFromCode(g)]), C || (C = o.default), C || []; - } - toResolveHierarchy(o, g) { - const C = this.getFallbackCodes((g === !1 ? [] : g) || this.options.fallbackLng || [], o), P = [], x = (n) => { - n && (this.isSupportedCode(n) ? P.push(n) : this.logger.warn(`rejecting language code not found in supportedLngs: ${n}`)); + }), c || (c = this.getFallbackCodes(this.options.fallbackLng)[0]), c; + } + getFallbackCodes(t, c) { + if (!t) return []; + if (typeof t == "function" && (t = t(c)), lt(t) && (t = [t]), Array.isArray(t)) return t; + if (!c) return t.default || []; + let h = t[c]; + return h || (h = t[this.getScriptPartFromCode(c)]), h || (h = t[this.formatLanguageCode(c)]), h || (h = t[this.getLanguagePartFromCode(c)]), h || (h = t.default), h || []; + } + toResolveHierarchy(t, c) { + const h = this.getFallbackCodes((c === !1 ? [] : c) || this.options.fallbackLng || [], t), S = [], g = (n) => { + n && (this.isSupportedCode(n) ? S.push(n) : this.logger.warn(`rejecting language code not found in supportedLngs: ${n}`)); }; - return gt(o) && (o.indexOf("-") > -1 || o.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && x(this.formatLanguageCode(o)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && x(this.getScriptPartFromCode(o)), this.options.load !== "currentOnly" && x(this.getLanguagePartFromCode(o))) : gt(o) && x(this.formatLanguageCode(o)), C.forEach((n) => { - P.indexOf(n) < 0 && x(this.formatLanguageCode(n)); - }), P; + return lt(t) && (t.indexOf("-") > -1 || t.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && g(this.formatLanguageCode(t)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && g(this.getScriptPartFromCode(t)), this.options.load !== "currentOnly" && g(this.getLanguagePartFromCode(t))) : lt(t) && g(this.formatLanguageCode(t)), h.forEach((n) => { + S.indexOf(n) < 0 && g(this.formatLanguageCode(n)); + }), S; } } -const nu = { +const K0 = { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 -}, ou = { +}, W0 = { select: (e) => e === 1 ? "one" : "other", resolvedOptions: () => ({ pluralCategories: ["one", "other"] }) }; -class Gp { - constructor(o, g = {}) { - this.languageUtils = o, this.options = g, this.logger = tn.create("pluralResolver"), this.pluralRulesCache = {}; +class Y3 { + constructor(t, c = {}) { + this.languageUtils = t, this.options = c, this.logger = qn.create("pluralResolver"), this.pluralRulesCache = {}; } - addRule(o, g) { - this.rules[o] = g; + addRule(t, c) { + this.rules[t] = c; } clearCache() { this.pluralRulesCache = {}; } - getRule(o, g = {}) { - const C = To(o === "dev" ? "en" : o), P = g.ordinal ? "ordinal" : "cardinal", x = JSON.stringify({ - cleanedCode: C, - type: P + getRule(t, c = {}) { + const h = pi(t === "dev" ? "en" : t), S = c.ordinal ? "ordinal" : "cardinal", g = JSON.stringify({ + cleanedCode: h, + type: S }); - if (x in this.pluralRulesCache) - return this.pluralRulesCache[x]; + if (g in this.pluralRulesCache) + return this.pluralRulesCache[g]; let n; try { - n = new Intl.PluralRules(C, { - type: P + n = new Intl.PluralRules(h, { + type: S }); } catch { if (!Intl) - return this.logger.error("No Intl support, please use an Intl polyfill!"), ou; - if (!o.match(/-|_/)) return ou; - const r = this.languageUtils.getLanguagePartFromCode(o); - n = this.getRule(r, g); + return this.logger.error("No Intl support, please use an Intl polyfill!"), W0; + if (!t.match(/-|_/)) return W0; + const r = this.languageUtils.getLanguagePartFromCode(t); + n = this.getRule(r, c); } - return this.pluralRulesCache[x] = n, n; + return this.pluralRulesCache[g] = n, n; } - needsPlural(o, g = {}) { - let C = this.getRule(o, g); - return C || (C = this.getRule("dev", g)), C?.resolvedOptions().pluralCategories.length > 1; + needsPlural(t, c = {}) { + let h = this.getRule(t, c); + return h || (h = this.getRule("dev", c)), h?.resolvedOptions().pluralCategories.length > 1; } - getPluralFormsOfKey(o, g, C = {}) { - return this.getSuffixes(o, C).map((P) => `${g}${P}`); + getPluralFormsOfKey(t, c, h = {}) { + return this.getSuffixes(t, h).map((S) => `${c}${S}`); } - getSuffixes(o, g = {}) { - let C = this.getRule(o, g); - return C || (C = this.getRule("dev", g)), C ? C.resolvedOptions().pluralCategories.sort((P, x) => nu[P] - nu[x]).map((P) => `${this.options.prepend}${g.ordinal ? `ordinal${this.options.prepend}` : ""}${P}`) : []; + getSuffixes(t, c = {}) { + let h = this.getRule(t, c); + return h || (h = this.getRule("dev", c)), h ? h.resolvedOptions().pluralCategories.sort((S, g) => K0[S] - K0[g]).map((S) => `${this.options.prepend}${c.ordinal ? `ordinal${this.options.prepend}` : ""}${S}`) : []; } - getSuffix(o, g, C = {}) { - const P = this.getRule(o, C); - return P ? `${this.options.prepend}${C.ordinal ? `ordinal${this.options.prepend}` : ""}${P.select(g)}` : (this.logger.warn(`no plural rule found for: ${o}`), this.getSuffix("dev", g, C)); + getSuffix(t, c, h = {}) { + const S = this.getRule(t, h); + return S ? `${this.options.prepend}${h.ordinal ? `ordinal${this.options.prepend}` : ""}${S.select(c)}` : (this.logger.warn(`no plural rule found for: ${t}`), this.getSuffix("dev", c, h)); } } -const iu = (e, o, g, C = ".", P = !0) => { - let x = Vp(e, o, g); - return !x && P && gt(g) && (x = Ka(e, g, C), x === void 0 && (x = Ka(o, g, C))), x; -}, _a = (e) => e.replace(/\$/g, "$$$$"); -class qp { - constructor(o = {}) { - this.logger = tn.create("interpolator"), this.options = o, this.format = o?.interpolation?.format || ((g) => g), this.init(o); +const J0 = (e, t, c, h = ".", S = !0) => { + let g = z3(e, t, c); + return !g && S && lt(c) && (g = nc(e, c, h), g === void 0 && (g = nc(t, c, h))), g; +}, Ps = (e) => e.replace(/\$/g, "$$$$"); +class X3 { + constructor(t = {}) { + this.logger = qn.create("interpolator"), this.options = t, this.format = t?.interpolation?.format || ((c) => c), this.init(t); } - init(o = {}) { - o.interpolation || (o.interpolation = { + init(t = {}) { + t.interpolation || (t.interpolation = { escapeValue: !0 }); const { - escape: g, - escapeValue: C, - useRawValueToEscape: P, - prefix: x, + escape: c, + escapeValue: h, + useRawValueToEscape: S, + prefix: g, prefixEscaped: n, - suffix: c, + suffix: s, suffixEscaped: r, - formatSeparator: a, + formatSeparator: o, unescapeSuffix: i, - unescapePrefix: m, - nestingPrefix: t, + unescapePrefix: p, + nestingPrefix: a, nestingPrefixEscaped: f, - nestingSuffix: b, - nestingSuffixEscaped: y, - nestingOptionsSeparator: u, - maxReplaces: d, + nestingSuffix: C, + nestingSuffixEscaped: w, + nestingOptionsSeparator: m, + maxReplaces: v, alwaysFormat: l - } = o.interpolation; - this.escape = g !== void 0 ? g : zp, this.escapeValue = C !== void 0 ? C : !0, this.useRawValueToEscape = P !== void 0 ? P : !1, this.prefix = x ? Kn(x) : n || "{{", this.suffix = c ? Kn(c) : r || "}}", this.formatSeparator = a || ",", this.unescapePrefix = i ? "" : m || "-", this.unescapeSuffix = this.unescapePrefix ? "" : i || "", this.nestingPrefix = t ? Kn(t) : f || Kn("$t("), this.nestingSuffix = b ? Kn(b) : y || Kn(")"), this.nestingOptionsSeparator = u || ",", this.maxReplaces = d || 1e3, this.alwaysFormat = l !== void 0 ? l : !1, this.resetRegExp(); + } = t.interpolation; + this.escape = c !== void 0 ? c : W3, this.escapeValue = h !== void 0 ? h : !0, this.useRawValueToEscape = S !== void 0 ? S : !1, this.prefix = g ? Co(g) : n || "{{", this.suffix = s ? Co(s) : r || "}}", this.formatSeparator = o || ",", this.unescapePrefix = i ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : i || "", this.nestingPrefix = a ? Co(a) : f || Co("$t("), this.nestingSuffix = C ? Co(C) : w || Co(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = v || 1e3, this.alwaysFormat = l !== void 0 ? l : !1, this.resetRegExp(); } reset() { this.options && this.init(this.options); } resetRegExp() { - const o = (g, C) => g?.source === C ? (g.lastIndex = 0, g) : new RegExp(C, "g"); - this.regexp = o(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = o(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = o(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`); + const t = (c, h) => c?.source === h ? (c.lastIndex = 0, c) : new RegExp(h, "g"); + this.regexp = t(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = t(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = t(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`); } - interpolate(o, g, C, P) { - let x, n, c; - const r = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, a = (f) => { + interpolate(t, c, h, S) { + let g, n, s; + const r = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, o = (f) => { if (f.indexOf(this.formatSeparator) < 0) { - const d = iu(g, r, f, this.options.keySeparator, this.options.ignoreJSONStructure); - return this.alwaysFormat ? this.format(d, void 0, C, { - ...P, - ...g, + const v = J0(c, r, f, this.options.keySeparator, this.options.ignoreJSONStructure); + return this.alwaysFormat ? this.format(v, void 0, h, { + ...S, + ...c, interpolationkey: f - }) : d; + }) : v; } - const b = f.split(this.formatSeparator), y = b.shift().trim(), u = b.join(this.formatSeparator).trim(); - return this.format(iu(g, r, y, this.options.keySeparator, this.options.ignoreJSONStructure), u, C, { - ...P, - ...g, - interpolationkey: y + const C = f.split(this.formatSeparator), w = C.shift().trim(), m = C.join(this.formatSeparator).trim(); + return this.format(J0(c, r, w, this.options.keySeparator, this.options.ignoreJSONStructure), m, h, { + ...S, + ...c, + interpolationkey: w }); }; this.resetRegExp(); - const i = P?.missingInterpolationHandler || this.options.missingInterpolationHandler, m = P?.interpolation?.skipOnVariables !== void 0 ? P.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; + const i = S?.missingInterpolationHandler || this.options.missingInterpolationHandler, p = S?.interpolation?.skipOnVariables !== void 0 ? S.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; return [{ regex: this.regexpUnescape, - safeValue: (f) => _a(f) + safeValue: (f) => Ps(f) }, { regex: this.regexp, - safeValue: (f) => this.escapeValue ? _a(this.escape(f)) : _a(f) + safeValue: (f) => this.escapeValue ? Ps(this.escape(f)) : Ps(f) }].forEach((f) => { - for (c = 0; x = f.regex.exec(o); ) { - const b = x[1].trim(); - if (n = a(b), n === void 0) + for (s = 0; g = f.regex.exec(t); ) { + const C = g[1].trim(); + if (n = o(C), n === void 0) if (typeof i == "function") { - const u = i(o, x, P); - n = gt(u) ? u : ""; - } else if (P && Object.prototype.hasOwnProperty.call(P, b)) + const m = i(t, g, S); + n = lt(m) ? m : ""; + } else if (S && Object.prototype.hasOwnProperty.call(S, C)) n = ""; - else if (m) { - n = x[0]; + else if (p) { + n = g[0]; continue; } else - this.logger.warn(`missed to pass in variable ${b} for interpolating ${o}`), n = ""; - else !gt(n) && !this.useRawValueToEscape && (n = q0(n)); - const y = f.safeValue(n); - if (o = o.replace(x[0], y), m ? (f.regex.lastIndex += n.length, f.regex.lastIndex -= x[0].length) : f.regex.lastIndex = 0, c++, c >= this.maxReplaces) + this.logger.warn(`missed to pass in variable ${C} for interpolating ${t}`), n = ""; + else !lt(n) && !this.useRawValueToEscape && (n = k0(n)); + const w = f.safeValue(n); + if (t = t.replace(g[0], w), p ? (f.regex.lastIndex += n.length, f.regex.lastIndex -= g[0].length) : f.regex.lastIndex = 0, s++, s >= this.maxReplaces) break; } - }), o; + }), t; } - nest(o, g, C = {}) { - let P, x, n; - const c = (r, a) => { + nest(t, c, h = {}) { + let S, g, n; + const s = (r, o) => { const i = this.nestingOptionsSeparator; if (r.indexOf(i) < 0) return r; - const m = r.split(new RegExp(`${i}[ ]*{`)); - let t = `{${m[1]}`; - r = m[0], t = this.interpolate(t, n); - const f = t.match(/'/g), b = t.match(/"/g); - ((f?.length ?? 0) % 2 === 0 && !b || b.length % 2 !== 0) && (t = t.replace(/'/g, '"')); + const p = r.split(new RegExp(`${i}[ ]*{`)); + let a = `{${p[1]}`; + r = p[0], a = this.interpolate(a, n); + const f = a.match(/'/g), C = a.match(/"/g); + ((f?.length ?? 0) % 2 === 0 && !C || C.length % 2 !== 0) && (a = a.replace(/'/g, '"')); try { - n = JSON.parse(t), a && (n = { - ...a, + n = JSON.parse(a), o && (n = { + ...o, ...n }); - } catch (y) { - return this.logger.warn(`failed parsing options string in nesting for key ${r}`, y), `${r}${i}${t}`; + } catch (w) { + return this.logger.warn(`failed parsing options string in nesting for key ${r}`, w), `${r}${i}${a}`; } return n.defaultValue && n.defaultValue.indexOf(this.prefix) > -1 && delete n.defaultValue, r; }; - for (; P = this.nestingRegexp.exec(o); ) { + for (; S = this.nestingRegexp.exec(t); ) { let r = []; n = { - ...C - }, n = n.replace && !gt(n.replace) ? n.replace : n, n.applyPostProcessor = !1, delete n.defaultValue; - const a = /{.*}/.test(P[1]) ? P[1].lastIndexOf("}") + 1 : P[1].indexOf(this.formatSeparator); - if (a !== -1 && (r = P[1].slice(a).split(this.formatSeparator).map((i) => i.trim()).filter(Boolean), P[1] = P[1].slice(0, a)), x = g(c.call(this, P[1].trim(), n), n), x && P[0] === o && !gt(x)) return x; - gt(x) || (x = q0(x)), x || (this.logger.warn(`missed to resolve ${P[1]} for nesting ${o}`), x = ""), r.length && (x = r.reduce((i, m) => this.format(i, m, C.lng, { - ...C, - interpolationkey: P[1].trim() - }), x.trim())), o = o.replace(P[0], x), this.regexp.lastIndex = 0; + ...h + }, n = n.replace && !lt(n.replace) ? n.replace : n, n.applyPostProcessor = !1, delete n.defaultValue; + const o = /{.*}/.test(S[1]) ? S[1].lastIndexOf("}") + 1 : S[1].indexOf(this.formatSeparator); + if (o !== -1 && (r = S[1].slice(o).split(this.formatSeparator).map((i) => i.trim()).filter(Boolean), S[1] = S[1].slice(0, o)), g = c(s.call(this, S[1].trim(), n), n), g && S[0] === t && !lt(g)) return g; + lt(g) || (g = k0(g)), g || (this.logger.warn(`missed to resolve ${S[1]} for nesting ${t}`), g = ""), r.length && (g = r.reduce((i, p) => this.format(i, p, h.lng, { + ...h, + interpolationkey: S[1].trim() + }), g.trim())), t = t.replace(S[0], g), this.regexp.lastIndex = 0; } - return o; + return t; } } -const Zp = (e) => { - let o = e.toLowerCase().trim(); - const g = {}; +const Q3 = (e) => { + let t = e.toLowerCase().trim(); + const c = {}; if (e.indexOf("(") > -1) { - const C = e.split("("); - o = C[0].toLowerCase().trim(); - const P = C[1].substring(0, C[1].length - 1); - o === "currency" && P.indexOf(":") < 0 ? g.currency || (g.currency = P.trim()) : o === "relativetime" && P.indexOf(":") < 0 ? g.range || (g.range = P.trim()) : P.split(";").forEach((n) => { + const h = e.split("("); + t = h[0].toLowerCase().trim(); + const S = h[1].substring(0, h[1].length - 1); + t === "currency" && S.indexOf(":") < 0 ? c.currency || (c.currency = S.trim()) : t === "relativetime" && S.indexOf(":") < 0 ? c.range || (c.range = S.trim()) : S.split(";").forEach((n) => { if (n) { - const [c, ...r] = n.split(":"), a = r.join(":").trim().replace(/^'+|'+$/g, ""), i = c.trim(); - g[i] || (g[i] = a), a === "false" && (g[i] = !1), a === "true" && (g[i] = !0), isNaN(a) || (g[i] = parseInt(a, 10)); + const [s, ...r] = n.split(":"), o = r.join(":").trim().replace(/^'+|'+$/g, ""), i = s.trim(); + c[i] || (c[i] = o), o === "false" && (c[i] = !1), o === "true" && (c[i] = !0), isNaN(o) || (c[i] = parseInt(o, 10)); } }); } return { - formatName: o, - formatOptions: g + formatName: t, + formatOptions: c }; -}, au = (e) => { - const o = {}; - return (g, C, P) => { - let x = P; - P && P.interpolationkey && P.formatParams && P.formatParams[P.interpolationkey] && P[P.interpolationkey] && (x = { - ...x, - [P.interpolationkey]: void 0 +}, $0 = (e) => { + const t = {}; + return (c, h, S) => { + let g = S; + S && S.interpolationkey && S.formatParams && S.formatParams[S.interpolationkey] && S[S.interpolationkey] && (g = { + ...g, + [S.interpolationkey]: void 0 }); - const n = C + JSON.stringify(x); - let c = o[n]; - return c || (c = e(To(C), P), o[n] = c), c(g); + const n = h + JSON.stringify(g); + let s = t[n]; + return s || (s = e(pi(h), S), t[n] = s), s(c); }; -}, Xp = (e) => (o, g, C) => e(To(g), C)(o); -class Yp { - constructor(o = {}) { - this.logger = tn.create("formatter"), this.options = o, this.init(o); +}, eg = (e) => (t, c, h) => e(pi(c), h)(t); +class tg { + constructor(t = {}) { + this.logger = qn.create("formatter"), this.options = t, this.init(t); } - init(o, g = { + init(t, c = { interpolation: {} }) { - this.formatSeparator = g.interpolation.formatSeparator || ","; - const C = g.cacheInBuiltFormats ? au : Xp; + this.formatSeparator = c.interpolation.formatSeparator || ","; + const h = c.cacheInBuiltFormats ? $0 : eg; this.formats = { - number: C((P, x) => { - const n = new Intl.NumberFormat(P, { - ...x + number: h((S, g) => { + const n = new Intl.NumberFormat(S, { + ...g }); - return (c) => n.format(c); + return (s) => n.format(s); }), - currency: C((P, x) => { - const n = new Intl.NumberFormat(P, { - ...x, + currency: h((S, g) => { + const n = new Intl.NumberFormat(S, { + ...g, style: "currency" }); - return (c) => n.format(c); + return (s) => n.format(s); }), - datetime: C((P, x) => { - const n = new Intl.DateTimeFormat(P, { - ...x + datetime: h((S, g) => { + const n = new Intl.DateTimeFormat(S, { + ...g }); - return (c) => n.format(c); + return (s) => n.format(s); }), - relativetime: C((P, x) => { - const n = new Intl.RelativeTimeFormat(P, { - ...x + relativetime: h((S, g) => { + const n = new Intl.RelativeTimeFormat(S, { + ...g }); - return (c) => n.format(c, x.range || "day"); + return (s) => n.format(s, g.range || "day"); }), - list: C((P, x) => { - const n = new Intl.ListFormat(P, { - ...x + list: h((S, g) => { + const n = new Intl.ListFormat(S, { + ...g }); - return (c) => n.format(c); + return (s) => n.format(s); }) }; } - add(o, g) { - this.formats[o.toLowerCase().trim()] = g; + add(t, c) { + this.formats[t.toLowerCase().trim()] = c; } - addCached(o, g) { - this.formats[o.toLowerCase().trim()] = au(g); + addCached(t, c) { + this.formats[t.toLowerCase().trim()] = $0(c); } - format(o, g, C, P = {}) { - const x = g.split(this.formatSeparator); - if (x.length > 1 && x[0].indexOf("(") > 1 && x[0].indexOf(")") < 0 && x.find((c) => c.indexOf(")") > -1)) { - const c = x.findIndex((r) => r.indexOf(")") > -1); - x[0] = [x[0], ...x.splice(1, c)].join(this.formatSeparator); + format(t, c, h, S = {}) { + const g = c.split(this.formatSeparator); + if (g.length > 1 && g[0].indexOf("(") > 1 && g[0].indexOf(")") < 0 && g.find((s) => s.indexOf(")") > -1)) { + const s = g.findIndex((r) => r.indexOf(")") > -1); + g[0] = [g[0], ...g.splice(1, s)].join(this.formatSeparator); } - return x.reduce((c, r) => { + return g.reduce((s, r) => { const { - formatName: a, + formatName: o, formatOptions: i - } = Zp(r); - if (this.formats[a]) { - let m = c; + } = Q3(r); + if (this.formats[o]) { + let p = s; try { - const t = P?.formatParams?.[P.interpolationkey] || {}, f = t.locale || t.lng || P.locale || P.lng || C; - m = this.formats[a](c, f, { + const a = S?.formatParams?.[S.interpolationkey] || {}, f = a.locale || a.lng || S.locale || S.lng || h; + p = this.formats[o](s, f, { ...i, - ...P, - ...t + ...S, + ...a }); - } catch (t) { - this.logger.warn(t); + } catch (a) { + this.logger.warn(a); } - return m; + return p; } else - this.logger.warn(`there was no format function for ${a}`); - return c; - }, o); + this.logger.warn(`there was no format function for ${o}`); + return s; + }, t); } } -const Qp = (e, o) => { - e.pending[o] !== void 0 && (delete e.pending[o], e.pendingCount--); +const ng = (e, t) => { + e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--); }; -class e3 extends Xi { - constructor(o, g, C, P = {}) { - super(), this.backend = o, this.store = g, this.services = C, this.languageUtils = C.languageUtils, this.options = P, this.logger = tn.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = P.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = P.maxRetries >= 0 ? P.maxRetries : 5, this.retryTimeout = P.retryTimeout >= 1 ? P.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(C, P.backend, P); +class rg extends Ya { + constructor(t, c, h, S = {}) { + super(), this.backend = t, this.store = c, this.services = h, this.languageUtils = h.languageUtils, this.options = S, this.logger = qn.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = S.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = S.maxRetries >= 0 ? S.maxRetries : 5, this.retryTimeout = S.retryTimeout >= 1 ? S.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(h, S.backend, S); } - queueLoad(o, g, C, P) { - const x = {}, n = {}, c = {}, r = {}; - return o.forEach((a) => { + queueLoad(t, c, h, S) { + const g = {}, n = {}, s = {}, r = {}; + return t.forEach((o) => { let i = !0; - g.forEach((m) => { - const t = `${a}|${m}`; - !C.reload && this.store.hasResourceBundle(a, m) ? this.state[t] = 2 : this.state[t] < 0 || (this.state[t] === 1 ? n[t] === void 0 && (n[t] = !0) : (this.state[t] = 1, i = !1, n[t] === void 0 && (n[t] = !0), x[t] === void 0 && (x[t] = !0), r[m] === void 0 && (r[m] = !0))); - }), i || (c[a] = !0); - }), (Object.keys(x).length || Object.keys(n).length) && this.queue.push({ + c.forEach((p) => { + const a = `${o}|${p}`; + !h.reload && this.store.hasResourceBundle(o, p) ? this.state[a] = 2 : this.state[a] < 0 || (this.state[a] === 1 ? n[a] === void 0 && (n[a] = !0) : (this.state[a] = 1, i = !1, n[a] === void 0 && (n[a] = !0), g[a] === void 0 && (g[a] = !0), r[p] === void 0 && (r[p] = !0))); + }), i || (s[o] = !0); + }), (Object.keys(g).length || Object.keys(n).length) && this.queue.push({ pending: n, pendingCount: Object.keys(n).length, loaded: {}, errors: [], - callback: P + callback: S }), { - toLoad: Object.keys(x), + toLoad: Object.keys(g), pending: Object.keys(n), - toLoadLanguages: Object.keys(c), + toLoadLanguages: Object.keys(s), toLoadNamespaces: Object.keys(r) }; } - loaded(o, g, C) { - const P = o.split("|"), x = P[0], n = P[1]; - g && this.emit("failedLoading", x, n, g), !g && C && this.store.addResourceBundle(x, n, C, void 0, void 0, { + loaded(t, c, h) { + const S = t.split("|"), g = S[0], n = S[1]; + c && this.emit("failedLoading", g, n, c), !c && h && this.store.addResourceBundle(g, n, h, void 0, void 0, { skipCopy: !0 - }), this.state[o] = g ? -1 : 2, g && C && (this.state[o] = 0); - const c = {}; + }), this.state[t] = c ? -1 : 2, c && h && (this.state[t] = 0); + const s = {}; this.queue.forEach((r) => { - Dp(r.loaded, [x], n), Qp(r, o), g && r.errors.push(g), r.pendingCount === 0 && !r.done && (Object.keys(r.loaded).forEach((a) => { - c[a] || (c[a] = {}); - const i = r.loaded[a]; - i.length && i.forEach((m) => { - c[a][m] === void 0 && (c[a][m] = !0); + F3(r.loaded, [g], n), ng(r, t), c && r.errors.push(c), r.pendingCount === 0 && !r.done && (Object.keys(r.loaded).forEach((o) => { + s[o] || (s[o] = {}); + const i = r.loaded[o]; + i.length && i.forEach((p) => { + s[o][p] === void 0 && (s[o][p] = !0); }); }), r.done = !0, r.errors.length ? r.callback(r.errors) : r.callback()); - }), this.emit("loaded", c), this.queue = this.queue.filter((r) => !r.done); + }), this.emit("loaded", s), this.queue = this.queue.filter((r) => !r.done); } - read(o, g, C, P = 0, x = this.retryTimeout, n) { - if (!o.length) return n(null, {}); + read(t, c, h, S = 0, g = this.retryTimeout, n) { + if (!t.length) return n(null, {}); if (this.readingCalls >= this.maxParallelReads) { this.waitingReads.push({ - lng: o, - ns: g, - fcName: C, - tried: P, - wait: x, + lng: t, + ns: c, + fcName: h, + tried: S, + wait: g, callback: n }); return; } this.readingCalls++; - const c = (a, i) => { + const s = (o, i) => { if (this.readingCalls--, this.waitingReads.length > 0) { - const m = this.waitingReads.shift(); - this.read(m.lng, m.ns, m.fcName, m.tried, m.wait, m.callback); + const p = this.waitingReads.shift(); + this.read(p.lng, p.ns, p.fcName, p.tried, p.wait, p.callback); } - if (a && i && P < this.maxRetries) { + if (o && i && S < this.maxRetries) { setTimeout(() => { - this.read.call(this, o, g, C, P + 1, x * 2, n); - }, x); + this.read.call(this, t, c, h, S + 1, g * 2, n); + }, g); return; } - n(a, i); - }, r = this.backend[C].bind(this.backend); + n(o, i); + }, r = this.backend[h].bind(this.backend); if (r.length === 2) { try { - const a = r(o, g); - a && typeof a.then == "function" ? a.then((i) => c(null, i)).catch(c) : c(null, a); - } catch (a) { - c(a); + const o = r(t, c); + o && typeof o.then == "function" ? o.then((i) => s(null, i)).catch(s) : s(null, o); + } catch (o) { + s(o); } return; } - return r(o, g, c); + return r(t, c, s); } - prepareLoading(o, g, C = {}, P) { + prepareLoading(t, c, h = {}, S) { if (!this.backend) - return this.logger.warn("No backend was added via i18next.use. Will not load resources."), P && P(); - gt(o) && (o = this.languageUtils.toResolveHierarchy(o)), gt(g) && (g = [g]); - const x = this.queueLoad(o, g, C, P); - if (!x.toLoad.length) - return x.pending.length || P(), null; - x.toLoad.forEach((n) => { + return this.logger.warn("No backend was added via i18next.use. Will not load resources."), S && S(); + lt(t) && (t = this.languageUtils.toResolveHierarchy(t)), lt(c) && (c = [c]); + const g = this.queueLoad(t, c, h, S); + if (!g.toLoad.length) + return g.pending.length || S(), null; + g.toLoad.forEach((n) => { this.loadOne(n); }); } - load(o, g, C) { - this.prepareLoading(o, g, {}, C); + load(t, c, h) { + this.prepareLoading(t, c, {}, h); } - reload(o, g, C) { - this.prepareLoading(o, g, { + reload(t, c, h) { + this.prepareLoading(t, c, { reload: !0 - }, C); + }, h); } - loadOne(o, g = "") { - const C = o.split("|"), P = C[0], x = C[1]; - this.read(P, x, "read", void 0, void 0, (n, c) => { - n && this.logger.warn(`${g}loading namespace ${x} for language ${P} failed`, n), !n && c && this.logger.log(`${g}loaded namespace ${x} for language ${P}`, c), this.loaded(o, n, c); + loadOne(t, c = "") { + const h = t.split("|"), S = h[0], g = h[1]; + this.read(S, g, "read", void 0, void 0, (n, s) => { + n && this.logger.warn(`${c}loading namespace ${g} for language ${S} failed`, n), !n && s && this.logger.log(`${c}loaded namespace ${g} for language ${S}`, s), this.loaded(t, n, s); }); } - saveMissing(o, g, C, P, x, n = {}, c = () => { + saveMissing(t, c, h, S, g, n = {}, s = () => { }) { - if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(g)) { - this.logger.warn(`did not save key "${C}" as the namespace "${g}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"); + if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(c)) { + this.logger.warn(`did not save key "${h}" as the namespace "${c}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"); return; } - if (!(C == null || C === "")) { + if (!(h == null || h === "")) { if (this.backend?.create) { const r = { ...n, - isUpdate: x - }, a = this.backend.create.bind(this.backend); - if (a.length < 6) + isUpdate: g + }, o = this.backend.create.bind(this.backend); + if (o.length < 6) try { let i; - a.length === 5 ? i = a(o, g, C, P, r) : i = a(o, g, C, P), i && typeof i.then == "function" ? i.then((m) => c(null, m)).catch(c) : c(null, i); + o.length === 5 ? i = o(t, c, h, S, r) : i = o(t, c, h, S), i && typeof i.then == "function" ? i.then((p) => s(null, p)).catch(s) : s(null, i); } catch (i) { - c(i); + s(i); } else - a(o, g, C, P, c, r); + o(t, c, h, S, s, r); } - !o || !o[0] || this.store.addResource(o[0], g, C, P); + !t || !t[0] || this.store.addResource(t[0], c, h, S); } } } -const su = () => ({ +const G0 = () => ({ debug: !1, initAsync: !0, ns: ["translation"], @@ -6405,14 +6405,14 @@ const su = () => ({ appendNamespaceToMissingKey: !1, appendNamespaceToCIMode: !1, overloadTranslationOptionHandler: (e) => { - let o = {}; - if (typeof e[1] == "object" && (o = e[1]), gt(e[1]) && (o.defaultValue = e[1]), gt(e[2]) && (o.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") { - const g = e[3] || e[2]; - Object.keys(g).forEach((C) => { - o[C] = g[C]; + let t = {}; + if (typeof e[1] == "object" && (t = e[1]), lt(e[1]) && (t.defaultValue = e[1]), lt(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") { + const c = e[3] || e[2]; + Object.keys(c).forEach((h) => { + t[h] = c[h]; }); } - return o; + return t; }, interpolation: { escapeValue: !0, @@ -6428,228 +6428,228 @@ const su = () => ({ skipOnVariables: !0 }, cacheInBuiltFormats: !0 -}), uu = (e) => (gt(e.ns) && (e.ns = [e.ns]), gt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), gt(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), si = () => { -}, t3 = (e) => { - Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((g) => { - typeof e[g] == "function" && (e[g] = e[g].bind(e)); +}), q0 = (e) => (lt(e.ns) && (e.ns = [e.ns]), lt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), lt(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), Ji = () => { +}, og = (e) => { + Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((c) => { + typeof e[c] == "function" && (e[c] = e[c].bind(e)); }); }; -class Io extends Xi { - constructor(o = {}, g) { - if (super(), this.options = uu(o), this.services = {}, this.logger = tn, this.modules = { +class hi extends Ya { + constructor(t = {}, c) { + if (super(), this.options = q0(t), this.services = {}, this.logger = qn, this.modules = { external: [] - }, t3(this), g && !this.isInitialized && !o.isClone) { + }, og(this), c && !this.isInitialized && !t.isClone) { if (!this.options.initAsync) - return this.init(o, g), this; + return this.init(t, c), this; setTimeout(() => { - this.init(o, g); + this.init(t, c); }, 0); } } - init(o = {}, g) { - this.isInitializing = !0, typeof o == "function" && (g = o, o = {}), o.defaultNS == null && o.ns && (gt(o.ns) ? o.defaultNS = o.ns : o.ns.indexOf("translation") < 0 && (o.defaultNS = o.ns[0])); - const C = su(); + init(t = {}, c) { + this.isInitializing = !0, typeof t == "function" && (c = t, t = {}), t.defaultNS == null && t.ns && (lt(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0])); + const h = G0(); this.options = { - ...C, + ...h, ...this.options, - ...uu(o) + ...q0(t) }, this.options.interpolation = { - ...C.interpolation, + ...h.interpolation, ...this.options.interpolation - }, o.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = o.keySeparator), o.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = o.nsSeparator); - const P = (a) => a ? typeof a == "function" ? new a() : a : null; + }, t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator); + const S = (o) => o ? typeof o == "function" ? new o() : o : null; if (!this.options.isClone) { - this.modules.logger ? tn.init(P(this.modules.logger), this.options) : tn.init(null, this.options); - let a; - this.modules.formatter ? a = this.modules.formatter : a = Yp; - const i = new ru(this.options); - this.store = new Q0(this.options.resources, this.options); - const m = this.services; - m.logger = tn, m.resourceStore = this.store, m.languageUtils = i, m.pluralResolver = new Gp(i, { + this.modules.logger ? qn.init(S(this.modules.logger), this.options) : qn.init(null, this.options); + let o; + this.modules.formatter ? o = this.modules.formatter : o = tg; + const i = new z0(this.options); + this.store = new V0(this.options.resources, this.options); + const p = this.services; + p.logger = qn, p.resourceStore = this.store, p.languageUtils = i, p.pluralResolver = new Y3(i, { prepend: this.options.pluralSeparator, simplifyPluralSuffix: this.options.simplifyPluralSuffix - }), this.options.interpolation.format && this.options.interpolation.format !== C.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), a && (!this.options.interpolation.format || this.options.interpolation.format === C.interpolation.format) && (m.formatter = P(a), m.formatter.init && m.formatter.init(m, this.options), this.options.interpolation.format = m.formatter.format.bind(m.formatter)), m.interpolator = new qp(this.options), m.utils = { + }), this.options.interpolation.format && this.options.interpolation.format !== h.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), o && (!this.options.interpolation.format || this.options.interpolation.format === h.interpolation.format) && (p.formatter = S(o), p.formatter.init && p.formatter.init(p, this.options), this.options.interpolation.format = p.formatter.format.bind(p.formatter)), p.interpolator = new X3(this.options), p.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) - }, m.backendConnector = new e3(P(this.modules.backend), m.resourceStore, m, this.options), m.backendConnector.on("*", (f, ...b) => { - this.emit(f, ...b); - }), this.modules.languageDetector && (m.languageDetector = P(this.modules.languageDetector), m.languageDetector.init && m.languageDetector.init(m, this.options.detection, this.options)), this.modules.i18nFormat && (m.i18nFormat = P(this.modules.i18nFormat), m.i18nFormat.init && m.i18nFormat.init(this)), this.translator = new Ri(this.services, this.options), this.translator.on("*", (f, ...b) => { - this.emit(f, ...b); + }, p.backendConnector = new rg(S(this.modules.backend), p.resourceStore, p, this.options), p.backendConnector.on("*", (f, ...C) => { + this.emit(f, ...C); + }), this.modules.languageDetector && (p.languageDetector = S(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = S(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new Ma(this.services, this.options), this.translator.on("*", (f, ...C) => { + this.emit(f, ...C); }), this.modules.external.forEach((f) => { f.init && f.init(this); }); } - if (this.format = this.options.interpolation.format, g || (g = si), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { - const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); - a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]); + if (this.format = this.options.interpolation.format, c || (c = Ji), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { + const o = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); + o.length > 0 && o[0] !== "dev" && (this.options.lng = o[0]); } - !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((a) => { - this[a] = (...i) => this.store[a](...i); - }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((a) => { - this[a] = (...i) => (this.store[a](...i), this); + !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((o) => { + this[o] = (...i) => this.store[o](...i); + }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((o) => { + this[o] = (...i) => (this.store[o](...i), this); }); - const c = mo(), r = () => { - const a = (i, m) => { - this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), c.resolve(m), g(i, m); + const s = Xo(), r = () => { + const o = (i, p) => { + this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), s.resolve(p), c(i, p); }; - if (this.languages && !this.isInitialized) return a(null, this.t.bind(this)); - this.changeLanguage(this.options.lng, a); + if (this.languages && !this.isInitialized) return o(null, this.t.bind(this)); + this.changeLanguage(this.options.lng, o); }; - return this.options.resources || !this.options.initAsync ? r() : setTimeout(r, 0), c; - } - loadResources(o, g = si) { - let C = g; - const P = gt(o) ? o : this.language; - if (typeof o == "function" && (C = o), !this.options.resources || this.options.partialBundledLanguages) { - if (P?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return C(); - const x = [], n = (c) => { - if (!c || c === "cimode") return; - this.services.languageUtils.toResolveHierarchy(c).forEach((a) => { - a !== "cimode" && x.indexOf(a) < 0 && x.push(a); + return this.options.resources || !this.options.initAsync ? r() : setTimeout(r, 0), s; + } + loadResources(t, c = Ji) { + let h = c; + const S = lt(t) ? t : this.language; + if (typeof t == "function" && (h = t), !this.options.resources || this.options.partialBundledLanguages) { + if (S?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return h(); + const g = [], n = (s) => { + if (!s || s === "cimode") return; + this.services.languageUtils.toResolveHierarchy(s).forEach((o) => { + o !== "cimode" && g.indexOf(o) < 0 && g.push(o); }); }; - P ? n(P) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((r) => n(r)), this.options.preload?.forEach?.((c) => n(c)), this.services.backendConnector.load(x, this.options.ns, (c) => { - !c && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), C(c); + S ? n(S) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((r) => n(r)), this.options.preload?.forEach?.((s) => n(s)), this.services.backendConnector.load(g, this.options.ns, (s) => { + !s && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), h(s); }); } else - C(null); - } - reloadResources(o, g, C) { - const P = mo(); - return typeof o == "function" && (C = o, o = void 0), typeof g == "function" && (C = g, g = void 0), o || (o = this.languages), g || (g = this.options.ns), C || (C = si), this.services.backendConnector.reload(o, g, (x) => { - P.resolve(), C(x); - }), P; - } - use(o) { - if (!o) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); - if (!o.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); - return o.type === "backend" && (this.modules.backend = o), (o.type === "logger" || o.log && o.warn && o.error) && (this.modules.logger = o), o.type === "languageDetector" && (this.modules.languageDetector = o), o.type === "i18nFormat" && (this.modules.i18nFormat = o), o.type === "postProcessor" && Rl.addPostProcessor(o), o.type === "formatter" && (this.modules.formatter = o), o.type === "3rdParty" && this.modules.external.push(o), this; - } - setResolvedLanguage(o) { - if (!(!o || !this.languages) && !(["cimode", "dev"].indexOf(o) > -1)) { - for (let g = 0; g < this.languages.length; g++) { - const C = this.languages[g]; - if (!(["cimode", "dev"].indexOf(C) > -1) && this.store.hasLanguageSomeTranslations(C)) { - this.resolvedLanguage = C; + h(null); + } + reloadResources(t, c, h) { + const S = Xo(); + return typeof t == "function" && (h = t, t = void 0), typeof c == "function" && (h = c, c = void 0), t || (t = this.languages), c || (c = this.options.ns), h || (h = Ji), this.services.backendConnector.reload(t, c, (g) => { + S.resolve(), h(g); + }), S; + } + use(t) { + if (!t) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); + if (!t.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); + return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Fd.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this; + } + setResolvedLanguage(t) { + if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1)) { + for (let c = 0; c < this.languages.length; c++) { + const h = this.languages[c]; + if (!(["cimode", "dev"].indexOf(h) > -1) && this.store.hasLanguageSomeTranslations(h)) { + this.resolvedLanguage = h; break; } } - !this.resolvedLanguage && this.languages.indexOf(o) < 0 && this.store.hasLanguageSomeTranslations(o) && (this.resolvedLanguage = o, this.languages.unshift(o)); - } - } - changeLanguage(o, g) { - this.isLanguageChangingTo = o; - const C = mo(); - this.emit("languageChanging", o); - const P = (c) => { - this.language = c, this.languages = this.services.languageUtils.toResolveHierarchy(c), this.resolvedLanguage = void 0, this.setResolvedLanguage(c); - }, x = (c, r) => { - r ? this.isLanguageChangingTo === o && (P(r), this.translator.changeLanguage(r), this.isLanguageChangingTo = void 0, this.emit("languageChanged", r), this.logger.log("languageChanged", r)) : this.isLanguageChangingTo = void 0, C.resolve((...a) => this.t(...a)), g && g(c, (...a) => this.t(...a)); - }, n = (c) => { - !o && !c && this.services.languageDetector && (c = []); - const r = gt(c) ? c : c && c[0], a = this.store.hasLanguageSomeTranslations(r) ? r : this.services.languageUtils.getBestMatchFromCodes(gt(c) ? [c] : c); - a && (this.language || P(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (i) => { - x(i, a); + !this.resolvedLanguage && this.languages.indexOf(t) < 0 && this.store.hasLanguageSomeTranslations(t) && (this.resolvedLanguage = t, this.languages.unshift(t)); + } + } + changeLanguage(t, c) { + this.isLanguageChangingTo = t; + const h = Xo(); + this.emit("languageChanging", t); + const S = (s) => { + this.language = s, this.languages = this.services.languageUtils.toResolveHierarchy(s), this.resolvedLanguage = void 0, this.setResolvedLanguage(s); + }, g = (s, r) => { + r ? this.isLanguageChangingTo === t && (S(r), this.translator.changeLanguage(r), this.isLanguageChangingTo = void 0, this.emit("languageChanged", r), this.logger.log("languageChanged", r)) : this.isLanguageChangingTo = void 0, h.resolve((...o) => this.t(...o)), c && c(s, (...o) => this.t(...o)); + }, n = (s) => { + !t && !s && this.services.languageDetector && (s = []); + const r = lt(s) ? s : s && s[0], o = this.store.hasLanguageSomeTranslations(r) ? r : this.services.languageUtils.getBestMatchFromCodes(lt(s) ? [s] : s); + o && (this.language || S(o), this.translator.language || this.translator.changeLanguage(o), this.services.languageDetector?.cacheUserLanguage?.(o)), this.loadResources(o, (i) => { + g(i, o); }); }; - return !o && this.services.languageDetector && !this.services.languageDetector.async ? n(this.services.languageDetector.detect()) : !o && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(n) : this.services.languageDetector.detect(n) : n(o), C; + return !t && this.services.languageDetector && !this.services.languageDetector.async ? n(this.services.languageDetector.detect()) : !t && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(n) : this.services.languageDetector.detect(n) : n(t), h; } - getFixedT(o, g, C) { - const P = (x, n, ...c) => { + getFixedT(t, c, h) { + const S = (g, n, ...s) => { let r; - typeof n != "object" ? r = this.options.overloadTranslationOptionHandler([x, n].concat(c)) : r = { + typeof n != "object" ? r = this.options.overloadTranslationOptionHandler([g, n].concat(s)) : r = { ...n - }, r.lng = r.lng || P.lng, r.lngs = r.lngs || P.lngs, r.ns = r.ns || P.ns, r.keyPrefix !== "" && (r.keyPrefix = r.keyPrefix || C || P.keyPrefix); - const a = this.options.keySeparator || "."; + }, r.lng = r.lng || S.lng, r.lngs = r.lngs || S.lngs, r.ns = r.ns || S.ns, r.keyPrefix !== "" && (r.keyPrefix = r.keyPrefix || h || S.keyPrefix); + const o = this.options.keySeparator || "."; let i; - return r.keyPrefix && Array.isArray(x) ? i = x.map((m) => `${r.keyPrefix}${a}${m}`) : i = r.keyPrefix ? `${r.keyPrefix}${a}${x}` : x, this.t(i, r); + return r.keyPrefix && Array.isArray(g) ? i = g.map((p) => `${r.keyPrefix}${o}${p}`) : i = r.keyPrefix ? `${r.keyPrefix}${o}${g}` : g, this.t(i, r); }; - return gt(o) ? P.lng = o : P.lngs = o, P.ns = g, P.keyPrefix = C, P; + return lt(t) ? S.lng = t : S.lngs = t, S.ns = c, S.keyPrefix = h, S; } - t(...o) { - return this.translator?.translate(...o); + t(...t) { + return this.translator?.translate(...t); } - exists(...o) { - return this.translator?.exists(...o); + exists(...t) { + return this.translator?.exists(...t); } - setDefaultNamespace(o) { - this.options.defaultNS = o; + setDefaultNamespace(t) { + this.options.defaultNS = t; } - hasLoadedNamespace(o, g = {}) { + hasLoadedNamespace(t, c = {}) { if (!this.isInitialized) return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1; if (!this.languages || !this.languages.length) return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1; - const C = g.lng || this.resolvedLanguage || this.languages[0], P = this.options ? this.options.fallbackLng : !1, x = this.languages[this.languages.length - 1]; - if (C.toLowerCase() === "cimode") return !0; - const n = (c, r) => { - const a = this.services.backendConnector.state[`${c}|${r}`]; - return a === -1 || a === 0 || a === 2; + const h = c.lng || this.resolvedLanguage || this.languages[0], S = this.options ? this.options.fallbackLng : !1, g = this.languages[this.languages.length - 1]; + if (h.toLowerCase() === "cimode") return !0; + const n = (s, r) => { + const o = this.services.backendConnector.state[`${s}|${r}`]; + return o === -1 || o === 0 || o === 2; }; - if (g.precheck) { - const c = g.precheck(this, n); - if (c !== void 0) return c; - } - return !!(this.hasResourceBundle(C, o) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || n(C, o) && (!P || n(x, o))); - } - loadNamespaces(o, g) { - const C = mo(); - return this.options.ns ? (gt(o) && (o = [o]), o.forEach((P) => { - this.options.ns.indexOf(P) < 0 && this.options.ns.push(P); - }), this.loadResources((P) => { - C.resolve(), g && g(P); - }), C) : (g && g(), Promise.resolve()); - } - loadLanguages(o, g) { - const C = mo(); - gt(o) && (o = [o]); - const P = this.options.preload || [], x = o.filter((n) => P.indexOf(n) < 0 && this.services.languageUtils.isSupportedCode(n)); - return x.length ? (this.options.preload = P.concat(x), this.loadResources((n) => { - C.resolve(), g && g(n); - }), C) : (g && g(), Promise.resolve()); - } - dir(o) { - if (o || (o = this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language)), !o) return "rtl"; + if (c.precheck) { + const s = c.precheck(this, n); + if (s !== void 0) return s; + } + return !!(this.hasResourceBundle(h, t) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || n(h, t) && (!S || n(g, t))); + } + loadNamespaces(t, c) { + const h = Xo(); + return this.options.ns ? (lt(t) && (t = [t]), t.forEach((S) => { + this.options.ns.indexOf(S) < 0 && this.options.ns.push(S); + }), this.loadResources((S) => { + h.resolve(), c && c(S); + }), h) : (c && c(), Promise.resolve()); + } + loadLanguages(t, c) { + const h = Xo(); + lt(t) && (t = [t]); + const S = this.options.preload || [], g = t.filter((n) => S.indexOf(n) < 0 && this.services.languageUtils.isSupportedCode(n)); + return g.length ? (this.options.preload = S.concat(g), this.loadResources((n) => { + h.resolve(), c && c(n); + }), h) : (c && c(), Promise.resolve()); + } + dir(t) { + if (t || (t = this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language)), !t) return "rtl"; try { - const P = new Intl.Locale(o); - if (P && P.getTextInfo) { - const x = P.getTextInfo(); - if (x && x.direction) return x.direction; + const S = new Intl.Locale(t); + if (S && S.getTextInfo) { + const g = S.getTextInfo(); + if (g && g.direction) return g.direction; } } catch { } - const g = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], C = this.services?.languageUtils || new ru(su()); - return o.toLowerCase().indexOf("-latn") > 1 ? "ltr" : g.indexOf(C.getLanguagePartFromCode(o)) > -1 || o.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; + const c = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], h = this.services?.languageUtils || new z0(G0()); + return t.toLowerCase().indexOf("-latn") > 1 ? "ltr" : c.indexOf(h.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; } - static createInstance(o = {}, g) { - return new Io(o, g); + static createInstance(t = {}, c) { + return new hi(t, c); } - cloneInstance(o = {}, g = si) { - const C = o.forkResourceStore; - C && delete o.forkResourceStore; - const P = { + cloneInstance(t = {}, c = Ji) { + const h = t.forkResourceStore; + h && delete t.forkResourceStore; + const S = { ...this.options, - ...o, + ...t, isClone: !0 - }, x = new Io(P); - if ((o.debug !== void 0 || o.prefix !== void 0) && (x.logger = x.logger.clone(o)), ["store", "services", "language"].forEach((c) => { - x[c] = this[c]; - }), x.services = { + }, g = new hi(S); + if ((t.debug !== void 0 || t.prefix !== void 0) && (g.logger = g.logger.clone(t)), ["store", "services", "language"].forEach((s) => { + g[s] = this[s]; + }), g.services = { ...this.services - }, x.services.utils = { - hasLoadedNamespace: x.hasLoadedNamespace.bind(x) - }, C) { - const c = Object.keys(this.store.data).reduce((r, a) => (r[a] = { - ...this.store.data[a] - }, r[a] = Object.keys(r[a]).reduce((i, m) => (i[m] = { - ...r[a][m] - }, i), r[a]), r), {}); - x.store = new Q0(c, P), x.services.resourceStore = x.store; - } - return x.translator = new Ri(x.services, P), x.translator.on("*", (c, ...r) => { - x.emit(c, ...r); - }), x.init(P, g), x.translator.options = P, x.translator.backendConnector.services.utils = { - hasLoadedNamespace: x.hasLoadedNamespace.bind(x) - }, x; + }, g.services.utils = { + hasLoadedNamespace: g.hasLoadedNamespace.bind(g) + }, h) { + const s = Object.keys(this.store.data).reduce((r, o) => (r[o] = { + ...this.store.data[o] + }, r[o] = Object.keys(r[o]).reduce((i, p) => (i[p] = { + ...r[o][p] + }, i), r[o]), r), {}); + g.store = new V0(s, S), g.services.resourceStore = g.store; + } + return g.translator = new Ma(g.services, S), g.translator.on("*", (s, ...r) => { + g.emit(s, ...r); + }), g.init(S, c), g.translator.options = S, g.translator.backendConnector.services.utils = { + hasLoadedNamespace: g.hasLoadedNamespace.bind(g) + }, g; } toJSON() { return { @@ -6661,23 +6661,23 @@ class Io extends Xi { }; } } -const tr = Io.createInstance(); -tr.createInstance = Io.createInstance; -tr.createInstance; -tr.dir; -tr.init; -tr.loadResources; -tr.reloadResources; -tr.use; -tr.changeLanguage; -tr.getFixedT; -tr.t; -tr.exists; -tr.setDefaultNamespace; -tr.hasLoadedNamespace; -tr.loadNamespaces; -tr.loadLanguages; -const r3 = { +const rn = hi.createInstance(); +rn.createInstance = hi.createInstance; +rn.createInstance; +rn.dir; +rn.init; +rn.loadResources; +rn.reloadResources; +rn.use; +rn.changeLanguage; +rn.getFixedT; +rn.t; +rn.exists; +rn.setDefaultNamespace; +rn.hasLoadedNamespace; +rn.loadNamespaces; +rn.loadLanguages; +const ig = { lessThanXSeconds: { one: "bir saniyədən az", other: "{{count}} bir saniyədən az" @@ -6739,54 +6739,54 @@ const r3 = { one: "demək olar ki 1 il", other: "demək olar ki {{count}} il" } -}, n3 = (e, o, g) => { - let C; - const P = r3[e]; - return typeof P == "string" ? C = P : o === 1 ? C = P.one : C = P.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? C + " sonra" : C + " əvvəl" : C; -}, o3 = { +}, ag = (e, t, c) => { + let h; + const S = ig[e]; + return typeof S == "string" ? h = S : t === 1 ? h = S.one : h = S.other.replace("{{count}}", String(t)), c?.addSuffix ? c.comparison && c.comparison > 0 ? h + " sonra" : h + " əvvəl" : h; +}, sg = { full: "EEEE, do MMMM y 'il'", long: "do MMMM y 'il'", medium: "d MMM y 'il'", short: "dd.MM.yyyy" -}, i3 = { +}, cg = { full: "H:mm:ss zzzz", long: "H:mm:ss z", medium: "H:mm:ss", short: "H:mm" -}, a3 = { +}, ug = { full: "{{date}} {{time}} - 'də'", long: "{{date}} {{time}} - 'də'", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, s3 = { - date: Ut({ - formats: o3, +}, lg = { + date: Bt({ + formats: sg, defaultWidth: "full" }), - time: Ut({ - formats: i3, + time: Bt({ + formats: cg, defaultWidth: "full" }), - dateTime: Ut({ - formats: a3, + dateTime: Bt({ + formats: ug, defaultWidth: "full" }) -}, u3 = { +}, dg = { lastWeek: "'sonuncu' eeee p -'də'", yesterday: "'dünən' p -'də'", today: "'bugün' p -'də'", tomorrow: "'sabah' p -'də'", nextWeek: "eeee p -'də'", other: "P" -}, c3 = (e, o, g, C) => u3[e], l3 = { +}, fg = (e, t, c, h) => dg[e], pg = { narrow: ["e.ə", "b.e"], abbreviated: ["e.ə", "b.e"], wide: ["eramızdan əvvəl", "bizim era"] -}, d3 = { +}, hg = { narrow: ["1", "2", "3", "4"], abbreviated: ["K1", "K2", "K3", "K4"], wide: ["1ci kvartal", "2ci kvartal", "3cü kvartal", "4cü kvartal"] -}, f3 = { +}, yg = { narrow: ["Y", "F", "M", "A", "M", "İ", "İ", "A", "S", "O", "N", "D"], abbreviated: [ "Yan", @@ -6816,7 +6816,7 @@ const r3 = { "Noyabr", "Dekabr" ] -}, h3 = { +}, mg = { narrow: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."], short: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."], abbreviated: ["Baz", "Baz.e", "Çər.a", "Çər", "Cüm.a", "Cüm", "Şə"], @@ -6829,7 +6829,7 @@ const r3 = { "Cümə", "Şənbə" ] -}, p3 = { +}, gg = { narrow: { am: "am", pm: "pm", @@ -6860,7 +6860,7 @@ const r3 = { evening: "axşam", night: "gecə" } -}, m3 = { +}, vg = { narrow: { am: "a", pm: "p", @@ -6891,7 +6891,7 @@ const r3 = { evening: "axşam", night: "gecə" } -}, yo = { +}, Qo = { 1: "-inci", 5: "-inci", 8: "-inci", @@ -6910,56 +6910,56 @@ const r3 = { 30: "-uncu", 60: "-ıncı", 90: "-ıncı" -}, y3 = (e) => { +}, bg = (e) => { if (e === 0) return e + "-ıncı"; - const o = e % 10, g = e % 100 - o, C = e >= 100 ? 100 : null; - return yo[o] ? yo[o] : yo[g] ? yo[g] : C !== null ? yo[C] : ""; -}, g3 = (e, o) => { - const g = Number(e), C = y3(g); - return g + C; -}, v3 = { - ordinalNumber: g3, - era: ht({ - values: l3, + const t = e % 10, c = e % 100 - t, h = e >= 100 ? 100 : null; + return Qo[t] ? Qo[t] : Qo[c] ? Qo[c] : h !== null ? Qo[h] : ""; +}, wg = (e, t) => { + const c = Number(e), h = bg(c); + return c + h; +}, Cg = { + ordinalNumber: wg, + era: at({ + values: pg, defaultWidth: "wide" }), - quarter: ht({ - values: d3, + quarter: at({ + values: hg, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: f3, + month: at({ + values: yg, defaultWidth: "wide" }), - day: ht({ - values: h3, + day: at({ + values: mg, defaultWidth: "wide" }), - dayPeriod: ht({ - values: p3, + dayPeriod: at({ + values: gg, defaultWidth: "wide", - formattingValues: m3, + formattingValues: vg, defaultFormattingWidth: "wide" }) -}, b3 = /^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i, w3 = /\d+/i, C3 = { +}, Sg = /^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i, _g = /\d+/i, Eg = { narrow: /^(b|a)$/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i, wide: /^(bizim eradan əvvəl|bizim era)$/i -}, _3 = { +}, xg = { any: [/^b$/i, /^(a|c)$/i] -}, S3 = { +}, Mg = { narrow: /^[1234]$/i, abbreviated: /^K[1234]$/i, wide: /^[1234](ci)? kvartal$/i -}, M3 = { +}, Pg = { any: [/1/i, /2/i, /3/i, /4/i] -}, x3 = { +}, Og = { narrow: /^[(?-i)yfmaisond]$/i, abbreviated: /^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i, wide: /^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i -}, E3 = { +}, Tg = { narrow: [ /^[(?-i)y]$/i, /^[(?-i)f]$/i, @@ -7002,12 +7002,12 @@ const r3 = { /^Noyabr$/i, /^Dekabr$/i ] -}, P3 = { +}, Ag = { narrow: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, short: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, abbreviated: /^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i, wide: /^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i -}, A3 = { +}, Lg = { narrow: [ /^B\.$/i, /^B\.e$/i, @@ -7044,10 +7044,10 @@ const r3 = { /^C\.$/i, /^Ş\.$/i ] -}, O3 = { +}, Ig = { narrow: /^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i, any: /^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i -}, T3 = { +}, Ng = { any: { am: /^a$/i, pm: /^p$/i, @@ -7058,55 +7058,55 @@ const r3 = { evening: /axşam$/i, night: /gecə$/i } -}, I3 = { - ordinalNumber: ln({ - matchPattern: b3, - parsePattern: w3, +}, Bg = { + ordinalNumber: ar({ + matchPattern: Sg, + parsePattern: _g, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: C3, + era: st({ + matchPatterns: Eg, defaultMatchWidth: "wide", - parsePatterns: _3, + parsePatterns: xg, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: S3, + quarter: st({ + matchPatterns: Mg, defaultMatchWidth: "wide", - parsePatterns: M3, + parsePatterns: Pg, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: x3, + month: st({ + matchPatterns: Og, defaultMatchWidth: "wide", - parsePatterns: E3, + parsePatterns: Tg, defaultParseWidth: "narrow" }), - day: pt({ - matchPatterns: P3, + day: st({ + matchPatterns: Ag, defaultMatchWidth: "wide", - parsePatterns: A3, + parsePatterns: Lg, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: O3, + dayPeriod: st({ + matchPatterns: Ig, defaultMatchWidth: "any", - parsePatterns: T3, + parsePatterns: Ng, defaultParseWidth: "any" }) -}, N3 = { +}, Rg = { code: "az", - formatDistance: n3, - formatLong: s3, - formatRelative: c3, - localize: v3, - match: I3, + formatDistance: ag, + formatLong: lg, + formatRelative: fg, + localize: Cg, + match: Bg, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, L3 = { +}, kg = { lessThanXSeconds: { one: "menos de un segundo", other: "menos de {{count}} segundos" @@ -7168,61 +7168,61 @@ const r3 = { one: "casi 1 año", other: "casi {{count}} años" } -}, R3 = (e, o, g) => { - let C; - const P = L3[e]; - return typeof P == "string" ? C = P : o === 1 ? C = P.one : C = P.other.replace("{{count}}", o.toString()), g?.addSuffix ? g.comparison && g.comparison > 0 ? "en " + C : "hace " + C : C; -}, k3 = { +}, Hg = (e, t, c) => { + let h; + const S = kg[e]; + return typeof S == "string" ? h = S : t === 1 ? h = S.one : h = S.other.replace("{{count}}", t.toString()), c?.addSuffix ? c.comparison && c.comparison > 0 ? "en " + h : "hace " + h : h; +}, jg = { full: "EEEE, d 'de' MMMM 'de' y", long: "d 'de' MMMM 'de' y", medium: "d MMM y", short: "dd/MM/y" -}, B3 = { +}, Dg = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, H3 = { +}, Vg = { full: "{{date}} 'a las' {{time}}", long: "{{date}} 'a las' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, j3 = { - date: Ut({ - formats: k3, +}, Ug = { + date: Bt({ + formats: jg, defaultWidth: "full" }), - time: Ut({ - formats: B3, + time: Bt({ + formats: Dg, defaultWidth: "full" }), - dateTime: Ut({ - formats: H3, + dateTime: Bt({ + formats: Vg, defaultWidth: "full" }) -}, D3 = { +}, Fg = { lastWeek: "'el' eeee 'pasado a la' p", yesterday: "'ayer a la' p", today: "'hoy a la' p", tomorrow: "'mañana a la' p", nextWeek: "eeee 'a la' p", other: "P" -}, V3 = { +}, zg = { lastWeek: "'el' eeee 'pasado a las' p", yesterday: "'ayer a las' p", today: "'hoy a las' p", tomorrow: "'mañana a las' p", nextWeek: "eeee 'a las' p", other: "P" -}, U3 = (e, o, g, C) => o.getHours() !== 1 ? V3[e] : D3[e], z3 = { +}, Kg = (e, t, c, h) => t.getHours() !== 1 ? zg[e] : Fg[e], Wg = { narrow: ["AC", "DC"], abbreviated: ["AC", "DC"], wide: ["antes de cristo", "después de cristo"] -}, F3 = { +}, Jg = { narrow: ["1", "2", "3", "4"], abbreviated: ["T1", "T2", "T3", "T4"], wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"] -}, K3 = { +}, $g = { narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"], abbreviated: [ "ene", @@ -7252,7 +7252,7 @@ const r3 = { "noviembre", "diciembre" ] -}, W3 = { +}, Gg = { narrow: ["d", "l", "m", "m", "j", "v", "s"], short: ["do", "lu", "ma", "mi", "ju", "vi", "sá"], abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"], @@ -7265,7 +7265,7 @@ const r3 = { "viernes", "sábado" ] -}, J3 = { +}, qg = { narrow: { am: "a", pm: "p", @@ -7296,7 +7296,7 @@ const r3 = { evening: "tarde", night: "noche" } -}, $3 = { +}, Zg = { narrow: { am: "a", pm: "p", @@ -7327,52 +7327,52 @@ const r3 = { evening: "de la tarde", night: "de la noche" } -}, G3 = (e, o) => Number(e) + "º", q3 = { - ordinalNumber: G3, - era: ht({ - values: z3, +}, Yg = (e, t) => Number(e) + "º", Xg = { + ordinalNumber: Yg, + era: at({ + values: Wg, defaultWidth: "wide" }), - quarter: ht({ - values: F3, + quarter: at({ + values: Jg, defaultWidth: "wide", argumentCallback: (e) => Number(e) - 1 }), - month: ht({ - values: K3, + month: at({ + values: $g, defaultWidth: "wide" }), - day: ht({ - values: W3, + day: at({ + values: Gg, defaultWidth: "wide" }), - dayPeriod: ht({ - values: J3, + dayPeriod: at({ + values: qg, defaultWidth: "wide", - formattingValues: $3, + formattingValues: Zg, defaultFormattingWidth: "wide" }) -}, Z3 = /^(\d+)(º)?/i, X3 = /\d+/i, Y3 = { +}, Qg = /^(\d+)(º)?/i, e4 = /\d+/i, t4 = { narrow: /^(ac|dc|a|d)/i, abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i -}, Q3 = { +}, n4 = { any: [/^ac/i, /^dc/i], wide: [ /^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i ] -}, em = { +}, r4 = { narrow: /^[1234]/i, abbreviated: /^T[1234]/i, wide: /^[1234](º)? trimestre/i -}, tm = { +}, o4 = { any: [/1/i, /2/i, /3/i, /4/i] -}, rm = { +}, i4 = { narrow: /^[efmajsond]/i, abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i, wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i -}, nm = { +}, a4 = { narrow: [ /^e/i, /^f/i, @@ -7401,18 +7401,18 @@ const r3 = { /^nov/i, /^dic/i ] -}, om = { +}, s4 = { narrow: /^[dlmjvs]/i, short: /^(do|lu|ma|mi|ju|vi|s[áa])/i, abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i, wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i -}, im = { +}, c4 = { narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i] -}, am = { +}, u4 = { narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i, any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i -}, sm = { +}, l4 = { any: { am: /^a/i, pm: /^p/i, @@ -7423,57 +7423,57 @@ const r3 = { evening: /tarde/i, night: /noche/i } -}, um = { - ordinalNumber: ln({ - matchPattern: Z3, - parsePattern: X3, +}, d4 = { + ordinalNumber: ar({ + matchPattern: Qg, + parsePattern: e4, valueCallback: function(e) { return parseInt(e, 10); } }), - era: pt({ - matchPatterns: Y3, + era: st({ + matchPatterns: t4, defaultMatchWidth: "wide", - parsePatterns: Q3, + parsePatterns: n4, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: em, + quarter: st({ + matchPatterns: r4, defaultMatchWidth: "wide", - parsePatterns: tm, + parsePatterns: o4, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: rm, + month: st({ + matchPatterns: i4, defaultMatchWidth: "wide", - parsePatterns: nm, + parsePatterns: a4, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: om, + day: st({ + matchPatterns: s4, defaultMatchWidth: "wide", - parsePatterns: im, + parsePatterns: c4, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: am, + dayPeriod: st({ + matchPatterns: u4, defaultMatchWidth: "any", - parsePatterns: sm, + parsePatterns: l4, defaultParseWidth: "any" }) -}, cm = { +}, f4 = { code: "es", - formatDistance: R3, - formatLong: j3, - formatRelative: U3, - localize: q3, - match: um, + formatDistance: Hg, + formatLong: Ug, + formatRelative: Kg, + localize: Xg, + match: d4, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, lm = { +}, p4 = { lessThanXSeconds: { one: "moins d’une seconde", other: "moins de {{count}} secondes" @@ -7535,54 +7535,54 @@ const r3 = { one: "presqu’un an", other: "presque {{count}} ans" } -}, dm = (e, o, g) => { - let C; - const P = lm[e]; - return typeof P == "string" ? C = P : o === 1 ? C = P.one : C = P.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? "dans " + C : "il y a " + C : C; -}, fm = { +}, h4 = (e, t, c) => { + let h; + const S = p4[e]; + return typeof S == "string" ? h = S : t === 1 ? h = S.one : h = S.other.replace("{{count}}", String(t)), c?.addSuffix ? c.comparison && c.comparison > 0 ? "dans " + h : "il y a " + h : h; +}, y4 = { full: "EEEE d MMMM y", long: "d MMMM y", medium: "d MMM y", short: "dd/MM/y" -}, hm = { +}, m4 = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, pm = { +}, g4 = { full: "{{date}} 'à' {{time}}", long: "{{date}} 'à' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, mm = { - date: Ut({ - formats: fm, +}, v4 = { + date: Bt({ + formats: y4, defaultWidth: "full" }), - time: Ut({ - formats: hm, + time: Bt({ + formats: m4, defaultWidth: "full" }), - dateTime: Ut({ - formats: pm, + dateTime: Bt({ + formats: g4, defaultWidth: "full" }) -}, ym = { +}, b4 = { lastWeek: "eeee 'dernier à' p", yesterday: "'hier à' p", today: "'aujourd’hui à' p", tomorrow: "'demain à' p'", nextWeek: "eeee 'prochain à' p", other: "P" -}, gm = (e, o, g, C) => ym[e], vm = { +}, w4 = (e, t, c, h) => b4[e], C4 = { narrow: ["av. J.-C", "ap. J.-C"], abbreviated: ["av. J.-C", "ap. J.-C"], wide: ["avant Jésus-Christ", "après Jésus-Christ"] -}, bm = { +}, S4 = { narrow: ["T1", "T2", "T3", "T4"], abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."], wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"] -}, wm = { +}, _4 = { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: [ "janv.", @@ -7612,7 +7612,7 @@ const r3 = { "novembre", "décembre" ] -}, Cm = { +}, E4 = { narrow: ["D", "L", "M", "M", "J", "V", "S"], short: ["di", "lu", "ma", "me", "je", "ve", "sa"], abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], @@ -7625,7 +7625,7 @@ const r3 = { "vendredi", "samedi" ] -}, _m = { +}, x4 = { narrow: { am: "AM", pm: "PM", @@ -7656,57 +7656,57 @@ const r3 = { evening: "du soir", night: "du matin" } -}, Sm = (e, o) => { - const g = Number(e), C = o?.unit; - if (g === 0) return "0"; - const P = ["year", "week", "hour", "minute", "second"]; - let x; - return g === 1 ? x = C && P.includes(C) ? "ère" : "er" : x = "ème", g + x; -}, Mm = ["MMM", "MMMM"], xm = { - preprocessor: (e, o) => e.getDate() === 1 || !o.some( - (C) => C.isToken && Mm.includes(C.value) - ) ? o : o.map( - (C) => C.isToken && C.value === "do" ? { isToken: !0, value: "d" } : C +}, M4 = (e, t) => { + const c = Number(e), h = t?.unit; + if (c === 0) return "0"; + const S = ["year", "week", "hour", "minute", "second"]; + let g; + return c === 1 ? g = h && S.includes(h) ? "ère" : "er" : g = "ème", c + g; +}, P4 = ["MMM", "MMMM"], O4 = { + preprocessor: (e, t) => e.getDate() === 1 || !t.some( + (h) => h.isToken && P4.includes(h.value) + ) ? t : t.map( + (h) => h.isToken && h.value === "do" ? { isToken: !0, value: "d" } : h ), - ordinalNumber: Sm, - era: ht({ - values: vm, + ordinalNumber: M4, + era: at({ + values: C4, defaultWidth: "wide" }), - quarter: ht({ - values: bm, + quarter: at({ + values: S4, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: wm, + month: at({ + values: _4, defaultWidth: "wide" }), - day: ht({ - values: Cm, + day: at({ + values: E4, defaultWidth: "wide" }), - dayPeriod: ht({ - values: _m, + dayPeriod: at({ + values: x4, defaultWidth: "wide" }) -}, Em = /^(\d+)(ième|ère|ème|er|e)?/i, Pm = /\d+/i, Am = { +}, T4 = /^(\d+)(ième|ère|ème|er|e)?/i, A4 = /\d+/i, L4 = { narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i, abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, wide: /^(avant Jésus-Christ|après Jésus-Christ)/i -}, Om = { +}, I4 = { any: [/^av/i, /^ap/i] -}, Tm = { +}, N4 = { narrow: /^T?[1234]/i, abbreviated: /^[1234](er|ème|e)? trim\.?/i, wide: /^[1234](er|ème|e)? trimestre/i -}, Im = { +}, B4 = { any: [/1/i, /2/i, /3/i, /4/i] -}, Nm = { +}, R4 = { narrow: /^[jfmasond]/i, abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i, wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i -}, Lm = { +}, k4 = { narrow: [ /^j/i, /^f/i, @@ -7735,18 +7735,18 @@ const r3 = { /^n/i, /^d/i ] -}, Rm = { +}, H4 = { narrow: /^[lmjvsd]/i, short: /^(di|lu|ma|me|je|ve|sa)/i, abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i, wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i -}, km = { +}, j4 = { narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i] -}, Bm = { +}, D4 = { narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i, any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i -}, Hm = { +}, V4 = { any: { am: /^a/i, pm: /^p/i, @@ -7757,55 +7757,55 @@ const r3 = { evening: /soir/i, night: /nuit/i } -}, jm = { - ordinalNumber: ln({ - matchPattern: Em, - parsePattern: Pm, +}, U4 = { + ordinalNumber: ar({ + matchPattern: T4, + parsePattern: A4, valueCallback: (e) => parseInt(e) }), - era: pt({ - matchPatterns: Am, + era: st({ + matchPatterns: L4, defaultMatchWidth: "wide", - parsePatterns: Om, + parsePatterns: I4, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: Tm, + quarter: st({ + matchPatterns: N4, defaultMatchWidth: "wide", - parsePatterns: Im, + parsePatterns: B4, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Nm, + month: st({ + matchPatterns: R4, defaultMatchWidth: "wide", - parsePatterns: Lm, + parsePatterns: k4, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Rm, + day: st({ + matchPatterns: H4, defaultMatchWidth: "wide", - parsePatterns: km, + parsePatterns: j4, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Bm, + dayPeriod: st({ + matchPatterns: D4, defaultMatchWidth: "any", - parsePatterns: Hm, + parsePatterns: V4, defaultParseWidth: "any" }) -}, Dm = { +}, F4 = { code: "fr", - formatDistance: dm, - formatLong: mm, - formatRelative: gm, - localize: xm, - match: jm, + formatDistance: h4, + formatLong: v4, + formatRelative: w4, + localize: O4, + match: U4, options: { weekStartsOn: 1, firstWeekContainsDate: 4 } -}, Vm = { +}, z4 = { lessThanXSeconds: { one: "minder dan een seconde", other: "minder dan {{count}} seconden" @@ -7867,54 +7867,54 @@ const r3 = { one: "bijna 1 jaar", other: "bijna {{count}} jaar" } -}, Um = (e, o, g) => { - let C; - const P = Vm[e]; - return typeof P == "string" ? C = P : o === 1 ? C = P.one : C = P.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? "over " + C : C + " geleden" : C; -}, zm = { +}, K4 = (e, t, c) => { + let h; + const S = z4[e]; + return typeof S == "string" ? h = S : t === 1 ? h = S.one : h = S.other.replace("{{count}}", String(t)), c?.addSuffix ? c.comparison && c.comparison > 0 ? "over " + h : h + " geleden" : h; +}, W4 = { full: "EEEE d MMMM y", long: "d MMMM y", medium: "d MMM y", short: "dd-MM-y" -}, Fm = { +}, J4 = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, Km = { +}, $4 = { full: "{{date}} 'om' {{time}}", long: "{{date}} 'om' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, Wm = { - date: Ut({ - formats: zm, +}, G4 = { + date: Bt({ + formats: W4, defaultWidth: "full" }), - time: Ut({ - formats: Fm, + time: Bt({ + formats: J4, defaultWidth: "full" }), - dateTime: Ut({ - formats: Km, + dateTime: Bt({ + formats: $4, defaultWidth: "full" }) -}, Jm = { +}, q4 = { lastWeek: "'afgelopen' eeee 'om' p", yesterday: "'gisteren om' p", today: "'vandaag om' p", tomorrow: "'morgen om' p", nextWeek: "eeee 'om' p", other: "P" -}, $m = (e, o, g, C) => Jm[e], Gm = { +}, Z4 = (e, t, c, h) => q4[e], Y4 = { narrow: ["v.C.", "n.C."], abbreviated: ["v.Chr.", "n.Chr."], wide: ["voor Christus", "na Christus"] -}, qm = { +}, X4 = { narrow: ["1", "2", "3", "4"], abbreviated: ["K1", "K2", "K3", "K4"], wide: ["1e kwartaal", "2e kwartaal", "3e kwartaal", "4e kwartaal"] -}, Zm = { +}, Q4 = { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: [ "jan.", @@ -7944,7 +7944,7 @@ const r3 = { "november", "december" ] -}, Xm = { +}, e5 = { narrow: ["Z", "M", "D", "W", "D", "V", "Z"], short: ["zo", "ma", "di", "wo", "do", "vr", "za"], abbreviated: ["zon", "maa", "din", "woe", "don", "vri", "zat"], @@ -7957,7 +7957,7 @@ const r3 = { "vrijdag", "zaterdag" ] -}, Ym = { +}, t5 = { narrow: { am: "AM", pm: "PM", @@ -7988,46 +7988,46 @@ const r3 = { evening: "'s avonds", night: "'s nachts" } -}, Qm = (e, o) => Number(e) + "e", ey = { - ordinalNumber: Qm, - era: ht({ - values: Gm, +}, n5 = (e, t) => Number(e) + "e", r5 = { + ordinalNumber: n5, + era: at({ + values: Y4, defaultWidth: "wide" }), - quarter: ht({ - values: qm, + quarter: at({ + values: X4, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: Zm, + month: at({ + values: Q4, defaultWidth: "wide" }), - day: ht({ - values: Xm, + day: at({ + values: e5, defaultWidth: "wide" }), - dayPeriod: ht({ - values: Ym, + dayPeriod: at({ + values: t5, defaultWidth: "wide" }) -}, ty = /^(\d+)e?/i, ry = /\d+/i, ny = { +}, o5 = /^(\d+)e?/i, i5 = /\d+/i, a5 = { narrow: /^([vn]\.? ?C\.?)/, abbreviated: /^([vn]\. ?Chr\.?)/, wide: /^((voor|na) Christus)/ -}, oy = { +}, s5 = { any: [/^v/, /^n/] -}, iy = { +}, c5 = { narrow: /^[1234]/i, abbreviated: /^K[1234]/i, wide: /^[1234]e kwartaal/i -}, ay = { +}, u5 = { any: [/1/i, /2/i, /3/i, /4/i] -}, sy = { +}, l5 = { narrow: /^[jfmasond]/i, abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i -}, uy = { +}, d5 = { narrow: [ /^j/i, /^f/i, @@ -8056,17 +8056,17 @@ const r3 = { /^nov/i, /^dec/i ] -}, cy = { +}, f5 = { narrow: /^[zmdwv]/i, short: /^(zo|ma|di|wo|do|vr|za)/i, abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i, wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i -}, ly = { +}, p5 = { narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i], any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i] -}, dy = { +}, h5 = { any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i -}, fy = { +}, y5 = { any: { am: /^am/i, pm: /^pm/i, @@ -8077,55 +8077,55 @@ const r3 = { evening: /avond/i, night: /nacht/i } -}, hy = { - ordinalNumber: ln({ - matchPattern: ty, - parsePattern: ry, +}, m5 = { + ordinalNumber: ar({ + matchPattern: o5, + parsePattern: i5, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: ny, + era: st({ + matchPatterns: a5, defaultMatchWidth: "wide", - parsePatterns: oy, + parsePatterns: s5, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: iy, + quarter: st({ + matchPatterns: c5, defaultMatchWidth: "wide", - parsePatterns: ay, + parsePatterns: u5, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: sy, + month: st({ + matchPatterns: l5, defaultMatchWidth: "wide", - parsePatterns: uy, + parsePatterns: d5, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: cy, + day: st({ + matchPatterns: f5, defaultMatchWidth: "wide", - parsePatterns: ly, + parsePatterns: p5, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: dy, + dayPeriod: st({ + matchPatterns: h5, defaultMatchWidth: "any", - parsePatterns: fy, + parsePatterns: y5, defaultParseWidth: "any" }) -}, py = { +}, g5 = { code: "nl", - formatDistance: Um, - formatLong: Wm, - formatRelative: $m, - localize: ey, - match: hy, + formatDistance: K4, + formatLong: G4, + formatRelative: Z4, + localize: r5, + match: m5, options: { weekStartsOn: 1, firstWeekContainsDate: 4 } -}, my = { +}, v5 = { lessThanXSeconds: { one: { regular: "mniej niż sekunda", @@ -8235,60 +8235,60 @@ const r3 = { other: "prawie {{count}} lat" } }; -function yy(e, o) { - if (o === 1) +function b5(e, t) { + if (t === 1) return e.one; - const g = o % 100; - if (g <= 20 && g > 10) + const c = t % 100; + if (c <= 20 && c > 10) return e.other; - const C = g % 10; - return C >= 2 && C <= 4 ? e.twoFour : e.other; + const h = c % 10; + return h >= 2 && h <= 4 ? e.twoFour : e.other; } -function Sa(e, o, g) { - const C = yy(e, o); - return (typeof C == "string" ? C : C[g]).replace("{{count}}", String(o)); +function Os(e, t, c) { + const h = b5(e, t); + return (typeof h == "string" ? h : h[c]).replace("{{count}}", String(t)); } -const gy = (e, o, g) => { - const C = my[e]; - return g?.addSuffix ? g.comparison && g.comparison > 0 ? "za " + Sa(C, o, "future") : Sa(C, o, "past") + " temu" : Sa(C, o, "regular"); -}, vy = { +const w5 = (e, t, c) => { + const h = v5[e]; + return c?.addSuffix ? c.comparison && c.comparison > 0 ? "za " + Os(h, t, "future") : Os(h, t, "past") + " temu" : Os(h, t, "regular"); +}, C5 = { full: "EEEE, do MMMM y", long: "do MMMM y", medium: "do MMM y", short: "dd.MM.y" -}, by = { +}, S5 = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, wy = { +}, _5 = { full: "{{date}} {{time}}", long: "{{date}} {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, Cy = { - date: Ut({ - formats: vy, +}, E5 = { + date: Bt({ + formats: C5, defaultWidth: "full" }), - time: Ut({ - formats: by, + time: Bt({ + formats: S5, defaultWidth: "full" }), - dateTime: Ut({ - formats: wy, + dateTime: Bt({ + formats: _5, defaultWidth: "full" }) -}, _y = { +}, x5 = { masculine: "ostatni", feminine: "ostatnia" -}, Sy = { +}, M5 = { masculine: "ten", feminine: "ta" -}, My = { +}, P5 = { masculine: "następny", feminine: "następna" -}, xy = { +}, O5 = { 0: "feminine", 1: "masculine", 2: "masculine", @@ -8297,38 +8297,38 @@ const gy = (e, o, g) => { 5: "masculine", 6: "feminine" }; -function cu(e, o, g, C) { - let P; - if (Oo(o, g, C)) - P = Sy; +function Z0(e, t, c, h) { + let S; + if (fi(t, c, h)) + S = M5; else if (e === "lastWeek") - P = _y; + S = x5; else if (e === "nextWeek") - P = My; + S = P5; else throw new Error(`Cannot determine adjectives for token ${e}`); - const x = o.getDay(), n = xy[x]; - return `'${P[n]}' eeee 'o' p`; + const g = t.getDay(), n = O5[g]; + return `'${S[n]}' eeee 'o' p`; } -const Ey = { - lastWeek: cu, +const T5 = { + lastWeek: Z0, yesterday: "'wczoraj o' p", today: "'dzisiaj o' p", tomorrow: "'jutro o' p", - nextWeek: cu, + nextWeek: Z0, other: "P" -}, Py = (e, o, g, C) => { - const P = Ey[e]; - return typeof P == "function" ? P(e, o, g, C) : P; -}, Ay = { +}, A5 = (e, t, c, h) => { + const S = T5[e]; + return typeof S == "function" ? S(e, t, c, h) : S; +}, L5 = { narrow: ["p.n.e.", "n.e."], abbreviated: ["p.n.e.", "n.e."], wide: ["przed naszą erą", "naszej ery"] -}, Oy = { +}, I5 = { narrow: ["1", "2", "3", "4"], abbreviated: ["I kw.", "II kw.", "III kw.", "IV kw."], wide: ["I kwartał", "II kwartał", "III kwartał", "IV kwartał"] -}, Ty = { +}, N5 = { narrow: ["S", "L", "M", "K", "M", "C", "L", "S", "W", "P", "L", "G"], abbreviated: [ "sty", @@ -8358,7 +8358,7 @@ const Ey = { "listopad", "grudzień" ] -}, Iy = { +}, B5 = { narrow: ["s", "l", "m", "k", "m", "c", "l", "s", "w", "p", "l", "g"], abbreviated: [ "sty", @@ -8388,7 +8388,7 @@ const Ey = { "listopada", "grudnia" ] -}, Ny = { +}, R5 = { narrow: ["N", "P", "W", "Ś", "C", "P", "S"], short: ["nie", "pon", "wto", "śro", "czw", "pią", "sob"], abbreviated: ["niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob."], @@ -8401,7 +8401,7 @@ const Ey = { "piątek", "sobota" ] -}, Ly = { +}, k5 = { narrow: ["n", "p", "w", "ś", "c", "p", "s"], short: ["nie", "pon", "wto", "śro", "czw", "pią", "sob"], abbreviated: ["niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob."], @@ -8414,7 +8414,7 @@ const Ey = { "piątek", "sobota" ] -}, Ry = { +}, H5 = { narrow: { am: "a", pm: "p", @@ -8445,7 +8445,7 @@ const Ey = { evening: "wieczór", night: "noc" } -}, ky = { +}, j5 = { narrow: { am: "a", pm: "p", @@ -8476,53 +8476,53 @@ const Ey = { evening: "wieczorem", night: "w nocy" } -}, By = (e, o) => String(e), Hy = { - ordinalNumber: By, - era: ht({ - values: Ay, +}, D5 = (e, t) => String(e), V5 = { + ordinalNumber: D5, + era: at({ + values: L5, defaultWidth: "wide" }), - quarter: ht({ - values: Oy, + quarter: at({ + values: I5, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: Ty, + month: at({ + values: N5, defaultWidth: "wide", - formattingValues: Iy, + formattingValues: B5, defaultFormattingWidth: "wide" }), - day: ht({ - values: Ny, + day: at({ + values: R5, defaultWidth: "wide", - formattingValues: Ly, + formattingValues: k5, defaultFormattingWidth: "wide" }), - dayPeriod: ht({ - values: Ry, + dayPeriod: at({ + values: H5, defaultWidth: "wide", - formattingValues: ky, + formattingValues: j5, defaultFormattingWidth: "wide" }) -}, jy = /^(\d+)?/i, Dy = /\d+/i, Vy = { +}, U5 = /^(\d+)?/i, F5 = /\d+/i, z5 = { narrow: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, abbreviated: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, wide: /^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i -}, Uy = { +}, K5 = { any: [/^p/i, /^n/i] -}, zy = { +}, W5 = { narrow: /^[1234]/i, abbreviated: /^(I|II|III|IV)\s*kw\.?/i, wide: /^(I|II|III|IV)\s*kwarta(ł|l)/i -}, Fy = { +}, J5 = { narrow: [/1/i, /2/i, /3/i, /4/i], any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i] -}, Ky = { +}, $5 = { narrow: /^[slmkcwpg]/i, abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i, wide: /^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i -}, Wy = { +}, G5 = { narrow: [ /^s/i, /^l/i, @@ -8551,19 +8551,19 @@ const Ey = { /^lis/i, /^g/i ] -}, Jy = { +}, q5 = { narrow: /^[npwścs]/i, short: /^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i, abbreviated: /^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i, wide: /^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i -}, $y = { +}, Z5 = { narrow: [/^n/i, /^p/i, /^w/i, /^ś/i, /^c/i, /^p/i, /^s/i], abbreviated: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pt/i, /^so/i], any: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pi/i, /^so/i] -}, Gy = { +}, Y5 = { narrow: /^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i, any: /^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i -}, qy = { +}, X5 = { narrow: { am: /^a$/i, pm: /^p$/i, @@ -8584,66 +8584,66 @@ const Ey = { evening: /wiecz/i, night: /noc/i } -}, Zy = { - ordinalNumber: ln({ - matchPattern: jy, - parsePattern: Dy, +}, Q5 = { + ordinalNumber: ar({ + matchPattern: U5, + parsePattern: F5, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: Vy, + era: st({ + matchPatterns: z5, defaultMatchWidth: "wide", - parsePatterns: Uy, + parsePatterns: K5, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: zy, + quarter: st({ + matchPatterns: W5, defaultMatchWidth: "wide", - parsePatterns: Fy, + parsePatterns: J5, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Ky, + month: st({ + matchPatterns: $5, defaultMatchWidth: "wide", - parsePatterns: Wy, + parsePatterns: G5, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Jy, + day: st({ + matchPatterns: q5, defaultMatchWidth: "wide", - parsePatterns: $y, + parsePatterns: Z5, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Gy, + dayPeriod: st({ + matchPatterns: Y5, defaultMatchWidth: "any", - parsePatterns: qy, + parsePatterns: X5, defaultParseWidth: "any" }) -}, Xy = { +}, e6 = { code: "pl", - formatDistance: gy, - formatLong: Cy, - formatRelative: Py, - localize: Hy, - match: Zy, + formatDistance: w5, + formatLong: E5, + formatRelative: A5, + localize: V5, + match: Q5, options: { weekStartsOn: 1, firstWeekContainsDate: 4 } }; -function go(e, o) { - if (e.one !== void 0 && o === 1) +function ei(e, t) { + if (e.one !== void 0 && t === 1) return e.one; - const g = o % 10, C = o % 100; - return g === 1 && C !== 11 ? e.singularNominative.replace("{{count}}", String(o)) : g >= 2 && g <= 4 && (C < 10 || C > 20) ? e.singularGenitive.replace("{{count}}", String(o)) : e.pluralGenitive.replace("{{count}}", String(o)); + const c = t % 10, h = t % 100; + return c === 1 && h !== 11 ? e.singularNominative.replace("{{count}}", String(t)) : c >= 2 && c <= 4 && (h < 10 || h > 20) ? e.singularGenitive.replace("{{count}}", String(t)) : e.pluralGenitive.replace("{{count}}", String(t)); } -function yr(e) { - return (o, g) => g?.addSuffix ? g.comparison && g.comparison > 0 ? e.future ? go(e.future, o) : "через " + go(e.regular, o) : e.past ? go(e.past, o) : go(e.regular, o) + " назад" : go(e.regular, o); +function vn(e) { + return (t, c) => c?.addSuffix ? c.comparison && c.comparison > 0 ? e.future ? ei(e.future, t) : "через " + ei(e.regular, t) : e.past ? ei(e.past, t) : ei(e.regular, t) + " назад" : ei(e.regular, t); } -const Yy = { - lessThanXSeconds: yr({ +const t6 = { + lessThanXSeconds: vn({ regular: { one: "меньше секунды", singularNominative: "меньше {{count}} секунды", @@ -8657,7 +8657,7 @@ const Yy = { pluralGenitive: "меньше, чем через {{count}} секунд" } }), - xSeconds: yr({ + xSeconds: vn({ regular: { singularNominative: "{{count}} секунда", singularGenitive: "{{count}} секунды", @@ -8674,8 +8674,8 @@ const Yy = { pluralGenitive: "через {{count}} секунд" } }), - halfAMinute: (e, o) => o?.addSuffix ? o.comparison && o.comparison > 0 ? "через полминуты" : "полминуты назад" : "полминуты", - lessThanXMinutes: yr({ + halfAMinute: (e, t) => t?.addSuffix ? t.comparison && t.comparison > 0 ? "через полминуты" : "полминуты назад" : "полминуты", + lessThanXMinutes: vn({ regular: { one: "меньше минуты", singularNominative: "меньше {{count}} минуты", @@ -8689,7 +8689,7 @@ const Yy = { pluralGenitive: "меньше, чем через {{count}} минут" } }), - xMinutes: yr({ + xMinutes: vn({ regular: { singularNominative: "{{count}} минута", singularGenitive: "{{count}} минуты", @@ -8706,7 +8706,7 @@ const Yy = { pluralGenitive: "через {{count}} минут" } }), - aboutXHours: yr({ + aboutXHours: vn({ regular: { singularNominative: "около {{count}} часа", singularGenitive: "около {{count}} часов", @@ -8718,21 +8718,21 @@ const Yy = { pluralGenitive: "приблизительно через {{count}} часов" } }), - xHours: yr({ + xHours: vn({ regular: { singularNominative: "{{count}} час", singularGenitive: "{{count}} часа", pluralGenitive: "{{count}} часов" } }), - xDays: yr({ + xDays: vn({ regular: { singularNominative: "{{count}} день", singularGenitive: "{{count}} дня", pluralGenitive: "{{count}} дней" } }), - aboutXWeeks: yr({ + aboutXWeeks: vn({ regular: { singularNominative: "около {{count}} недели", singularGenitive: "около {{count}} недель", @@ -8744,14 +8744,14 @@ const Yy = { pluralGenitive: "приблизительно через {{count}} недель" } }), - xWeeks: yr({ + xWeeks: vn({ regular: { singularNominative: "{{count}} неделя", singularGenitive: "{{count}} недели", pluralGenitive: "{{count}} недель" } }), - aboutXMonths: yr({ + aboutXMonths: vn({ regular: { singularNominative: "около {{count}} месяца", singularGenitive: "около {{count}} месяцев", @@ -8763,14 +8763,14 @@ const Yy = { pluralGenitive: "приблизительно через {{count}} месяцев" } }), - xMonths: yr({ + xMonths: vn({ regular: { singularNominative: "{{count}} месяц", singularGenitive: "{{count}} месяца", pluralGenitive: "{{count}} месяцев" } }), - aboutXYears: yr({ + aboutXYears: vn({ regular: { singularNominative: "около {{count}} года", singularGenitive: "около {{count}} лет", @@ -8782,14 +8782,14 @@ const Yy = { pluralGenitive: "приблизительно через {{count}} лет" } }), - xYears: yr({ + xYears: vn({ regular: { singularNominative: "{{count}} год", singularGenitive: "{{count}} года", pluralGenitive: "{{count}} лет" } }), - overXYears: yr({ + overXYears: vn({ regular: { singularNominative: "больше {{count}} года", singularGenitive: "больше {{count}} лет", @@ -8801,7 +8801,7 @@ const Yy = { pluralGenitive: "больше, чем через {{count}} лет" } }), - almostXYears: yr({ + almostXYears: vn({ regular: { singularNominative: "почти {{count}} год", singularGenitive: "почти {{count}} года", @@ -8813,32 +8813,32 @@ const Yy = { pluralGenitive: "почти через {{count}} лет" } }) -}, Qy = (e, o, g) => Yy[e](o, g), eg = { +}, n6 = (e, t, c) => t6[e](t, c), r6 = { full: "EEEE, d MMMM y 'г.'", long: "d MMMM y 'г.'", medium: "d MMM y 'г.'", short: "dd.MM.y" -}, tg = { +}, o6 = { full: "H:mm:ss zzzz", long: "H:mm:ss z", medium: "H:mm:ss", short: "H:mm" -}, rg = { +}, i6 = { any: "{{date}}, {{time}}" -}, ng = { - date: Ut({ - formats: eg, +}, a6 = { + date: Bt({ + formats: r6, defaultWidth: "full" }), - time: Ut({ - formats: tg, + time: Bt({ + formats: o6, defaultWidth: "full" }), - dateTime: Ut({ - formats: rg, + dateTime: Bt({ + formats: i6, defaultWidth: "any" }) -}, ds = [ +}, Tc = [ "воскресенье", "понедельник", "вторник", @@ -8847,65 +8847,65 @@ const Yy = { "пятницу", "субботу" ]; -function og(e) { - const o = ds[e]; +function s6(e) { + const t = Tc[e]; switch (e) { case 0: - return "'в прошлое " + o + " в' p"; + return "'в прошлое " + t + " в' p"; case 1: case 2: case 4: - return "'в прошлый " + o + " в' p"; + return "'в прошлый " + t + " в' p"; case 3: case 5: case 6: - return "'в прошлую " + o + " в' p"; + return "'в прошлую " + t + " в' p"; } } -function lu(e) { - const o = ds[e]; - return e === 2 ? "'во " + o + " в' p" : "'в " + o + " в' p"; +function Y0(e) { + const t = Tc[e]; + return e === 2 ? "'во " + t + " в' p" : "'в " + t + " в' p"; } -function ig(e) { - const o = ds[e]; +function c6(e) { + const t = Tc[e]; switch (e) { case 0: - return "'в следующее " + o + " в' p"; + return "'в следующее " + t + " в' p"; case 1: case 2: case 4: - return "'в следующий " + o + " в' p"; + return "'в следующий " + t + " в' p"; case 3: case 5: case 6: - return "'в следующую " + o + " в' p"; + return "'в следующую " + t + " в' p"; } } -const ag = { - lastWeek: (e, o, g) => { - const C = e.getDay(); - return Oo(e, o, g) ? lu(C) : og(C); +const u6 = { + lastWeek: (e, t, c) => { + const h = e.getDay(); + return fi(e, t, c) ? Y0(h) : s6(h); }, yesterday: "'вчера в' p", today: "'сегодня в' p", tomorrow: "'завтра в' p", - nextWeek: (e, o, g) => { - const C = e.getDay(); - return Oo(e, o, g) ? lu(C) : ig(C); + nextWeek: (e, t, c) => { + const h = e.getDay(); + return fi(e, t, c) ? Y0(h) : c6(h); }, other: "P" -}, sg = (e, o, g, C) => { - const P = ag[e]; - return typeof P == "function" ? P(o, g, C) : P; -}, ug = { +}, l6 = (e, t, c, h) => { + const S = u6[e]; + return typeof S == "function" ? S(t, c, h) : S; +}, d6 = { narrow: ["до н.э.", "н.э."], abbreviated: ["до н. э.", "н. э."], wide: ["до нашей эры", "нашей эры"] -}, cg = { +}, f6 = { narrow: ["1", "2", "3", "4"], abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."], wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"] -}, lg = { +}, p6 = { narrow: ["Я", "Ф", "М", "А", "М", "И", "И", "А", "С", "О", "Н", "Д"], abbreviated: [ "янв.", @@ -8935,7 +8935,7 @@ const ag = { "ноябрь", "декабрь" ] -}, dg = { +}, h6 = { narrow: ["Я", "Ф", "М", "А", "М", "И", "И", "А", "С", "О", "Н", "Д"], abbreviated: [ "янв.", @@ -8965,7 +8965,7 @@ const ag = { "ноября", "декабря" ] -}, fg = { +}, y6 = { narrow: ["В", "П", "В", "С", "Ч", "П", "С"], short: ["вс", "пн", "вт", "ср", "чт", "пт", "сб"], abbreviated: ["вск", "пнд", "втр", "срд", "чтв", "птн", "суб"], @@ -8978,7 +8978,7 @@ const ag = { "пятница", "суббота" ] -}, hg = { +}, m6 = { narrow: { am: "ДП", pm: "ПП", @@ -9009,7 +9009,7 @@ const ag = { evening: "вечер", night: "ночь" } -}, pg = { +}, g6 = { narrow: { am: "ДП", pm: "ПП", @@ -9040,54 +9040,54 @@ const ag = { evening: "вечера", night: "ночи" } -}, mg = (e, o) => { - const g = Number(e), C = o?.unit; - let P; - return C === "date" ? P = "-е" : C === "week" || C === "minute" || C === "second" ? P = "-я" : P = "-й", g + P; -}, yg = { - ordinalNumber: mg, - era: ht({ - values: ug, +}, v6 = (e, t) => { + const c = Number(e), h = t?.unit; + let S; + return h === "date" ? S = "-е" : h === "week" || h === "minute" || h === "second" ? S = "-я" : S = "-й", c + S; +}, b6 = { + ordinalNumber: v6, + era: at({ + values: d6, defaultWidth: "wide" }), - quarter: ht({ - values: cg, + quarter: at({ + values: f6, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: lg, + month: at({ + values: p6, defaultWidth: "wide", - formattingValues: dg, + formattingValues: h6, defaultFormattingWidth: "wide" }), - day: ht({ - values: fg, + day: at({ + values: y6, defaultWidth: "wide" }), - dayPeriod: ht({ - values: hg, + dayPeriod: at({ + values: m6, defaultWidth: "any", - formattingValues: pg, + formattingValues: g6, defaultFormattingWidth: "wide" }) -}, gg = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i, vg = /\d+/i, bg = { +}, w6 = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i, C6 = /\d+/i, S6 = { narrow: /^((до )?н\.?\s?э\.?)/i, abbreviated: /^((до )?н\.?\s?э\.?)/i, wide: /^(до нашей эры|нашей эры|наша эра)/i -}, wg = { +}, _6 = { any: [/^д/i, /^н/i] -}, Cg = { +}, E6 = { narrow: /^[1234]/i, abbreviated: /^[1234](-?[ыои]?й?)? кв.?/i, wide: /^[1234](-?[ыои]?й?)? квартал/i -}, _g = { +}, x6 = { any: [/1/i, /2/i, /3/i, /4/i] -}, Sg = { +}, M6 = { narrow: /^[яфмаисонд]/i, abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i, wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i -}, Mg = { +}, P6 = { narrow: [ /^я/i, /^ф/i, @@ -9116,19 +9116,19 @@ const ag = { /^н/i, /^д/i ] -}, xg = { +}, O6 = { narrow: /^[впсч]/i, short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i, abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i, wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i -}, Eg = { +}, T6 = { narrow: [/^в/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], any: [/^в[ос]/i, /^п[он]/i, /^в/i, /^ср/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] -}, Pg = { +}, A6 = { narrow: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, abbreviated: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, wide: /^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i -}, Ag = { +}, L6 = { any: { am: /^дп/i, pm: /^пп/i, @@ -9139,55 +9139,55 @@ const ag = { evening: /^в/i, night: /^н/i } -}, Og = { - ordinalNumber: ln({ - matchPattern: gg, - parsePattern: vg, +}, I6 = { + ordinalNumber: ar({ + matchPattern: w6, + parsePattern: C6, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: bg, + era: st({ + matchPatterns: S6, defaultMatchWidth: "wide", - parsePatterns: wg, + parsePatterns: _6, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: Cg, + quarter: st({ + matchPatterns: E6, defaultMatchWidth: "wide", - parsePatterns: _g, + parsePatterns: x6, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Sg, + month: st({ + matchPatterns: M6, defaultMatchWidth: "wide", - parsePatterns: Mg, + parsePatterns: P6, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: xg, + day: st({ + matchPatterns: O6, defaultMatchWidth: "wide", - parsePatterns: Eg, + parsePatterns: T6, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Pg, + dayPeriod: st({ + matchPatterns: A6, defaultMatchWidth: "wide", - parsePatterns: Ag, + parsePatterns: L6, defaultParseWidth: "any" }) -}, Tg = { +}, N6 = { code: "ru", - formatDistance: Qy, - formatLong: ng, - formatRelative: sg, - localize: yg, - match: Og, + formatDistance: n6, + formatLong: a6, + formatRelative: l6, + localize: b6, + match: I6, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, Ig = { +}, B6 = { lessThanXSeconds: { one: "bir saniyeden az", other: "{{count}} saniyeden az" @@ -9249,54 +9249,54 @@ const ag = { one: "neredeyse 1 yıl", other: "neredeyse {{count}} yıl" } -}, Ng = (e, o, g) => { - let C; - const P = Ig[e]; - return typeof P == "string" ? C = P : o === 1 ? C = P.one : C = P.other.replace("{{count}}", o.toString()), g?.addSuffix ? g.comparison && g.comparison > 0 ? C + " sonra" : C + " önce" : C; -}, Lg = { +}, R6 = (e, t, c) => { + let h; + const S = B6[e]; + return typeof S == "string" ? h = S : t === 1 ? h = S.one : h = S.other.replace("{{count}}", t.toString()), c?.addSuffix ? c.comparison && c.comparison > 0 ? h + " sonra" : h + " önce" : h; +}, k6 = { full: "d MMMM y EEEE", long: "d MMMM y", medium: "d MMM y", short: "dd.MM.yyyy" -}, Rg = { +}, H6 = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, kg = { +}, j6 = { full: "{{date}} 'saat' {{time}}", long: "{{date}} 'saat' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, Bg = { - date: Ut({ - formats: Lg, +}, D6 = { + date: Bt({ + formats: k6, defaultWidth: "full" }), - time: Ut({ - formats: Rg, + time: Bt({ + formats: H6, defaultWidth: "full" }), - dateTime: Ut({ - formats: kg, + dateTime: Bt({ + formats: j6, defaultWidth: "full" }) -}, Hg = { +}, V6 = { lastWeek: "'geçen hafta' eeee 'saat' p", yesterday: "'dün saat' p", today: "'bugün saat' p", tomorrow: "'yarın saat' p", nextWeek: "eeee 'saat' p", other: "P" -}, jg = (e, o, g, C) => Hg[e], Dg = { +}, U6 = (e, t, c, h) => V6[e], F6 = { narrow: ["MÖ", "MS"], abbreviated: ["MÖ", "MS"], wide: ["Milattan Önce", "Milattan Sonra"] -}, Vg = { +}, z6 = { narrow: ["1", "2", "3", "4"], abbreviated: ["1Ç", "2Ç", "3Ç", "4Ç"], wide: ["İlk çeyrek", "İkinci Çeyrek", "Üçüncü çeyrek", "Son çeyrek"] -}, Ug = { +}, K6 = { narrow: ["O", "Ş", "M", "N", "M", "H", "T", "A", "E", "E", "K", "A"], abbreviated: [ "Oca", @@ -9326,7 +9326,7 @@ const ag = { "Kasım", "Aralık" ] -}, zg = { +}, W6 = { narrow: ["P", "P", "S", "Ç", "P", "C", "C"], short: ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], abbreviated: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cts"], @@ -9339,7 +9339,7 @@ const ag = { "Cuma", "Cumartesi" ] -}, Fg = { +}, J6 = { narrow: { am: "öö", pm: "ös", @@ -9370,7 +9370,7 @@ const ag = { evening: "akşam", night: "gece" } -}, Kg = { +}, $6 = { narrow: { am: "öö", pm: "ös", @@ -9401,42 +9401,42 @@ const ag = { evening: "akşamleyin", night: "geceleyin" } -}, Wg = (e, o) => Number(e) + ".", Jg = { - ordinalNumber: Wg, - era: ht({ - values: Dg, +}, G6 = (e, t) => Number(e) + ".", q6 = { + ordinalNumber: G6, + era: at({ + values: F6, defaultWidth: "wide" }), - quarter: ht({ - values: Vg, + quarter: at({ + values: z6, defaultWidth: "wide", argumentCallback: (e) => Number(e) - 1 }), - month: ht({ - values: Ug, + month: at({ + values: K6, defaultWidth: "wide" }), - day: ht({ - values: zg, + day: at({ + values: W6, defaultWidth: "wide" }), - dayPeriod: ht({ - values: Fg, + dayPeriod: at({ + values: J6, defaultWidth: "wide", - formattingValues: Kg, + formattingValues: $6, defaultFormattingWidth: "wide" }) -}, $g = /^(\d+)(\.)?/i, Gg = /\d+/i, qg = { +}, Z6 = /^(\d+)(\.)?/i, Y6 = /\d+/i, X6 = { narrow: /^(mö|ms)/i, abbreviated: /^(mö|ms)/i, wide: /^(milattan önce|milattan sonra)/i -}, Zg = { +}, Q6 = { any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i] -}, Xg = { +}, ev = { narrow: /^[1234]/i, abbreviated: /^[1234]ç/i, wide: /^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i -}, Yg = { +}, tv = { any: [/1/i, /2/i, /3/i, /4/i], abbreviated: [/1ç/i, /2ç/i, /3ç/i, /4ç/i], wide: [ @@ -9445,11 +9445,11 @@ const ag = { /üçüncü çeyrek/i, /son çeyrek/i ] -}, Qg = { +}, nv = { narrow: /^[oşmnhtaek]/i, abbreviated: /^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i, wide: /^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i -}, e4 = { +}, rv = { narrow: [ /^o/i, /^ş/i, @@ -9478,12 +9478,12 @@ const ag = { /^k/i, /^ar/i ] -}, t4 = { +}, ov = { narrow: /^[psçc]/i, short: /^(pz|pt|sa|ça|pe|cu|ct)/i, abbreviated: /^(paz|pzt|sal|çar|per|cum|cts)/i, wide: /^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i -}, r4 = { +}, iv = { narrow: [/^p/i, /^p/i, /^s/i, /^ç/i, /^p/i, /^c/i, /^c/i], any: [/^pz/i, /^pt/i, /^sa/i, /^ça/i, /^pe/i, /^cu/i, /^ct/i], wide: [ @@ -9495,10 +9495,10 @@ const ag = { /^cuma(?!rtesi)/i, /^cumartesi/i ] -}, n4 = { +}, av = { narrow: /^(öö|ös|gy|ö|sa|ös|ak|ge)/i, any: /^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i -}, o4 = { +}, sv = { any: { am: /^ö\.?ö\.?/i, pm: /^ö\.?s\.?/i, @@ -9509,68 +9509,68 @@ const ag = { evening: /^ak/i, night: /^ge/i } -}, i4 = { - ordinalNumber: ln({ - matchPattern: $g, - parsePattern: Gg, +}, cv = { + ordinalNumber: ar({ + matchPattern: Z6, + parsePattern: Y6, valueCallback: function(e) { return parseInt(e, 10); } }), - era: pt({ - matchPatterns: qg, + era: st({ + matchPatterns: X6, defaultMatchWidth: "wide", - parsePatterns: Zg, + parsePatterns: Q6, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: Xg, + quarter: st({ + matchPatterns: ev, defaultMatchWidth: "wide", - parsePatterns: Yg, + parsePatterns: tv, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Qg, + month: st({ + matchPatterns: nv, defaultMatchWidth: "wide", - parsePatterns: e4, + parsePatterns: rv, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: t4, + day: st({ + matchPatterns: ov, defaultMatchWidth: "wide", - parsePatterns: r4, + parsePatterns: iv, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: n4, + dayPeriod: st({ + matchPatterns: av, defaultMatchWidth: "any", - parsePatterns: o4, + parsePatterns: sv, defaultParseWidth: "any" }) -}, a4 = { +}, uv = { code: "tr", - formatDistance: Ng, - formatLong: Bg, - formatRelative: jg, - localize: Jg, - match: i4, + formatDistance: R6, + formatLong: D6, + formatRelative: U6, + localize: q6, + match: cv, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } }; -function vo(e, o) { - if (e.one !== void 0 && o === 1) +function ti(e, t) { + if (e.one !== void 0 && t === 1) return e.one; - const g = o % 10, C = o % 100; - return g === 1 && C !== 11 ? e.singularNominative.replace("{{count}}", String(o)) : g >= 2 && g <= 4 && (C < 10 || C > 20) ? e.singularGenitive.replace("{{count}}", String(o)) : e.pluralGenitive.replace("{{count}}", String(o)); + const c = t % 10, h = t % 100; + return c === 1 && h !== 11 ? e.singularNominative.replace("{{count}}", String(t)) : c >= 2 && c <= 4 && (h < 10 || h > 20) ? e.singularGenitive.replace("{{count}}", String(t)) : e.pluralGenitive.replace("{{count}}", String(t)); } -function gr(e) { - return (o, g) => g && g.addSuffix ? g.comparison && g.comparison > 0 ? e.future ? vo(e.future, o) : "за " + vo(e.regular, o) : e.past ? vo(e.past, o) : vo(e.regular, o) + " тому" : vo(e.regular, o); +function bn(e) { + return (t, c) => c && c.addSuffix ? c.comparison && c.comparison > 0 ? e.future ? ti(e.future, t) : "за " + ti(e.regular, t) : e.past ? ti(e.past, t) : ti(e.regular, t) + " тому" : ti(e.regular, t); } -const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за півхвилини" : "півхвилини тому" : "півхвилини", u4 = { - lessThanXSeconds: gr({ +const lv = (e, t) => t && t.addSuffix ? t.comparison && t.comparison > 0 ? "за півхвилини" : "півхвилини тому" : "півхвилини", dv = { + lessThanXSeconds: bn({ regular: { one: "менше секунди", singularNominative: "менше {{count}} секунди", @@ -9584,7 +9584,7 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "менше, ніж за {{count}} секунд" } }), - xSeconds: gr({ + xSeconds: bn({ regular: { singularNominative: "{{count}} секунда", singularGenitive: "{{count}} секунди", @@ -9601,8 +9601,8 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "за {{count}} секунд" } }), - halfAMinute: s4, - lessThanXMinutes: gr({ + halfAMinute: lv, + lessThanXMinutes: bn({ regular: { one: "менше хвилини", singularNominative: "менше {{count}} хвилини", @@ -9616,7 +9616,7 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "менше, ніж за {{count}} хвилин" } }), - xMinutes: gr({ + xMinutes: bn({ regular: { singularNominative: "{{count}} хвилина", singularGenitive: "{{count}} хвилини", @@ -9633,7 +9633,7 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "за {{count}} хвилин" } }), - aboutXHours: gr({ + aboutXHours: bn({ regular: { singularNominative: "близько {{count}} години", singularGenitive: "близько {{count}} годин", @@ -9645,21 +9645,21 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} годин" } }), - xHours: gr({ + xHours: bn({ regular: { singularNominative: "{{count}} годину", singularGenitive: "{{count}} години", pluralGenitive: "{{count}} годин" } }), - xDays: gr({ + xDays: bn({ regular: { singularNominative: "{{count}} день", singularGenitive: "{{count}} днi", pluralGenitive: "{{count}} днів" } }), - aboutXWeeks: gr({ + aboutXWeeks: bn({ regular: { singularNominative: "близько {{count}} тижня", singularGenitive: "близько {{count}} тижнів", @@ -9671,14 +9671,14 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} тижнів" } }), - xWeeks: gr({ + xWeeks: bn({ regular: { singularNominative: "{{count}} тиждень", singularGenitive: "{{count}} тижні", pluralGenitive: "{{count}} тижнів" } }), - aboutXMonths: gr({ + aboutXMonths: bn({ regular: { singularNominative: "близько {{count}} місяця", singularGenitive: "близько {{count}} місяців", @@ -9690,14 +9690,14 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} місяців" } }), - xMonths: gr({ + xMonths: bn({ regular: { singularNominative: "{{count}} місяць", singularGenitive: "{{count}} місяці", pluralGenitive: "{{count}} місяців" } }), - aboutXYears: gr({ + aboutXYears: bn({ regular: { singularNominative: "близько {{count}} року", singularGenitive: "близько {{count}} років", @@ -9709,14 +9709,14 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} років" } }), - xYears: gr({ + xYears: bn({ regular: { singularNominative: "{{count}} рік", singularGenitive: "{{count}} роки", pluralGenitive: "{{count}} років" } }), - overXYears: gr({ + overXYears: bn({ regular: { singularNominative: "більше {{count}} року", singularGenitive: "більше {{count}} років", @@ -9728,7 +9728,7 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "більше, ніж за {{count}} років" } }), - almostXYears: gr({ + almostXYears: bn({ regular: { singularNominative: "майже {{count}} рік", singularGenitive: "майже {{count}} роки", @@ -9740,35 +9740,35 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "майже за {{count}} років" } }) -}, c4 = (e, o, g) => (g = g || {}, u4[e](o, g)), l4 = { +}, fv = (e, t, c) => (c = c || {}, dv[e](t, c)), pv = { full: "EEEE, do MMMM y 'р.'", long: "do MMMM y 'р.'", medium: "d MMM y 'р.'", short: "dd.MM.y" -}, d4 = { +}, hv = { full: "H:mm:ss zzzz", long: "H:mm:ss z", medium: "H:mm:ss", short: "H:mm" -}, f4 = { +}, yv = { full: "{{date}} 'о' {{time}}", long: "{{date}} 'о' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, h4 = { - date: Ut({ - formats: l4, +}, mv = { + date: Bt({ + formats: pv, defaultWidth: "full" }), - time: Ut({ - formats: d4, + time: Bt({ + formats: hv, defaultWidth: "full" }), - dateTime: Ut({ - formats: f4, + dateTime: Bt({ + formats: yv, defaultWidth: "full" }) -}, fs = [ +}, Ac = [ "неділю", "понеділок", "вівторок", @@ -9777,62 +9777,62 @@ const s4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за "п’ятницю", "суботу" ]; -function p4(e) { - const o = fs[e]; +function gv(e) { + const t = Ac[e]; switch (e) { case 0: case 3: case 5: case 6: - return "'у минулу " + o + " о' p"; + return "'у минулу " + t + " о' p"; case 1: case 2: case 4: - return "'у минулий " + o + " о' p"; + return "'у минулий " + t + " о' p"; } } -function kl(e) { - return "'у " + fs[e] + " о' p"; +function zd(e) { + return "'у " + Ac[e] + " о' p"; } -function m4(e) { - const o = fs[e]; +function vv(e) { + const t = Ac[e]; switch (e) { case 0: case 3: case 5: case 6: - return "'у наступну " + o + " о' p"; + return "'у наступну " + t + " о' p"; case 1: case 2: case 4: - return "'у наступний " + o + " о' p"; + return "'у наступний " + t + " о' p"; } } -const y4 = (e, o, g) => { - const C = Ln(e), P = C.getDay(); - return Oo(C, o, g) ? kl(P) : p4(P); -}, g4 = (e, o, g) => { - const C = Ln(e), P = C.getDay(); - return Oo(C, o, g) ? kl(P) : m4(P); -}, v4 = { - lastWeek: y4, +const bv = (e, t, c) => { + const h = qr(e), S = h.getDay(); + return fi(h, t, c) ? zd(S) : gv(S); +}, wv = (e, t, c) => { + const h = qr(e), S = h.getDay(); + return fi(h, t, c) ? zd(S) : vv(S); +}, Cv = { + lastWeek: bv, yesterday: "'вчора о' p", today: "'сьогодні о' p", tomorrow: "'завтра о' p", - nextWeek: g4, + nextWeek: wv, other: "P" -}, b4 = (e, o, g, C) => { - const P = v4[e]; - return typeof P == "function" ? P(o, g, C) : P; -}, w4 = { +}, Sv = (e, t, c, h) => { + const S = Cv[e]; + return typeof S == "function" ? S(t, c, h) : S; +}, _v = { narrow: ["до н.е.", "н.е."], abbreviated: ["до н. е.", "н. е."], wide: ["до нашої ери", "нашої ери"] -}, C4 = { +}, Ev = { narrow: ["1", "2", "3", "4"], abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."], wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"] -}, _4 = { +}, xv = { // ДСТУ 3582:2013 narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"], abbreviated: [ @@ -9863,7 +9863,7 @@ const y4 = (e, o, g) => { "листопад", "грудень" ] -}, S4 = { +}, Mv = { narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"], abbreviated: [ "січ.", @@ -9893,7 +9893,7 @@ const y4 = (e, o, g) => { "листопада", "грудня" ] -}, M4 = { +}, Pv = { narrow: ["Н", "П", "В", "С", "Ч", "П", "С"], short: ["нд", "пн", "вт", "ср", "чт", "пт", "сб"], abbreviated: ["нед", "пон", "вів", "сер", "чтв", "птн", "суб"], @@ -9906,7 +9906,7 @@ const y4 = (e, o, g) => { "п’ятниця", "субота" ] -}, x4 = { +}, Ov = { narrow: { am: "ДП", pm: "ПП", @@ -9937,7 +9937,7 @@ const y4 = (e, o, g) => { evening: "вечір", night: "ніч" } -}, E4 = { +}, Tv = { narrow: { am: "ДП", pm: "ПП", @@ -9968,54 +9968,54 @@ const y4 = (e, o, g) => { evening: "веч.", night: "ночі" } -}, P4 = (e, o) => { - const g = String(o?.unit), C = Number(e); - let P; - return g === "date" ? C === 3 || C === 23 ? P = "-є" : P = "-е" : g === "minute" || g === "second" || g === "hour" ? P = "-а" : P = "-й", C + P; -}, A4 = { - ordinalNumber: P4, - era: ht({ - values: w4, +}, Av = (e, t) => { + const c = String(t?.unit), h = Number(e); + let S; + return c === "date" ? h === 3 || h === 23 ? S = "-є" : S = "-е" : c === "minute" || c === "second" || c === "hour" ? S = "-а" : S = "-й", h + S; +}, Lv = { + ordinalNumber: Av, + era: at({ + values: _v, defaultWidth: "wide" }), - quarter: ht({ - values: C4, + quarter: at({ + values: Ev, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: _4, + month: at({ + values: xv, defaultWidth: "wide", - formattingValues: S4, + formattingValues: Mv, defaultFormattingWidth: "wide" }), - day: ht({ - values: M4, + day: at({ + values: Pv, defaultWidth: "wide" }), - dayPeriod: ht({ - values: x4, + dayPeriod: at({ + values: Ov, defaultWidth: "any", - formattingValues: E4, + formattingValues: Tv, defaultFormattingWidth: "wide" }) -}, O4 = /^(\d+)(-?(е|й|є|а|я))?/i, T4 = /\d+/i, I4 = { +}, Iv = /^(\d+)(-?(е|й|є|а|я))?/i, Nv = /\d+/i, Bv = { narrow: /^((до )?н\.?\s?е\.?)/i, abbreviated: /^((до )?н\.?\s?е\.?)/i, wide: /^(до нашої ери|нашої ери|наша ера)/i -}, N4 = { +}, Rv = { any: [/^д/i, /^н/i] -}, L4 = { +}, kv = { narrow: /^[1234]/i, abbreviated: /^[1234](-?[иі]?й?)? кв.?/i, wide: /^[1234](-?[иі]?й?)? квартал/i -}, R4 = { +}, Hv = { any: [/1/i, /2/i, /3/i, /4/i] -}, k4 = { +}, jv = { narrow: /^[слбктчвжг]/i, abbreviated: /^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i, wide: /^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i -}, B4 = { +}, Dv = { narrow: [ /^с/i, /^л/i, @@ -10044,19 +10044,19 @@ const y4 = (e, o, g) => { /^лис/i, /^г/i ] -}, H4 = { +}, Vv = { narrow: /^[нпвсч]/i, short: /^(нд|пн|вт|ср|чт|пт|сб)\.?/i, abbreviated: /^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i, wide: /^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i -}, j4 = { +}, Uv = { narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], any: [/^н/i, /^п[он]/i, /^в/i, /^с[ер]/i, /^ч/i, /^п\W*?[ят]/i, /^с[уб]/i] -}, D4 = { +}, Fv = { narrow: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, abbreviated: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, wide: /^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i -}, V4 = { +}, zv = { any: { am: /^дп/i, pm: /^пп/i, @@ -10067,55 +10067,55 @@ const y4 = (e, o, g) => { evening: /^в/i, night: /^н/i } -}, U4 = { - ordinalNumber: ln({ - matchPattern: O4, - parsePattern: T4, +}, Kv = { + ordinalNumber: ar({ + matchPattern: Iv, + parsePattern: Nv, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: I4, + era: st({ + matchPatterns: Bv, defaultMatchWidth: "wide", - parsePatterns: N4, + parsePatterns: Rv, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: L4, + quarter: st({ + matchPatterns: kv, defaultMatchWidth: "wide", - parsePatterns: R4, + parsePatterns: Hv, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: k4, + month: st({ + matchPatterns: jv, defaultMatchWidth: "wide", - parsePatterns: B4, + parsePatterns: Dv, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: H4, + day: st({ + matchPatterns: Vv, defaultMatchWidth: "wide", - parsePatterns: j4, + parsePatterns: Uv, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: D4, + dayPeriod: st({ + matchPatterns: Fv, defaultMatchWidth: "wide", - parsePatterns: V4, + parsePatterns: zv, defaultParseWidth: "any" }) -}, z4 = { +}, Wv = { code: "uk", - formatDistance: c4, - formatLong: h4, - formatRelative: b4, - localize: A4, - match: U4, + formatDistance: fv, + formatLong: mv, + formatRelative: Sv, + localize: Lv, + match: Kv, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, F4 = { +}, Jv = { lessThanXSeconds: { one: "dưới 1 giây", other: "dưới {{count}} giây" @@ -10177,11 +10177,11 @@ const y4 = (e, o, g) => { one: "gần 1 năm", other: "gần {{count}} năm" } -}, K4 = (e, o, g) => { - let C; - const P = F4[e]; - return typeof P == "string" ? C = P : o === 1 ? C = P.one : C = P.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? C + " nữa" : C + " trước" : C; -}, W4 = { +}, $v = (e, t, c) => { + let h; + const S = Jv[e]; + return typeof S == "string" ? h = S : t === 1 ? h = S.one : h = S.other.replace("{{count}}", String(t)), c?.addSuffix ? c.comparison && c.comparison > 0 ? h + " nữa" : h + " trước" : h; +}, Gv = { // thứ Sáu, ngày 25 tháng 08 năm 2017 full: "EEEE, 'ngày' d MMMM 'năm' y", // ngày 25 tháng 08 năm 2017 @@ -10190,52 +10190,52 @@ const y4 = (e, o, g) => { medium: "d MMM 'năm' y", // 25/08/2017 short: "dd/MM/y" -}, J4 = { +}, qv = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, $4 = { +}, Zv = { // thứ Sáu, ngày 25 tháng 08 năm 2017 23:25:59 full: "{{date}} {{time}}", // ngày 25 tháng 08 năm 2017 23:25 long: "{{date}} {{time}}", medium: "{{date}} {{time}}", short: "{{date}} {{time}}" -}, G4 = { - date: Ut({ - formats: W4, +}, Yv = { + date: Bt({ + formats: Gv, defaultWidth: "full" }), - time: Ut({ - formats: J4, + time: Bt({ + formats: qv, defaultWidth: "full" }), - dateTime: Ut({ - formats: $4, + dateTime: Bt({ + formats: Zv, defaultWidth: "full" }) -}, q4 = { +}, Xv = { lastWeek: "eeee 'tuần trước vào lúc' p", yesterday: "'hôm qua vào lúc' p", today: "'hôm nay vào lúc' p", tomorrow: "'ngày mai vào lúc' p", nextWeek: "eeee 'tới vào lúc' p", other: "P" -}, Z4 = (e, o, g, C) => q4[e], X4 = { +}, Qv = (e, t, c, h) => Xv[e], e8 = { narrow: ["TCN", "SCN"], abbreviated: ["trước CN", "sau CN"], wide: ["trước Công Nguyên", "sau Công Nguyên"] -}, Y4 = { +}, t8 = { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["Quý 1", "Quý 2", "Quý 3", "Quý 4"] -}, Q4 = { +}, n8 = { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], // I notice many news outlet use this "quý II/2018" wide: ["quý I", "quý II", "quý III", "quý IV"] -}, e6 = { +}, r8 = { narrow: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], abbreviated: [ "Thg 1", @@ -10265,7 +10265,7 @@ const y4 = (e, o, g) => { "Tháng Mười Một", "Tháng Mười Hai" ] -}, t6 = { +}, o8 = { narrow: [ "01", "02", @@ -10308,7 +10308,7 @@ const y4 = (e, o, g) => { "tháng 11", "tháng 12" ] -}, r6 = { +}, i8 = { narrow: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"], short: ["CN", "Th 2", "Th 3", "Th 4", "Th 5", "Th 6", "Th 7"], abbreviated: ["CN", "Thứ 2", "Thứ 3", "Thứ 4", "Thứ 5", "Thứ 6", "Thứ 7"], @@ -10321,7 +10321,7 @@ const y4 = (e, o, g) => { "Thứ Sáu", "Thứ Bảy" ] -}, n6 = { +}, a8 = { // narrow date period is extremely rare in Vietnamese // I used abbreviated form for noon, morning and afternoon // which are regconizable by Vietnamese, others cannot be any shorter @@ -10355,7 +10355,7 @@ const y4 = (e, o, g) => { evening: "tối", night: "đêm" } -}, o6 = { +}, s8 = { narrow: { am: "am", pm: "pm", @@ -10386,10 +10386,10 @@ const y4 = (e, o, g) => { evening: "vào buổi tối", night: "vào ban đêm" } -}, i6 = (e, o) => { - const g = Number(e), C = o?.unit; - if (C === "quarter") - switch (g) { +}, c8 = (e, t) => { + const c = Number(e), h = t?.unit; + if (h === "quarter") + switch (c) { case 1: return "I"; case 2: @@ -10399,8 +10399,8 @@ const y4 = (e, o, g) => { case 4: return "IV"; } - else if (C === "day") - switch (g) { + else if (h === "day") + switch (c) { case 1: return "thứ 2"; // meaning 2nd day but it's the first day of the week :D @@ -10420,54 +10420,54 @@ const y4 = (e, o, g) => { return "chủ nhật"; } else { - if (C === "week") - return g === 1 ? "thứ nhất" : "thứ " + g; - if (C === "dayOfYear") - return g === 1 ? "đầu tiên" : "thứ " + g; + if (h === "week") + return c === 1 ? "thứ nhất" : "thứ " + c; + if (h === "dayOfYear") + return c === 1 ? "đầu tiên" : "thứ " + c; } - return String(g); -}, a6 = { - ordinalNumber: i6, - era: ht({ - values: X4, + return String(c); +}, u8 = { + ordinalNumber: c8, + era: at({ + values: e8, defaultWidth: "wide" }), - quarter: ht({ - values: Y4, + quarter: at({ + values: t8, defaultWidth: "wide", - formattingValues: Q4, + formattingValues: n8, defaultFormattingWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: e6, + month: at({ + values: r8, defaultWidth: "wide", - formattingValues: t6, + formattingValues: o8, defaultFormattingWidth: "wide" }), - day: ht({ - values: r6, + day: at({ + values: i8, defaultWidth: "wide" }), - dayPeriod: ht({ - values: n6, + dayPeriod: at({ + values: a8, defaultWidth: "wide", - formattingValues: o6, + formattingValues: s8, defaultFormattingWidth: "wide" }) -}, s6 = /^(\d+)/i, u6 = /\d+/i, c6 = { +}, l8 = /^(\d+)/i, d8 = /\d+/i, f8 = { narrow: /^(tcn|scn)/i, abbreviated: /^(trước CN|sau CN)/i, wide: /^(trước Công Nguyên|sau Công Nguyên)/i -}, l6 = { +}, p8 = { any: [/^t/i, /^s/i] -}, d6 = { +}, h8 = { narrow: /^([1234]|i{1,3}v?)/i, abbreviated: /^q([1234]|i{1,3}v?)/i, wide: /^quý ([1234]|i{1,3}v?)/i -}, f6 = { +}, y8 = { any: [/(1|i)$/i, /(2|ii)$/i, /(3|iii)$/i, /(4|iv)$/i] -}, h6 = { +}, m8 = { // month number may contain leading 0, 'thg' prefix may have space, underscore or empty before number // note the order of '1' since it is a sub-string of '10', so must be lower priority narrow: /^(0?[2-9]|10|11|12|0?1)/i, @@ -10475,7 +10475,7 @@ const y4 = (e, o, g) => { abbreviated: /^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i, // note the order of 'Mười' since it is sub-string of Mười Một, so must be lower priority wide: /^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i -}, p6 = { +}, g8 = { narrow: [ /0?1$/i, /0?2/i, @@ -10518,21 +10518,21 @@ const y4 = (e, o, g) => { /^tháng ?(Mười ?Một|11)/i, /^tháng ?(Mười ?Hai|12)/i ] -}, m6 = { +}, v8 = { narrow: /^(CN|T2|T3|T4|T5|T6|T7)/i, short: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, abbreviated: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, wide: /^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i -}, y6 = { +}, b8 = { narrow: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], short: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], abbreviated: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], wide: [/(Chủ|Chúa) ?Nhật/i, /Hai/i, /Ba/i, /Tư/i, /Năm/i, /Sáu/i, /Bảy/i] -}, g6 = { +}, w8 = { narrow: /^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, abbreviated: /^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, wide: /^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i -}, v6 = { +}, C8 = { any: { am: /^(a|sa)/i, pm: /^(p|ch[^i]*)/i, @@ -10543,80 +10543,80 @@ const y4 = (e, o, g) => { evening: /tối/i, night: /^đêm/i } -}, b6 = { - ordinalNumber: ln({ - matchPattern: s6, - parsePattern: u6, +}, S8 = { + ordinalNumber: ar({ + matchPattern: l8, + parsePattern: d8, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: c6, + era: st({ + matchPatterns: f8, defaultMatchWidth: "wide", - parsePatterns: l6, + parsePatterns: p8, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: d6, + quarter: st({ + matchPatterns: h8, defaultMatchWidth: "wide", - parsePatterns: f6, + parsePatterns: y8, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: h6, + month: st({ + matchPatterns: m8, defaultMatchWidth: "wide", - parsePatterns: p6, + parsePatterns: g8, defaultParseWidth: "wide" }), - day: pt({ - matchPatterns: m6, + day: st({ + matchPatterns: v8, defaultMatchWidth: "wide", - parsePatterns: y6, + parsePatterns: b8, defaultParseWidth: "wide" }), - dayPeriod: pt({ - matchPatterns: g6, + dayPeriod: st({ + matchPatterns: w8, defaultMatchWidth: "wide", - parsePatterns: v6, + parsePatterns: C8, defaultParseWidth: "any" }) -}, w6 = { +}, _8 = { code: "vi", - formatDistance: K4, - formatLong: G4, - formatRelative: Z4, - localize: a6, - match: b6, + formatDistance: $v, + formatLong: Yv, + formatRelative: Qv, + localize: u8, + match: S8, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, xS = window.navigator.userAgent.includes("Safari") && !window.navigator.userAgent.includes("Chrome"), C6 = Intl && Intl.RelativeTimeFormat, ES = 1e-5, Bl = 4, Hl = 2, No = 5, _6 = 9, S6 = { - en: Nl, - es: cm, - uk: z4, - tr: a4, - nl: py, - ru: Tg, - pl: Xy, - vi: w6, - fr: Dm, - az: N3 -}, M6 = Pl(), Rn = Yh({ +}, yO = window.navigator.userAgent.includes("Safari") && !window.navigator.userAgent.includes("Chrome"), E8 = Intl && Intl.RelativeTimeFormat, mO = 1e-5, Kd = 4, Wd = 2, yi = 5, x8 = 9, M8 = { + en: Vd, + es: f4, + uk: Wv, + tr: uv, + nl: g5, + ru: N6, + pl: e6, + vi: _8, + fr: F4, + az: Rg +}, P8 = Rd(), Zr = t3({ locale: "en-US", messages: { "components.transaction_status": "Success" } -}, M6), Gr = (e, { - precision: o, - notation: g, - compactDisplay: C -} = {}) => Rn.formatNumber(e, { - minimumFractionDigits: o || 0, - maximumFractionDigits: o || 0, - notation: g, - compactDisplay: C -}), x6 = [ +}, P8), zn = (e, { + precision: t, + notation: c, + compactDisplay: h +} = {}) => Zr.formatNumber(e, { + minimumFractionDigits: t || 0, + maximumFractionDigits: t || 0, + notation: c, + compactDisplay: h +}), O8 = [ "", "k", //Thousand @@ -10688,26 +10688,26 @@ const y4 = (e, o, g) => { //Googol "e104" //Tretrigintillion -], E6 = (e) => { - const o = Math.log10(Math.abs(e)) / 3 | 0; - if ([0, 1, 2].includes(o)) - return Gr(e, { - precision: No +], T8 = (e) => { + const t = Math.log10(Math.abs(e)) / 3 | 0; + if ([0, 1, 2].includes(t)) + return zn(e, { + precision: yi }); - const C = x6[o], P = Math.pow(10, o * 3); - return (e / P).toFixed(5) + C; -}, P6 = (e, o, { - precision: g -} = {}) => Rn.formatNumber(e, { + const h = O8[t], S = Math.pow(10, t * 3); + return (e / S).toFixed(5) + h; +}, A8 = (e, t, { + precision: c +} = {}) => Zr.formatNumber(e, { style: "currency", - currency: o, - minimumFractionDigits: g, - maximumFractionDigits: g -}), PS = (e, { - precision: o -} = {}) => e.toFixed(o || 2), A6 = (e) => { - const o = new Date(e), g = tr.language || "en"; - return `${new Intl.DateTimeFormat(g, { + currency: t, + minimumFractionDigits: c, + maximumFractionDigits: c +}), gO = (e, { + precision: t +} = {}) => e.toFixed(t || 2), L8 = (e) => { + const t = new Date(e), c = rn.language || "en"; + return `${new Intl.DateTimeFormat(c, { month: "short", day: "numeric", year: "numeric", @@ -10715,8 +10715,8 @@ const y4 = (e, o, g) => { minute: "numeric", second: "numeric", timeZoneName: "short" - }).format(o)}`; -}, O6 = { + }).format(t)}`; +}, I8 = { lessThanXSeconds: "second", xSeconds: "second", lessThanXMinutes: "minute", @@ -10725,93 +10725,93 @@ const y4 = (e, o, g) => { xDays: "day", xMonths: "month", xYears: "year" -}, T6 = (e, o, g) => { - g = g || {}; - const C = g.locale.code || "en"; - return new Intl.RelativeTimeFormat(C, { +}, N8 = (e, t, c) => { + c = c || {}; + const h = c.locale.code || "en"; + return new Intl.RelativeTimeFormat(h, { style: "short" - }).format(-o, O6[e]).replace(".", ""); -}, jl = (e) => { - const o = new Date(e), g = tr.language !== "az" && C6; - return `${kp(o, { + }).format(-t, I8[e]).replace(".", ""); +}, Jd = (e) => { + const t = new Date(e), c = rn.language !== "az" && E8; + return `${j3(t, { addSuffix: !0, locale: { - ...S6[tr.language], - ...g && { - formatDistance: T6 + ...M8[rn.language], + ...c && { + formatDistance: N8 } }, roundingMethod: "floor" })}`; -}, AS = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, vO = (e) => { + const t = new Date(e); + return `${Zr.formatDate(t, { month: "short", day: "numeric", year: "numeric" - })}, ${Rn.formatTime(o, { + })}, ${Zr.formatTime(t, { hour: "numeric", minute: "numeric" })}`; -}, OS = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, bO = (e) => { + const t = new Date(e); + return `${Zr.formatDate(t, { month: "short", day: "numeric", year: "numeric", weekday: "long" })}`; -}, TS = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, wO = (e) => { + const t = new Date(e); + return `${Zr.formatDate(t, { month: "short", day: "numeric" })}`; -}, IS = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, CO = (e) => { + const t = new Date(e); + return `${Zr.formatDate(t, { month: "short", year: "numeric" })}`; }; -var I6 = /* @__PURE__ */ ((e) => (e.default = "default", e.big = "big", e))(I6 || {}), Vt = /* @__PURE__ */ ((e) => (e[e.FULL = 0] = "FULL", e[e.TINY = 5] = "TINY", e[e.LITTLE = 10] = "LITTLE", e[e.SMALL = 15] = "SMALL", e[e.MEDIUM = 20] = "MEDIUM", e[e.LARGE = 25] = "LARGE", e))(Vt || {}); -const N6 = (e, o = 5) => { - const g = e.length; - if (g <= o) +var B8 = /* @__PURE__ */ ((e) => (e.default = "default", e.big = "big", e))(B8 || {}), Nt = /* @__PURE__ */ ((e) => (e[e.FULL = 0] = "FULL", e[e.TINY = 5] = "TINY", e[e.LITTLE = 10] = "LITTLE", e[e.SMALL = 15] = "SMALL", e[e.MEDIUM = 20] = "MEDIUM", e[e.LARGE = 25] = "LARGE", e))(Nt || {}); +const R8 = (e, t = 5) => { + const c = e.length; + if (c <= t) return e; - const C = e.substring(0, o), P = e.substring(g - o); - return `${C}...${P}`; -}, Vr = (e, o = 5) => { - const [C, P] = e.split("-"), x = C.length; - if (o === 0 || x <= 13) + const h = e.substring(0, t), S = e.substring(c - t); + return `${h}...${S}`; +}, kn = (e, t = 5) => { + const [h, S] = e.split("-"), g = h.length; + if (t === 0 || g <= 13) return e; - const n = N6(C, o); - return P ? `${n}-${P}` : `${n}`; -}, NS = (e) => Bp(e, {}), LS = (e) => `${Gr(e, { + const n = R8(h, t); + return S ? `${n}-${S}` : `${n}`; +}, SO = (e) => D3(e, {}), _O = (e) => `${zn(e, { notation: "compact", compactDisplay: "short" -})}`, RS = (e) => Gr(e, { +})}`, EO = (e) => zn(e, { precision: 4 -}), Dl = (e, o) => e && e.length > o ? e.substring(0, o - 1) + "..." : e, Wa = (e, o = 15) => { - const [g, C] = e.split(/(.cspr)$/), P = 13, x = g.length; - if (x === 0 || x <= P) +}), $d = (e, t) => e && e.length > t ? e.substring(0, t - 1) + "..." : e, rc = (e, t = 15) => { + const [c, h] = e.split(/(.cspr)$/), S = 13, g = c.length; + if (g === 0 || g <= S) return e; - const n = g.substring(0, o), c = g.substring(x - o); - return `${n}...${c}${C}`; -}, L6 = 24, Ja = ({ + const n = c.substring(0, t), s = c.substring(g - t); + return `${n}...${s}${h}`; +}, k8 = 24, oc = ({ hash: e, - href: o = "./", - csprName: g, - hashLength: C = void 0, - minified: P = !0, - align: x = "center" + href: t = "./", + csprName: c, + hashLength: h = void 0, + minified: S = !0, + align: g = "center" }) => { - const n = g || e || "", c = g && C === Vt.TINY ? Dl(g, L6) : g, r = e ? Vr(e, C) : null; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: x, children: [ - /* @__PURE__ */ $(fr, { color: "primaryBlue", href: o, children: c || r }), - /* @__PURE__ */ $(Zi, { value: n, minified: P }) + const n = c || e || "", s = c && h === Nt.TINY ? $d(c, k8) : c, r = e ? kn(e, h) : null; + return /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: g, children: [ + /* @__PURE__ */ W(mn, { color: "primaryBlue", href: t, children: s || r }), + /* @__PURE__ */ W(Za, { value: n, minified: S }) ] }); -}, R6 = (e) => It({ +}, H8 = (e) => xt({ 0: 7.8, 1: 10, 1.6: 16, @@ -10819,128 +10819,128 @@ const N6 = (e, o = 5) => { 3: 35, 4: 45, 5: 55 -}, e), k6 = be("div").withConfig({ +}, e), j8 = xe("div").withConfig({ displayName: "truncate-box__StyledTruncateBox", componentId: "sc-17n13k-0" })(({ size: e = 2, - lineHeight: o + lineHeight: t }) => ({ display: "inline-block", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", width: "100%", - maxWidth: `${R6(e)}em`, + maxWidth: `${H8(e)}em`, // fix for Tooltip over Truncated Text in Safari "&:after": { content: "''", display: "block" }, - lineHeight: o ? It({ + lineHeight: t ? xt({ sm: "1.5rem", xs: "1.25rem" - }, o) : "unset" -})), Yi = St.forwardRef((e, o) => /* @__PURE__ */ $(k6, { ref: o, ...e })); -var Ma = { exports: {} }; + }, t) : "unset" +})), Xa = yt.forwardRef((e, t) => /* @__PURE__ */ W(j8, { ref: t, ...e })); +var Ts = { exports: {} }; /*! For license information please see lib.web.js.LICENSE.txt */ -var du; -function B6() { - return du || (du = 1, function(e, o) { - (function(g, C) { - e.exports = C(); +var X0; +function D8() { + return X0 || (X0 = 1, function(e, t) { + (function(c, h) { + e.exports = h(); })(self, () => (() => { - var g = { 6667: (x, n, c) => { - c.d(n, { r: () => r }); - const r = "bignumber/5.7.0"; - }, 7457: (x, n, c) => { - c.d(n, { Os: () => I, YR: () => d, gH: () => s, ii: () => k }); - var r = c(9404), a = c.n(r), i = c(8905), m = c(7720), t = c(6667), f = a().BN; - const b = new m.Vy(t.r), y = {}, u = 9007199254740991; - function d(R) { - return R != null && (s.isBigNumber(R) || typeof R == "number" && R % 1 == 0 || typeof R == "string" && !!R.match(/^-?[0-9]+$/) || (0, i.isHexString)(R) || typeof R == "bigint" || (0, i.isBytes)(R)); + var c = { 6667(g, n, s) { + s.d(n, { r: () => r }); + const r = "bignumber/5.8.0"; + }, 7457(g, n, s) { + s.d(n, { Os: () => E, YR: () => v, gH: () => u, ii: () => B }); + var r = s(9404), o = s.n(r), i = s(8905), p = s(7720), a = s(6667), f = o().BN; + const C = new p.Vy(a.r), w = {}, m = 9007199254740991; + function v(O) { + return O != null && (u.isBigNumber(O) || typeof O == "number" && O % 1 == 0 || typeof O == "string" && !!O.match(/^-?[0-9]+$/) || (0, i.isHexString)(O) || typeof O == "bigint" || (0, i.isBytes)(O)); } let l = !1; - class s { - constructor(L, N) { - L !== y && b.throwError("cannot call constructor directly; use BigNumber.from", m.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new (BigNumber)" }), this._hex = N, this._isBigNumber = !0, Object.freeze(this); + class u { + constructor(I, x) { + I !== w && C.throwError("cannot call constructor directly; use BigNumber.from", p.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new (BigNumber)" }), this._hex = x, this._isBigNumber = !0, Object.freeze(this); } - fromTwos(L) { - return p(h(this).fromTwos(L)); + fromTwos(I) { + return d(b(this).fromTwos(I)); } - toTwos(L) { - return p(h(this).toTwos(L)); + toTwos(I) { + return d(b(this).toTwos(I)); } abs() { - return this._hex[0] === "-" ? s.from(this._hex.substring(1)) : this; + return this._hex[0] === "-" ? u.from(this._hex.substring(1)) : this; } - add(L) { - return p(h(this).add(h(L))); + add(I) { + return d(b(this).add(b(I))); } - sub(L) { - return p(h(this).sub(h(L))); + sub(I) { + return d(b(this).sub(b(I))); } - div(L) { - return s.from(L).isZero() && O("division-by-zero", "div"), p(h(this).div(h(L))); + div(I) { + return u.from(I).isZero() && _("division-by-zero", "div"), d(b(this).div(b(I))); } - mul(L) { - return p(h(this).mul(h(L))); + mul(I) { + return d(b(this).mul(b(I))); } - mod(L) { - const N = h(L); - return N.isNeg() && O("division-by-zero", "mod"), p(h(this).umod(N)); + mod(I) { + const x = b(I); + return x.isNeg() && _("division-by-zero", "mod"), d(b(this).umod(x)); } - pow(L) { - const N = h(L); - return N.isNeg() && O("negative-power", "pow"), p(h(this).pow(N)); + pow(I) { + const x = b(I); + return x.isNeg() && _("negative-power", "pow"), d(b(this).pow(x)); } - and(L) { - const N = h(L); - return (this.isNegative() || N.isNeg()) && O("unbound-bitwise-result", "and"), p(h(this).and(N)); + and(I) { + const x = b(I); + return (this.isNegative() || x.isNeg()) && _("unbound-bitwise-result", "and"), d(b(this).and(x)); } - or(L) { - const N = h(L); - return (this.isNegative() || N.isNeg()) && O("unbound-bitwise-result", "or"), p(h(this).or(N)); + or(I) { + const x = b(I); + return (this.isNegative() || x.isNeg()) && _("unbound-bitwise-result", "or"), d(b(this).or(x)); } - xor(L) { - const N = h(L); - return (this.isNegative() || N.isNeg()) && O("unbound-bitwise-result", "xor"), p(h(this).xor(N)); + xor(I) { + const x = b(I); + return (this.isNegative() || x.isNeg()) && _("unbound-bitwise-result", "xor"), d(b(this).xor(x)); } - mask(L) { - return (this.isNegative() || L < 0) && O("negative-width", "mask"), p(h(this).maskn(L)); + mask(I) { + return (this.isNegative() || I < 0) && _("negative-width", "mask"), d(b(this).maskn(I)); } - shl(L) { - return (this.isNegative() || L < 0) && O("negative-width", "shl"), p(h(this).shln(L)); + shl(I) { + return (this.isNegative() || I < 0) && _("negative-width", "shl"), d(b(this).shln(I)); } - shr(L) { - return (this.isNegative() || L < 0) && O("negative-width", "shr"), p(h(this).shrn(L)); + shr(I) { + return (this.isNegative() || I < 0) && _("negative-width", "shr"), d(b(this).shrn(I)); } - eq(L) { - return h(this).eq(h(L)); + eq(I) { + return b(this).eq(b(I)); } - lt(L) { - return h(this).lt(h(L)); + lt(I) { + return b(this).lt(b(I)); } - lte(L) { - return h(this).lte(h(L)); + lte(I) { + return b(this).lte(b(I)); } - gt(L) { - return h(this).gt(h(L)); + gt(I) { + return b(this).gt(b(I)); } - gte(L) { - return h(this).gte(h(L)); + gte(I) { + return b(this).gte(b(I)); } isNegative() { return this._hex[0] === "-"; } isZero() { - return h(this).isZero(); + return b(this).isZero(); } toNumber() { try { - return h(this).toNumber(); + return b(this).toNumber(); } catch { - O("overflow", "toNumber", this.toString()); + _("overflow", "toNumber", this.toString()); } return null; } @@ -10949,171 +10949,171 @@ function B6() { return BigInt(this.toString()); } catch { } - return b.throwError("this platform does not support BigInt", m.Vy.errors.UNSUPPORTED_OPERATION, { value: this.toString() }); + return C.throwError("this platform does not support BigInt", p.Vy.errors.UNSUPPORTED_OPERATION, { value: this.toString() }); } toString() { - return arguments.length > 0 && (arguments[0] === 10 ? l || (l = !0, b.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")) : arguments[0] === 16 ? b.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()", m.Vy.errors.UNEXPECTED_ARGUMENT, {}) : b.throwError("BigNumber.toString does not accept parameters", m.Vy.errors.UNEXPECTED_ARGUMENT, {})), h(this).toString(10); + return arguments.length > 0 && (arguments[0] === 10 ? l || (l = !0, C.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")) : arguments[0] === 16 ? C.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()", p.Vy.errors.UNEXPECTED_ARGUMENT, {}) : C.throwError("BigNumber.toString does not accept parameters", p.Vy.errors.UNEXPECTED_ARGUMENT, {})), b(this).toString(10); } toHexString() { return this._hex; } - toJSON(L) { + toJSON(I) { return { type: "BigNumber", hex: this.toHexString() }; } - static from(L) { - if (L instanceof s) return L; - if (typeof L == "string") return L.match(/^-?0x[0-9a-f]+$/i) ? new s(y, v(L)) : L.match(/^-?[0-9]+$/) ? new s(y, v(new f(L))) : b.throwArgumentError("invalid BigNumber string", "value", L); - if (typeof L == "number") return L % 1 && O("underflow", "BigNumber.from", L), (L >= u || L <= -u) && O("overflow", "BigNumber.from", L), s.from(String(L)); - const N = L; - if (typeof N == "bigint") return s.from(N.toString()); - if ((0, i.isBytes)(N)) return s.from((0, i.hexlify)(N)); - if (N) if (N.toHexString) { - const B = N.toHexString(); - if (typeof B == "string") return s.from(B); + static from(I) { + if (I instanceof u) return I; + if (typeof I == "string") return I.match(/^-?0x[0-9a-f]+$/i) ? new u(w, y(I)) : I.match(/^-?[0-9]+$/) ? new u(w, y(new f(I))) : C.throwArgumentError("invalid BigNumber string", "value", I); + if (typeof I == "number") return I % 1 && _("underflow", "BigNumber.from", I), (I >= m || I <= -m) && _("overflow", "BigNumber.from", I), u.from(String(I)); + const x = I; + if (typeof x == "bigint") return u.from(x.toString()); + if ((0, i.isBytes)(x)) return u.from((0, i.hexlify)(x)); + if (x) if (x.toHexString) { + const A = x.toHexString(); + if (typeof A == "string") return u.from(A); } else { - let B = N._hex; - if (B == null && N.type === "BigNumber" && (B = N.hex), typeof B == "string" && ((0, i.isHexString)(B) || B[0] === "-" && (0, i.isHexString)(B.substring(1)))) return s.from(B); + let A = x._hex; + if (A == null && x.type === "BigNumber" && (A = x.hex), typeof A == "string" && ((0, i.isHexString)(A) || A[0] === "-" && (0, i.isHexString)(A.substring(1)))) return u.from(A); } - return b.throwArgumentError("invalid BigNumber value", "value", L); + return C.throwArgumentError("invalid BigNumber value", "value", I); } - static isBigNumber(L) { - return !(!L || !L._isBigNumber); + static isBigNumber(I) { + return !(!I || !I._isBigNumber); } } - function v(R) { - if (typeof R != "string") return v(R.toString(16)); - if (R[0] === "-") return (R = R.substring(1))[0] === "-" && b.throwArgumentError("invalid hex", "value", R), (R = v(R)) === "0x00" ? R : "-" + R; - if (R.substring(0, 2) !== "0x" && (R = "0x" + R), R === "0x") return "0x00"; - for (R.length % 2 && (R = "0x0" + R.substring(2)); R.length > 4 && R.substring(0, 4) === "0x00"; ) R = "0x" + R.substring(4); - return R; - } - function p(R) { - return s.from(v(R)); - } - function h(R) { - const L = s.from(R).toHexString(); - return L[0] === "-" ? new f("-" + L.substring(3), 16) : new f(L.substring(2), 16); - } - function O(R, L, N) { - const B = { fault: R, operation: L }; - return N != null && (B.value = N), b.throwError(R, m.Vy.errors.NUMERIC_FAULT, B); - } - function I(R) { - return new f(R, 36).toString(16); - } - function k(R) { - return new f(R, 16).toString(36); - } - }, 6077: (x, n, c) => { - c.r(n), c.d(n, { BigNumber: () => r.gH, FixedFormat: () => p, FixedNumber: () => h, _base16To36: () => r.ii, _base36To16: () => r.Os, formatFixed: () => s, parseFixed: () => v }); - var r = c(7457), a = c(8905), i = c(7720), m = c(6667); - const t = new i.Vy(m.r), f = {}, b = r.gH.from(0), y = r.gH.from(-1); - function u(k, R, L, N) { - const B = { fault: R, operation: L }; - return N !== void 0 && (B.value = N), t.throwError(k, i.Vy.errors.NUMERIC_FAULT, B); + function y(O) { + if (typeof O != "string") return y(O.toString(16)); + if (O[0] === "-") return (O = O.substring(1))[0] === "-" && C.throwArgumentError("invalid hex", "value", O), (O = y(O)) === "0x00" ? O : "-" + O; + if (O.substring(0, 2) !== "0x" && (O = "0x" + O), O === "0x") return "0x00"; + for (O.length % 2 && (O = "0x0" + O.substring(2)); O.length > 4 && O.substring(0, 4) === "0x00"; ) O = "0x" + O.substring(4); + return O; } - let d = "0"; - for (; d.length < 256; ) d += d; - function l(k) { - if (typeof k != "number") try { - k = r.gH.from(k).toNumber(); + function d(O) { + return u.from(y(O)); + } + function b(O) { + const I = u.from(O).toHexString(); + return I[0] === "-" ? new f("-" + I.substring(3), 16) : new f(I.substring(2), 16); + } + function _(O, I, x) { + const A = { fault: O, operation: I }; + return x != null && (A.value = x), C.throwError(O, p.Vy.errors.NUMERIC_FAULT, A); + } + function E(O) { + return new f(O, 36).toString(16); + } + function B(O) { + return new f(O, 16).toString(36); + } + }, 6077(g, n, s) { + s.r(n), s.d(n, { BigNumber: () => r.gH, FixedFormat: () => d, FixedNumber: () => b, _base16To36: () => r.ii, _base36To16: () => r.Os, formatFixed: () => u, parseFixed: () => y }); + var r = s(7457), o = s(8905), i = s(7720), p = s(6667); + const a = new i.Vy(p.r), f = {}, C = r.gH.from(0), w = r.gH.from(-1); + function m(B, O, I, x) { + const A = { fault: O, operation: I }; + return x !== void 0 && (A.value = x), a.throwError(B, i.Vy.errors.NUMERIC_FAULT, A); + } + let v = "0"; + for (; v.length < 256; ) v += v; + function l(B) { + if (typeof B != "number") try { + B = r.gH.from(B).toNumber(); } catch { } - return typeof k == "number" && k >= 0 && k <= 256 && !(k % 1) ? "1" + d.substring(0, k) : t.throwArgumentError("invalid decimal size", "decimals", k); - } - function s(k, R) { - R == null && (R = 0); - const L = l(R), N = (k = r.gH.from(k)).lt(b); - N && (k = k.mul(y)); - let B = k.mod(L).toString(); - for (; B.length < L.length - 1; ) B = "0" + B; - B = B.match(/^([0-9]*[1-9]|0)(0*)/)[1]; - const H = k.div(L).toString(); - return k = L.length === 1 ? H : H + "." + B, N && (k = "-" + k), k; - } - function v(k, R) { - R == null && (R = 0); - const L = l(R); - typeof k == "string" && k.match(/^-?[0-9.]+$/) || t.throwArgumentError("invalid decimal value", "value", k); - const N = k.substring(0, 1) === "-"; - N && (k = k.substring(1)), k === "." && t.throwArgumentError("missing value", "value", k); - const B = k.split("."); - B.length > 2 && t.throwArgumentError("too many decimal points", "value", k); - let H = B[0], U = B[1]; - for (H || (H = "0"), U || (U = "0"); U[U.length - 1] === "0"; ) U = U.substring(0, U.length - 1); - for (U.length > L.length - 1 && u("fractional component exceeds decimals", "underflow", "parseFixed"), U === "" && (U = "0"); U.length < L.length - 1; ) U += "0"; - const S = r.gH.from(H), T = r.gH.from(U); - let E = S.mul(L).add(T); - return N && (E = E.mul(y)), E; - } - class p { - constructor(R, L, N, B) { - R !== f && t.throwError("cannot use FixedFormat constructor; use FixedFormat.from", i.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.signed = L, this.width = N, this.decimals = B, this.name = (L ? "" : "u") + "fixed" + String(N) + "x" + String(B), this._multiplier = l(B), Object.freeze(this); - } - static from(R) { - if (R instanceof p) return R; - typeof R == "number" && (R = `fixed128x${R}`); - let L = !0, N = 128, B = 18; - if (typeof R == "string") { - if (R !== "fixed") if (R === "ufixed") L = !1; + return typeof B == "number" && B >= 0 && B <= 256 && !(B % 1) ? "1" + v.substring(0, B) : a.throwArgumentError("invalid decimal size", "decimals", B); + } + function u(B, O) { + O == null && (O = 0); + const I = l(O), x = (B = r.gH.from(B)).lt(C); + x && (B = B.mul(w)); + let A = B.mod(I).toString(); + for (; A.length < I.length - 1; ) A = "0" + A; + A = A.match(/^([0-9]*[1-9]|0)(0*)/)[1]; + const N = B.div(I).toString(); + return B = I.length === 1 ? N : N + "." + A, x && (B = "-" + B), B; + } + function y(B, O) { + O == null && (O = 0); + const I = l(O); + typeof B == "string" && B.match(/^-?[0-9.]+$/) || a.throwArgumentError("invalid decimal value", "value", B); + const x = B.substring(0, 1) === "-"; + x && (B = B.substring(1)), B === "." && a.throwArgumentError("missing value", "value", B); + const A = B.split("."); + A.length > 2 && a.throwArgumentError("too many decimal points", "value", B); + let N = A[0], k = A[1]; + for (N || (N = "0"), k || (k = "0"); k[k.length - 1] === "0"; ) k = k.substring(0, k.length - 1); + for (k.length > I.length - 1 && m("fractional component exceeds decimals", "underflow", "parseFixed"), k === "" && (k = "0"); k.length < I.length - 1; ) k += "0"; + const j = r.gH.from(N), D = r.gH.from(k); + let T = j.mul(I).add(D); + return x && (T = T.mul(w)), T; + } + class d { + constructor(O, I, x, A) { + O !== f && a.throwError("cannot use FixedFormat constructor; use FixedFormat.from", i.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.signed = I, this.width = x, this.decimals = A, this.name = (I ? "" : "u") + "fixed" + String(x) + "x" + String(A), this._multiplier = l(A), Object.freeze(this); + } + static from(O) { + if (O instanceof d) return O; + typeof O == "number" && (O = `fixed128x${O}`); + let I = !0, x = 128, A = 18; + if (typeof O == "string") { + if (O !== "fixed") if (O === "ufixed") I = !1; else { - const H = R.match(/^(u?)fixed([0-9]+)x([0-9]+)$/); - H || t.throwArgumentError("invalid fixed format", "format", R), L = H[1] !== "u", N = parseInt(H[2]), B = parseInt(H[3]); + const N = O.match(/^(u?)fixed([0-9]+)x([0-9]+)$/); + N || a.throwArgumentError("invalid fixed format", "format", O), I = N[1] !== "u", x = parseInt(N[2]), A = parseInt(N[3]); } - } else if (R) { - const H = (U, S, T) => R[U] == null ? T : (typeof R[U] !== S && t.throwArgumentError("invalid fixed format (" + U + " not " + S + ")", "format." + U, R[U]), R[U]); - L = H("signed", "boolean", L), N = H("width", "number", N), B = H("decimals", "number", B); + } else if (O) { + const N = (k, j, D) => O[k] == null ? D : (typeof O[k] !== j && a.throwArgumentError("invalid fixed format (" + k + " not " + j + ")", "format." + k, O[k]), O[k]); + I = N("signed", "boolean", I), x = N("width", "number", x), A = N("decimals", "number", A); } - return N % 8 && t.throwArgumentError("invalid fixed format width (not byte aligned)", "format.width", N), B > 80 && t.throwArgumentError("invalid fixed format (decimals too large)", "format.decimals", B), new p(f, L, N, B); + return x % 8 && a.throwArgumentError("invalid fixed format width (not byte aligned)", "format.width", x), A > 80 && a.throwArgumentError("invalid fixed format (decimals too large)", "format.decimals", A), new d(f, I, x, A); } } - class h { - constructor(R, L, N, B) { - R !== f && t.throwError("cannot use FixedNumber constructor; use FixedNumber.from", i.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.format = B, this._hex = L, this._value = N, this._isFixedNumber = !0, Object.freeze(this); + class b { + constructor(O, I, x, A) { + O !== f && a.throwError("cannot use FixedNumber constructor; use FixedNumber.from", i.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.format = A, this._hex = I, this._value = x, this._isFixedNumber = !0, Object.freeze(this); } - _checkFormat(R) { - this.format.name !== R.format.name && t.throwArgumentError("incompatible format; use fixedNumber.toFormat", "other", R); + _checkFormat(O) { + this.format.name !== O.format.name && a.throwArgumentError("incompatible format; use fixedNumber.toFormat", "other", O); } - addUnsafe(R) { - this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.add(N), this.format.decimals, this.format); + addUnsafe(O) { + this._checkFormat(O); + const I = y(this._value, this.format.decimals), x = y(O._value, O.format.decimals); + return b.fromValue(I.add(x), this.format.decimals, this.format); } - subUnsafe(R) { - this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.sub(N), this.format.decimals, this.format); + subUnsafe(O) { + this._checkFormat(O); + const I = y(this._value, this.format.decimals), x = y(O._value, O.format.decimals); + return b.fromValue(I.sub(x), this.format.decimals, this.format); } - mulUnsafe(R) { - this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.mul(N).div(this.format._multiplier), this.format.decimals, this.format); + mulUnsafe(O) { + this._checkFormat(O); + const I = y(this._value, this.format.decimals), x = y(O._value, O.format.decimals); + return b.fromValue(I.mul(x).div(this.format._multiplier), this.format.decimals, this.format); } - divUnsafe(R) { - this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.mul(this.format._multiplier).div(N), this.format.decimals, this.format); + divUnsafe(O) { + this._checkFormat(O); + const I = y(this._value, this.format.decimals), x = y(O._value, O.format.decimals); + return b.fromValue(I.mul(this.format._multiplier).div(x), this.format.decimals, this.format); } floor() { - const R = this.toString().split("."); - R.length === 1 && R.push("0"); - let L = h.from(R[0], this.format); - const N = !R[1].match(/^(0*)$/); - return this.isNegative() && N && (L = L.subUnsafe(O.toFormat(L.format))), L; + const O = this.toString().split("."); + O.length === 1 && O.push("0"); + let I = b.from(O[0], this.format); + const x = !O[1].match(/^(0*)$/); + return this.isNegative() && x && (I = I.subUnsafe(_.toFormat(I.format))), I; } ceiling() { - const R = this.toString().split("."); - R.length === 1 && R.push("0"); - let L = h.from(R[0], this.format); - const N = !R[1].match(/^(0*)$/); - return !this.isNegative() && N && (L = L.addUnsafe(O.toFormat(L.format))), L; - } - round(R) { - R == null && (R = 0); - const L = this.toString().split("."); - if (L.length === 1 && L.push("0"), (R < 0 || R > 80 || R % 1) && t.throwArgumentError("invalid decimal count", "decimals", R), L[1].length <= R) return this; - const N = h.from("1" + d.substring(0, R), this.format), B = I.toFormat(this.format); - return this.mulUnsafe(N).addUnsafe(B).floor().divUnsafe(N); + const O = this.toString().split("."); + O.length === 1 && O.push("0"); + let I = b.from(O[0], this.format); + const x = !O[1].match(/^(0*)$/); + return !this.isNegative() && x && (I = I.addUnsafe(_.toFormat(I.format))), I; + } + round(O) { + O == null && (O = 0); + const I = this.toString().split("."); + if (I.length === 1 && I.push("0"), (O < 0 || O > 80 || O % 1) && a.throwArgumentError("invalid decimal count", "decimals", O), I[1].length <= O) return this; + const x = b.from("1" + v.substring(0, O), this.format), A = E.toFormat(this.format); + return this.mulUnsafe(x).addUnsafe(A).floor().divUnsafe(x); } isZero() { return this._value === "0.0" || this._value === "0"; @@ -11124,215 +11124,215 @@ function B6() { toString() { return this._value; } - toHexString(R) { - if (R == null) return this._hex; - R % 8 && t.throwArgumentError("invalid byte width", "width", R); - const L = r.gH.from(this._hex).fromTwos(this.format.width).toTwos(R).toHexString(); - return (0, a.hexZeroPad)(L, R / 8); + toHexString(O) { + if (O == null) return this._hex; + O % 8 && a.throwArgumentError("invalid byte width", "width", O); + const I = r.gH.from(this._hex).fromTwos(this.format.width).toTwos(O).toHexString(); + return (0, o.hexZeroPad)(I, O / 8); } toUnsafeFloat() { return parseFloat(this.toString()); } - toFormat(R) { - return h.fromString(this._value, R); - } - static fromValue(R, L, N) { - return N != null || L == null || (0, r.YR)(L) || (N = L, L = null), L == null && (L = 0), N == null && (N = "fixed"), h.fromString(s(R, L), p.from(N)); - } - static fromString(R, L) { - L == null && (L = "fixed"); - const N = p.from(L), B = v(R, N.decimals); - !N.signed && B.lt(b) && u("unsigned value cannot be negative", "overflow", "value", R); - let H = null; - N.signed ? H = B.toTwos(N.width).toHexString() : (H = B.toHexString(), H = (0, a.hexZeroPad)(H, N.width / 8)); - const U = s(B, N.decimals); - return new h(f, H, U, N); - } - static fromBytes(R, L) { - L == null && (L = "fixed"); - const N = p.from(L); - if ((0, a.arrayify)(R).length > N.width / 8) throw new Error("overflow"); - let B = r.gH.from(R); - N.signed && (B = B.fromTwos(N.width)); - const H = B.toTwos((N.signed ? 0 : 1) + N.width).toHexString(), U = s(B, N.decimals); - return new h(f, H, U, N); - } - static from(R, L) { - if (typeof R == "string") return h.fromString(R, L); - if ((0, a.isBytes)(R)) return h.fromBytes(R, L); + toFormat(O) { + return b.fromString(this._value, O); + } + static fromValue(O, I, x) { + return x != null || I == null || (0, r.YR)(I) || (x = I, I = null), I == null && (I = 0), x == null && (x = "fixed"), b.fromString(u(O, I), d.from(x)); + } + static fromString(O, I) { + I == null && (I = "fixed"); + const x = d.from(I), A = y(O, x.decimals); + !x.signed && A.lt(C) && m("unsigned value cannot be negative", "overflow", "value", O); + let N = null; + x.signed ? N = A.toTwos(x.width).toHexString() : (N = A.toHexString(), N = (0, o.hexZeroPad)(N, x.width / 8)); + const k = u(A, x.decimals); + return new b(f, N, k, x); + } + static fromBytes(O, I) { + I == null && (I = "fixed"); + const x = d.from(I); + if ((0, o.arrayify)(O).length > x.width / 8) throw new Error("overflow"); + let A = r.gH.from(O); + x.signed && (A = A.fromTwos(x.width)); + const N = A.toTwos((x.signed ? 0 : 1) + x.width).toHexString(), k = u(A, x.decimals); + return new b(f, N, k, x); + } + static from(O, I) { + if (typeof O == "string") return b.fromString(O, I); + if ((0, o.isBytes)(O)) return b.fromBytes(O, I); try { - return h.fromValue(R, 0, L); - } catch (N) { - if (N.code !== i.Vy.errors.INVALID_ARGUMENT) throw N; + return b.fromValue(O, 0, I); + } catch (x) { + if (x.code !== i.Vy.errors.INVALID_ARGUMENT) throw x; } - return t.throwArgumentError("invalid FixedNumber value", "value", R); + return a.throwArgumentError("invalid FixedNumber value", "value", O); } - static isFixedNumber(R) { - return !(!R || !R._isFixedNumber); + static isFixedNumber(O) { + return !(!O || !O._isFixedNumber); } } - const O = h.from(1), I = h.from("0.5"); - }, 8905: (x, n, c) => { - c.r(n), c.d(n, { arrayify: () => b, concat: () => y, hexConcat: () => O, hexDataLength: () => p, hexDataSlice: () => h, hexStripZeros: () => k, hexValue: () => I, hexZeroPad: () => R, hexlify: () => v, isBytes: () => f, isBytesLike: () => m, isHexString: () => l, joinSignature: () => N, splitSignature: () => L, stripZeros: () => u, zeroPad: () => d }); - const r = new (c(7720)).Vy("bytes/5.7.0"); - function a(B) { - return !!B.toHexString; + const _ = b.from(1), E = b.from("0.5"); + }, 8905(g, n, s) { + s.r(n), s.d(n, { arrayify: () => C, concat: () => w, hexConcat: () => _, hexDataLength: () => d, hexDataSlice: () => b, hexStripZeros: () => B, hexValue: () => E, hexZeroPad: () => O, hexlify: () => y, isBytes: () => f, isBytesLike: () => p, isHexString: () => l, joinSignature: () => x, splitSignature: () => I, stripZeros: () => m, zeroPad: () => v }); + const r = new (s(7720)).Vy("bytes/5.8.0"); + function o(A) { + return !!A.toHexString; } - function i(B) { - return B.slice || (B.slice = function() { - const H = Array.prototype.slice.call(arguments); - return i(new Uint8Array(Array.prototype.slice.apply(B, H))); - }), B; + function i(A) { + return A.slice || (A.slice = function() { + const N = Array.prototype.slice.call(arguments); + return i(new Uint8Array(Array.prototype.slice.apply(A, N))); + }), A; } - function m(B) { - return l(B) && !(B.length % 2) || f(B); + function p(A) { + return l(A) && !(A.length % 2) || f(A); } - function t(B) { - return typeof B == "number" && B == B && B % 1 == 0; + function a(A) { + return typeof A == "number" && A == A && A % 1 == 0; } - function f(B) { - if (B == null) return !1; - if (B.constructor === Uint8Array) return !0; - if (typeof B == "string" || !t(B.length) || B.length < 0) return !1; - for (let H = 0; H < B.length; H++) { - const U = B[H]; - if (!t(U) || U < 0 || U >= 256) return !1; + function f(A) { + if (A == null) return !1; + if (A.constructor === Uint8Array) return !0; + if (typeof A == "string" || !a(A.length) || A.length < 0) return !1; + for (let N = 0; N < A.length; N++) { + const k = A[N]; + if (!a(k) || k < 0 || k >= 256) return !1; } return !0; } - function b(B, H) { - if (H || (H = {}), typeof B == "number") { - r.checkSafeUint53(B, "invalid arrayify value"); - const U = []; - for (; B; ) U.unshift(255 & B), B = parseInt(String(B / 256)); - return U.length === 0 && U.push(0), i(new Uint8Array(U)); - } - if (H.allowMissingPrefix && typeof B == "string" && B.substring(0, 2) !== "0x" && (B = "0x" + B), a(B) && (B = B.toHexString()), l(B)) { - let U = B.substring(2); - U.length % 2 && (H.hexPad === "left" ? U = "0" + U : H.hexPad === "right" ? U += "0" : r.throwArgumentError("hex data is odd-length", "value", B)); - const S = []; - for (let T = 0; T < U.length; T += 2) S.push(parseInt(U.substring(T, T + 2), 16)); - return i(new Uint8Array(S)); - } - return f(B) ? i(new Uint8Array(B)) : r.throwArgumentError("invalid arrayify value", "value", B); - } - function y(B) { - const H = B.map((T) => b(T)), U = H.reduce((T, E) => T + E.length, 0), S = new Uint8Array(U); - return H.reduce((T, E) => (S.set(E, T), T + E.length), 0), i(S); - } - function u(B) { - let H = b(B); - if (H.length === 0) return H; - let U = 0; - for (; U < H.length && H[U] === 0; ) U++; - return U && (H = H.slice(U)), H; - } - function d(B, H) { - (B = b(B)).length > H && r.throwArgumentError("value out of range", "value", arguments[0]); - const U = new Uint8Array(H); - return U.set(B, H - B.length), i(U); - } - function l(B, H) { - return !(typeof B != "string" || !B.match(/^0x[0-9A-Fa-f]*$/) || H && B.length !== 2 + 2 * H); - } - const s = "0123456789abcdef"; - function v(B, H) { - if (H || (H = {}), typeof B == "number") { - r.checkSafeUint53(B, "invalid hexlify value"); - let U = ""; - for (; B; ) U = s[15 & B] + U, B = Math.floor(B / 16); - return U.length ? (U.length % 2 && (U = "0" + U), "0x" + U) : "0x00"; - } - if (typeof B == "bigint") return (B = B.toString(16)).length % 2 ? "0x0" + B : "0x" + B; - if (H.allowMissingPrefix && typeof B == "string" && B.substring(0, 2) !== "0x" && (B = "0x" + B), a(B)) return B.toHexString(); - if (l(B)) return B.length % 2 && (H.hexPad === "left" ? B = "0x0" + B.substring(2) : H.hexPad === "right" ? B += "0" : r.throwArgumentError("hex data is odd-length", "value", B)), B.toLowerCase(); - if (f(B)) { - let U = "0x"; - for (let S = 0; S < B.length; S++) { - let T = B[S]; - U += s[(240 & T) >> 4] + s[15 & T]; - } - return U; - } - return r.throwArgumentError("invalid hexlify value", "value", B); - } - function p(B) { - if (typeof B != "string") B = v(B); - else if (!l(B) || B.length % 2) return null; - return (B.length - 2) / 2; - } - function h(B, H, U) { - return typeof B != "string" ? B = v(B) : (!l(B) || B.length % 2) && r.throwArgumentError("invalid hexData", "value", B), H = 2 + 2 * H, U != null ? "0x" + B.substring(H, 2 + 2 * U) : "0x" + B.substring(H); - } - function O(B) { - let H = "0x"; - return B.forEach((U) => { - H += v(U).substring(2); - }), H; - } - function I(B) { - const H = k(v(B, { hexPad: "left" })); - return H === "0x" ? "0x0" : H; - } - function k(B) { - typeof B != "string" && (B = v(B)), l(B) || r.throwArgumentError("invalid hex string", "value", B), B = B.substring(2); - let H = 0; - for (; H < B.length && B[H] === "0"; ) H++; - return "0x" + B.substring(H); - } - function R(B, H) { - for (typeof B != "string" ? B = v(B) : l(B) || r.throwArgumentError("invalid hex string", "value", B), B.length > 2 * H + 2 && r.throwArgumentError("value out of range", "value", arguments[1]); B.length < 2 * H + 2; ) B = "0x0" + B.substring(2); - return B; + function C(A, N) { + if (N || (N = {}), typeof A == "number") { + r.checkSafeUint53(A, "invalid arrayify value"); + const k = []; + for (; A; ) k.unshift(255 & A), A = parseInt(String(A / 256)); + return k.length === 0 && k.push(0), i(new Uint8Array(k)); + } + if (N.allowMissingPrefix && typeof A == "string" && A.substring(0, 2) !== "0x" && (A = "0x" + A), o(A) && (A = A.toHexString()), l(A)) { + let k = A.substring(2); + k.length % 2 && (N.hexPad === "left" ? k = "0" + k : N.hexPad === "right" ? k += "0" : r.throwArgumentError("hex data is odd-length", "value", A)); + const j = []; + for (let D = 0; D < k.length; D += 2) j.push(parseInt(k.substring(D, D + 2), 16)); + return i(new Uint8Array(j)); + } + return f(A) ? i(new Uint8Array(A)) : r.throwArgumentError("invalid arrayify value", "value", A); + } + function w(A) { + const N = A.map((D) => C(D)), k = N.reduce((D, T) => D + T.length, 0), j = new Uint8Array(k); + return N.reduce((D, T) => (j.set(T, D), D + T.length), 0), i(j); + } + function m(A) { + let N = C(A); + if (N.length === 0) return N; + let k = 0; + for (; k < N.length && N[k] === 0; ) k++; + return k && (N = N.slice(k)), N; + } + function v(A, N) { + (A = C(A)).length > N && r.throwArgumentError("value out of range", "value", arguments[0]); + const k = new Uint8Array(N); + return k.set(A, N - A.length), i(k); + } + function l(A, N) { + return !(typeof A != "string" || !A.match(/^0x[0-9A-Fa-f]*$/) || N && A.length !== 2 + 2 * N); } - function L(B) { - const H = { r: "0x", s: "0x", _vs: "0x", recoveryParam: 0, v: 0, yParityAndS: "0x", compact: "0x" }; - if (m(B)) { - let U = b(B); - U.length === 64 ? (H.v = 27 + (U[32] >> 7), U[32] &= 127, H.r = v(U.slice(0, 32)), H.s = v(U.slice(32, 64))) : U.length === 65 ? (H.r = v(U.slice(0, 32)), H.s = v(U.slice(32, 64)), H.v = U[64]) : r.throwArgumentError("invalid signature string", "signature", B), H.v < 27 && (H.v === 0 || H.v === 1 ? H.v += 27 : r.throwArgumentError("signature invalid v byte", "signature", B)), H.recoveryParam = 1 - H.v % 2, H.recoveryParam && (U[32] |= 128), H._vs = v(U.slice(32, 64)); + const u = "0123456789abcdef"; + function y(A, N) { + if (N || (N = {}), typeof A == "number") { + r.checkSafeUint53(A, "invalid hexlify value"); + let k = ""; + for (; A; ) k = u[15 & A] + k, A = Math.floor(A / 16); + return k.length ? (k.length % 2 && (k = "0" + k), "0x" + k) : "0x00"; + } + if (typeof A == "bigint") return (A = A.toString(16)).length % 2 ? "0x0" + A : "0x" + A; + if (N.allowMissingPrefix && typeof A == "string" && A.substring(0, 2) !== "0x" && (A = "0x" + A), o(A)) return A.toHexString(); + if (l(A)) return A.length % 2 && (N.hexPad === "left" ? A = "0x0" + A.substring(2) : N.hexPad === "right" ? A += "0" : r.throwArgumentError("hex data is odd-length", "value", A)), A.toLowerCase(); + if (f(A)) { + let k = "0x"; + for (let j = 0; j < A.length; j++) { + let D = A[j]; + k += u[(240 & D) >> 4] + u[15 & D]; + } + return k; + } + return r.throwArgumentError("invalid hexlify value", "value", A); + } + function d(A) { + if (typeof A != "string") A = y(A); + else if (!l(A) || A.length % 2) return null; + return (A.length - 2) / 2; + } + function b(A, N, k) { + return typeof A != "string" ? A = y(A) : (!l(A) || A.length % 2) && r.throwArgumentError("invalid hexData", "value", A), N = 2 + 2 * N, k != null ? "0x" + A.substring(N, 2 + 2 * k) : "0x" + A.substring(N); + } + function _(A) { + let N = "0x"; + return A.forEach((k) => { + N += y(k).substring(2); + }), N; + } + function E(A) { + const N = B(y(A, { hexPad: "left" })); + return N === "0x" ? "0x0" : N; + } + function B(A) { + typeof A != "string" && (A = y(A)), l(A) || r.throwArgumentError("invalid hex string", "value", A), A = A.substring(2); + let N = 0; + for (; N < A.length && A[N] === "0"; ) N++; + return "0x" + A.substring(N); + } + function O(A, N) { + for (typeof A != "string" ? A = y(A) : l(A) || r.throwArgumentError("invalid hex string", "value", A), A.length > 2 * N + 2 && r.throwArgumentError("value out of range", "value", arguments[1]); A.length < 2 * N + 2; ) A = "0x0" + A.substring(2); + return A; + } + function I(A) { + const N = { r: "0x", s: "0x", _vs: "0x", recoveryParam: 0, v: 0, yParityAndS: "0x", compact: "0x" }; + if (p(A)) { + let k = C(A); + k.length === 64 ? (N.v = 27 + (k[32] >> 7), k[32] &= 127, N.r = y(k.slice(0, 32)), N.s = y(k.slice(32, 64))) : k.length === 65 ? (N.r = y(k.slice(0, 32)), N.s = y(k.slice(32, 64)), N.v = k[64]) : r.throwArgumentError("invalid signature string", "signature", A), N.v < 27 && (N.v === 0 || N.v === 1 ? N.v += 27 : r.throwArgumentError("signature invalid v byte", "signature", A)), N.recoveryParam = 1 - N.v % 2, N.recoveryParam && (k[32] |= 128), N._vs = y(k.slice(32, 64)); } else { - if (H.r = B.r, H.s = B.s, H.v = B.v, H.recoveryParam = B.recoveryParam, H._vs = B._vs, H._vs != null) { - const T = d(b(H._vs), 32); - H._vs = v(T); - const E = T[0] >= 128 ? 1 : 0; - H.recoveryParam == null ? H.recoveryParam = E : H.recoveryParam !== E && r.throwArgumentError("signature recoveryParam mismatch _vs", "signature", B), T[0] &= 127; - const M = v(T); - H.s == null ? H.s = M : H.s !== M && r.throwArgumentError("signature v mismatch _vs", "signature", B); - } - if (H.recoveryParam == null) H.v == null ? r.throwArgumentError("signature missing v and recoveryParam", "signature", B) : H.v === 0 || H.v === 1 ? H.recoveryParam = H.v : H.recoveryParam = 1 - H.v % 2; - else if (H.v == null) H.v = 27 + H.recoveryParam; + if (N.r = A.r, N.s = A.s, N.v = A.v, N.recoveryParam = A.recoveryParam, N._vs = A._vs, N._vs != null) { + const D = v(C(N._vs), 32); + N._vs = y(D); + const T = D[0] >= 128 ? 1 : 0; + N.recoveryParam == null ? N.recoveryParam = T : N.recoveryParam !== T && r.throwArgumentError("signature recoveryParam mismatch _vs", "signature", A), D[0] &= 127; + const L = y(D); + N.s == null ? N.s = L : N.s !== L && r.throwArgumentError("signature v mismatch _vs", "signature", A); + } + if (N.recoveryParam == null) N.v == null ? r.throwArgumentError("signature missing v and recoveryParam", "signature", A) : N.v === 0 || N.v === 1 ? N.recoveryParam = N.v : N.recoveryParam = 1 - N.v % 2; + else if (N.v == null) N.v = 27 + N.recoveryParam; else { - const T = H.v === 0 || H.v === 1 ? H.v : 1 - H.v % 2; - H.recoveryParam !== T && r.throwArgumentError("signature recoveryParam mismatch v", "signature", B); + const D = N.v === 0 || N.v === 1 ? N.v : 1 - N.v % 2; + N.recoveryParam !== D && r.throwArgumentError("signature recoveryParam mismatch v", "signature", A); } - H.r != null && l(H.r) ? H.r = R(H.r, 32) : r.throwArgumentError("signature missing or invalid r", "signature", B), H.s != null && l(H.s) ? H.s = R(H.s, 32) : r.throwArgumentError("signature missing or invalid s", "signature", B); - const U = b(H.s); - U[0] >= 128 && r.throwArgumentError("signature s out of range", "signature", B), H.recoveryParam && (U[0] |= 128); - const S = v(U); - H._vs && (l(H._vs) || r.throwArgumentError("signature invalid _vs", "signature", B), H._vs = R(H._vs, 32)), H._vs == null ? H._vs = S : H._vs !== S && r.throwArgumentError("signature _vs mismatch v and s", "signature", B); + N.r != null && l(N.r) ? N.r = O(N.r, 32) : r.throwArgumentError("signature missing or invalid r", "signature", A), N.s != null && l(N.s) ? N.s = O(N.s, 32) : r.throwArgumentError("signature missing or invalid s", "signature", A); + const k = C(N.s); + k[0] >= 128 && r.throwArgumentError("signature s out of range", "signature", A), N.recoveryParam && (k[0] |= 128); + const j = y(k); + N._vs && (l(N._vs) || r.throwArgumentError("signature invalid _vs", "signature", A), N._vs = O(N._vs, 32)), N._vs == null ? N._vs = j : N._vs !== j && r.throwArgumentError("signature _vs mismatch v and s", "signature", A); } - return H.yParityAndS = H._vs, H.compact = H.r + H.yParityAndS.substring(2), H; + return N.yParityAndS = N._vs, N.compact = N.r + N.yParityAndS.substring(2), N; } - function N(B) { - return v(y([(B = L(B)).r, B.s, B.recoveryParam ? "0x1c" : "0x1b"])); + function x(A) { + return y(w([(A = I(A)).r, A.s, A.recoveryParam ? "0x1c" : "0x1b"])); } - }, 1551: (x, n, c) => { - c.r(n), c.d(n, { AddressZero: () => r, EtherSymbol: () => d, HashZero: () => u, MaxUint256: () => y, NegativeOne: () => i, One: () => t, Two: () => f, WeiPerEther: () => b, Zero: () => m }); + }, 1551(g, n, s) { + s.r(n), s.d(n, { AddressZero: () => r, EtherSymbol: () => u, HashZero: () => l, MaxInt256: () => v, MaxUint256: () => w, MinInt256: () => m, NegativeOne: () => i, One: () => a, Two: () => f, WeiPerEther: () => C, Zero: () => p }); const r = "0x0000000000000000000000000000000000000000"; - var a = c(7457); - const i = a.gH.from(-1), m = a.gH.from(0), t = a.gH.from(1), f = a.gH.from(2), b = a.gH.from("1000000000000000000"), y = a.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), u = "0x0000000000000000000000000000000000000000000000000000000000000000", d = "Ξ"; - }, 7720: (x, n, c) => { - c.d(n, { Vy: () => d }); - let r = !1, a = !1; + var o = s(7457); + const i = o.gH.from(-1), p = o.gH.from(0), a = o.gH.from(1), f = o.gH.from(2), C = o.gH.from("1000000000000000000"), w = o.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), m = o.gH.from("-0x8000000000000000000000000000000000000000000000000000000000000000"), v = o.gH.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), l = "0x0000000000000000000000000000000000000000000000000000000000000000", u = "Ξ"; + }, 7720(g, n, s) { + s.d(n, { Vy: () => v }); + let r = !1, o = !1; const i = { debug: 1, default: 2, info: 2, warning: 3, error: 4, off: 5 }; - let m = i.default, t = null; + let p = i.default, a = null; const f = function() { try { const l = []; - if (["NFD", "NFC", "NFKD", "NFKC"].forEach((s) => { + if (["NFD", "NFC", "NFKD", "NFKC"].forEach((u) => { try { - if ("test".normalize(s) !== "test") throw new Error("bad normalize"); + if ("test".normalize(u) !== "test") throw new Error("bad normalize"); } catch { - l.push(s); + l.push(u); } }), l.length) throw new Error("missing " + l.join(", ")); if ("é".normalize("NFD") !== "é") throw new Error("broken implementation"); @@ -11341,1169 +11341,2586 @@ function B6() { } return null; }(); - var b, y; + var C, w; (function(l) { l.DEBUG = "DEBUG", l.INFO = "INFO", l.WARNING = "WARNING", l.ERROR = "ERROR", l.OFF = "OFF"; - })(b || (b = {})), function(l) { + })(C || (C = {})), function(l) { l.UNKNOWN_ERROR = "UNKNOWN_ERROR", l.NOT_IMPLEMENTED = "NOT_IMPLEMENTED", l.UNSUPPORTED_OPERATION = "UNSUPPORTED_OPERATION", l.NETWORK_ERROR = "NETWORK_ERROR", l.SERVER_ERROR = "SERVER_ERROR", l.TIMEOUT = "TIMEOUT", l.BUFFER_OVERRUN = "BUFFER_OVERRUN", l.NUMERIC_FAULT = "NUMERIC_FAULT", l.MISSING_NEW = "MISSING_NEW", l.INVALID_ARGUMENT = "INVALID_ARGUMENT", l.MISSING_ARGUMENT = "MISSING_ARGUMENT", l.UNEXPECTED_ARGUMENT = "UNEXPECTED_ARGUMENT", l.CALL_EXCEPTION = "CALL_EXCEPTION", l.INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS", l.NONCE_EXPIRED = "NONCE_EXPIRED", l.REPLACEMENT_UNDERPRICED = "REPLACEMENT_UNDERPRICED", l.UNPREDICTABLE_GAS_LIMIT = "UNPREDICTABLE_GAS_LIMIT", l.TRANSACTION_REPLACED = "TRANSACTION_REPLACED", l.ACTION_REJECTED = "ACTION_REJECTED"; - }(y || (y = {})); - const u = "0123456789abcdef"; - class d { - constructor(s) { - Object.defineProperty(this, "version", { enumerable: !0, value: s, writable: !1 }); - } - _log(s, v) { - const p = s.toLowerCase(); - i[p] == null && this.throwArgumentError("invalid log level name", "logLevel", s), m > i[p] || console.log.apply(console, v); - } - debug(...s) { - this._log(d.levels.DEBUG, s); - } - info(...s) { - this._log(d.levels.INFO, s); - } - warn(...s) { - this._log(d.levels.WARNING, s); - } - makeError(s, v, p) { - if (a) return this.makeError("censored error", v, {}); - v || (v = d.errors.UNKNOWN_ERROR), p || (p = {}); - const h = []; - Object.keys(p).forEach((R) => { - const L = p[R]; + }(w || (w = {})); + const m = "0123456789abcdef"; + class v { + constructor(u) { + Object.defineProperty(this, "version", { enumerable: !0, value: u, writable: !1 }); + } + _log(u, y) { + const d = u.toLowerCase(); + i[d] == null && this.throwArgumentError("invalid log level name", "logLevel", u), p > i[d] || console.log.apply(console, y); + } + debug(...u) { + this._log(v.levels.DEBUG, u); + } + info(...u) { + this._log(v.levels.INFO, u); + } + warn(...u) { + this._log(v.levels.WARNING, u); + } + makeError(u, y, d) { + if (o) return this.makeError("censored error", y, {}); + y || (y = v.errors.UNKNOWN_ERROR), d || (d = {}); + const b = []; + Object.keys(d).forEach((O) => { + const I = d[O]; try { - if (L instanceof Uint8Array) { - let N = ""; - for (let B = 0; B < L.length; B++) N += u[L[B] >> 4], N += u[15 & L[B]]; - h.push(R + "=Uint8Array(0x" + N + ")"); - } else h.push(R + "=" + JSON.stringify(L)); + if (I instanceof Uint8Array) { + let x = ""; + for (let A = 0; A < I.length; A++) x += m[I[A] >> 4], x += m[15 & I[A]]; + b.push(O + "=Uint8Array(0x" + x + ")"); + } else b.push(O + "=" + JSON.stringify(I)); } catch { - h.push(R + "=" + JSON.stringify(p[R].toString())); + b.push(O + "=" + JSON.stringify(d[O].toString())); } - }), h.push(`code=${v}`), h.push(`version=${this.version}`); - const O = s; - let I = ""; - switch (v) { - case y.NUMERIC_FAULT: { - I = "NUMERIC_FAULT"; - const R = s; - switch (R) { + }), b.push(`code=${y}`), b.push(`version=${this.version}`); + const _ = u; + let E = ""; + switch (y) { + case w.NUMERIC_FAULT: { + E = "NUMERIC_FAULT"; + const O = u; + switch (O) { case "overflow": case "underflow": case "division-by-zero": - I += "-" + R; + E += "-" + O; break; case "negative-power": case "negative-width": - I += "-unsupported"; + E += "-unsupported"; break; case "unbound-bitwise-result": - I += "-unbound-result"; + E += "-unbound-result"; } break; } - case y.CALL_EXCEPTION: - case y.INSUFFICIENT_FUNDS: - case y.MISSING_NEW: - case y.NONCE_EXPIRED: - case y.REPLACEMENT_UNDERPRICED: - case y.TRANSACTION_REPLACED: - case y.UNPREDICTABLE_GAS_LIMIT: - I = v; - } - I && (s += " [ See: https://links.ethers.org/v5-errors-" + I + " ]"), h.length && (s += " (" + h.join(", ") + ")"); - const k = new Error(s); - return k.reason = O, k.code = v, Object.keys(p).forEach(function(R) { - k[R] = p[R]; - }), k; + case w.CALL_EXCEPTION: + case w.INSUFFICIENT_FUNDS: + case w.MISSING_NEW: + case w.NONCE_EXPIRED: + case w.REPLACEMENT_UNDERPRICED: + case w.TRANSACTION_REPLACED: + case w.UNPREDICTABLE_GAS_LIMIT: + E = y; + } + E && (u += " [ See: https://links.ethers.org/v5-errors-" + E + " ]"), b.length && (u += " (" + b.join(", ") + ")"); + const B = new Error(u); + return B.reason = _, B.code = y, Object.keys(d).forEach(function(O) { + B[O] = d[O]; + }), B; } - throwError(s, v, p) { - throw this.makeError(s, v, p); + throwError(u, y, d) { + throw this.makeError(u, y, d); } - throwArgumentError(s, v, p) { - return this.throwError(s, d.errors.INVALID_ARGUMENT, { argument: v, value: p }); + throwArgumentError(u, y, d) { + return this.throwError(u, v.errors.INVALID_ARGUMENT, { argument: y, value: d }); } - assert(s, v, p, h) { - s || this.throwError(v, p, h); + assert(u, y, d, b) { + u || this.throwError(y, d, b); } - assertArgument(s, v, p, h) { - s || this.throwArgumentError(v, p, h); + assertArgument(u, y, d, b) { + u || this.throwArgumentError(y, d, b); } - checkNormalize(s) { - f && this.throwError("platform missing String.prototype.normalize", d.errors.UNSUPPORTED_OPERATION, { operation: "String.prototype.normalize", form: f }); + checkNormalize(u) { + f && this.throwError("platform missing String.prototype.normalize", v.errors.UNSUPPORTED_OPERATION, { operation: "String.prototype.normalize", form: f }); } - checkSafeUint53(s, v) { - typeof s == "number" && (v == null && (v = "value not safe"), (s < 0 || s >= 9007199254740991) && this.throwError(v, d.errors.NUMERIC_FAULT, { operation: "checkSafeInteger", fault: "out-of-safe-range", value: s }), s % 1 && this.throwError(v, d.errors.NUMERIC_FAULT, { operation: "checkSafeInteger", fault: "non-integer", value: s })); + checkSafeUint53(u, y) { + typeof u == "number" && (y == null && (y = "value not safe"), (u < 0 || u >= 9007199254740991) && this.throwError(y, v.errors.NUMERIC_FAULT, { operation: "checkSafeInteger", fault: "out-of-safe-range", value: u }), u % 1 && this.throwError(y, v.errors.NUMERIC_FAULT, { operation: "checkSafeInteger", fault: "non-integer", value: u })); } - checkArgumentCount(s, v, p) { - p = p ? ": " + p : "", s < v && this.throwError("missing argument" + p, d.errors.MISSING_ARGUMENT, { count: s, expectedCount: v }), s > v && this.throwError("too many arguments" + p, d.errors.UNEXPECTED_ARGUMENT, { count: s, expectedCount: v }); + checkArgumentCount(u, y, d) { + d = d ? ": " + d : "", u < y && this.throwError("missing argument" + d, v.errors.MISSING_ARGUMENT, { count: u, expectedCount: y }), u > y && this.throwError("too many arguments" + d, v.errors.UNEXPECTED_ARGUMENT, { count: u, expectedCount: y }); } - checkNew(s, v) { - s !== Object && s != null || this.throwError("missing new", d.errors.MISSING_NEW, { name: v.name }); + checkNew(u, y) { + u !== Object && u != null || this.throwError("missing new", v.errors.MISSING_NEW, { name: y.name }); } - checkAbstract(s, v) { - s === v ? this.throwError("cannot instantiate abstract class " + JSON.stringify(v.name) + " directly; use a sub-class", d.errors.UNSUPPORTED_OPERATION, { name: s.name, operation: "new" }) : s !== Object && s != null || this.throwError("missing new", d.errors.MISSING_NEW, { name: v.name }); + checkAbstract(u, y) { + u === y ? this.throwError("cannot instantiate abstract class " + JSON.stringify(y.name) + " directly; use a sub-class", v.errors.UNSUPPORTED_OPERATION, { name: u.name, operation: "new" }) : u !== Object && u != null || this.throwError("missing new", v.errors.MISSING_NEW, { name: y.name }); } static globalLogger() { - return t || (t = new d("logger/5.7.0")), t; + return a || (a = new v("logger/5.8.0")), a; } - static setCensorship(s, v) { - if (!s && v && this.globalLogger().throwError("cannot permanently disable censorship", d.errors.UNSUPPORTED_OPERATION, { operation: "setCensorship" }), r) { - if (!s) return; - this.globalLogger().throwError("error censorship permanent", d.errors.UNSUPPORTED_OPERATION, { operation: "setCensorship" }); + static setCensorship(u, y) { + if (!u && y && this.globalLogger().throwError("cannot permanently disable censorship", v.errors.UNSUPPORTED_OPERATION, { operation: "setCensorship" }), r) { + if (!u) return; + this.globalLogger().throwError("error censorship permanent", v.errors.UNSUPPORTED_OPERATION, { operation: "setCensorship" }); } - a = !!s, r = !!v; + o = !!u, r = !!y; } - static setLogLevel(s) { - const v = i[s.toLowerCase()]; - v != null ? m = v : d.globalLogger().warn("invalid log level - " + s); + static setLogLevel(u) { + const y = i[u.toLowerCase()]; + y != null ? p = y : v.globalLogger().warn("invalid log level - " + u); } - static from(s) { - return new d(s); + static from(u) { + return new v(u); + } + } + v.errors = w, v.levels = C; + }, 3562(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.getHash = function(o) { + return { hash: o }; + }, n.createCurve = function(o, i) { + const p = (a) => (0, r.weierstrass)({ ...o, hash: a }); + return { ...p(i), create: p }; + }; + const r = s(1705); + }, 2422(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.wNAF = void 0, n.negateCt = a, n.normalizeZ = function(_, E) { + const B = (0, o.FpInvertBatch)(_.Fp, E.map((O) => O.Z)); + return E.map((O, I) => _.fromAffine(O.toAffine(B[I]))); + }, n.mulEndoUnsafe = function(_, E, B, O) { + let I = E, x = _.ZERO, A = _.ZERO; + for (; B > i || O > i; ) B & p && (x = x.add(I)), O & p && (A = A.add(I)), I = I.double(), B >>= p, O >>= p; + return { p1: x, p2: A }; + }, n.pippenger = function(_, E, B, O) { + m(B, _), v(O, E); + const I = B.length, x = O.length; + if (I !== x) throw new Error("arrays of points and scalars must have equal length"); + const A = _.ZERO, N = (0, r.bitLen)(BigInt(I)); + let k = 1; + N > 12 ? k = N - 3 : N > 4 ? k = N - 2 : N > 0 && (k = 2); + const j = (0, r.bitMask)(k), D = new Array(Number(j) + 1).fill(A); + let T = A; + for (let L = Math.floor((E.BITS - 1) / k) * k; L >= 0; L -= k) { + D.fill(A); + for (let M = 0; M < x; M++) { + const P = O[M], H = Number(P >> BigInt(L) & j); + D[H] = D[H].add(B[M]); + } + let R = A; + for (let M = D.length - 1, P = A; M > 0; M--) P = P.add(D[M]), R = R.add(P); + if (T = T.add(R), L !== 0) for (let M = 0; M < k; M++) T = T.double(); + } + return T; + }, n.precomputeMSMUnsafe = function(_, E, B, O) { + f(O, E.BITS), m(B, _); + const I = _.ZERO, x = 2 ** O - 1, A = Math.ceil(E.BITS / O), N = (0, r.bitMask)(O), k = B.map((j) => { + const D = []; + for (let T = 0, L = j; T < x; T++) D.push(L), L = L.add(j); + return D; + }); + return (j) => { + if (v(j, E), j.length > B.length) throw new Error("array of scalars must be smaller than array of points"); + let D = I; + for (let T = 0; T < A; T++) { + if (D !== I) for (let R = 0; R < O; R++) D = D.double(); + const L = BigInt(A * O - (T + 1) * O); + for (let R = 0; R < j.length; R++) { + const M = j[R], P = Number(M >> L & N); + P && (D = D.add(k[R][P - 1])); + } + } + return D; + }; + }, n.validateBasic = function(_) { + return (0, o.validateField)(_.Fp), (0, r.validateObject)(_, { n: "bigint", h: "bigint", Gx: "field", Gy: "field" }, { nBitLength: "isSafeInteger", nByteLength: "isSafeInteger" }), Object.freeze({ ...(0, o.nLength)(_.n, _.nBitLength), ..._, p: _.Fp.ORDER }); + }, n._createCurveFields = function(_, E, B = {}, O) { + if (O === void 0 && (O = _ === "edwards"), !E || typeof E != "object") throw new Error(`expected valid ${_} CURVE object`); + for (const N of ["p", "n", "h"]) { + const k = E[N]; + if (!(typeof k == "bigint" && k > i)) throw new Error(`CURVE.${N} must be positive bigint`); + } + const I = b(E.p, B.Fp, O), x = b(E.n, B.Fn, O), A = ["Gx", "Gy", "a", _ === "weierstrass" ? "b" : "d"]; + for (const N of A) if (!I.isValid(E[N])) throw new Error(`CURVE.${N} must be valid field element of CURVE.Fp`); + return { CURVE: E = Object.freeze(Object.assign({}, E)), Fp: I, Fn: x }; + }; + const r = s(8627), o = s(4967), i = BigInt(0), p = BigInt(1); + function a(_, E) { + const B = E.negate(); + return _ ? B : E; + } + function f(_, E) { + if (!Number.isSafeInteger(_) || _ <= 0 || _ > E) throw new Error("invalid window size, expected [1.." + E + "], got W=" + _); + } + function C(_, E) { + f(_, E); + const B = 2 ** _; + return { windows: Math.ceil(E / _) + 1, windowSize: 2 ** (_ - 1), mask: (0, r.bitMask)(_), maxNumber: B, shiftBy: BigInt(_) }; + } + function w(_, E, B) { + const { windowSize: O, mask: I, maxNumber: x, shiftBy: A } = B; + let N = Number(_ & I), k = _ >> A; + N > O && (N -= x, k += p); + const j = E * O; + return { nextN: k, offset: j + Math.abs(N) - 1, isZero: N === 0, isNeg: N < 0, isNegF: E % 2 != 0, offsetF: j }; + } + function m(_, E) { + if (!Array.isArray(_)) throw new Error("array expected"); + _.forEach((B, O) => { + if (!(B instanceof E)) throw new Error("invalid point at index " + O); + }); + } + function v(_, E) { + if (!Array.isArray(_)) throw new Error("array of scalars expected"); + _.forEach((B, O) => { + if (!E.isValid(B)) throw new Error("invalid scalar at index " + O); + }); + } + const l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(); + function y(_) { + return u.get(_) || 1; + } + function d(_) { + if (_ !== i) throw new Error("invalid wNAF"); + } + function b(_, E, B) { + if (E) { + if (E.ORDER !== _) throw new Error("Field.ORDER must match order: Fp == p, Fn == n"); + return (0, o.validateField)(E), E; } + return (0, o.Field)(_, { isLE: B }); } - d.errors = y, d.levels = b; - }, 5111: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.utils = n.curve25519 = n.getSharedSecret = n.sync = n.verify = n.sign = n.getPublicKey = n.Signature = n.Point = n.RistrettoPoint = n.ExtendedPoint = n.CURVE = void 0; - const r = c(3086), a = BigInt(0), i = BigInt(1), m = BigInt(2), t = BigInt(8), f = BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"), b = Object.freeze({ a: BigInt(-1), d: BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"), P: BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"), l: f, n: f, h: BigInt(8), Gx: BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"), Gy: BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960") }); - n.CURVE = b; - const y = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"), u = BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"), d = (BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"), BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")), l = BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"), s = BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"), v = BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"); - class p { - constructor(K, X, ne, re) { - this.x = K, this.y = X, this.z = ne, this.t = re; + n.wNAF = class { + constructor(_, E) { + this.BASE = _.BASE, this.ZERO = _.ZERO, this.Fn = _.Fn, this.bits = E; + } + _unsafeLadder(_, E, B = this.ZERO) { + let O = _; + for (; E > i; ) E & p && (B = B.add(O)), O = O.double(), E >>= p; + return B; + } + precomputeWindow(_, E) { + const { windows: B, windowSize: O } = C(E, this.bits), I = []; + let x = _, A = x; + for (let N = 0; N < B; N++) { + A = x, I.push(A); + for (let k = 1; k < O; k++) A = A.add(x), I.push(A); + x = A.double(); + } + return I; } - static fromAffine(K) { - if (!(K instanceof N)) throw new TypeError("ExtendedPoint#fromAffine: expected Point"); - return K.equals(N.ZERO) ? p.ZERO : new p(K.x, K.y, i, V(K.x * K.y)); + wNAF(_, E, B) { + if (!this.Fn.isValid(B)) throw new Error("invalid scalar"); + let O = this.ZERO, I = this.BASE; + const x = C(_, this.bits); + for (let A = 0; A < x.windows; A++) { + const { nextN: N, offset: k, isZero: j, isNeg: D, isNegF: T, offsetF: L } = w(B, A, x); + B = N, j ? I = I.add(a(T, E[L])) : O = O.add(a(D, E[k])); + } + return d(B), { p: O, f: I }; + } + wNAFUnsafe(_, E, B, O = this.ZERO) { + const I = C(_, this.bits); + for (let x = 0; x < I.windows && B !== i; x++) { + const { nextN: A, offset: N, isZero: k, isNeg: j } = w(B, x, I); + if (B = A, !k) { + const D = E[N]; + O = O.add(j ? D.negate() : D); + } + } + return d(B), O; } - static toAffineBatch(K) { - const X = function(ne, re = b.P) { - const pe = new Array(ne.length), Oe = D(ne.reduce((xe, Re, De) => Re === a ? xe : (pe[De] = xe, V(xe * Re, re)), i), re); - return ne.reduceRight((xe, Re, De) => Re === a ? xe : (pe[De] = V(xe * pe[De], re), V(xe * Re, re)), Oe), pe; - }(K.map((ne) => ne.z)); - return K.map((ne, re) => ne.toAffine(X[re])); + getPrecomputes(_, E, B) { + let O = l.get(E); + return O || (O = this.precomputeWindow(E, _), _ !== 1 && (typeof B == "function" && (O = B(O)), l.set(E, O))), O; } - static normalizeZ(K) { - return this.toAffineBatch(K).map(this.fromAffine); + cached(_, E, B) { + const O = y(_); + return this.wNAF(O, this.getPrecomputes(O, _, B), E); } - equals(K) { - O(K); - const { x: X, y: ne, z: re } = this, { x: pe, y: Oe, z: xe } = K, Re = V(X * xe), De = V(pe * re), Le = V(ne * xe), Ve = V(Oe * re); - return Re === De && Le === Ve; + unsafe(_, E, B, O) { + const I = y(_); + return I === 1 ? this._unsafeLadder(_, E, O) : this.wNAFUnsafe(I, this.getPrecomputes(I, _, B), E, O); } - negate() { - return new p(V(-this.x), this.y, this.z, V(-this.t)); + createCache(_, E) { + f(E, this.bits), u.set(_, E), l.delete(_); } - double() { - const { x: K, y: X, z: ne } = this, { a: re } = b, pe = V(K * K), Oe = V(X * X), xe = V(m * V(ne * ne)), Re = V(re * pe), De = K + X, Le = V(V(De * De) - pe - Oe), Ve = Re + Oe, Ze = Ve - xe, Be = Re - Oe, de = V(Le * Ze), oe = V(Ve * Be), le = V(Le * Be), me = V(Ze * Ve); - return new p(de, oe, me, le); - } - add(K) { - O(K); - const { x: X, y: ne, z: re, t: pe } = this, { x: Oe, y: xe, z: Re, t: De } = K, Le = V((ne - X) * (xe + Oe)), Ve = V((ne + X) * (xe - Oe)), Ze = V(Ve - Le); - if (Ze === a) return this.double(); - const Be = V(re * m * De), de = V(pe * m * Re), oe = de + Be, le = Ve + Le, me = de - Be, Ce = V(oe * Ze), we = V(le * me), Ie = V(oe * me), ke = V(Ze * le); - return new p(Ce, we, ke, Ie); - } - subtract(K) { - return this.add(K.negate()); - } - precomputeWindow(K) { - const X = 1 + 256 / K, ne = []; - let re = this, pe = re; - for (let Oe = 0; Oe < X; Oe++) { - pe = re, ne.push(pe); - for (let xe = 1; xe < 2 ** (K - 1); xe++) pe = pe.add(re), ne.push(pe); - re = pe.double(); + hasCache(_) { + return y(_) !== 1; + } + }; + }, 1761(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n._DST_scalar = void 0, n.expand_message_xmd = w, n.expand_message_xof = m, n.hash_to_field = v, n.isogenyMap = function(l, u) { + const y = u.map((d) => Array.from(d).reverse()); + return (d, b) => { + const [_, E, B, O] = y.map((A) => A.reduce((N, k) => l.add(l.mul(N, d), k))), [I, x] = (0, o.FpInvertBatch)(l, [E, O], !0); + return d = l.mul(_, I), b = l.mul(b, l.mul(B, x)), { x: d, y: b }; + }; + }, n.createHasher = function(l, u, y) { + if (typeof u != "function") throw new Error("mapToCurve() must be defined"); + function d(_) { + return l.fromAffine(u(_)); + } + function b(_) { + const E = _.clearCofactor(); + return E.equals(l.ZERO) ? l.ZERO : (E.assertValidity(), E); + } + return { defaults: y, hashToCurve(_, E) { + const B = v(_, 2, Object.assign({}, y, E)), O = d(B[0]), I = d(B[1]); + return b(O.add(I)); + }, encodeToCurve(_, E) { + const B = y.encodeDST ? { DST: y.encodeDST } : {}; + return b(d(v(_, 1, Object.assign({}, y, B, E))[0])); + }, mapToCurve(_) { + if (!Array.isArray(_)) throw new Error("expected array of bigints"); + for (const E of _) if (typeof E != "bigint") throw new Error("expected array of bigints"); + return b(d(_)); + }, hashToScalar(_, E) { + const B = l.Fn.ORDER; + return v(_, 1, Object.assign({}, y, { p: B, m: 1, DST: n._DST_scalar }, E))[0][0]; + } }; + }; + const r = s(8627), o = s(4967), i = r.bytesToNumberBE; + function p(l, u) { + if (f(l), f(u), l < 0 || l >= 1 << 8 * u) throw new Error("invalid I2OSP input: " + l); + const y = Array.from({ length: u }).fill(0); + for (let d = u - 1; d >= 0; d--) y[d] = 255 & l, l >>>= 8; + return new Uint8Array(y); + } + function a(l, u) { + const y = new Uint8Array(l.length); + for (let d = 0; d < l.length; d++) y[d] = l[d] ^ u[d]; + return y; + } + function f(l) { + if (!Number.isSafeInteger(l)) throw new Error("number expected"); + } + function C(l) { + if (!(0, r.isBytes)(l) && typeof l != "string") throw new Error("DST must be Uint8Array or string"); + return typeof l == "string" ? (0, r.utf8ToBytes)(l) : l; + } + function w(l, u, y, d) { + (0, r.abytes)(l), f(y), (u = C(u)).length > 255 && (u = d((0, r.concatBytes)((0, r.utf8ToBytes)("H2C-OVERSIZE-DST-"), u))); + const { outputLen: b, blockLen: _ } = d, E = Math.ceil(y / b); + if (y > 65535 || E > 255) throw new Error("expand_message_xmd: invalid lenInBytes"); + const B = (0, r.concatBytes)(u, p(u.length, 1)), O = p(0, _), I = p(y, 2), x = new Array(E), A = d((0, r.concatBytes)(O, l, I, p(0, 1), B)); + x[0] = d((0, r.concatBytes)(A, p(1, 1), B)); + for (let N = 1; N <= E; N++) { + const k = [a(A, x[N - 1]), p(N + 1, 1), B]; + x[N] = d((0, r.concatBytes)(...k)); + } + return (0, r.concatBytes)(...x).slice(0, y); + } + function m(l, u, y, d, b) { + if ((0, r.abytes)(l), f(y), (u = C(u)).length > 255) { + const _ = Math.ceil(2 * d / 8); + u = b.create({ dkLen: _ }).update((0, r.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(u).digest(); + } + if (y > 65535 || u.length > 255) throw new Error("expand_message_xof: invalid lenInBytes"); + return b.create({ dkLen: y }).update(l).update(p(y, 2)).update(u).update(p(u.length, 1)).digest(); + } + function v(l, u, y) { + (0, r._validateObject)(y, { p: "bigint", m: "number", k: "number", hash: "function" }); + const { p: d, k: b, m: _, hash: E, expand: B, DST: O } = y; + if (!(0, r.isHash)(y.hash)) throw new Error("expected valid hash"); + (0, r.abytes)(l), f(u); + const I = d.toString(2).length, x = Math.ceil((I + b) / 8), A = u * _ * x; + let N; + if (B === "xmd") N = w(l, O, A, E); + else if (B === "xof") N = m(l, O, A, b, E); + else { + if (B !== "_internal_pass") throw new Error('expand must be "xmd" or "xof"'); + N = l; + } + const k = new Array(u); + for (let j = 0; j < u; j++) { + const D = new Array(_); + for (let T = 0; T < _; T++) { + const L = x * (T + j * _), R = N.subarray(L, L + x); + D[T] = (0, o.mod)(i(R), d); + } + k[j] = D; + } + return k; + } + n._DST_scalar = (0, r.utf8ToBytes)("HashToScalar-"); + }, 4967(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.isNegativeLE = void 0, n.mod = u, n.pow = function(T, L, R) { + return I(k(R), T, L); + }, n.pow2 = function(T, L, R) { + let M = T; + for (; L-- > o; ) M *= M, M %= R; + return M; + }, n.invert = y, n.tonelliShanks = E, n.FpSqrt = B, n.validateField = function(T) { + const L = O.reduce((R, M) => (R[M] = "function", R), { ORDER: "bigint", MASK: "bigint", BYTES: "number", BITS: "number" }); + return (0, r._validateObject)(T, L), T; + }, n.FpPow = I, n.FpInvertBatch = x, n.FpDiv = function(T, L, R) { + return T.mul(L, typeof R == "bigint" ? y(R, T.ORDER) : T.inv(R)); + }, n.FpLegendre = A, n.FpIsSquare = function(T, L) { + return A(T, L) === 1; + }, n.nLength = N, n.Field = k, n.FpSqrtOdd = function(T, L) { + if (!T.isOdd) throw new Error("Field doesn't have isOdd"); + const R = T.sqrt(L); + return T.isOdd(R) ? R : T.neg(R); + }, n.FpSqrtEven = function(T, L) { + if (!T.isOdd) throw new Error("Field doesn't have isOdd"); + const R = T.sqrt(L); + return T.isOdd(R) ? T.neg(R) : R; + }, n.hashToPrivateScalar = function(T, L, R = !1) { + const M = (T = (0, r.ensureBytes)("privateHash", T)).length, P = N(L).nByteLength + 8; + if (P < 24 || M < P || M > 1024) throw new Error("hashToPrivateScalar: expected " + P + "-1024 bytes of input, got " + M); + return u(R ? (0, r.bytesToNumberLE)(T) : (0, r.bytesToNumberBE)(T), L - i) + i; + }, n.getFieldBytesLength = j, n.getMinHashLength = D, n.mapHashToField = function(T, L, R = !1) { + const M = T.length, P = j(L), H = D(L); + if (M < 16 || M < H || M > 1024) throw new Error("expected " + H + "-1024 bytes of input, got " + M); + const K = u(R ? (0, r.bytesToNumberLE)(T) : (0, r.bytesToNumberBE)(T), L - i) + i; + return R ? (0, r.numberToBytesLE)(K, P) : (0, r.numberToBytesBE)(K, P); + }; + const r = s(8627), o = BigInt(0), i = BigInt(1), p = BigInt(2), a = BigInt(3), f = BigInt(4), C = BigInt(5), w = BigInt(7), m = BigInt(8), v = BigInt(9), l = BigInt(16); + function u(T, L) { + const R = T % L; + return R >= o ? R : L + R; + } + function y(T, L) { + if (T === o) throw new Error("invert: expected non-zero number"); + if (L <= o) throw new Error("invert: expected positive modulus, got " + L); + let R = u(T, L), M = L, P = o, H = i; + for (; R !== o; ) { + const K = M / R, V = M % R, U = P - H * K; + M = R, R = V, P = H, H = U; + } + if (M !== i) throw new Error("invert: does not exist"); + return u(P, L); + } + function d(T, L, R) { + if (!T.eql(T.sqr(L), R)) throw new Error("Cannot find square root"); + } + function b(T, L) { + const R = (T.ORDER + i) / f, M = T.pow(L, R); + return d(T, M, L), M; + } + function _(T, L) { + const R = (T.ORDER - C) / m, M = T.mul(L, p), P = T.pow(M, R), H = T.mul(L, P), K = T.mul(T.mul(H, p), P), V = T.mul(H, T.sub(K, T.ONE)); + return d(T, V, L), V; + } + function E(T) { + if (T < a) throw new Error("sqrt is not defined for small field"); + let L = T - i, R = 0; + for (; L % p === o; ) L /= p, R++; + let M = p; + const P = k(T); + for (; A(P, M) === 1; ) if (M++ > 1e3) throw new Error("Cannot find square root: probably non-prime P"); + if (R === 1) return b; + let H = P.pow(M, L); + const K = (L + i) / p; + return function(V, U) { + if (V.is0(U)) return U; + if (A(V, U) !== 1) throw new Error("Cannot find square root"); + let F = R, Q = V.mul(V.ONE, H), ne = V.pow(U, L), te = V.pow(U, K); + for (; !V.eql(ne, V.ONE); ) { + if (V.is0(ne)) return V.ZERO; + let X = 1, Z = V.sqr(ne); + for (; !V.eql(Z, V.ONE); ) if (X++, Z = V.sqr(Z), X === F) throw new Error("Cannot find square root"); + const fe = i << BigInt(F - X - 1), le = V.pow(Q, fe); + F = X, Q = V.sqr(le), ne = V.mul(ne, Q), te = V.mul(te, le); + } + return te; + }; + } + function B(T) { + return T % f === a ? b : T % m === C ? _ : T % l === v ? function(L) { + const R = k(L), M = E(L), P = M(R, R.neg(R.ONE)), H = M(R, P), K = M(R, R.neg(P)), V = (L + w) / l; + return (U, F) => { + let Q = U.pow(F, V), ne = U.mul(Q, P); + const te = U.mul(Q, H), X = U.mul(Q, K), Z = U.eql(U.sqr(ne), F), fe = U.eql(U.sqr(te), F); + Q = U.cmov(Q, ne, Z), ne = U.cmov(X, te, fe); + const le = U.eql(U.sqr(ne), F), Se = U.cmov(Q, ne, le); + return d(U, Se, F), Se; + }; + }(T) : E(T); + } + n.isNegativeLE = (T, L) => (u(T, L) & i) === i; + const O = ["create", "isValid", "is0", "neg", "inv", "sqrt", "sqr", "eql", "add", "sub", "mul", "pow", "div", "addN", "subN", "mulN", "sqrN"]; + function I(T, L, R) { + if (R < o) throw new Error("invalid exponent, negatives unsupported"); + if (R === o) return T.ONE; + if (R === i) return L; + let M = T.ONE, P = L; + for (; R > o; ) R & i && (M = T.mul(M, P)), P = T.sqr(P), R >>= i; + return M; + } + function x(T, L, R = !1) { + const M = new Array(L.length).fill(R ? T.ZERO : void 0), P = L.reduce((K, V, U) => T.is0(V) ? K : (M[U] = K, T.mul(K, V)), T.ONE), H = T.inv(P); + return L.reduceRight((K, V, U) => T.is0(V) ? K : (M[U] = T.mul(K, M[U]), T.mul(K, V)), H), M; + } + function A(T, L) { + const R = (T.ORDER - i) / p, M = T.pow(L, R), P = T.eql(M, T.ONE), H = T.eql(M, T.ZERO), K = T.eql(M, T.neg(T.ONE)); + if (!P && !H && !K) throw new Error("invalid Legendre symbol result"); + return P ? 1 : H ? 0 : -1; + } + function N(T, L) { + L !== void 0 && (0, r.anumber)(L); + const R = L !== void 0 ? L : T.toString(2).length; + return { nBitLength: R, nByteLength: Math.ceil(R / 8) }; + } + function k(T, L, R = !1, M = {}) { + if (T <= o) throw new Error("invalid field: expected ORDER > 0, got " + T); + let P, H, K, V = !1; + if (typeof L == "object" && L != null) { + if (M.sqrt || R) throw new Error("cannot specify opts in two arguments"); + const te = L; + te.BITS && (P = te.BITS), te.sqrt && (H = te.sqrt), typeof te.isLE == "boolean" && (R = te.isLE), typeof te.modFromBytes == "boolean" && (V = te.modFromBytes), K = te.allowedLengths; + } else typeof L == "number" && (P = L), M.sqrt && (H = M.sqrt); + const { nBitLength: U, nByteLength: F } = N(T, P); + if (F > 2048) throw new Error("invalid field: expected ORDER of <= 2048 bytes"); + let Q; + const ne = Object.freeze({ ORDER: T, isLE: R, BITS: U, BYTES: F, MASK: (0, r.bitMask)(U), ZERO: o, ONE: i, allowedLengths: K, create: (te) => u(te, T), isValid: (te) => { + if (typeof te != "bigint") throw new Error("invalid field element: expected bigint, got " + typeof te); + return o <= te && te < T; + }, is0: (te) => te === o, isValidNot0: (te) => !ne.is0(te) && ne.isValid(te), isOdd: (te) => (te & i) === i, neg: (te) => u(-te, T), eql: (te, X) => te === X, sqr: (te) => u(te * te, T), add: (te, X) => u(te + X, T), sub: (te, X) => u(te - X, T), mul: (te, X) => u(te * X, T), pow: (te, X) => I(ne, te, X), div: (te, X) => u(te * y(X, T), T), sqrN: (te) => te * te, addN: (te, X) => te + X, subN: (te, X) => te - X, mulN: (te, X) => te * X, inv: (te) => y(te, T), sqrt: H || ((te) => (Q || (Q = B(T)), Q(ne, te))), toBytes: (te) => R ? (0, r.numberToBytesLE)(te, F) : (0, r.numberToBytesBE)(te, F), fromBytes: (te, X = !0) => { + if (K) { + if (!K.includes(te.length) || te.length > F) throw new Error("Field.fromBytes: expected " + K + " bytes, got " + te.length); + const fe = new Uint8Array(F); + fe.set(te, R ? 0 : fe.length - te.length), te = fe; + } + if (te.length !== F) throw new Error("Field.fromBytes: expected " + F + " bytes, got " + te.length); + let Z = R ? (0, r.bytesToNumberLE)(te) : (0, r.bytesToNumberBE)(te); + if (V && (Z = u(Z, T)), !X && !ne.isValid(Z)) throw new Error("invalid field element: outside of range 0..ORDER"); + return Z; + }, invertBatch: (te) => x(ne, te), cmov: (te, X, Z) => Z ? X : te }); + return Object.freeze(ne); + } + function j(T) { + if (typeof T != "bigint") throw new Error("field order must be bigint"); + const L = T.toString(2).length; + return Math.ceil(L / 8); + } + function D(T) { + const L = j(T); + return L + Math.ceil(L / 2); + } + }, 1705(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.DER = n.DERErr = void 0, n._splitEndoScalar = C, n._normFnElement = _, n.weierstrassN = E, n.SWUFpSqrtRatio = O, n.mapToCurveSimpleSWU = function(j, D) { + (0, a.validateField)(j); + const { A: T, B: L, Z: R } = D; + if (!j.isValid(T) || !j.isValid(L) || !j.isValid(R)) throw new Error("mapToCurveSimpleSWU: invalid opts"); + const M = O(j, R); + if (!j.isOdd) throw new Error("Field does not have .isOdd()"); + return (P) => { + let H, K, V, U, F, Q, ne, te; + H = j.sqr(P), H = j.mul(H, R), K = j.sqr(H), K = j.add(K, H), V = j.add(K, j.ONE), V = j.mul(V, L), U = j.cmov(R, j.neg(K), !j.eql(K, j.ZERO)), U = j.mul(U, T), K = j.sqr(V), Q = j.sqr(U), F = j.mul(Q, T), K = j.add(K, F), K = j.mul(K, V), Q = j.mul(Q, U), F = j.mul(Q, L), K = j.add(K, F), ne = j.mul(H, V); + const { isValid: X, value: Z } = M(K, Q); + te = j.mul(H, P), te = j.mul(te, Z), ne = j.cmov(ne, V, X), te = j.cmov(te, Z, X); + const fe = j.isOdd(P) === j.isOdd(te); + te = j.cmov(j.neg(te), te, fe); + const le = (0, a.FpInvertBatch)(j, [U], !0)[0]; + return ne = j.mul(ne, le), { x: ne, y: te }; + }; + }, n.ecdh = x, n.ecdsa = A, n.weierstrassPoints = function(j) { + const { CURVE: D, curveOpts: T } = N(j); + return function(L, R) { + const { Fp: M, Fn: P } = R, H = k(M, L.a, L.b); + return Object.assign({}, { CURVE: L, Point: R, ProjectivePoint: R, normPrivateKeyToScalar: (K) => _(P, K), weierstrassEquation: H, isWithinCurveOrder: function(K) { + return (0, i.inRange)(K, u, P.ORDER); + } }); + }(j, E(D, T)); + }, n._legacyHelperEquat = k, n.weierstrass = function(j) { + const { CURVE: D, curveOpts: T, hash: L, ecdsaOpts: R } = function(M) { + const { CURVE: P, curveOpts: H } = N(M), K = { hmac: M.hmac, randomBytes: M.randomBytes, lowS: M.lowS, bits2int: M.bits2int, bits2int_modN: M.bits2int_modN }; + return { CURVE: P, curveOpts: H, hash: M.hash, ecdsaOpts: K }; + }(j); + return function(M, P) { + const H = P.Point; + return Object.assign({}, P, { ProjectivePoint: H, CURVE: Object.assign({}, M, (0, a.nLength)(H.Fn.ORDER, H.Fn.BITS)) }); + }(j, A(E(D, T), L, R)); + }; + const r = s(9615), o = s(9175), i = s(8627), p = s(2422), a = s(4967), f = (j, D) => (j + (j >= 0 ? D : -D) / y) / D; + function C(j, D, T) { + const [[L, R], [M, P]] = D, H = f(P * j, T), K = f(-R * j, T); + let V = j - H * L - K * M, U = -H * R - K * P; + const F = V < l, Q = U < l; + F && (V = -V), Q && (U = -U); + const ne = (0, i.bitMask)(Math.ceil((0, i.bitLen)(T) / 2)) + u; + if (V < l || V >= ne || U < l || U >= ne) throw new Error("splitScalar (endomorphism): failed, k=" + j); + return { k1neg: F, k1: V, k2neg: Q, k2: U }; + } + function w(j) { + if (!["compact", "recovered", "der"].includes(j)) throw new Error('Signature format must be "compact", "recovered", or "der"'); + return j; + } + function m(j, D) { + const T = {}; + for (let L of Object.keys(D)) T[L] = j[L] === void 0 ? D[L] : j[L]; + return (0, i._abool2)(T.lowS, "lowS"), (0, i._abool2)(T.prehash, "prehash"), T.format !== void 0 && w(T.format), T; + } + class v extends Error { + constructor(D = "") { + super(D); + } + } + n.DERErr = v, n.DER = { Err: v, _tlv: { encode: (j, D) => { + const { Err: T } = n.DER; + if (j < 0 || j > 256) throw new T("tlv.encode: wrong tag"); + if (1 & D.length) throw new T("tlv.encode: unpadded data"); + const L = D.length / 2, R = (0, i.numberToHexUnpadded)(L); + if (R.length / 2 & 128) throw new T("tlv.encode: long form length too big"); + const M = L > 127 ? (0, i.numberToHexUnpadded)(R.length / 2 | 128) : ""; + return (0, i.numberToHexUnpadded)(j) + M + R + D; + }, decode(j, D) { + const { Err: T } = n.DER; + let L = 0; + if (j < 0 || j > 256) throw new T("tlv.encode: wrong tag"); + if (D.length < 2 || D[L++] !== j) throw new T("tlv.decode: wrong tlv"); + const R = D[L++]; + let M = 0; + if (128 & R) { + const H = 127 & R; + if (!H) throw new T("tlv.decode(long): indefinite length not supported"); + if (H > 4) throw new T("tlv.decode(long): byte length is too big"); + const K = D.subarray(L, L + H); + if (K.length !== H) throw new T("tlv.decode: length bytes not complete"); + if (K[0] === 0) throw new T("tlv.decode(long): zero leftmost byte"); + for (const V of K) M = M << 8 | V; + if (L += H, M < 128) throw new T("tlv.decode(long): not minimal encoding"); + } else M = R; + const P = D.subarray(L, L + M); + if (P.length !== M) throw new T("tlv.decode: wrong value length"); + return { v: P, l: D.subarray(L + M) }; + } }, _int: { encode(j) { + const { Err: D } = n.DER; + if (j < l) throw new D("integer: negative integers are not allowed"); + let T = (0, i.numberToHexUnpadded)(j); + if (8 & Number.parseInt(T[0], 16) && (T = "00" + T), 1 & T.length) throw new D("unexpected DER parsing assertion: unpadded hex"); + return T; + }, decode(j) { + const { Err: D } = n.DER; + if (128 & j[0]) throw new D("invalid signature integer: negative"); + if (j[0] === 0 && !(128 & j[1])) throw new D("invalid signature integer: unnecessary leading zero"); + return (0, i.bytesToNumberBE)(j); + } }, toSig(j) { + const { Err: D, _int: T, _tlv: L } = n.DER, R = (0, i.ensureBytes)("signature", j), { v: M, l: P } = L.decode(48, R); + if (P.length) throw new D("invalid signature: left bytes after parsing"); + const { v: H, l: K } = L.decode(2, M), { v: V, l: U } = L.decode(2, K); + if (U.length) throw new D("invalid signature: left bytes after parsing"); + return { r: T.decode(H), s: T.decode(V) }; + }, hexFromSig(j) { + const { _tlv: D, _int: T } = n.DER, L = D.encode(2, T.encode(j.r)) + D.encode(2, T.encode(j.s)); + return D.encode(48, L); + } }; + const l = BigInt(0), u = BigInt(1), y = BigInt(2), d = BigInt(3), b = BigInt(4); + function _(j, D) { + const { BYTES: T } = j; + let L; + if (typeof D == "bigint") L = D; + else { + let R = (0, i.ensureBytes)("private key", D); + try { + L = j.fromBytes(R); + } catch { + throw new Error(`invalid private key: expected ui8a of size ${T}, got ${typeof D}`); + } + } + if (!j.isValidNot0(L)) throw new Error("invalid private key: out of range [1..N-1]"); + return L; + } + function E(j, D = {}) { + const T = (0, p._createCurveFields)("weierstrass", j, D), { Fp: L, Fn: R } = T; + let M = T.CURVE; + const { h: P, n: H } = M; + (0, i._validateObject)(D, {}, { allowInfinityPoint: "boolean", clearCofactor: "function", isTorsionFree: "function", fromBytes: "function", toBytes: "function", endo: "object", wrapPrivateKey: "boolean" }); + const { endo: K } = D; + if (K && (!L.is0(M.a) || typeof K.beta != "bigint" || !Array.isArray(K.basises))) throw new Error('invalid endo: expected "beta": bigint and "basises": array'); + const V = I(L, R); + function U() { + if (!L.isOdd) throw new Error("compression is not supported: Field does not have .isOdd()"); + } + const F = D.toBytes || function(we, z, J) { + const { x: q, y: re } = z.toAffine(), $ = L.toBytes(q); + if ((0, i._abool2)(J, "isCompressed"), J) { + U(); + const Y = !L.isOdd(re); + return (0, i.concatBytes)(B(Y), $); + } + return (0, i.concatBytes)(Uint8Array.of(4), $, L.toBytes(re)); + }, Q = D.fromBytes || function(we) { + (0, i._abytes2)(we, void 0, "Point"); + const { publicKey: z, publicKeyUncompressed: J } = V, q = we.length, re = we[0], $ = we.subarray(1); + if (q !== z || re !== 2 && re !== 3) { + if (q === J && re === 4) { + const Y = L.BYTES, ce = L.fromBytes($.subarray(0, Y)), ye = L.fromBytes($.subarray(Y, 2 * Y)); + if (!te(ce, ye)) throw new Error("bad point: is not on curve"); + return { x: ce, y: ye }; + } + throw new Error(`bad point: got length ${q}, expected compressed=${z} or uncompressed=${J}`); + } + { + const Y = L.fromBytes($); + if (!L.isValid(Y)) throw new Error("bad point: is not on curve, wrong x"); + const ce = ne(Y); + let ye; + try { + ye = L.sqrt(ce); + } catch (ve) { + const Ee = ve instanceof Error ? ": " + ve.message : ""; + throw new Error("bad point: is not on curve, sqrt error" + Ee); + } + return U(), !(1 & ~re) !== L.isOdd(ye) && (ye = L.neg(ye)), { x: Y, y: ye }; + } + }; + function ne(we) { + const z = L.sqr(we), J = L.mul(z, we); + return L.add(L.add(J, L.mul(we, M.a)), M.b); + } + function te(we, z) { + const J = L.sqr(z), q = ne(we); + return L.eql(J, q); + } + if (!te(M.Gx, M.Gy)) throw new Error("bad curve params: generator point"); + const X = L.mul(L.pow(M.a, d), b), Z = L.mul(L.sqr(M.b), BigInt(27)); + if (L.is0(L.add(X, Z))) throw new Error("bad curve params: a or b"); + function fe(we, z, J = !1) { + if (!L.isValid(z) || J && L.is0(z)) throw new Error(`bad point coordinate ${we}`); + return z; + } + function le(we) { + if (!(we instanceof Ce)) throw new Error("ProjectivePoint expected"); + } + function Se(we) { + if (!K || !K.basises) throw new Error("no endo"); + return C(we, K.basises, R.ORDER); + } + const de = (0, i.memoized)((we, z) => { + const { X: J, Y: q, Z: re } = we; + if (L.eql(re, L.ONE)) return { x: J, y: q }; + const $ = we.is0(); + z == null && (z = $ ? L.ONE : L.inv(re)); + const Y = L.mul(J, z), ce = L.mul(q, z), ye = L.mul(re, z); + if ($) return { x: L.ZERO, y: L.ZERO }; + if (!L.eql(ye, L.ONE)) throw new Error("invZ was invalid"); + return { x: Y, y: ce }; + }), me = (0, i.memoized)((we) => { + if (we.is0()) { + if (D.allowInfinityPoint && !L.is0(we.Y)) return; + throw new Error("bad point: ZERO"); + } + const { x: z, y: J } = we.toAffine(); + if (!L.isValid(z) || !L.isValid(J)) throw new Error("bad point: x or y not field elements"); + if (!te(z, J)) throw new Error("bad point: equation left != right"); + if (!we.isTorsionFree()) throw new Error("bad point: not in prime-order subgroup"); + return !0; + }); + function Oe(we, z, J, q, re) { + return J = new Ce(L.mul(J.X, we), J.Y, J.Z), z = (0, p.negateCt)(q, z), J = (0, p.negateCt)(re, J), z.add(J); + } + class Ce { + constructor(z, J, q) { + this.X = fe("x", z), this.Y = fe("y", J, !0), this.Z = fe("z", q), Object.freeze(this); + } + static CURVE() { + return M; + } + static fromAffine(z) { + const { x: J, y: q } = z || {}; + if (!z || !L.isValid(J) || !L.isValid(q)) throw new Error("invalid affine point"); + if (z instanceof Ce) throw new Error("projective point not allowed"); + return L.is0(J) && L.is0(q) ? Ce.ZERO : new Ce(J, q, L.ONE); + } + static fromBytes(z) { + const J = Ce.fromAffine(Q((0, i._abytes2)(z, void 0, "point"))); + return J.assertValidity(), J; + } + static fromHex(z) { + return Ce.fromBytes((0, i.ensureBytes)("pointHex", z)); + } + get x() { + return this.toAffine().x; + } + get y() { + return this.toAffine().y; + } + precompute(z = 8, J = !0) { + return ie.createCache(this, z), J || this.multiply(d), this; + } + assertValidity() { + me(this); + } + hasEvenY() { + const { y: z } = this.toAffine(); + if (!L.isOdd) throw new Error("Field doesn't support isOdd"); + return !L.isOdd(z); + } + equals(z) { + le(z); + const { X: J, Y: q, Z: re } = this, { X: $, Y, Z: ce } = z, ye = L.eql(L.mul(J, ce), L.mul($, re)), ve = L.eql(L.mul(q, ce), L.mul(Y, re)); + return ye && ve; + } + negate() { + return new Ce(this.X, L.neg(this.Y), this.Z); + } + double() { + const { a: z, b: J } = M, q = L.mul(J, d), { X: re, Y: $, Z: Y } = this; + let ce = L.ZERO, ye = L.ZERO, ve = L.ZERO, Ee = L.mul(re, re), Ie = L.mul($, $), be = L.mul(Y, Y), Ne = L.mul(re, $); + return Ne = L.add(Ne, Ne), ve = L.mul(re, Y), ve = L.add(ve, ve), ce = L.mul(z, ve), ye = L.mul(q, be), ye = L.add(ce, ye), ce = L.sub(Ie, ye), ye = L.add(Ie, ye), ye = L.mul(ce, ye), ce = L.mul(Ne, ce), ve = L.mul(q, ve), be = L.mul(z, be), Ne = L.sub(Ee, be), Ne = L.mul(z, Ne), Ne = L.add(Ne, ve), ve = L.add(Ee, Ee), Ee = L.add(ve, Ee), Ee = L.add(Ee, be), Ee = L.mul(Ee, Ne), ye = L.add(ye, Ee), be = L.mul($, Y), be = L.add(be, be), Ee = L.mul(be, Ne), ce = L.sub(ce, Ee), ve = L.mul(be, Ie), ve = L.add(ve, ve), ve = L.add(ve, ve), new Ce(ce, ye, ve); + } + add(z) { + le(z); + const { X: J, Y: q, Z: re } = this, { X: $, Y, Z: ce } = z; + let ye = L.ZERO, ve = L.ZERO, Ee = L.ZERO; + const Ie = M.a, be = L.mul(M.b, d); + let Ne = L.mul(J, $), He = L.mul(q, Y), ae = L.mul(re, ce), oe = L.add(J, q), ue = L.add($, Y); + oe = L.mul(oe, ue), ue = L.add(Ne, He), oe = L.sub(oe, ue), ue = L.add(J, re); + let he = L.add($, ce); + return ue = L.mul(ue, he), he = L.add(Ne, ae), ue = L.sub(ue, he), he = L.add(q, re), ye = L.add(Y, ce), he = L.mul(he, ye), ye = L.add(He, ae), he = L.sub(he, ye), Ee = L.mul(Ie, ue), ye = L.mul(be, ae), Ee = L.add(ye, Ee), ye = L.sub(He, Ee), Ee = L.add(He, Ee), ve = L.mul(ye, Ee), He = L.add(Ne, Ne), He = L.add(He, Ne), ae = L.mul(Ie, ae), ue = L.mul(be, ue), He = L.add(He, ae), ae = L.sub(Ne, ae), ae = L.mul(Ie, ae), ue = L.add(ue, ae), Ne = L.mul(He, ue), ve = L.add(ve, Ne), Ne = L.mul(he, ue), ye = L.mul(oe, ye), ye = L.sub(ye, Ne), Ne = L.mul(oe, He), Ee = L.mul(he, Ee), Ee = L.add(Ee, Ne), new Ce(ye, ve, Ee); + } + subtract(z) { + return this.add(z.negate()); + } + is0() { + return this.equals(Ce.ZERO); + } + multiply(z) { + const { endo: J } = D; + if (!R.isValidNot0(z)) throw new Error("invalid scalar: out of range"); + let q, re; + const $ = (Y) => ie.cached(this, Y, (ce) => (0, p.normalizeZ)(Ce, ce)); + if (J) { + const { k1neg: Y, k1: ce, k2neg: ye, k2: ve } = Se(z), { p: Ee, f: Ie } = $(ce), { p: be, f: Ne } = $(ve); + re = Ie.add(Ne), q = Oe(J.beta, Ee, be, Y, ye); + } else { + const { p: Y, f: ce } = $(z); + q = Y, re = ce; + } + return (0, p.normalizeZ)(Ce, [q, re])[0]; + } + multiplyUnsafe(z) { + const { endo: J } = D, q = this; + if (!R.isValid(z)) throw new Error("invalid scalar: out of range"); + if (z === l || q.is0()) return Ce.ZERO; + if (z === u) return q; + if (ie.hasCache(this)) return this.multiply(z); + if (J) { + const { k1neg: re, k1: $, k2neg: Y, k2: ce } = Se(z), { p1: ye, p2: ve } = (0, p.mulEndoUnsafe)(Ce, q, $, ce); + return Oe(J.beta, ye, ve, re, Y); + } + return ie.unsafe(q, z); + } + multiplyAndAddUnsafe(z, J, q) { + const re = this.multiplyUnsafe(J).add(z.multiplyUnsafe(q)); + return re.is0() ? void 0 : re; + } + toAffine(z) { + return de(this, z); + } + isTorsionFree() { + const { isTorsionFree: z } = D; + return P === u || (z ? z(Ce, this) : ie.unsafe(this, H).is0()); + } + clearCofactor() { + const { clearCofactor: z } = D; + return P === u ? this : z ? z(Ce, this) : this.multiplyUnsafe(P); + } + isSmallOrder() { + return this.multiplyUnsafe(P).is0(); + } + toBytes(z = !0) { + return (0, i._abool2)(z, "isCompressed"), this.assertValidity(), F(Ce, this, z); + } + toHex(z = !0) { + return (0, i.bytesToHex)(this.toBytes(z)); + } + toString() { + return ``; + } + get px() { + return this.X; + } + get py() { + return this.X; + } + get pz() { + return this.Z; + } + toRawBytes(z = !0) { + return this.toBytes(z); + } + _setWindowSize(z) { + this.precompute(z); + } + static normalizeZ(z) { + return (0, p.normalizeZ)(Ce, z); + } + static msm(z, J) { + return (0, p.pippenger)(Ce, R, z, J); + } + static fromPrivateKey(z) { + return Ce.BASE.multiply(_(R, z)); + } + } + Ce.BASE = new Ce(M.Gx, M.Gy, L.ONE), Ce.ZERO = new Ce(L.ZERO, L.ONE, L.ZERO), Ce.Fp = L, Ce.Fn = R; + const G = R.BITS, ie = new p.wNAF(Ce, D.endo ? Math.ceil(G / 2) : G); + return Ce.BASE.precompute(8), Ce; + } + function B(j) { + return Uint8Array.of(j ? 2 : 3); + } + function O(j, D) { + const T = j.ORDER; + let L = l; + for (let te = T - u; te % y === l; te /= y) L += u; + const R = L, M = y << R - u - u, P = M * y, H = (T - u) / P, K = (H - u) / y, V = P - u, U = M, F = j.pow(D, H), Q = j.pow(D, (H + u) / y); + let ne = (te, X) => { + let Z = F, fe = j.pow(X, V), le = j.sqr(fe); + le = j.mul(le, X); + let Se = j.mul(te, le); + Se = j.pow(Se, K), Se = j.mul(Se, fe), fe = j.mul(Se, X), le = j.mul(Se, te); + let de = j.mul(le, fe); + Se = j.pow(de, U); + let me = j.eql(Se, j.ONE); + fe = j.mul(le, Q), Se = j.mul(de, Z), le = j.cmov(fe, le, me), de = j.cmov(Se, de, me); + for (let Oe = R; Oe > u; Oe--) { + let Ce = Oe - y; + Ce = y << Ce - u; + let G = j.pow(de, Ce); + const ie = j.eql(G, j.ONE); + fe = j.mul(le, Z), Z = j.mul(Z, Z), G = j.mul(de, Z), le = j.cmov(fe, le, ie), de = j.cmov(G, de, ie); + } + return { isValid: me, value: le }; + }; + if (j.ORDER % b === d) { + const te = (j.ORDER - d) / b, X = j.sqrt(j.neg(D)); + ne = (Z, fe) => { + let le = j.sqr(fe); + const Se = j.mul(Z, fe); + le = j.mul(le, Se); + let de = j.pow(le, te); + de = j.mul(de, Se); + const me = j.mul(de, X), Oe = j.mul(j.sqr(de), fe), Ce = j.eql(Oe, Z); + return { isValid: Ce, value: j.cmov(me, de, Ce) }; + }; + } + return ne; + } + function I(j, D) { + return { secretKey: D.BYTES, publicKey: 1 + j.BYTES, publicKeyUncompressed: 1 + 2 * j.BYTES, publicKeyHasPrefix: !0, signature: 2 * D.BYTES }; + } + function x(j, D = {}) { + const { Fn: T } = j, L = D.randomBytes || i.randomBytes, R = Object.assign(I(j.Fp, T), { seed: (0, a.getMinHashLength)(T.ORDER) }); + function M(U) { + try { + return !!_(T, U); + } catch { + return !1; + } + } + function P(U = L(R.seed)) { + return (0, a.mapHashToField)((0, i._abytes2)(U, R.seed, "seed"), T.ORDER); + } + function H(U, F = !0) { + return j.BASE.multiply(_(T, U)).toBytes(F); + } + function K(U) { + if (typeof U == "bigint") return !1; + if (U instanceof j) return !0; + const { secretKey: F, publicKey: Q, publicKeyUncompressed: ne } = R; + if (T.allowedLengths || F === Q) return; + const te = (0, i.ensureBytes)("key", U).length; + return te === Q || te === ne; + } + return Object.freeze({ getPublicKey: H, getSharedSecret: function(U, F, Q = !0) { + if (K(U) === !0) throw new Error("first arg must be private key"); + if (K(F) === !1) throw new Error("second arg must be public key"); + const ne = _(T, U); + return j.fromHex(F).multiply(ne).toBytes(Q); + }, keygen: function(U) { + const F = P(U); + return { secretKey: F, publicKey: H(F) }; + }, Point: j, utils: { isValidSecretKey: M, isValidPublicKey: function(U, F) { + const { publicKey: Q, publicKeyUncompressed: ne } = R; + try { + const te = U.length; + return !(F === !0 && te !== Q || F === !1 && te !== ne || !j.fromBytes(U)); + } catch { + return !1; + } + }, randomSecretKey: P, isValidPrivateKey: M, randomPrivateKey: P, normPrivateKeyToScalar: (U) => _(T, U), precompute: (U = 8, F = j.BASE) => F.precompute(U, !1) }, lengths: R }); + } + function A(j, D, T = {}) { + (0, o.ahash)(D), (0, i._validateObject)(T, {}, { hmac: "function", lowS: "boolean", randomBytes: "function", bits2int: "function", bits2int_modN: "function" }); + const L = T.randomBytes || i.randomBytes, R = T.hmac || ((G, ...ie) => (0, r.hmac)(D, G, (0, i.concatBytes)(...ie))), { Fp: M, Fn: P } = j, { ORDER: H, BITS: K } = P, { keygen: V, getPublicKey: U, getSharedSecret: F, utils: Q, lengths: ne } = x(j, T), te = { prehash: !1, lowS: typeof T.lowS == "boolean" && T.lowS, format: void 0, extraEntropy: !1 }, X = "compact"; + function Z(G) { + return G > H >> u; + } + function fe(G, ie) { + if (!P.isValidNot0(ie)) throw new Error(`invalid signature ${G}: out of range 1..Point.Fn.ORDER`); + return ie; + } + class le { + constructor(ie, we, z) { + this.r = fe("r", ie), this.s = fe("s", we), z != null && (this.recovery = z), Object.freeze(this); + } + static fromBytes(ie, we = X) { + let z; + if (function($, Y) { + w(Y); + const ce = ne.signature, ye = Y === "compact" ? ce : Y === "recovered" ? ce + 1 : void 0; + (0, i._abytes2)($, ye, `${Y} signature`); + }(ie, we), we === "der") { + const { r: $, s: Y } = n.DER.toSig((0, i._abytes2)(ie)); + return new le($, Y); + } + we === "recovered" && (z = ie[0], we = "compact", ie = ie.subarray(1)); + const J = P.BYTES, q = ie.subarray(0, J), re = ie.subarray(J, 2 * J); + return new le(P.fromBytes(q), P.fromBytes(re), z); + } + static fromHex(ie, we) { + return this.fromBytes((0, i.hexToBytes)(ie), we); + } + addRecoveryBit(ie) { + return new le(this.r, this.s, ie); + } + recoverPublicKey(ie) { + const we = M.ORDER, { r: z, s: J, recovery: q } = this; + if (q == null || ![0, 1, 2, 3].includes(q)) throw new Error("recovery id invalid"); + if (H * y < we && q > 1) throw new Error("recovery id is ambiguous for h>1 curve"); + const re = q === 2 || q === 3 ? z + H : z; + if (!M.isValid(re)) throw new Error("recovery id 2 or 3 invalid"); + const $ = M.toBytes(re), Y = j.fromBytes((0, i.concatBytes)(B(!(1 & q)), $)), ce = P.inv(re), ye = de((0, i.ensureBytes)("msgHash", ie)), ve = P.create(-ye * ce), Ee = P.create(J * ce), Ie = j.BASE.multiplyUnsafe(ve).add(Y.multiplyUnsafe(Ee)); + if (Ie.is0()) throw new Error("point at infinify"); + return Ie.assertValidity(), Ie; + } + hasHighS() { + return Z(this.s); + } + toBytes(ie = X) { + if (w(ie), ie === "der") return (0, i.hexToBytes)(n.DER.hexFromSig(this)); + const we = P.toBytes(this.r), z = P.toBytes(this.s); + if (ie === "recovered") { + if (this.recovery == null) throw new Error("recovery bit must be present"); + return (0, i.concatBytes)(Uint8Array.of(this.recovery), we, z); + } + return (0, i.concatBytes)(we, z); + } + toHex(ie) { + return (0, i.bytesToHex)(this.toBytes(ie)); + } + assertValidity() { + } + static fromCompact(ie) { + return le.fromBytes((0, i.ensureBytes)("sig", ie), "compact"); + } + static fromDER(ie) { + return le.fromBytes((0, i.ensureBytes)("sig", ie), "der"); + } + normalizeS() { + return this.hasHighS() ? new le(this.r, P.neg(this.s), this.recovery) : this; + } + toDERRawBytes() { + return this.toBytes("der"); + } + toDERHex() { + return (0, i.bytesToHex)(this.toBytes("der")); + } + toCompactRawBytes() { + return this.toBytes("compact"); + } + toCompactHex() { + return (0, i.bytesToHex)(this.toBytes("compact")); } - return ne; } - wNAF(K, X) { - !X && this.equals(p.BASE) && (X = N.BASE); - const ne = X && X._WINDOW_SIZE || 1; - if (256 % ne) throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2"); - let re = X && L.get(X); - re || (re = this.precomputeWindow(ne), X && ne !== 1 && (re = p.normalizeZ(re), L.set(X, re))); - let pe = p.ZERO, Oe = p.BASE; - const xe = 1 + 256 / ne, Re = 2 ** (ne - 1), De = BigInt(2 ** ne - 1), Le = 2 ** ne, Ve = BigInt(ne); - for (let Ze = 0; Ze < xe; Ze++) { - const Be = Ze * Re; - let de = Number(K & De); - K >>= Ve, de > Re && (de -= Le, K += i); - const oe = Be, le = Be + Math.abs(de) - 1, me = Ze % 2 != 0, Ce = de < 0; - de === 0 ? Oe = Oe.add(h(me, re[oe])) : pe = pe.add(h(Ce, re[le])); - } - return p.normalizeZ([pe, Oe])[0]; - } - multiply(K, X) { - return this.wNAF(q(K, b.l), X); - } - multiplyUnsafe(K) { - let X = q(K, b.l, !1); - const ne = p.BASE, re = p.ZERO; - if (X === a) return re; - if (this.equals(re) || X === i) return this; - if (this.equals(ne)) return this.wNAF(X); - let pe = re, Oe = this; - for (; X > a; ) X & i && (pe = pe.add(Oe)), Oe = Oe.double(), X >>= i; - return pe; + const Se = T.bits2int || function(G) { + if (G.length > 8192) throw new Error("input is too large"); + const ie = (0, i.bytesToNumberBE)(G), we = 8 * G.length - K; + return we > 0 ? ie >> BigInt(we) : ie; + }, de = T.bits2int_modN || function(G) { + return P.create(Se(G)); + }, me = (0, i.bitMask)(K); + function Oe(G) { + return (0, i.aInRange)("num < 2^" + K, G, l, me), P.toBytes(G); + } + function Ce(G, ie) { + return (0, i._abytes2)(G, void 0, "message"), ie ? (0, i._abytes2)(D(G), void 0, "prehashed message") : G; + } + return Object.freeze({ keygen: V, getPublicKey: U, getSharedSecret: F, utils: Q, lengths: ne, Point: j, sign: function(G, ie, we = {}) { + G = (0, i.ensureBytes)("message", G); + const { seed: z, k2sig: J } = function(q, re, $) { + if (["recovered", "canonical"].some((He) => He in $)) throw new Error("sign() legacy options not supported"); + const { lowS: Y, prehash: ce, extraEntropy: ye } = m($, te); + q = Ce(q, ce); + const ve = de(q), Ee = _(P, re), Ie = [Oe(Ee), Oe(ve)]; + if (ye != null && ye !== !1) { + const He = ye === !0 ? L(ne.secretKey) : ye; + Ie.push((0, i.ensureBytes)("extraEntropy", He)); + } + const be = (0, i.concatBytes)(...Ie), Ne = ve; + return { seed: be, k2sig: function(He) { + const ae = Se(He); + if (!P.isValidNot0(ae)) return; + const oe = P.inv(ae), ue = j.BASE.multiply(ae).toAffine(), he = P.create(ue.x); + if (he === l) return; + const _e = P.create(oe * P.create(Ne + he * Ee)); + if (_e === l) return; + let Te = (ue.x === he ? 0 : 2) | Number(ue.y & u), Re = _e; + return Y && Z(_e) && (Re = P.neg(_e), Te ^= 1), new le(he, Re, Te); + } }; + }(G, ie, we); + return (0, i.createHmacDrbg)(D.outputLen, P.BYTES, R)(z, J); + }, verify: function(G, ie, we, z = {}) { + const { lowS: J, prehash: q, format: re } = m(z, te); + if (we = (0, i.ensureBytes)("publicKey", we), ie = Ce((0, i.ensureBytes)("message", ie), q), "strict" in z) throw new Error("options.strict was renamed to lowS"); + const $ = re === void 0 ? function(Y) { + let ce; + const ye = typeof Y == "string" || (0, i.isBytes)(Y), ve = !ye && Y !== null && typeof Y == "object" && typeof Y.r == "bigint" && typeof Y.s == "bigint"; + if (!ye && !ve) throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance"); + if (ve) ce = new le(Y.r, Y.s); + else if (ye) { + try { + ce = le.fromBytes((0, i.ensureBytes)("sig", Y), "der"); + } catch (Ee) { + if (!(Ee instanceof n.DER.Err)) throw Ee; + } + if (!ce) try { + ce = le.fromBytes((0, i.ensureBytes)("sig", Y), "compact"); + } catch { + return !1; + } + } + return ce || !1; + }(G) : le.fromBytes((0, i.ensureBytes)("sig", G), re); + if ($ === !1) return !1; + try { + const Y = j.fromBytes(we); + if (J && $.hasHighS()) return !1; + const { r: ce, s: ye } = $, ve = de(ie), Ee = P.inv(ye), Ie = P.create(ve * Ee), be = P.create(ce * Ee), Ne = j.BASE.multiplyUnsafe(Ie).add(Y.multiplyUnsafe(be)); + return !Ne.is0() && P.create(Ne.x) === ce; + } catch { + return !1; + } + }, recoverPublicKey: function(G, ie, we = {}) { + const { prehash: z } = m(we, te); + return ie = Ce(ie, z), le.fromBytes(G, "recovered").recoverPublicKey(ie).toBytes(); + }, Signature: le, hash: D }); + } + function N(j) { + const D = { a: j.a, b: j.b, p: j.Fp.ORDER, n: j.n, h: j.h, Gx: j.Gx, Gy: j.Gy }, T = j.Fp; + let L = j.allowedPrivateKeyLengths ? Array.from(new Set(j.allowedPrivateKeyLengths.map((R) => Math.ceil(R / 2)))) : void 0; + return { CURVE: D, curveOpts: { Fp: T, Fn: (0, a.Field)(D.n, { BITS: j.nBitLength, allowedLengths: L, modFromBytes: j.wrapPrivateKey }), allowInfinityPoint: j.allowInfinityPoint, endo: j.endo, isTorsionFree: j.isTorsionFree, clearCofactor: j.clearCofactor, fromBytes: j.fromBytes, toBytes: j.toBytes } }; + } + function k(j, D, T) { + return function(L) { + const R = j.sqr(L), M = j.mul(R, L); + return j.add(j.add(M, j.mul(L, D)), T); + }; + } + }, 8510(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.encodeToCurve = n.hashToCurve = n.secp256k1_hasher = n.schnorr = n.secp256k1 = void 0; + const r = s(7076), o = s(9175), i = s(3562), p = s(1761), a = s(4967), f = s(1705), C = s(8627), w = { p: BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), n: BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), h: BigInt(1), a: BigInt(0), b: BigInt(7), Gx: BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"), Gy: BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8") }, m = { beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"), basises: [[BigInt("0x3086d221a7d46bcde86c90e49284eb15"), -BigInt("0xe4437ed6010e88286f547fa90abfe4c3")], [BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), BigInt("0x3086d221a7d46bcde86c90e49284eb15")]] }, v = BigInt(0), l = BigInt(1), u = BigInt(2), y = (0, a.Field)(w.p, { sqrt: function(L) { + const R = w.p, M = BigInt(3), P = BigInt(6), H = BigInt(11), K = BigInt(22), V = BigInt(23), U = BigInt(44), F = BigInt(88), Q = L * L * L % R, ne = Q * Q * L % R, te = (0, a.pow2)(ne, M, R) * ne % R, X = (0, a.pow2)(te, M, R) * ne % R, Z = (0, a.pow2)(X, u, R) * Q % R, fe = (0, a.pow2)(Z, H, R) * Z % R, le = (0, a.pow2)(fe, K, R) * fe % R, Se = (0, a.pow2)(le, U, R) * le % R, de = (0, a.pow2)(Se, F, R) * Se % R, me = (0, a.pow2)(de, U, R) * le % R, Oe = (0, a.pow2)(me, M, R) * ne % R, Ce = (0, a.pow2)(Oe, V, R) * fe % R, G = (0, a.pow2)(Ce, P, R) * Q % R, ie = (0, a.pow2)(G, u, R); + if (!y.eql(y.sqr(ie), L)) throw new Error("Cannot find square root"); + return ie; + } }); + n.secp256k1 = (0, i.createCurve)({ ...w, Fp: y, lowS: !0, endo: m }, r.sha256); + const d = {}; + function b(L, ...R) { + let M = d[L]; + if (M === void 0) { + const P = (0, r.sha256)((0, C.utf8ToBytes)(L)); + M = (0, C.concatBytes)(P, P), d[L] = M; + } + return (0, r.sha256)((0, C.concatBytes)(M, ...R)); + } + const _ = (L) => L.toBytes(!0).slice(1), E = n.secp256k1.Point, B = (L) => L % u === v; + function O(L) { + const { Fn: R, BASE: M } = E, P = (0, f._normFnElement)(R, L), H = M.multiply(P); + return { scalar: B(H.y) ? P : R.neg(P), bytes: _(H) }; + } + function I(L) { + const R = y; + if (!R.isValidNot0(L)) throw new Error("invalid x: Fail if x ≥ p"); + const M = R.create(L * L), P = R.create(M * L + BigInt(7)); + let H = R.sqrt(P); + B(H) || (H = R.neg(H)); + const K = E.fromAffine({ x: L, y: H }); + return K.assertValidity(), K; + } + const x = C.bytesToNumberBE; + function A(...L) { + return E.Fn.create(x(b("BIP0340/challenge", ...L))); + } + function N(L) { + return O(L).bytes; + } + function k(L, R, M = (0, o.randomBytes)(32)) { + const { Fn: P } = E, H = (0, C.ensureBytes)("message", L), { bytes: K, scalar: V } = O(R), U = (0, C.ensureBytes)("auxRand", M, 32), F = P.toBytes(V ^ x(b("BIP0340/aux", U))), Q = b("BIP0340/nonce", F, K, H), { bytes: ne, scalar: te } = O(Q), X = A(ne, K, H), Z = new Uint8Array(64); + if (Z.set(ne, 0), Z.set(P.toBytes(P.create(te + X * V)), 32), !j(Z, H, K)) throw new Error("sign: Invalid signature produced"); + return Z; + } + function j(L, R, M) { + const { Fn: P, BASE: H } = E, K = (0, C.ensureBytes)("signature", L, 64), V = (0, C.ensureBytes)("message", R), U = (0, C.ensureBytes)("publicKey", M, 32); + try { + const F = I(x(U)), Q = x(K.subarray(0, 32)); + if (!(0, C.inRange)(Q, l, w.p)) return !1; + const ne = x(K.subarray(32, 64)); + if (!(0, C.inRange)(ne, l, w.n)) return !1; + const te = A(P.toBytes(Q), _(F), V), X = H.multiplyUnsafe(ne).add(F.multiplyUnsafe(P.neg(te))), { x: Z, y: fe } = X.toAffine(); + return !(X.is0() || !B(fe) || Z !== Q); + } catch { + return !1; + } + } + n.schnorr = (() => { + const L = (R = (0, o.randomBytes)(48)) => (0, a.mapHashToField)(R, w.n); + return n.secp256k1.utils.randomSecretKey, { keygen: function(R) { + const M = L(R); + return { secretKey: M, publicKey: N(M) }; + }, getPublicKey: N, sign: k, verify: j, Point: E, utils: { randomSecretKey: L, randomPrivateKey: L, taggedHash: b, lift_x: I, pointToBytes: _, numberToBytesBE: C.numberToBytesBE, bytesToNumberBE: C.bytesToNumberBE, mod: a.mod }, lengths: { secretKey: 32, publicKey: 32, publicKeyHasPrefix: !1, signature: 64, seed: 48 } }; + })(); + const D = (0, p.isogenyMap)(y, [["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7", "0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581", "0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262", "0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"], ["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b", "0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14", "0x0000000000000000000000000000000000000000000000000000000000000001"], ["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c", "0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3", "0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931", "0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"], ["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b", "0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573", "0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f", "0x0000000000000000000000000000000000000000000000000000000000000001"]].map((L) => L.map((R) => BigInt(R)))), T = (0, f.mapToCurveSimpleSWU)(y, { A: BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"), B: BigInt("1771"), Z: y.create(BigInt("-11")) }); + n.secp256k1_hasher = (0, p.createHasher)(n.secp256k1.Point, (L) => { + const { x: R, y: M } = T(y.create(L[0])); + return D(R, M); + }, { DST: "secp256k1_XMD:SHA-256_SSWU_RO_", encodeDST: "secp256k1_XMD:SHA-256_SSWU_NU_", p: y.ORDER, m: 1, k: 128, expand: "xmd", hash: r.sha256 }), n.hashToCurve = n.secp256k1_hasher.hashToCurve, n.encodeToCurve = n.secp256k1_hasher.encodeToCurve; + }, 8627(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.notImplemented = n.bitMask = n.utf8ToBytes = n.randomBytes = n.isBytes = n.hexToBytes = n.concatBytes = n.bytesToUtf8 = n.bytesToHex = n.anumber = n.abytes = void 0, n.abool = function(l, u) { + if (typeof u != "boolean") throw new Error(l + " boolean expected, got " + u); + }, n._abool2 = function(l, u = "") { + if (typeof l != "boolean") throw new Error((u && `"${u}"`) + "expected boolean, got type=" + typeof l); + return l; + }, n._abytes2 = function(l, u, y = "") { + const d = (0, r.isBytes)(l), b = l?.length, _ = u !== void 0; + if (!d || _ && b !== u) throw new Error((y && `"${y}" `) + "expected Uint8Array" + (_ ? ` of length ${u}` : "") + ", got " + (d ? `length=${b}` : "type=" + typeof l)); + return l; + }, n.numberToHexUnpadded = a, n.hexToNumber = f, n.bytesToNumberBE = function(l) { + return f((0, r.bytesToHex)(l)); + }, n.bytesToNumberLE = function(l) { + return (0, r.abytes)(l), f((0, r.bytesToHex)(Uint8Array.from(l).reverse())); + }, n.numberToBytesBE = C, n.numberToBytesLE = function(l, u) { + return C(l, u).reverse(); + }, n.numberToVarBytesBE = function(l) { + return (0, r.hexToBytes)(a(l)); + }, n.ensureBytes = function(l, u, y) { + let d; + if (typeof u == "string") try { + d = (0, r.hexToBytes)(u); + } catch (_) { + throw new Error(l + " must be hex string or Uint8Array, cause: " + _); + } + else { + if (!(0, r.isBytes)(u)) throw new Error(l + " must be hex string or Uint8Array"); + d = Uint8Array.from(u); + } + const b = d.length; + if (typeof y == "number" && b !== y) throw new Error(l + " of length " + y + " expected, got " + b); + return d; + }, n.equalBytes = function(l, u) { + if (l.length !== u.length) return !1; + let y = 0; + for (let d = 0; d < l.length; d++) y |= l[d] ^ u[d]; + return y === 0; + }, n.copyBytes = function(l) { + return Uint8Array.from(l); + }, n.asciiToBytes = function(l) { + return Uint8Array.from(l, (u, y) => { + const d = u.charCodeAt(0); + if (u.length !== 1 || d > 127) throw new Error(`string contains non-ASCII character "${l[y]}" with code ${d} at position ${y}`); + return d; + }); + }, n.inRange = m, n.aInRange = function(l, u, y, d) { + if (!m(u, y, d)) throw new Error("expected valid " + l + ": " + y + " <= n < " + d + ", got " + u); + }, n.bitLen = function(l) { + let u; + for (u = 0; l > i; l >>= p, u += 1) ; + return u; + }, n.bitGet = function(l, u) { + return l >> BigInt(u) & p; + }, n.bitSet = function(l, u, y) { + return l | (y ? p : i) << BigInt(u); + }, n.createHmacDrbg = function(l, u, y) { + if (typeof l != "number" || l < 2) throw new Error("hashLen must be a number"); + if (typeof u != "number" || u < 2) throw new Error("qByteLen must be a number"); + if (typeof y != "function") throw new Error("hmacFn must be a function"); + const d = (N) => new Uint8Array(N), b = (N) => Uint8Array.of(N); + let _ = d(l), E = d(l), B = 0; + const O = () => { + _.fill(1), E.fill(0), B = 0; + }, I = (...N) => y(E, _, ...N), x = (N = d(0)) => { + E = I(b(0), N), _ = I(), N.length !== 0 && (E = I(b(1), N), _ = I()); + }, A = () => { + if (B++ >= 1e3) throw new Error("drbg: tried 1000 values"); + let N = 0; + const k = []; + for (; N < u; ) { + _ = I(); + const j = _.slice(); + k.push(j), N += _.length; + } + return (0, r.concatBytes)(...k); + }; + return (N, k) => { + let j; + for (O(), x(N); !(j = k(A())); ) x(); + return O(), j; + }; + }, n.validateObject = function(l, u, y = {}) { + const d = (b, _, E) => { + const B = v[_]; + if (typeof B != "function") throw new Error("invalid validator function"); + const O = l[b]; + if (!(E && O === void 0 || B(O, l))) throw new Error("param " + String(b) + " is invalid. Expected " + _ + ", got " + O); + }; + for (const [b, _] of Object.entries(u)) d(b, _, !1); + for (const [b, _] of Object.entries(y)) d(b, _, !0); + return l; + }, n.isHash = function(l) { + return typeof l == "function" && Number.isSafeInteger(l.outputLen); + }, n._validateObject = function(l, u, y = {}) { + if (!l || typeof l != "object") throw new Error("expected valid options object"); + function d(b, _, E) { + const B = l[b]; + if (E && B === void 0) return; + const O = typeof B; + if (O !== _ || B === null) throw new Error(`param "${b}" is invalid: expected ${_}, got ${O}`); + } + Object.entries(u).forEach(([b, _]) => d(b, _, !1)), Object.entries(y).forEach(([b, _]) => d(b, _, !0)); + }, n.memoized = function(l) { + const u = /* @__PURE__ */ new WeakMap(); + return (y, ...d) => { + const b = u.get(y); + if (b !== void 0) return b; + const _ = l(y, ...d); + return u.set(y, _), _; + }; + }; + const r = s(9175); + var o = s(9175); + Object.defineProperty(n, "abytes", { enumerable: !0, get: function() { + return o.abytes; + } }), Object.defineProperty(n, "anumber", { enumerable: !0, get: function() { + return o.anumber; + } }), Object.defineProperty(n, "bytesToHex", { enumerable: !0, get: function() { + return o.bytesToHex; + } }), Object.defineProperty(n, "bytesToUtf8", { enumerable: !0, get: function() { + return o.bytesToUtf8; + } }), Object.defineProperty(n, "concatBytes", { enumerable: !0, get: function() { + return o.concatBytes; + } }), Object.defineProperty(n, "hexToBytes", { enumerable: !0, get: function() { + return o.hexToBytes; + } }), Object.defineProperty(n, "isBytes", { enumerable: !0, get: function() { + return o.isBytes; + } }), Object.defineProperty(n, "randomBytes", { enumerable: !0, get: function() { + return o.randomBytes; + } }), Object.defineProperty(n, "utf8ToBytes", { enumerable: !0, get: function() { + return o.utf8ToBytes; + } }); + const i = BigInt(0), p = BigInt(1); + function a(l) { + const u = l.toString(16); + return 1 & u.length ? "0" + u : u; + } + function f(l) { + if (typeof l != "string") throw new Error("hex string expected, got " + typeof l); + return l === "" ? i : BigInt("0x" + l); + } + function C(l, u) { + return (0, r.hexToBytes)(l.toString(16).padStart(2 * u, "0")); + } + const w = (l) => typeof l == "bigint" && i <= l; + function m(l, u, y) { + return w(l) && w(u) && w(y) && u <= l && l < y; + } + n.bitMask = (l) => (p << BigInt(l)) - p; + const v = { bigint: (l) => typeof l == "bigint", function: (l) => typeof l == "function", boolean: (l) => typeof l == "boolean", string: (l) => typeof l == "string", stringOrUint8Array: (l) => typeof l == "string" || (0, r.isBytes)(l), isSafeInteger: (l) => Number.isSafeInteger(l), array: (l) => Array.isArray(l), field: (l, u) => u.Fp.isValid(l), hash: (l) => typeof l == "function" && Number.isSafeInteger(l.outputLen) }; + n.notImplemented = () => { + throw new Error("not implemented"); + }; + }, 5111(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.utils = n.curve25519 = n.getSharedSecret = n.sync = n.verify = n.sign = n.getPublicKey = n.hexToBytes = n.bytesToHex = n.Signature = n.RistrettoPoint = n.Point = n.ExtendedPoint = n.CURVE = void 0; + const r = s(3086), o = BigInt(0), i = BigInt(1), p = BigInt(2), a = BigInt(8), f = BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"), C = Object.freeze({ a: BigInt(-1), d: BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"), P: BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"), l: f, n: f, h: BigInt(8), Gx: BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"), Gy: BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960") }); + n.CURVE = C; + const w = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"), m = BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"), v = (BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"), BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")), l = BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"), u = BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"), y = BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"); + class d { + constructor(Y, ce, ye, ve) { + this.x = Y, this.y = ce, this.z = ye, this.t = ve; + } + static fromAffine(Y) { + if (!(Y instanceof x)) throw new TypeError("ExtendedPoint#fromAffine: expected Point"); + return Y.equals(x.ZERO) ? d.ZERO : new d(Y.x, Y.y, i, F(Y.x * Y.y)); + } + static toAffineBatch(Y) { + const ce = function(ye, ve = C.P) { + const Ee = new Array(ye.length), Ie = Q(ye.reduce((be, Ne, He) => Ne === o ? be : (Ee[He] = be, F(be * Ne, ve)), i), ve); + return ye.reduceRight((be, Ne, He) => Ne === o ? be : (Ee[He] = F(be * Ee[He], ve), F(be * Ne, ve)), Ie), Ee; + }(Y.map((ye) => ye.z)); + return Y.map((ye, ve) => ye.toAffine(ce[ve])); + } + static normalizeZ(Y) { + return this.toAffineBatch(Y).map(this.fromAffine); + } + equals(Y) { + _(Y); + const { x: ce, y: ye, z: ve } = this, { x: Ee, y: Ie, z: be } = Y, Ne = F(ce * be), He = F(Ee * ve), ae = F(ye * be), oe = F(Ie * ve); + return Ne === He && ae === oe; + } + negate() { + return new d(F(-this.x), this.y, this.z, F(-this.t)); + } + double() { + const { x: Y, y: ce, z: ye } = this, { a: ve } = C, Ee = F, Ie = Ee(Y * Y), be = Ee(ce * ce), Ne = Ee(p * Ee(ye * ye)), He = Ee(ve * Ie), ae = Y + ce, oe = Ee(Ee(ae * ae) - Ie - be), ue = He + be, he = ue - Ne, _e = He - be, Te = Ee(oe * he), Re = Ee(ue * _e), Ue = Ee(oe * _e), De = Ee(he * ue); + return new d(Te, Re, De, Ue); + } + add(Y) { + const { x: ce, y: ye, z: ve, t: Ee } = this; + _(Y); + const { x: Ie, y: be, z: Ne, t: He } = Y, { a: ae, d: oe } = C, ue = F, he = ue(ce * Ie), _e = ue(ye * be), Te = ue(Ee * oe * He), Re = ue(ve * Ne), Ue = ue((ce + ye) * (Ie + be) - he - _e), De = ue(Re - Te), ze = ue(Re + Te), Xe = ue(_e - ae * he), qe = ue(Ue * De), Ye = ue(ze * Xe), ct = ue(Ue * Xe), ot = ue(De * ze); + return new d(qe, Ye, ot, ct); + } + subtract(Y) { + return this.add(Y.negate()); + } + precomputeWindow(Y) { + const ce = 1 + 256 / Y, ye = []; + let ve = this, Ee = ve; + for (let Ie = 0; Ie < ce; Ie++) { + Ee = ve, ye.push(Ee); + for (let be = 1; be < 2 ** (Y - 1); be++) Ee = Ee.add(ve), ye.push(Ee); + ve = Ee.double(); + } + return ye; + } + wNAF(Y, ce) { + !ce && this.equals(d.BASE) && (ce = x.BASE); + const ye = ce && ce._WINDOW_SIZE || 1; + if (256 % ye) throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2"); + let ve = ce && I.get(ce); + ve || (ve = this.precomputeWindow(ye), ce && ye !== 1 && (ve = d.normalizeZ(ve), I.set(ce, ve))); + let Ee = d.ZERO, Ie = d.BASE; + const be = 1 + 256 / ye, Ne = 2 ** (ye - 1), He = BigInt(2 ** ye - 1), ae = 2 ** ye, oe = BigInt(ye); + for (let ue = 0; ue < be; ue++) { + const he = ue * Ne; + let _e = Number(Y & He); + Y >>= oe, _e > Ne && (_e -= ae, Y += i); + const Te = he, Re = he + Math.abs(_e) - 1, Ue = ue % 2 != 0, De = _e < 0; + _e === 0 ? Ie = Ie.add(b(Ue, ve[Te])) : Ee = Ee.add(b(De, ve[Re])); + } + return d.normalizeZ([Ee, Ie])[0]; + } + multiply(Y, ce) { + return this.wNAF(Se(Y, C.l), ce); + } + multiplyUnsafe(Y) { + let ce = Se(Y, C.l, !1); + const ye = d.BASE, ve = d.ZERO; + if (ce === o) return ve; + if (this.equals(ve) || ce === i) return this; + if (this.equals(ye)) return this.wNAF(ce); + let Ee = ve, Ie = this; + for (; ce > o; ) ce & i && (Ee = Ee.add(Ie)), Ie = Ie.double(), ce >>= i; + return Ee; } isSmallOrder() { - return this.multiplyUnsafe(b.h).equals(p.ZERO); + return this.multiplyUnsafe(C.h).equals(d.ZERO); } isTorsionFree() { - let K = this.multiplyUnsafe(b.l / m).double(); - return b.l % m && (K = K.add(this)), K.equals(p.ZERO); + let Y = this.multiplyUnsafe(C.l / p).double(); + return C.l % p && (Y = Y.add(this)), Y.equals(d.ZERO); } - toAffine(K) { - const { x: X, y: ne, z: re } = this, pe = this.equals(p.ZERO); - K == null && (K = pe ? t : D(re)); - const Oe = V(X * K), xe = V(ne * K), Re = V(re * K); - if (pe) return N.ZERO; - if (Re !== i) throw new Error("invZ was invalid"); - return new N(Oe, xe); + toAffine(Y) { + const { x: ce, y: ye, z: ve } = this, Ee = this.equals(d.ZERO); + Y == null && (Y = Ee ? a : Q(ve)); + const Ie = F(ce * Y), be = F(ye * Y), Ne = F(ve * Y); + if (Ee) return x.ZERO; + if (Ne !== i) throw new Error("invZ was invalid"); + return new x(Ie, be); } fromRistrettoBytes() { - k(); + B(); } toRistrettoBytes() { - k(); + B(); } fromRistrettoHash() { - k(); + B(); } } - function h(W, K) { - const X = K.negate(); - return W ? X : K; + function b($, Y) { + const ce = Y.negate(); + return $ ? ce : Y; } - function O(W) { - if (!(W instanceof p)) throw new TypeError("ExtendedPoint expected"); + function _($) { + if (!($ instanceof d)) throw new TypeError("ExtendedPoint expected"); } - function I(W) { - if (!(W instanceof R)) throw new TypeError("RistrettoPoint expected"); + function E($) { + if (!($ instanceof O)) throw new TypeError("RistrettoPoint expected"); } - function k() { + function B() { throw new Error("Legacy method: switch to RistrettoPoint"); } - n.ExtendedPoint = p, p.BASE = new p(b.Gx, b.Gy, i, V(b.Gx * b.Gy)), p.ZERO = new p(a, i, i, a); - class R { - constructor(K) { - this.ep = K; - } - static calcElligatorRistrettoMap(K) { - const { d: X } = b, ne = V(u * K * K), re = V((ne + i) * s); - let pe = BigInt(-1); - const Oe = V((pe - X * ne) * V(ne + X)); - let { isValid: xe, value: Re } = G(re, Oe), De = V(Re * K); - _(De) || (De = V(-De)), xe || (Re = De), xe || (pe = ne); - const Le = V(pe * (ne - i) * v - Oe), Ve = Re * Re, Ze = V((Re + Re) * Oe), Be = V(Le * d), de = V(i - Ve), oe = V(i + Ve); - return new p(V(Ze * oe), V(de * Be), V(Be * oe), V(Ze * de)); - } - static hashToCurve(K) { - const X = j((K = Z(K, 64)).slice(0, 32)), ne = this.calcElligatorRistrettoMap(X), re = j(K.slice(32, 64)), pe = this.calcElligatorRistrettoMap(re); - return new R(ne.add(pe)); - } - static fromHex(K) { - K = Z(K, 32); - const { a: X, d: ne } = b, re = "RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint", pe = j(K); - if (!function(we, Ie) { - if (we.length !== Ie.length) return !1; - for (let ke = 0; ke < we.length; ke++) if (we[ke] !== Ie[ke]) return !1; + n.ExtendedPoint = d, d.BASE = new d(C.Gx, C.Gy, i, F(C.Gx * C.Gy)), d.ZERO = new d(o, i, i, o); + class O { + constructor(Y) { + this.ep = Y; + } + static calcElligatorRistrettoMap(Y) { + const { d: ce } = C, ye = F(m * Y * Y), ve = F((ye + i) * u); + let Ee = BigInt(-1); + const Ie = F((Ee - ce * ye) * F(ye + ce)); + let { isValid: be, value: Ne } = X(ve, Ie), He = F(Ne * Y); + H(He) || (He = F(-He)), be || (Ne = He), be || (Ee = ye); + const ae = F(Ee * (ye - i) * y - Ie), oe = Ne * Ne, ue = F((Ne + Ne) * Ie), he = F(ae * v), _e = F(i - oe), Te = F(i + oe); + return new d(F(ue * Te), F(_e * he), F(he * Te), F(ue * _e)); + } + static hashToCurve(Y) { + const ce = U((Y = le(Y, 64)).slice(0, 32)), ye = this.calcElligatorRistrettoMap(ce), ve = U(Y.slice(32, 64)), Ee = this.calcElligatorRistrettoMap(ve); + return new O(ye.add(Ee)); + } + static fromHex(Y) { + Y = le(Y, 32); + const { a: ce, d: ye } = C, ve = "RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint", Ee = U(Y); + if (!function(ze, Xe) { + if (ze.length !== Xe.length) return !1; + for (let qe = 0; qe < ze.length; qe++) if (ze[qe] !== Xe[qe]) return !1; return !0; - }(M(pe), K) || _(pe)) throw new Error(re); - const Oe = V(pe * pe), xe = V(i + X * Oe), Re = V(i - X * Oe), De = V(xe * xe), Le = V(Re * Re), Ve = V(X * ne * De - Le), { isValid: Ze, value: Be } = Q(V(Ve * Le)), de = V(Be * Re), oe = V(Be * de * Ve); - let le = V((pe + pe) * de); - _(le) && (le = V(-le)); - const me = V(xe * oe), Ce = V(le * me); - if (!Ze || _(Ce) || me === a) throw new Error(re); - return new R(new p(le, me, i, Ce)); + }(P(Ee), Y) || H(Ee)) throw new Error(ve); + const Ie = F(Ee * Ee), be = F(i + ce * Ie), Ne = F(i - ce * Ie), He = F(be * be), ae = F(Ne * Ne), oe = F(ce * ye * He - ae), { isValid: ue, value: he } = Z(F(oe * ae)), _e = F(he * Ne), Te = F(he * _e * oe); + let Re = F((Ee + Ee) * _e); + H(Re) && (Re = F(-Re)); + const Ue = F(be * Te), De = F(Re * Ue); + if (!ue || H(De) || Ue === o) throw new Error(ve); + return new O(new d(Re, Ue, i, De)); } toRawBytes() { - let { x: K, y: X, z: ne, t: re } = this.ep; - const pe = V(V(ne + X) * V(ne - X)), Oe = V(K * X), xe = V(Oe * Oe), { value: Re } = Q(V(pe * xe)), De = V(Re * pe), Le = V(Re * Oe), Ve = V(De * Le * re); - let Ze; - if (_(re * Ve)) { - let de = V(X * u), oe = V(K * u); - K = de, X = oe, Ze = V(De * l); - } else Ze = Le; - _(K * Ve) && (X = V(-X)); - let Be = V((ne - X) * Ze); - return _(Be) && (Be = V(-Be)), M(Be); + let { x: Y, y: ce, z: ye, t: ve } = this.ep; + const Ee = F(F(ye + ce) * F(ye - ce)), Ie = F(Y * ce), be = F(Ie * Ie), { value: Ne } = Z(F(Ee * be)), He = F(Ne * Ee), ae = F(Ne * Ie), oe = F(He * ae * ve); + let ue; + if (H(ve * oe)) { + let _e = F(ce * m), Te = F(Y * m); + Y = _e, ce = Te, ue = F(He * l); + } else ue = ae; + H(Y * oe) && (ce = F(-ce)); + let he = F((ye - ce) * ue); + return H(he) && (he = F(-he)), P(he); } toHex() { - return S(this.toRawBytes()); + return T(this.toRawBytes()); } toString() { return this.toHex(); } - equals(K) { - I(K); - const X = this.ep, ne = K.ep, re = V(X.x * ne.y) === V(X.y * ne.x), pe = V(X.y * ne.y) === V(X.x * ne.x); - return re || pe; + equals(Y) { + E(Y); + const ce = this.ep, ye = Y.ep, ve = F(ce.x * ye.y) === F(ce.y * ye.x), Ee = F(ce.y * ye.y) === F(ce.x * ye.x); + return ve || Ee; } - add(K) { - return I(K), new R(this.ep.add(K.ep)); + add(Y) { + return E(Y), new O(this.ep.add(Y.ep)); } - subtract(K) { - return I(K), new R(this.ep.subtract(K.ep)); + subtract(Y) { + return E(Y), new O(this.ep.subtract(Y.ep)); } - multiply(K) { - return new R(this.ep.multiply(K)); + multiply(Y) { + return new O(this.ep.multiply(Y)); } - multiplyUnsafe(K) { - return new R(this.ep.multiplyUnsafe(K)); + multiplyUnsafe(Y) { + return new O(this.ep.multiplyUnsafe(Y)); } } - n.RistrettoPoint = R, R.BASE = new R(p.BASE), R.ZERO = new R(p.ZERO); - const L = /* @__PURE__ */ new WeakMap(); - class N { - constructor(K, X) { - this.x = K, this.y = X; + n.RistrettoPoint = O, O.BASE = new O(d.BASE), O.ZERO = new O(d.ZERO); + const I = /* @__PURE__ */ new WeakMap(); + class x { + constructor(Y, ce) { + this.x = Y, this.y = ce; } - _setWindowSize(K) { - this._WINDOW_SIZE = K, L.delete(this); + _setWindowSize(Y) { + this._WINDOW_SIZE = Y, I.delete(this); } - static fromHex(K, X = !0) { - const { d: ne, P: re } = b, pe = (K = Z(K, 32)).slice(); - pe[31] = -129 & K[31]; - const Oe = w(pe); - if (X && Oe >= re) throw new Error("Expected 0 < hex < P"); - if (!X && Oe >= y) throw new Error("Expected 0 < hex < 2**256"); - const xe = V(Oe * Oe), Re = V(xe - i), De = V(ne * xe + i); - let { isValid: Le, value: Ve } = G(Re, De); - if (!Le) throw new Error("Point.fromHex: invalid y coordinate"); - const Ze = (Ve & i) === i; - return !!(128 & K[31]) !== Ze && (Ve = V(-Ve)), new N(Ve, Oe); + static fromHex(Y, ce = !0) { + const { d: ye, P: ve } = C, Ee = (Y = le(Y, 32)).slice(); + Ee[31] = -129 & Y[31]; + const Ie = K(Ee); + if (ce && Ie >= ve) throw new Error("Expected 0 < hex < P"); + if (!ce && Ie >= w) throw new Error("Expected 0 < hex < 2**256"); + const be = F(Ie * Ie), Ne = F(be - i), He = F(ye * be + i); + let { isValid: ae, value: oe } = X(Ne, He); + if (!ae) throw new Error("Point.fromHex: invalid y coordinate"); + const ue = (oe & i) === i; + return !!(128 & Y[31]) !== ue && (oe = F(-oe)), new x(oe, Ie); } - static async fromPrivateKey(K) { - return (await Te(K)).point; + static async fromPrivateKey(Y) { + return (await ie(Y)).point; } toRawBytes() { - const K = M(this.y); - return K[31] |= this.x & i ? 128 : 0, K; + const Y = P(this.y); + return Y[31] |= this.x & i ? 128 : 0, Y; } toHex() { - return S(this.toRawBytes()); + return T(this.toRawBytes()); } toX25519() { - const { y: K } = this; - return M(V((i + K) * D(i - K))); + const { y: Y } = this; + return P(F((i + Y) * Q(i - Y))); } isTorsionFree() { - return p.fromAffine(this).isTorsionFree(); + return d.fromAffine(this).isTorsionFree(); } - equals(K) { - return this.x === K.x && this.y === K.y; + equals(Y) { + return this.x === Y.x && this.y === Y.y; } negate() { - return new N(V(-this.x), this.y); + return new x(F(-this.x), this.y); } - add(K) { - return p.fromAffine(this).add(p.fromAffine(K)).toAffine(); + add(Y) { + return d.fromAffine(this).add(d.fromAffine(Y)).toAffine(); } - subtract(K) { - return this.add(K.negate()); + subtract(Y) { + return this.add(Y.negate()); } - multiply(K) { - return p.fromAffine(this).multiply(K, this).toAffine(); + multiply(Y) { + return d.fromAffine(this).multiply(Y, this).toAffine(); } } - n.Point = N, N.BASE = new N(b.Gx, b.Gy), N.ZERO = new N(a, i); - class B { - constructor(K, X) { - this.r = K, this.s = X, this.assertValidity(); + n.Point = x, x.BASE = new x(C.Gx, C.Gy), x.ZERO = new x(o, i); + class A { + constructor(Y, ce) { + this.r = Y, this.s = ce, this.assertValidity(); } - static fromHex(K) { - const X = Z(K, 64), ne = N.fromHex(X.slice(0, 32), !1), re = w(X.slice(32, 64)); - return new B(ne, re); + static fromHex(Y) { + const ce = le(Y, 64), ye = x.fromHex(ce.slice(0, 32), !1), ve = K(ce.slice(32, 64)); + return new A(ye, ve); } assertValidity() { - const { r: K, s: X } = this; - if (!(K instanceof N)) throw new Error("Expected Point instance"); - return q(X, b.l, !1), this; + const { r: Y, s: ce } = this; + if (!(Y instanceof x)) throw new Error("Expected Point instance"); + return Se(ce, C.l, !1), this; } toRawBytes() { - const K = new Uint8Array(64); - return K.set(this.r.toRawBytes()), K.set(M(this.s), 32), K; + const Y = new Uint8Array(64); + return Y.set(this.r.toRawBytes()), Y.set(P(this.s), 32), Y; } toHex() { - return S(this.toRawBytes()); + return T(this.toRawBytes()); } } - function H(...W) { - if (!W.every((ne) => ne instanceof Uint8Array)) throw new Error("Expected Uint8Array list"); - if (W.length === 1) return W[0]; - const K = W.reduce((ne, re) => ne + re.length, 0), X = new Uint8Array(K); - for (let ne = 0, re = 0; ne < W.length; ne++) { - const pe = W[ne]; - X.set(pe, re), re += pe.length; - } - return X; - } - n.Signature = B; - const U = Array.from({ length: 256 }, (W, K) => K.toString(16).padStart(2, "0")); - function S(W) { - if (!(W instanceof Uint8Array)) throw new Error("Uint8Array expected"); - let K = ""; - for (let X = 0; X < W.length; X++) K += U[W[X]]; - return K; - } - function T(W) { - if (typeof W != "string") throw new TypeError("hexToBytes: expected string, got " + typeof W); - if (W.length % 2) throw new Error("hexToBytes: received invalid unpadded hex"); - const K = new Uint8Array(W.length / 2); - for (let X = 0; X < K.length; X++) { - const ne = 2 * X, re = W.slice(ne, ne + 2), pe = Number.parseInt(re, 16); - if (Number.isNaN(pe) || pe < 0) throw new Error("Invalid byte sequence"); - K[X] = pe; - } - return K; - } - function E(W) { - return T(W.toString(16).padStart(64, "0")); - } - function M(W) { - return E(W).reverse(); - } - function _(W) { - return (V(W) & i) === i; - } - function w(W) { - if (!(W instanceof Uint8Array)) throw new Error("Expected Uint8Array"); - return BigInt("0x" + S(Uint8Array.from(W).reverse())); - } - const A = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); - function j(W) { - return V(w(W) & A); - } - function V(W, K = b.P) { - const X = W % K; - return X >= a ? X : K + X; - } - function D(W, K = b.P) { - if (W === a || K <= a) throw new Error(`invert: expected positive integers, got n=${W} mod=${K}`); - let X = V(W, K), ne = K, re = a, pe = i; - for (; X !== a; ) { - const Oe = ne / X, xe = ne % X, Re = re - pe * Oe; - ne = X, X = xe, re = pe, pe = Re; - } - if (ne !== i) throw new Error("invert: does not exist"); - return V(re, K); - } - function z(W, K) { - const { P: X } = b; - let ne = W; - for (; K-- > a; ) ne *= ne, ne %= X; - return ne; + function N($) { + return $ instanceof Uint8Array || ArrayBuffer.isView($) && $.constructor.name === "Uint8Array"; } - function J(W) { - const { P: K } = b, X = BigInt(5), ne = BigInt(10), re = BigInt(20), pe = BigInt(40), Oe = BigInt(80), xe = W * W % K * W % K, Re = z(xe, m) * xe % K, De = z(Re, i) * W % K, Le = z(De, X) * De % K, Ve = z(Le, ne) * Le % K, Ze = z(Ve, re) * Ve % K, Be = z(Ze, pe) * Ze % K, de = z(Be, Oe) * Be % K, oe = z(de, Oe) * Be % K, le = z(oe, ne) * Le % K; - return { pow_p_5_8: z(le, m) * W % K, b2: xe }; + function k($) { + if (!N($)) throw new Error("Uint8Array expected"); } - function G(W, K) { - const X = V(K * K * K), ne = V(X * X * K); - let re = V(W * X * J(W * ne).pow_p_5_8); - const pe = V(K * re * re), Oe = re, xe = V(re * u), Re = pe === W, De = pe === V(-W), Le = pe === V(-W * u); - return Re && (re = Oe), (De || Le) && (re = xe), _(re) && (re = V(-re)), { isValid: Re || De, value: re }; + function j(...$) { + if ($.every(k), $.length === 1) return $[0]; + const Y = $.reduce((ye, ve) => ye + ve.length, 0), ce = new Uint8Array(Y); + for (let ye = 0, ve = 0; ye < $.length; ye++) { + const Ee = $[ye]; + ce.set(Ee, ve), ve += Ee.length; + } + return ce; } - function Q(W) { - return G(i, W); + n.Signature = A; + const D = Array.from({ length: 256 }, ($, Y) => Y.toString(16).padStart(2, "0")); + function T($) { + k($); + let Y = ""; + for (let ce = 0; ce < $.length; ce++) Y += D[$[ce]]; + return Y; } - function ee(W) { - return V(w(W), b.l); + n.bytesToHex = T; + function L($) { + return $ >= 48 && $ <= 57 ? $ - 48 : $ >= 65 && $ <= 70 ? $ - 55 : $ >= 97 && $ <= 102 ? $ - 87 : void 0; + } + function R($) { + if (typeof $ != "string") throw new Error("hex string expected, got " + typeof $); + const Y = $.length, ce = Y / 2; + if (Y % 2) throw new Error("hex string expected, got unpadded hex of length " + Y); + const ye = new Uint8Array(ce); + for (let ve = 0, Ee = 0; ve < ce; ve++, Ee += 2) { + const Ie = L($.charCodeAt(Ee)), be = L($.charCodeAt(Ee + 1)); + if (Ie === void 0 || be === void 0) { + const Ne = $[Ee] + $[Ee + 1]; + throw new Error('hex string expected, got non-hex character "' + Ne + '" at index ' + Ee); + } + ye[ve] = 16 * Ie + be; + } + return ye; + } + function M($) { + return R($.toString(16).padStart(64, "0")); + } + function P($) { + return M($).reverse(); + } + function H($) { + return (F($) & i) === i; + } + function K($) { + return k($), BigInt("0x" + T(Uint8Array.from($).reverse())); + } + n.hexToBytes = R; + const V = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); + function U($) { + return F(K($) & V); + } + function F($, Y = C.P) { + const ce = $ % Y; + return ce >= o ? ce : Y + ce; + } + function Q($, Y = C.P) { + if ($ === o || Y <= o) throw new Error(`invert: expected positive integers, got n=${$} mod=${Y}`); + let ce = F($, Y), ye = Y, ve = o, Ee = i; + for (; ce !== o; ) { + const Ie = ye / ce, be = ye % ce, Ne = ve - Ee * Ie; + ye = ce, ce = be, ve = Ee, Ee = Ne; + } + if (ye !== i) throw new Error("invert: does not exist"); + return F(ve, Y); + } + function ne($, Y) { + const { P: ce } = C; + let ye = $; + for (; Y-- > o; ) ye *= ye, ye %= ce; + return ye; + } + function te($) { + const { P: Y } = C, ce = BigInt(5), ye = BigInt(10), ve = BigInt(20), Ee = BigInt(40), Ie = BigInt(80), be = $ * $ % Y * $ % Y, Ne = ne(be, p) * be % Y, He = ne(Ne, i) * $ % Y, ae = ne(He, ce) * He % Y, oe = ne(ae, ye) * ae % Y, ue = ne(oe, ve) * oe % Y, he = ne(ue, Ee) * ue % Y, _e = ne(he, Ie) * he % Y, Te = ne(_e, Ie) * he % Y, Re = ne(Te, ye) * ae % Y; + return { pow_p_5_8: ne(Re, p) * $ % Y, b2: be }; + } + function X($, Y) { + const ce = F(Y * Y * Y), ye = F(ce * ce * Y); + let ve = F($ * ce * te($ * ye).pow_p_5_8); + const Ee = F(Y * ve * ve), Ie = ve, be = F(ve * m), Ne = Ee === $, He = Ee === F(-$), ae = Ee === F(-$ * m); + return Ne && (ve = Ie), (He || ae) && (ve = be), H(ve) && (ve = F(-ve)), { isValid: Ne || He, value: ve }; + } + function Z($) { + return X(i, $); + } + function fe($) { + return F(K($), C.l); + } + function le($, Y) { + const ce = N($) ? Uint8Array.from($) : R($); + if (typeof Y == "number" && ce.length !== Y) throw new Error(`Expected ${Y} bytes`); + return ce; + } + function Se($, Y, ce = !0) { + if (!Y) throw new TypeError("Specify max value"); + if (typeof $ == "number" && Number.isSafeInteger($) && ($ = BigInt($)), typeof $ == "bigint" && $ < Y) { + if (ce) { + if (o < $) return $; + } else if (o <= $) return $; + } + throw new TypeError("Expected valid scalar: 0 < scalar < max"); } - function Z(W, K) { - const X = W instanceof Uint8Array ? Uint8Array.from(W) : T(W); - if (typeof K == "number" && X.length !== K) throw new Error(`Expected ${K} bytes`); - return X; - } - function q(W, K, X = !0) { - if (!K) throw new TypeError("Specify max value"); - if (typeof W == "number" && Number.isSafeInteger(W) && (W = BigInt(W)), typeof W == "bigint" && W < K) { - if (X) { - if (a < W) return W; - } else if (a <= W) return W; - } - throw new TypeError("Expected valid scalar: 0 < scalar < max"); - } - function se(W) { - return W[0] &= 248, W[31] &= 127, W[31] |= 64, W; - } - function ue(W) { - if ((W = typeof W == "bigint" || typeof W == "number" ? E(q(W, y)) : Z(W)).length !== 32) throw new Error("Expected 32 bytes"); - return W; - } - function ce(W) { - const K = se(W.slice(0, 32)), X = W.slice(32, 64), ne = ee(K), re = N.BASE.multiply(ne), pe = re.toRawBytes(); - return { head: K, prefix: X, scalar: ne, point: re, pointBytes: pe }; - } - let ie; - function fe(...W) { - if (typeof ie != "function") throw new Error("utils.sha512Sync must be set to use sync methods"); - return ie(...W); - } - async function Te(W) { - return ce(await n.utils.sha512(ue(W))); - } - function Se(W) { - return ce(fe(ue(W))); - } - function te(W, K, X) { - K = Z(K), X instanceof N || (X = N.fromHex(X, !1)); - const { r: ne, s: re } = W instanceof B ? W.assertValidity() : B.fromHex(W); - return { r: ne, s: re, SB: p.BASE.multiplyUnsafe(re), pub: X, msg: K }; - } - function ye(W, K, X, ne) { - const re = ee(ne), pe = p.fromAffine(W).multiplyUnsafe(re); - return p.fromAffine(K).add(pe).subtract(X).multiplyUnsafe(b.h).equals(p.ZERO); - } - function ve(W, K, X) { - const ne = V(W * (K - X)); - return [K = V(K - ne), X = V(X + ne)]; - } - n.getPublicKey = async function(W) { - return (await Te(W)).pointBytes; - }, n.sign = async function(W, K) { - W = Z(W); - const { prefix: X, scalar: ne, pointBytes: re } = await Te(K), pe = ee(await n.utils.sha512(X, W)), Oe = N.BASE.multiply(pe), xe = V(pe + ee(await n.utils.sha512(Oe.toRawBytes(), re, W)) * ne, b.l); - return new B(Oe, xe).toRawBytes(); - }, n.verify = async function(W, K, X) { - const { r: ne, SB: re, msg: pe, pub: Oe } = te(W, K, X), xe = await n.utils.sha512(ne.toRawBytes(), Oe.toRawBytes(), pe); - return ye(Oe, ne, re, xe); - }, n.sync = { getExtendedPublicKey: Se, getPublicKey: function(W) { - return Se(W).pointBytes; - }, sign: function(W, K) { - W = Z(W); - const { prefix: X, scalar: ne, pointBytes: re } = Se(K), pe = ee(fe(X, W)), Oe = N.BASE.multiply(pe), xe = V(pe + ee(fe(Oe.toRawBytes(), re, W)) * ne, b.l); - return new B(Oe, xe).toRawBytes(); - }, verify: function(W, K, X) { - const { r: ne, SB: re, msg: pe, pub: Oe } = te(W, K, X), xe = fe(ne.toRawBytes(), Oe.toRawBytes(), pe); - return ye(Oe, ne, re, xe); - } }, n.getSharedSecret = async function(W, K) { - const { head: X } = await Te(W), ne = N.fromHex(K).toX25519(); - return n.curve25519.scalarMult(X, ne); - }, N.BASE._setWindowSize(8), n.curve25519 = { BASE_POINT_U: "0900000000000000000000000000000000000000000000000000000000000000", scalarMult(W, K) { - const X = function(ne, re) { - const { P: pe } = b, Oe = q(ne, pe), xe = q(re, pe), Re = BigInt(121665), De = Oe; - let Le, Ve = i, Ze = a, Be = Oe, de = i, oe = a; - for (let we = BigInt(254); we >= a; we--) { - const Ie = xe >> we & i; - oe ^= Ie, Le = ve(oe, Ve, Be), Ve = Le[0], Be = Le[1], Le = ve(oe, Ze, de), Ze = Le[0], de = Le[1], oe = Ie; - const ke = Ve + Ze, Ne = V(ke * ke), He = Ve - Ze, qe = V(He * He), Ue = Ne - qe, $e = Be + de, ct = V((Be - de) * ke), We = V($e * He), it = ct + We, bt = ct - We; - Be = V(it * it), de = V(De * V(bt * bt)), Ve = V(Ne * qe), Ze = V(Ue * (Ne + V(Re * Ue))); - } - Le = ve(oe, Ve, Be), Ve = Le[0], Be = Le[1], Le = ve(oe, Ze, de), Ze = Le[0], de = Le[1]; - const { pow_p_5_8: le, b2: me } = J(Ze), Ce = V(z(le, BigInt(3)) * me); - return V(Ve * Ce); - }(function(ne) { - const re = Z(ne, 32); - return re[31] &= 127, w(re); - }(K), w(se(Z(W, 32)))); - if (X === a) throw new Error("Invalid private or public key received"); - return M(V(X, b.P)); - }, scalarMultBase: (W) => n.curve25519.scalarMult(W, n.curve25519.BASE_POINT_U) }; - const F = { node: r, web: typeof self == "object" && "crypto" in self ? self.crypto : void 0 }; - n.utils = { bytesToHex: S, hexToBytes: T, concatBytes: H, getExtendedPublicKey: Te, mod: V, invert: D, TORSION_SUBGROUP: ["0100000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a", "0000000000000000000000000000000000000000000000000000000000000080", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05", "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85", "0000000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"], hashToPrivateScalar: (W) => { - if ((W = Z(W)).length < 40 || W.length > 1024) throw new Error("Expected 40-1024 bytes of private key as per FIPS 186"); - return V(w(W), b.l - i) + i; - }, randomBytes: (W = 32) => { - if (F.web) return F.web.getRandomValues(new Uint8Array(W)); - if (F.node) { - const { randomBytes: K } = F.node; - return new Uint8Array(K(W).buffer); + function de($) { + return $[0] &= 248, $[31] &= 127, $[31] |= 64, $; + } + function me($) { + if (($ = typeof $ == "bigint" || typeof $ == "number" ? M(Se($, w)) : le($)).length !== 32) throw new Error("Expected 32 bytes"); + return $; + } + function Oe($) { + const Y = de($.slice(0, 32)), ce = $.slice(32, 64), ye = fe(Y), ve = x.BASE.multiply(ye), Ee = ve.toRawBytes(); + return { head: Y, prefix: ce, scalar: ye, point: ve, pointBytes: Ee }; + } + let Ce; + function G(...$) { + if (typeof Ce != "function") throw new Error("utils.sha512Sync must be set to use sync methods"); + return Ce(...$); + } + async function ie($) { + return Oe(await n.utils.sha512(me($))); + } + function we($) { + return Oe(G(me($))); + } + function z($, Y, ce) { + Y = le(Y), ce instanceof x || (ce = x.fromHex(ce, !1)); + const { r: ye, s: ve } = $ instanceof A ? $.assertValidity() : A.fromHex($); + return { r: ye, s: ve, SB: d.BASE.multiplyUnsafe(ve), pub: ce, msg: Y }; + } + function J($, Y, ce, ye) { + const ve = fe(ye), Ee = d.fromAffine($).multiplyUnsafe(ve); + return d.fromAffine(Y).add(Ee).subtract(ce).multiplyUnsafe(C.h).equals(d.ZERO); + } + function q($, Y, ce) { + const ye = F($ * (Y - ce)); + return [Y = F(Y - ye), ce = F(ce + ye)]; + } + n.getPublicKey = async function($) { + return (await ie($)).pointBytes; + }, n.sign = async function($, Y) { + $ = le($); + const { prefix: ce, scalar: ye, pointBytes: ve } = await ie(Y), Ee = fe(await n.utils.sha512(ce, $)), Ie = x.BASE.multiply(Ee), be = F(Ee + fe(await n.utils.sha512(Ie.toRawBytes(), ve, $)) * ye, C.l); + return new A(Ie, be).toRawBytes(); + }, n.verify = async function($, Y, ce) { + const { r: ye, SB: ve, msg: Ee, pub: Ie } = z($, Y, ce), be = await n.utils.sha512(ye.toRawBytes(), Ie.toRawBytes(), Ee); + return J(Ie, ye, ve, be); + }, n.sync = { getExtendedPublicKey: we, getPublicKey: function($) { + return we($).pointBytes; + }, sign: function($, Y) { + $ = le($); + const { prefix: ce, scalar: ye, pointBytes: ve } = we(Y), Ee = fe(G(ce, $)), Ie = x.BASE.multiply(Ee), be = F(Ee + fe(G(Ie.toRawBytes(), ve, $)) * ye, C.l); + return new A(Ie, be).toRawBytes(); + }, verify: function($, Y, ce) { + const { r: ye, SB: ve, msg: Ee, pub: Ie } = z($, Y, ce), be = G(ye.toRawBytes(), Ie.toRawBytes(), Ee); + return J(Ie, ye, ve, be); + } }, n.getSharedSecret = async function($, Y) { + const { head: ce } = await ie($), ye = x.fromHex(Y).toX25519(); + return n.curve25519.scalarMult(ce, ye); + }, x.BASE._setWindowSize(8), n.curve25519 = { BASE_POINT_U: "0900000000000000000000000000000000000000000000000000000000000000", scalarMult($, Y) { + const ce = function(ye, ve) { + const { P: Ee } = C, Ie = Se(ye, Ee), be = Se(ve, Ee), Ne = BigInt(121665), He = Ie; + let ae, oe = i, ue = o, he = Ie, _e = i, Te = o; + for (let ze = BigInt(254); ze >= o; ze--) { + const Xe = be >> ze & i; + Te ^= Xe, ae = q(Te, oe, he), oe = ae[0], he = ae[1], ae = q(Te, ue, _e), ue = ae[0], _e = ae[1], Te = Xe; + const qe = oe + ue, Ye = F(qe * qe), ct = oe - ue, ot = F(ct * ct), dt = Ye - ot, $t = he + _e, gt = F((he - _e) * qe), Fe = F($t * ct), mt = gt + Fe, ht = gt - Fe; + he = F(mt * mt), _e = F(He * F(ht * ht)), oe = F(Ye * ot), ue = F(dt * (Ye + F(Ne * dt))); + } + ae = q(Te, oe, he), oe = ae[0], he = ae[1], ae = q(Te, ue, _e), ue = ae[0], _e = ae[1]; + const { pow_p_5_8: Re, b2: Ue } = te(ue), De = F(ne(Re, BigInt(3)) * Ue); + return F(oe * De); + }(function(ye) { + const ve = le(ye, 32); + return ve[31] &= 127, K(ve); + }(Y), K(de(le($, 32)))); + if (ce === o) throw new Error("Invalid private or public key received"); + return P(F(ce, C.P)); + }, scalarMultBase: ($) => n.curve25519.scalarMult($, n.curve25519.BASE_POINT_U) }; + const re = { node: r, web: typeof self == "object" && "crypto" in self ? self.crypto : void 0 }; + n.utils = { bytesToHex: T, hexToBytes: R, concatBytes: j, getExtendedPublicKey: ie, mod: F, invert: Q, TORSION_SUBGROUP: ["0100000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a", "0000000000000000000000000000000000000000000000000000000000000080", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05", "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85", "0000000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"], hashToPrivateScalar: ($) => { + if (($ = le($)).length < 40 || $.length > 1024) throw new Error("Expected 40-1024 bytes of private key as per FIPS 186"); + return F(K($), C.l - i) + i; + }, randomBytes: ($ = 32) => { + if (re.web) return re.web.getRandomValues(new Uint8Array($)); + if (re.node) { + const { randomBytes: Y } = re.node; + return new Uint8Array(Y($).buffer); } throw new Error("The environment doesn't have randomBytes function"); - }, randomPrivateKey: () => n.utils.randomBytes(32), sha512: async (...W) => { - const K = H(...W); - if (F.web) { - const X = await F.web.subtle.digest("SHA-512", K.buffer); - return new Uint8Array(X); + }, randomPrivateKey: () => n.utils.randomBytes(32), sha512: async (...$) => { + const Y = j(...$); + if (re.web) { + const ce = await re.web.subtle.digest("SHA-512", Y.buffer); + return new Uint8Array(ce); } - if (F.node) return Uint8Array.from(F.node.createHash("sha512").update(K).digest()); + if (re.node) return Uint8Array.from(re.node.createHash("sha512").update(Y).digest()); throw new Error("The environment doesn't have sha512 function"); - }, precompute(W = 8, K = N.BASE) { - const X = K.equals(N.BASE) ? K : new N(K.x, K.y); - return X._setWindowSize(W), X.multiply(m), X; - }, sha512Sync: void 0 }, Object.defineProperties(n.utils, { sha512Sync: { configurable: !1, get: () => ie, set(W) { - ie || (ie = W); + }, precompute($ = 8, Y = x.BASE) { + const ce = Y.equals(x.BASE) ? Y : new x(Y.x, Y.y); + return ce._setWindowSize($), ce.multiply(p), ce; + }, sha512Sync: void 0 }, Object.defineProperties(n.utils, { sha512Sync: { configurable: !1, get: () => Ce, set($) { + Ce || (Ce = $); } } }); - }, 7557: (x, n) => { - function c(b) { - if (!Number.isSafeInteger(b) || b < 0) throw new Error(`Wrong positive integer: ${b}`); - } - function r(b) { - if (typeof b != "boolean") throw new Error(`Expected boolean, not ${b}`); - } - function a(b, ...y) { - if (!(b instanceof Uint8Array)) throw new Error("Expected Uint8Array"); - if (y.length > 0 && !y.includes(b.length)) throw new Error(`Expected Uint8Array of length ${y}, not of length=${b.length}`); - } - function i(b) { - if (typeof b != "function" || typeof b.create != "function") throw new Error("Hash should be wrapped by utils.wrapConstructor"); - c(b.outputLen), c(b.blockLen); + }, 4110(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.BSIGMA = void 0, n.G1s = function(o, i, p, a, f) { + return o = o + i + f | 0, p = p + (a = (0, r.rotr)(a ^ o, 16)) | 0, { a: o, b: i = (0, r.rotr)(i ^ p, 12), c: p, d: a }; + }, n.G2s = function(o, i, p, a, f) { + return o = o + i + f | 0, p = p + (a = (0, r.rotr)(a ^ o, 8)) | 0, { a: o, b: i = (0, r.rotr)(i ^ p, 7), c: p, d: a }; + }; + const r = s(9175); + n.BSIGMA = Uint8Array.from([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3, 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4, 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8, 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13, 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9, 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11, 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10, 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5, 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3, 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4, 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8, 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13, 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9]); + }, 7202(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.SHA512_IV = n.SHA384_IV = n.SHA224_IV = n.SHA256_IV = n.HashMD = void 0, n.setBigUint64 = o, n.Chi = function(p, a, f) { + return p & a ^ ~p & f; + }, n.Maj = function(p, a, f) { + return p & a ^ p & f ^ a & f; + }; + const r = s(9175); + function o(p, a, f, C) { + if (typeof p.setBigUint64 == "function") return p.setBigUint64(a, f, C); + const w = BigInt(32), m = BigInt(4294967295), v = Number(f >> w & m), l = Number(f & m), u = C ? 4 : 0, y = C ? 0 : 4; + p.setUint32(a + u, v, C), p.setUint32(a + y, l, C); + } + class i extends r.Hash { + constructor(a, f, C, w) { + super(), this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.blockLen = a, this.outputLen = f, this.padOffset = C, this.isLE = w, this.buffer = new Uint8Array(a), this.view = (0, r.createView)(this.buffer); + } + update(a) { + (0, r.aexists)(this), a = (0, r.toBytes)(a), (0, r.abytes)(a); + const { view: f, buffer: C, blockLen: w } = this, m = a.length; + for (let v = 0; v < m; ) { + const l = Math.min(w - this.pos, m - v); + if (l === w) { + const u = (0, r.createView)(a); + for (; w <= m - v; v += w) this.process(u, v); + continue; + } + C.set(a.subarray(v, v + l), this.pos), this.pos += l, v += l, this.pos === w && (this.process(f, 0), this.pos = 0); + } + return this.length += a.length, this.roundClean(), this; + } + digestInto(a) { + (0, r.aexists)(this), (0, r.aoutput)(a, this), this.finished = !0; + const { buffer: f, view: C, blockLen: w, isLE: m } = this; + let { pos: v } = this; + f[v++] = 128, (0, r.clean)(this.buffer.subarray(v)), this.padOffset > w - v && (this.process(C, 0), v = 0); + for (let b = v; b < w; b++) f[b] = 0; + o(C, w - 8, BigInt(8 * this.length), m), this.process(C, 0); + const l = (0, r.createView)(a), u = this.outputLen; + if (u % 4) throw new Error("_sha2: outputLen should be aligned to 32bit"); + const y = u / 4, d = this.get(); + if (y > d.length) throw new Error("_sha2: outputLen bigger than state"); + for (let b = 0; b < y; b++) l.setUint32(4 * b, d[b], m); + } + digest() { + const { buffer: a, outputLen: f } = this; + this.digestInto(a); + const C = a.slice(0, f); + return this.destroy(), C; + } + _cloneInto(a) { + a || (a = new this.constructor()), a.set(...this.get()); + const { blockLen: f, buffer: C, length: w, finished: m, destroyed: v, pos: l } = this; + return a.destroyed = v, a.finished = m, a.length = w, a.pos = l, w % f && a.buffer.set(C), a; + } + clone() { + return this._cloneInto(); + } } - function m(b, y = !0) { - if (b.destroyed) throw new Error("Hash instance has been destroyed"); - if (y && b.finished) throw new Error("Hash#digest() has already been called"); - } - function t(b, y) { - a(b); - const u = y.outputLen; - if (b.length < u) throw new Error(`digestInto() expects output buffer of length at least ${u}`); - } - Object.defineProperty(n, "__esModule", { value: !0 }), n.output = n.exists = n.hash = n.bytes = n.bool = n.number = void 0, n.number = c, n.bool = r, n.bytes = a, n.hash = i, n.exists = m, n.output = t; - const f = { number: c, bool: r, bytes: a, hash: i, exists: m, output: t }; - n.default = f; - }, 6742: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.BLAKE2 = n.SIGMA = void 0; - const r = c(7557), a = c(9175); - n.SIGMA = new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3, 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4, 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8, 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13, 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9, 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11, 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10, 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5, 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3]); - class i extends a.Hash { - constructor(t, f, b = {}, y, u, d) { - if (super(), this.blockLen = t, this.outputLen = f, this.length = 0, this.pos = 0, this.finished = !1, this.destroyed = !1, r.default.number(t), r.default.number(f), r.default.number(y), f < 0 || f > y) throw new Error("outputLen bigger than keyLen"); - if (b.key !== void 0 && (b.key.length < 1 || b.key.length > y)) throw new Error(`key must be up 1..${y} byte long or undefined`); - if (b.salt !== void 0 && b.salt.length !== u) throw new Error(`salt must be ${u} byte long or undefined`); - if (b.personalization !== void 0 && b.personalization.length !== d) throw new Error(`personalization must be ${d} byte long or undefined`); - this.buffer32 = (0, a.u32)(this.buffer = new Uint8Array(t)); - } - update(t) { - r.default.exists(this); - const { blockLen: f, buffer: b, buffer32: y } = this, u = (t = (0, a.toBytes)(t)).length, d = t.byteOffset, l = t.buffer; - for (let s = 0; s < u; ) { - this.pos === f && (this.compress(y, 0, !1), this.pos = 0); - const v = Math.min(f - this.pos, u - s), p = d + s; - if (v !== f || p % 4 || !(s + v < u)) b.set(t.subarray(s, s + v), this.pos), this.pos += v, this.length += v, s += v; - else { - const h = new Uint32Array(l, p, Math.floor((u - s) / 4)); - for (let O = 0; s + f < u; O += y.length, s += f) this.length += f, this.compress(h, O, !1); + n.HashMD = i, n.SHA256_IV = Uint32Array.from([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]), n.SHA224_IV = Uint32Array.from([3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428]), n.SHA384_IV = Uint32Array.from([3418070365, 3238371032, 1654270250, 914150663, 2438529370, 812702999, 355462360, 4144912697, 1731405415, 4290775857, 2394180231, 1750603025, 3675008525, 1694076839, 1203062813, 3204075428]), n.SHA512_IV = Uint32Array.from([1779033703, 4089235720, 3144134277, 2227873595, 1013904242, 4271175723, 2773480762, 1595750129, 1359893119, 2917565137, 2600822924, 725511199, 528734635, 4215389547, 1541459225, 327033209]); + }, 2318(g, n) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.toBig = n.shrSL = n.shrSH = n.rotrSL = n.rotrSH = n.rotrBL = n.rotrBH = n.rotr32L = n.rotr32H = n.rotlSL = n.rotlSH = n.rotlBL = n.rotlBH = n.add5L = n.add5H = n.add4L = n.add4H = n.add3L = n.add3H = void 0, n.add = E, n.fromBig = o, n.split = i; + const s = BigInt(2 ** 32 - 1), r = BigInt(32); + function o(j, D = !1) { + return D ? { h: Number(j & s), l: Number(j >> r & s) } : { h: 0 | Number(j >> r & s), l: 0 | Number(j & s) }; + } + function i(j, D = !1) { + const T = j.length; + let L = new Uint32Array(T), R = new Uint32Array(T); + for (let M = 0; M < T; M++) { + const { h: P, l: H } = o(j[M], D); + [L[M], R[M]] = [P, H]; + } + return [L, R]; + } + const p = (j, D) => BigInt(j >>> 0) << r | BigInt(D >>> 0); + n.toBig = p; + const a = (j, D, T) => j >>> T; + n.shrSH = a; + const f = (j, D, T) => j << 32 - T | D >>> T; + n.shrSL = f; + const C = (j, D, T) => j >>> T | D << 32 - T; + n.rotrSH = C; + const w = (j, D, T) => j << 32 - T | D >>> T; + n.rotrSL = w; + const m = (j, D, T) => j << 64 - T | D >>> T - 32; + n.rotrBH = m; + const v = (j, D, T) => j >>> T - 32 | D << 64 - T; + n.rotrBL = v; + const l = (j, D) => D; + n.rotr32H = l; + const u = (j, D) => j; + n.rotr32L = u; + const y = (j, D, T) => j << T | D >>> 32 - T; + n.rotlSH = y; + const d = (j, D, T) => D << T | j >>> 32 - T; + n.rotlSL = d; + const b = (j, D, T) => D << T - 32 | j >>> 64 - T; + n.rotlBH = b; + const _ = (j, D, T) => j << T - 32 | D >>> 64 - T; + function E(j, D, T, L) { + const R = (D >>> 0) + (L >>> 0); + return { h: j + T + (R / 4294967296 | 0) | 0, l: 0 | R }; + } + n.rotlBL = _; + const B = (j, D, T) => (j >>> 0) + (D >>> 0) + (T >>> 0); + n.add3L = B; + const O = (j, D, T, L) => D + T + L + (j / 2 ** 32 | 0) | 0; + n.add3H = O; + const I = (j, D, T, L) => (j >>> 0) + (D >>> 0) + (T >>> 0) + (L >>> 0); + n.add4L = I; + const x = (j, D, T, L, R) => D + T + L + R + (j / 2 ** 32 | 0) | 0; + n.add4H = x; + const A = (j, D, T, L, R) => (j >>> 0) + (D >>> 0) + (T >>> 0) + (L >>> 0) + (R >>> 0); + n.add5L = A; + const N = (j, D, T, L, R, M) => D + T + L + R + M + (j / 2 ** 32 | 0) | 0; + n.add5H = N; + const k = { fromBig: o, split: i, toBig: p, shrSH: a, shrSL: f, rotrSH: C, rotrSL: w, rotrBH: m, rotrBL: v, rotr32H: l, rotr32L: u, rotlSH: y, rotlSL: d, rotlBH: b, rotlBL: _, add: E, add3L: B, add3H: O, add4L: I, add4H: x, add5H: N, add5L: A }; + n.default = k; + }, 1453(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.blake2s = n.BLAKE2s = n.blake2b = n.BLAKE2b = n.BLAKE2 = void 0, n.compress = u; + const r = s(4110), o = s(7202), i = s(2318), p = s(9175), a = Uint32Array.from([4089235720, 1779033703, 2227873595, 3144134277, 4271175723, 1013904242, 1595750129, 2773480762, 2917565137, 1359893119, 725511199, 2600822924, 4215389547, 528734635, 327033209, 1541459225]), f = new Uint32Array(32); + function C(b, _, E, B, O, I) { + const x = O[I], A = O[I + 1]; + let N = f[2 * b], k = f[2 * b + 1], j = f[2 * _], D = f[2 * _ + 1], T = f[2 * E], L = f[2 * E + 1], R = f[2 * B], M = f[2 * B + 1], P = i.add3L(N, j, x); + k = i.add3H(P, k, D, A), N = 0 | P, { Dh: M, Dl: R } = { Dh: M ^ k, Dl: R ^ N }, { Dh: M, Dl: R } = { Dh: i.rotr32H(M, R), Dl: i.rotr32L(M, R) }, { h: L, l: T } = i.add(L, T, M, R), { Bh: D, Bl: j } = { Bh: D ^ L, Bl: j ^ T }, { Bh: D, Bl: j } = { Bh: i.rotrSH(D, j, 24), Bl: i.rotrSL(D, j, 24) }, f[2 * b] = N, f[2 * b + 1] = k, f[2 * _] = j, f[2 * _ + 1] = D, f[2 * E] = T, f[2 * E + 1] = L, f[2 * B] = R, f[2 * B + 1] = M; + } + function w(b, _, E, B, O, I) { + const x = O[I], A = O[I + 1]; + let N = f[2 * b], k = f[2 * b + 1], j = f[2 * _], D = f[2 * _ + 1], T = f[2 * E], L = f[2 * E + 1], R = f[2 * B], M = f[2 * B + 1], P = i.add3L(N, j, x); + k = i.add3H(P, k, D, A), N = 0 | P, { Dh: M, Dl: R } = { Dh: M ^ k, Dl: R ^ N }, { Dh: M, Dl: R } = { Dh: i.rotrSH(M, R, 16), Dl: i.rotrSL(M, R, 16) }, { h: L, l: T } = i.add(L, T, M, R), { Bh: D, Bl: j } = { Bh: D ^ L, Bl: j ^ T }, { Bh: D, Bl: j } = { Bh: i.rotrBH(D, j, 63), Bl: i.rotrBL(D, j, 63) }, f[2 * b] = N, f[2 * b + 1] = k, f[2 * _] = j, f[2 * _ + 1] = D, f[2 * E] = T, f[2 * E + 1] = L, f[2 * B] = R, f[2 * B + 1] = M; + } + function m(b, _ = {}, E, B, O) { + if ((0, p.anumber)(E), b < 0 || b > E) throw new Error("outputLen bigger than keyLen"); + const { key: I, salt: x, personalization: A } = _; + if (I !== void 0 && (I.length < 1 || I.length > E)) throw new Error("key length must be undefined or 1.." + E); + if (x !== void 0 && x.length !== B) throw new Error("salt must be undefined or " + B); + if (A !== void 0 && A.length !== O) throw new Error("personalization must be undefined or " + O); + } + class v extends p.Hash { + constructor(_, E) { + super(), this.finished = !1, this.destroyed = !1, this.length = 0, this.pos = 0, (0, p.anumber)(_), (0, p.anumber)(E), this.blockLen = _, this.outputLen = E, this.buffer = new Uint8Array(_), this.buffer32 = (0, p.u32)(this.buffer); + } + update(_) { + (0, p.aexists)(this), _ = (0, p.toBytes)(_), (0, p.abytes)(_); + const { blockLen: E, buffer: B, buffer32: O } = this, I = _.length, x = _.byteOffset, A = _.buffer; + for (let N = 0; N < I; ) { + this.pos === E && ((0, p.swap32IfBE)(O), this.compress(O, 0, !1), (0, p.swap32IfBE)(O), this.pos = 0); + const k = Math.min(E - this.pos, I - N), j = x + N; + if (k === E && !(j % 4) && N + k < I) { + const D = new Uint32Array(A, j, Math.floor((I - N) / 4)); + (0, p.swap32IfBE)(D); + for (let T = 0; N + E < I; T += O.length, N += E) this.length += E, this.compress(D, T, !1); + (0, p.swap32IfBE)(D); + continue; } + B.set(_.subarray(N, N + k), this.pos), this.pos += k, this.length += k, N += k; } return this; } - digestInto(t) { - r.default.exists(this), r.default.output(t, this); - const { pos: f, buffer32: b } = this; - this.finished = !0, this.buffer.subarray(f).fill(0), this.compress(b, 0, !0); - const y = (0, a.u32)(t); - this.get().forEach((u, d) => y[d] = u); + digestInto(_) { + (0, p.aexists)(this), (0, p.aoutput)(_, this); + const { pos: E, buffer32: B } = this; + this.finished = !0, (0, p.clean)(this.buffer.subarray(E)), (0, p.swap32IfBE)(B), this.compress(B, 0, !0), (0, p.swap32IfBE)(B); + const O = (0, p.u32)(_); + this.get().forEach((I, x) => O[x] = (0, p.swap8IfBE)(I)); } digest() { - const { buffer: t, outputLen: f } = this; - this.digestInto(t); - const b = t.slice(0, f); - return this.destroy(), b; - } - _cloneInto(t) { - const { buffer: f, length: b, finished: y, destroyed: u, outputLen: d, pos: l } = this; - return t || (t = new this.constructor({ dkLen: d })), t.set(...this.get()), t.length = b, t.finished = y, t.destroyed = u, t.outputLen = d, t.buffer.set(f), t.pos = l, t; - } - } - n.BLAKE2 = i; - }, 915: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.SHA2 = void 0; - const r = c(7557), a = c(9175); - class i extends a.Hash { - constructor(t, f, b, y) { - super(), this.blockLen = t, this.outputLen = f, this.padOffset = b, this.isLE = y, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(t), this.view = (0, a.createView)(this.buffer); - } - update(t) { - r.default.exists(this); - const { view: f, buffer: b, blockLen: y } = this, u = (t = (0, a.toBytes)(t)).length; - for (let d = 0; d < u; ) { - const l = Math.min(y - this.pos, u - d); - if (l !== y) b.set(t.subarray(d, d + l), this.pos), this.pos += l, d += l, this.pos === y && (this.process(f, 0), this.pos = 0); - else { - const s = (0, a.createView)(t); - for (; y <= u - d; d += y) this.process(s, d); - } + const { buffer: _, outputLen: E } = this; + this.digestInto(_); + const B = _.slice(0, E); + return this.destroy(), B; + } + _cloneInto(_) { + const { buffer: E, length: B, finished: O, destroyed: I, outputLen: x, pos: A } = this; + return _ || (_ = new this.constructor({ dkLen: x })), _.set(...this.get()), _.buffer.set(E), _.destroyed = I, _.finished = O, _.length = B, _.pos = A, _.outputLen = x, _; + } + clone() { + return this._cloneInto(); + } + } + n.BLAKE2 = v; + class l extends v { + constructor(_ = {}) { + const E = _.dkLen === void 0 ? 64 : _.dkLen; + super(128, E), this.v0l = 0 | a[0], this.v0h = 0 | a[1], this.v1l = 0 | a[2], this.v1h = 0 | a[3], this.v2l = 0 | a[4], this.v2h = 0 | a[5], this.v3l = 0 | a[6], this.v3h = 0 | a[7], this.v4l = 0 | a[8], this.v4h = 0 | a[9], this.v5l = 0 | a[10], this.v5h = 0 | a[11], this.v6l = 0 | a[12], this.v6h = 0 | a[13], this.v7l = 0 | a[14], this.v7h = 0 | a[15], m(E, _, 64, 16, 16); + let { key: B, personalization: O, salt: I } = _, x = 0; + if (B !== void 0 && (B = (0, p.toBytes)(B), x = B.length), this.v0l ^= this.outputLen | x << 8 | 65536 | 16777216, I !== void 0) { + I = (0, p.toBytes)(I); + const A = (0, p.u32)(I); + this.v4l ^= (0, p.swap8IfBE)(A[0]), this.v4h ^= (0, p.swap8IfBE)(A[1]), this.v5l ^= (0, p.swap8IfBE)(A[2]), this.v5h ^= (0, p.swap8IfBE)(A[3]); + } + if (O !== void 0) { + O = (0, p.toBytes)(O); + const A = (0, p.u32)(O); + this.v6l ^= (0, p.swap8IfBE)(A[0]), this.v6h ^= (0, p.swap8IfBE)(A[1]), this.v7l ^= (0, p.swap8IfBE)(A[2]), this.v7h ^= (0, p.swap8IfBE)(A[3]); + } + if (B !== void 0) { + const A = new Uint8Array(this.blockLen); + A.set(B), this.update(A); } - return this.length += t.length, this.roundClean(), this; - } - digestInto(t) { - r.default.exists(this), r.default.output(t, this), this.finished = !0; - const { buffer: f, view: b, blockLen: y, isLE: u } = this; - let { pos: d } = this; - f[d++] = 128, this.buffer.subarray(d).fill(0), this.padOffset > y - d && (this.process(b, 0), d = 0); - for (let h = d; h < y; h++) f[h] = 0; - (function(h, O, I, k) { - if (typeof h.setBigUint64 == "function") return h.setBigUint64(O, I, k); - const R = BigInt(32), L = BigInt(4294967295), N = Number(I >> R & L), B = Number(I & L), H = k ? 4 : 0, U = k ? 0 : 4; - h.setUint32(O + H, N, k), h.setUint32(O + U, B, k); - })(b, y - 8, BigInt(8 * this.length), u), this.process(b, 0); - const l = (0, a.createView)(t), s = this.outputLen; - if (s % 4) throw new Error("_sha2: outputLen should be aligned to 32bit"); - const v = s / 4, p = this.get(); - if (v > p.length) throw new Error("_sha2: outputLen bigger than state"); - for (let h = 0; h < v; h++) l.setUint32(4 * h, p[h], u); } - digest() { - const { buffer: t, outputLen: f } = this; - this.digestInto(t); - const b = t.slice(0, f); - return this.destroy(), b; - } - _cloneInto(t) { - t || (t = new this.constructor()), t.set(...this.get()); - const { blockLen: f, buffer: b, length: y, finished: u, destroyed: d, pos: l } = this; - return t.length = y, t.pos = l, t.finished = u, t.destroyed = d, y % f && t.buffer.set(b), t; - } - } - n.SHA2 = i; - }, 2318: (x, n) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.add = n.toBig = n.split = n.fromBig = void 0; - const c = BigInt(2 ** 32 - 1), r = BigInt(32); - function a(f, b = !1) { - return b ? { h: Number(f & c), l: Number(f >> r & c) } : { h: 0 | Number(f >> r & c), l: 0 | Number(f & c) }; - } - function i(f, b = !1) { - let y = new Uint32Array(f.length), u = new Uint32Array(f.length); - for (let d = 0; d < f.length; d++) { - const { h: l, l: s } = a(f[d], b); - [y[d], u[d]] = [l, s]; - } - return [y, u]; - } - function m(f, b, y, u) { - const d = (b >>> 0) + (u >>> 0); - return { h: f + y + (d / 4294967296 | 0) | 0, l: 0 | d }; - } - n.fromBig = a, n.split = i, n.toBig = (f, b) => BigInt(f >>> 0) << r | BigInt(b >>> 0), n.add = m; - const t = { fromBig: a, split: i, toBig: n.toBig, shrSH: (f, b, y) => f >>> y, shrSL: (f, b, y) => f << 32 - y | b >>> y, rotrSH: (f, b, y) => f >>> y | b << 32 - y, rotrSL: (f, b, y) => f << 32 - y | b >>> y, rotrBH: (f, b, y) => f << 64 - y | b >>> y - 32, rotrBL: (f, b, y) => f >>> y - 32 | b << 64 - y, rotr32H: (f, b) => b, rotr32L: (f, b) => f, rotlSH: (f, b, y) => f << y | b >>> 32 - y, rotlSL: (f, b, y) => b << y | f >>> 32 - y, rotlBH: (f, b, y) => b << y - 32 | f >>> 64 - y, rotlBL: (f, b, y) => f << y - 32 | b >>> 64 - y, add: m, add3L: (f, b, y) => (f >>> 0) + (b >>> 0) + (y >>> 0), add3H: (f, b, y, u) => b + y + u + (f / 2 ** 32 | 0) | 0, add4L: (f, b, y, u) => (f >>> 0) + (b >>> 0) + (y >>> 0) + (u >>> 0), add4H: (f, b, y, u, d) => b + y + u + d + (f / 2 ** 32 | 0) | 0, add5H: (f, b, y, u, d, l) => b + y + u + d + l + (f / 2 ** 32 | 0) | 0, add5L: (f, b, y, u, d) => (f >>> 0) + (b >>> 0) + (y >>> 0) + (u >>> 0) + (d >>> 0) }; - n.default = t; - }, 6719: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.blake2b = void 0; - const r = c(6742), a = c(2318), i = c(9175), m = new Uint32Array([4089235720, 1779033703, 2227873595, 3144134277, 4271175723, 1013904242, 1595750129, 2773480762, 2917565137, 1359893119, 725511199, 2600822924, 4215389547, 528734635, 327033209, 1541459225]), t = new Uint32Array(32); - function f(u, d, l, s, v, p) { - const h = v[p], O = v[p + 1]; - let I = t[2 * u], k = t[2 * u + 1], R = t[2 * d], L = t[2 * d + 1], N = t[2 * l], B = t[2 * l + 1], H = t[2 * s], U = t[2 * s + 1], S = a.default.add3L(I, R, h); - k = a.default.add3H(S, k, L, O), I = 0 | S, { Dh: U, Dl: H } = { Dh: U ^ k, Dl: H ^ I }, { Dh: U, Dl: H } = { Dh: a.default.rotr32H(U, H), Dl: a.default.rotr32L(U, H) }, { h: B, l: N } = a.default.add(B, N, U, H), { Bh: L, Bl: R } = { Bh: L ^ B, Bl: R ^ N }, { Bh: L, Bl: R } = { Bh: a.default.rotrSH(L, R, 24), Bl: a.default.rotrSL(L, R, 24) }, t[2 * u] = I, t[2 * u + 1] = k, t[2 * d] = R, t[2 * d + 1] = L, t[2 * l] = N, t[2 * l + 1] = B, t[2 * s] = H, t[2 * s + 1] = U; - } - function b(u, d, l, s, v, p) { - const h = v[p], O = v[p + 1]; - let I = t[2 * u], k = t[2 * u + 1], R = t[2 * d], L = t[2 * d + 1], N = t[2 * l], B = t[2 * l + 1], H = t[2 * s], U = t[2 * s + 1], S = a.default.add3L(I, R, h); - k = a.default.add3H(S, k, L, O), I = 0 | S, { Dh: U, Dl: H } = { Dh: U ^ k, Dl: H ^ I }, { Dh: U, Dl: H } = { Dh: a.default.rotrSH(U, H, 16), Dl: a.default.rotrSL(U, H, 16) }, { h: B, l: N } = a.default.add(B, N, U, H), { Bh: L, Bl: R } = { Bh: L ^ B, Bl: R ^ N }, { Bh: L, Bl: R } = { Bh: a.default.rotrBH(L, R, 63), Bl: a.default.rotrBL(L, R, 63) }, t[2 * u] = I, t[2 * u + 1] = k, t[2 * d] = R, t[2 * d + 1] = L, t[2 * l] = N, t[2 * l + 1] = B, t[2 * s] = H, t[2 * s + 1] = U; - } - class y extends r.BLAKE2 { - constructor(d = {}) { - super(128, d.dkLen === void 0 ? 64 : d.dkLen, d, 64, 16, 16), this.v0l = 0 | m[0], this.v0h = 0 | m[1], this.v1l = 0 | m[2], this.v1h = 0 | m[3], this.v2l = 0 | m[4], this.v2h = 0 | m[5], this.v3l = 0 | m[6], this.v3h = 0 | m[7], this.v4l = 0 | m[8], this.v4h = 0 | m[9], this.v5l = 0 | m[10], this.v5h = 0 | m[11], this.v6l = 0 | m[12], this.v6h = 0 | m[13], this.v7l = 0 | m[14], this.v7h = 0 | m[15]; - const l = d.key ? d.key.length : 0; - if (this.v0l ^= this.outputLen | l << 8 | 65536 | 16777216, d.salt) { - const s = (0, i.u32)((0, i.toBytes)(d.salt)); - this.v4l ^= s[0], this.v4h ^= s[1], this.v5l ^= s[2], this.v5h ^= s[3]; - } - if (d.personalization) { - const s = (0, i.u32)((0, i.toBytes)(d.personalization)); - this.v6l ^= s[0], this.v6h ^= s[1], this.v7l ^= s[2], this.v7h ^= s[3]; - } - if (d.key) { - const s = new Uint8Array(this.blockLen); - s.set((0, i.toBytes)(d.key)), this.update(s); + get() { + let { v0l: _, v0h: E, v1l: B, v1h: O, v2l: I, v2h: x, v3l: A, v3h: N, v4l: k, v4h: j, v5l: D, v5h: T, v6l: L, v6h: R, v7l: M, v7h: P } = this; + return [_, E, B, O, I, x, A, N, k, j, D, T, L, R, M, P]; + } + set(_, E, B, O, I, x, A, N, k, j, D, T, L, R, M, P) { + this.v0l = 0 | _, this.v0h = 0 | E, this.v1l = 0 | B, this.v1h = 0 | O, this.v2l = 0 | I, this.v2h = 0 | x, this.v3l = 0 | A, this.v3h = 0 | N, this.v4l = 0 | k, this.v4h = 0 | j, this.v5l = 0 | D, this.v5h = 0 | T, this.v6l = 0 | L, this.v6h = 0 | R, this.v7l = 0 | M, this.v7h = 0 | P; + } + compress(_, E, B) { + this.get().forEach((N, k) => f[k] = N), f.set(a, 16); + let { h: O, l: I } = i.fromBig(BigInt(this.length)); + f[24] = a[8] ^ I, f[25] = a[9] ^ O, B && (f[28] = ~f[28], f[29] = ~f[29]); + let x = 0; + const A = r.BSIGMA; + for (let N = 0; N < 12; N++) C(0, 4, 8, 12, _, E + 2 * A[x++]), w(0, 4, 8, 12, _, E + 2 * A[x++]), C(1, 5, 9, 13, _, E + 2 * A[x++]), w(1, 5, 9, 13, _, E + 2 * A[x++]), C(2, 6, 10, 14, _, E + 2 * A[x++]), w(2, 6, 10, 14, _, E + 2 * A[x++]), C(3, 7, 11, 15, _, E + 2 * A[x++]), w(3, 7, 11, 15, _, E + 2 * A[x++]), C(0, 5, 10, 15, _, E + 2 * A[x++]), w(0, 5, 10, 15, _, E + 2 * A[x++]), C(1, 6, 11, 12, _, E + 2 * A[x++]), w(1, 6, 11, 12, _, E + 2 * A[x++]), C(2, 7, 8, 13, _, E + 2 * A[x++]), w(2, 7, 8, 13, _, E + 2 * A[x++]), C(3, 4, 9, 14, _, E + 2 * A[x++]), w(3, 4, 9, 14, _, E + 2 * A[x++]); + this.v0l ^= f[0] ^ f[16], this.v0h ^= f[1] ^ f[17], this.v1l ^= f[2] ^ f[18], this.v1h ^= f[3] ^ f[19], this.v2l ^= f[4] ^ f[20], this.v2h ^= f[5] ^ f[21], this.v3l ^= f[6] ^ f[22], this.v3h ^= f[7] ^ f[23], this.v4l ^= f[8] ^ f[24], this.v4h ^= f[9] ^ f[25], this.v5l ^= f[10] ^ f[26], this.v5h ^= f[11] ^ f[27], this.v6l ^= f[12] ^ f[28], this.v6h ^= f[13] ^ f[29], this.v7l ^= f[14] ^ f[30], this.v7h ^= f[15] ^ f[31], (0, p.clean)(f); + } + destroy() { + this.destroyed = !0, (0, p.clean)(this.buffer32), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + } + } + function u(b, _, E, B, O, I, x, A, N, k, j, D, T, L, R, M, P, H, K, V) { + let U = 0; + for (let F = 0; F < B; F++) ({ a: O, b: N, c: T, d: P } = (0, r.G1s)(O, N, T, P, E[_ + b[U++]])), { a: O, b: N, c: T, d: P } = (0, r.G2s)(O, N, T, P, E[_ + b[U++]]), { a: I, b: k, c: L, d: H } = (0, r.G1s)(I, k, L, H, E[_ + b[U++]]), { a: I, b: k, c: L, d: H } = (0, r.G2s)(I, k, L, H, E[_ + b[U++]]), { a: x, b: j, c: R, d: K } = (0, r.G1s)(x, j, R, K, E[_ + b[U++]]), { a: x, b: j, c: R, d: K } = (0, r.G2s)(x, j, R, K, E[_ + b[U++]]), { a: A, b: D, c: M, d: V } = (0, r.G1s)(A, D, M, V, E[_ + b[U++]]), { a: A, b: D, c: M, d: V } = (0, r.G2s)(A, D, M, V, E[_ + b[U++]]), { a: O, b: k, c: R, d: V } = (0, r.G1s)(O, k, R, V, E[_ + b[U++]]), { a: O, b: k, c: R, d: V } = (0, r.G2s)(O, k, R, V, E[_ + b[U++]]), { a: I, b: j, c: M, d: P } = (0, r.G1s)(I, j, M, P, E[_ + b[U++]]), { a: I, b: j, c: M, d: P } = (0, r.G2s)(I, j, M, P, E[_ + b[U++]]), { a: x, b: D, c: T, d: H } = (0, r.G1s)(x, D, T, H, E[_ + b[U++]]), { a: x, b: D, c: T, d: H } = (0, r.G2s)(x, D, T, H, E[_ + b[U++]]), { a: A, b: N, c: L, d: K } = (0, r.G1s)(A, N, L, K, E[_ + b[U++]]), { a: A, b: N, c: L, d: K } = (0, r.G2s)(A, N, L, K, E[_ + b[U++]]); + return { v0: O, v1: I, v2: x, v3: A, v4: N, v5: k, v6: j, v7: D, v8: T, v9: L, v10: R, v11: M, v12: P, v13: H, v14: K, v15: V }; + } + n.BLAKE2b = l, n.blake2b = (0, p.createOptHasher)((b) => new l(b)); + const y = o.SHA256_IV; + class d extends v { + constructor(_ = {}) { + const E = _.dkLen === void 0 ? 32 : _.dkLen; + super(64, E), this.v0 = 0 | y[0], this.v1 = 0 | y[1], this.v2 = 0 | y[2], this.v3 = 0 | y[3], this.v4 = 0 | y[4], this.v5 = 0 | y[5], this.v6 = 0 | y[6], this.v7 = 0 | y[7], m(E, _, 32, 8, 8); + let { key: B, personalization: O, salt: I } = _, x = 0; + if (B !== void 0 && (B = (0, p.toBytes)(B), x = B.length), this.v0 ^= this.outputLen | x << 8 | 65536 | 16777216, I !== void 0) { + I = (0, p.toBytes)(I); + const A = (0, p.u32)(I); + this.v4 ^= (0, p.swap8IfBE)(A[0]), this.v5 ^= (0, p.swap8IfBE)(A[1]); + } + if (O !== void 0) { + O = (0, p.toBytes)(O); + const A = (0, p.u32)(O); + this.v6 ^= (0, p.swap8IfBE)(A[0]), this.v7 ^= (0, p.swap8IfBE)(A[1]); + } + if (B !== void 0) { + (0, p.abytes)(B); + const A = new Uint8Array(this.blockLen); + A.set(B), this.update(A); } } get() { - let { v0l: d, v0h: l, v1l: s, v1h: v, v2l: p, v2h: h, v3l: O, v3h: I, v4l: k, v4h: R, v5l: L, v5h: N, v6l: B, v6h: H, v7l: U, v7h: S } = this; - return [d, l, s, v, p, h, O, I, k, R, L, N, B, H, U, S]; + const { v0: _, v1: E, v2: B, v3: O, v4: I, v5: x, v6: A, v7: N } = this; + return [_, E, B, O, I, x, A, N]; } - set(d, l, s, v, p, h, O, I, k, R, L, N, B, H, U, S) { - this.v0l = 0 | d, this.v0h = 0 | l, this.v1l = 0 | s, this.v1h = 0 | v, this.v2l = 0 | p, this.v2h = 0 | h, this.v3l = 0 | O, this.v3h = 0 | I, this.v4l = 0 | k, this.v4h = 0 | R, this.v5l = 0 | L, this.v5h = 0 | N, this.v6l = 0 | B, this.v6h = 0 | H, this.v7l = 0 | U, this.v7h = 0 | S; + set(_, E, B, O, I, x, A, N) { + this.v0 = 0 | _, this.v1 = 0 | E, this.v2 = 0 | B, this.v3 = 0 | O, this.v4 = 0 | I, this.v5 = 0 | x, this.v6 = 0 | A, this.v7 = 0 | N; } - compress(d, l, s) { - this.get().forEach((I, k) => t[k] = I), t.set(m, 16); - let { h: v, l: p } = a.default.fromBig(BigInt(this.length)); - t[24] = m[8] ^ p, t[25] = m[9] ^ v, s && (t[28] = ~t[28], t[29] = ~t[29]); - let h = 0; - const O = r.SIGMA; - for (let I = 0; I < 12; I++) f(0, 4, 8, 12, d, l + 2 * O[h++]), b(0, 4, 8, 12, d, l + 2 * O[h++]), f(1, 5, 9, 13, d, l + 2 * O[h++]), b(1, 5, 9, 13, d, l + 2 * O[h++]), f(2, 6, 10, 14, d, l + 2 * O[h++]), b(2, 6, 10, 14, d, l + 2 * O[h++]), f(3, 7, 11, 15, d, l + 2 * O[h++]), b(3, 7, 11, 15, d, l + 2 * O[h++]), f(0, 5, 10, 15, d, l + 2 * O[h++]), b(0, 5, 10, 15, d, l + 2 * O[h++]), f(1, 6, 11, 12, d, l + 2 * O[h++]), b(1, 6, 11, 12, d, l + 2 * O[h++]), f(2, 7, 8, 13, d, l + 2 * O[h++]), b(2, 7, 8, 13, d, l + 2 * O[h++]), f(3, 4, 9, 14, d, l + 2 * O[h++]), b(3, 4, 9, 14, d, l + 2 * O[h++]); - this.v0l ^= t[0] ^ t[16], this.v0h ^= t[1] ^ t[17], this.v1l ^= t[2] ^ t[18], this.v1h ^= t[3] ^ t[19], this.v2l ^= t[4] ^ t[20], this.v2h ^= t[5] ^ t[21], this.v3l ^= t[6] ^ t[22], this.v3h ^= t[7] ^ t[23], this.v4l ^= t[8] ^ t[24], this.v4h ^= t[9] ^ t[25], this.v5l ^= t[10] ^ t[26], this.v5h ^= t[11] ^ t[27], this.v6l ^= t[12] ^ t[28], this.v6h ^= t[13] ^ t[29], this.v7l ^= t[14] ^ t[30], this.v7h ^= t[15] ^ t[31], t.fill(0); + compress(_, E, B) { + const { h: O, l: I } = i.fromBig(BigInt(this.length)), { v0: x, v1: A, v2: N, v3: k, v4: j, v5: D, v6: T, v7: L, v8: R, v9: M, v10: P, v11: H, v12: K, v13: V, v14: U, v15: F } = u(r.BSIGMA, E, _, 10, this.v0, this.v1, this.v2, this.v3, this.v4, this.v5, this.v6, this.v7, y[0], y[1], y[2], y[3], I ^ y[4], O ^ y[5], B ? ~y[6] : y[6], y[7]); + this.v0 ^= x ^ R, this.v1 ^= A ^ M, this.v2 ^= N ^ P, this.v3 ^= k ^ H, this.v4 ^= j ^ K, this.v5 ^= D ^ V, this.v6 ^= T ^ U, this.v7 ^= L ^ F; } destroy() { - this.destroyed = !0, this.buffer32.fill(0), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + this.destroyed = !0, (0, p.clean)(this.buffer32), this.set(0, 0, 0, 0, 0, 0, 0, 0); } } - n.blake2b = (0, i.wrapConstructorWithOpts)((u) => new y(u)); - }, 5145: (x, n) => { + n.BLAKE2s = d, n.blake2s = (0, p.createOptHasher)((b) => new d(b)); + }, 6719(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.blake2b = n.BLAKE2b = void 0; + const r = s(1453); + n.BLAKE2b = r.BLAKE2b, n.blake2b = r.blake2b; + }, 5145(g, n) { Object.defineProperty(n, "__esModule", { value: !0 }), n.crypto = void 0, n.crypto = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0; - }, 9615: (x, n, c) => { + }, 9615(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.hmac = n.HMAC = void 0; - const r = c(7557), a = c(9175); - class i extends a.Hash { - constructor(t, f) { - super(), this.finished = !1, this.destroyed = !1, r.default.hash(t); - const b = (0, a.toBytes)(f); - if (this.iHash = t.create(), typeof this.iHash.update != "function") throw new Error("Expected instance of class which extends utils.Hash"); + const r = s(9175); + class o extends r.Hash { + constructor(p, a) { + super(), this.finished = !1, this.destroyed = !1, (0, r.ahash)(p); + const f = (0, r.toBytes)(a); + if (this.iHash = p.create(), typeof this.iHash.update != "function") throw new Error("Expected instance of class which extends utils.Hash"); this.blockLen = this.iHash.blockLen, this.outputLen = this.iHash.outputLen; - const y = this.blockLen, u = new Uint8Array(y); - u.set(b.length > y ? t.create().update(b).digest() : b); - for (let d = 0; d < u.length; d++) u[d] ^= 54; - this.iHash.update(u), this.oHash = t.create(); - for (let d = 0; d < u.length; d++) u[d] ^= 106; - this.oHash.update(u), u.fill(0); + const C = this.blockLen, w = new Uint8Array(C); + w.set(f.length > C ? p.create().update(f).digest() : f); + for (let m = 0; m < w.length; m++) w[m] ^= 54; + this.iHash.update(w), this.oHash = p.create(); + for (let m = 0; m < w.length; m++) w[m] ^= 106; + this.oHash.update(w), (0, r.clean)(w); } - update(t) { - return r.default.exists(this), this.iHash.update(t), this; + update(p) { + return (0, r.aexists)(this), this.iHash.update(p), this; } - digestInto(t) { - r.default.exists(this), r.default.bytes(t, this.outputLen), this.finished = !0, this.iHash.digestInto(t), this.oHash.update(t), this.oHash.digestInto(t), this.destroy(); + digestInto(p) { + (0, r.aexists)(this), (0, r.abytes)(p, this.outputLen), this.finished = !0, this.iHash.digestInto(p), this.oHash.update(p), this.oHash.digestInto(p), this.destroy(); } digest() { - const t = new Uint8Array(this.oHash.outputLen); - return this.digestInto(t), t; + const p = new Uint8Array(this.oHash.outputLen); + return this.digestInto(p), p; } - _cloneInto(t) { - t || (t = Object.create(Object.getPrototypeOf(this), {})); - const { oHash: f, iHash: b, finished: y, destroyed: u, blockLen: d, outputLen: l } = this; - return t.finished = y, t.destroyed = u, t.blockLen = d, t.outputLen = l, t.oHash = f._cloneInto(t.oHash), t.iHash = b._cloneInto(t.iHash), t; + _cloneInto(p) { + p || (p = Object.create(Object.getPrototypeOf(this), {})); + const { oHash: a, iHash: f, finished: C, destroyed: w, blockLen: m, outputLen: v } = this; + return p.finished = C, p.destroyed = w, p.blockLen = m, p.outputLen = v, p.oHash = a._cloneInto(p.oHash), p.iHash = f._cloneInto(p.iHash), p; + } + clone() { + return this._cloneInto(); } destroy() { this.destroyed = !0, this.oHash.destroy(), this.iHash.destroy(); } } - n.HMAC = i, n.hmac = (m, t, f) => new i(m, t).update(f).digest(), n.hmac.create = (m, t) => new i(m, t); - }, 2623: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.sha224 = n.sha256 = void 0; - const r = c(915), a = c(9175), i = (u, d, l) => u & d ^ u & l ^ d & l, m = new Uint32Array([1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]), t = new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]), f = new Uint32Array(64); - class b extends r.SHA2 { - constructor() { - super(64, 32, 8, !1), this.A = 0 | t[0], this.B = 0 | t[1], this.C = 0 | t[2], this.D = 0 | t[3], this.E = 0 | t[4], this.F = 0 | t[5], this.G = 0 | t[6], this.H = 0 | t[7]; + n.HMAC = o, n.hmac = (i, p, a) => new o(i, p).update(a).digest(), n.hmac.create = (i, p) => new o(i, p); + }, 7076(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.sha512_224 = n.sha512_256 = n.sha384 = n.sha512 = n.sha224 = n.sha256 = n.SHA512_256 = n.SHA512_224 = n.SHA384 = n.SHA512 = n.SHA224 = n.SHA256 = void 0; + const r = s(7202), o = s(2318), i = s(9175), p = Uint32Array.from([1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]), a = new Uint32Array(64); + class f extends r.HashMD { + constructor(I = 32) { + super(64, I, 8, !1), this.A = 0 | r.SHA256_IV[0], this.B = 0 | r.SHA256_IV[1], this.C = 0 | r.SHA256_IV[2], this.D = 0 | r.SHA256_IV[3], this.E = 0 | r.SHA256_IV[4], this.F = 0 | r.SHA256_IV[5], this.G = 0 | r.SHA256_IV[6], this.H = 0 | r.SHA256_IV[7]; } get() { - const { A: d, B: l, C: s, D: v, E: p, F: h, G: O, H: I } = this; - return [d, l, s, v, p, h, O, I]; + const { A: I, B: x, C: A, D: N, E: k, F: j, G: D, H: T } = this; + return [I, x, A, N, k, j, D, T]; } - set(d, l, s, v, p, h, O, I) { - this.A = 0 | d, this.B = 0 | l, this.C = 0 | s, this.D = 0 | v, this.E = 0 | p, this.F = 0 | h, this.G = 0 | O, this.H = 0 | I; + set(I, x, A, N, k, j, D, T) { + this.A = 0 | I, this.B = 0 | x, this.C = 0 | A, this.D = 0 | N, this.E = 0 | k, this.F = 0 | j, this.G = 0 | D, this.H = 0 | T; } - process(d, l) { - for (let N = 0; N < 16; N++, l += 4) f[N] = d.getUint32(l, !1); - for (let N = 16; N < 64; N++) { - const B = f[N - 15], H = f[N - 2], U = (0, a.rotr)(B, 7) ^ (0, a.rotr)(B, 18) ^ B >>> 3, S = (0, a.rotr)(H, 17) ^ (0, a.rotr)(H, 19) ^ H >>> 10; - f[N] = S + f[N - 7] + U + f[N - 16] | 0; + process(I, x) { + for (let M = 0; M < 16; M++, x += 4) a[M] = I.getUint32(x, !1); + for (let M = 16; M < 64; M++) { + const P = a[M - 15], H = a[M - 2], K = (0, i.rotr)(P, 7) ^ (0, i.rotr)(P, 18) ^ P >>> 3, V = (0, i.rotr)(H, 17) ^ (0, i.rotr)(H, 19) ^ H >>> 10; + a[M] = V + a[M - 7] + K + a[M - 16] | 0; } - let { A: s, B: v, C: p, D: h, E: O, F: I, G: k, H: R } = this; - for (let N = 0; N < 64; N++) { - const B = R + ((0, a.rotr)(O, 6) ^ (0, a.rotr)(O, 11) ^ (0, a.rotr)(O, 25)) + ((L = O) & I ^ ~L & k) + m[N] + f[N] | 0, H = ((0, a.rotr)(s, 2) ^ (0, a.rotr)(s, 13) ^ (0, a.rotr)(s, 22)) + i(s, v, p) | 0; - R = k, k = I, I = O, O = h + B | 0, h = p, p = v, v = s, s = B + H | 0; + let { A, B: N, C: k, D: j, E: D, F: T, G: L, H: R } = this; + for (let M = 0; M < 64; M++) { + const P = R + ((0, i.rotr)(D, 6) ^ (0, i.rotr)(D, 11) ^ (0, i.rotr)(D, 25)) + (0, r.Chi)(D, T, L) + p[M] + a[M] | 0, H = ((0, i.rotr)(A, 2) ^ (0, i.rotr)(A, 13) ^ (0, i.rotr)(A, 22)) + (0, r.Maj)(A, N, k) | 0; + R = L, L = T, T = D, D = j + P | 0, j = k, k = N, N = A, A = P + H | 0; } - var L; - s = s + this.A | 0, v = v + this.B | 0, p = p + this.C | 0, h = h + this.D | 0, O = O + this.E | 0, I = I + this.F | 0, k = k + this.G | 0, R = R + this.H | 0, this.set(s, v, p, h, O, I, k, R); + A = A + this.A | 0, N = N + this.B | 0, k = k + this.C | 0, j = j + this.D | 0, D = D + this.E | 0, T = T + this.F | 0, L = L + this.G | 0, R = R + this.H | 0, this.set(A, N, k, j, D, T, L, R); } roundClean() { - f.fill(0); + (0, i.clean)(a); } destroy() { - this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0); + this.set(0, 0, 0, 0, 0, 0, 0, 0), (0, i.clean)(this.buffer); } } - class y extends b { + n.SHA256 = f; + class C extends f { constructor() { - super(), this.A = -1056596264, this.B = 914150663, this.C = 812702999, this.D = -150054599, this.E = -4191439, this.F = 1750603025, this.G = 1694076839, this.H = -1090891868, this.outputLen = 28; + super(28), this.A = 0 | r.SHA224_IV[0], this.B = 0 | r.SHA224_IV[1], this.C = 0 | r.SHA224_IV[2], this.D = 0 | r.SHA224_IV[3], this.E = 0 | r.SHA224_IV[4], this.F = 0 | r.SHA224_IV[5], this.G = 0 | r.SHA224_IV[6], this.H = 0 | r.SHA224_IV[7]; } } - n.sha256 = (0, a.wrapConstructor)(() => new b()), n.sha224 = (0, a.wrapConstructor)(() => new y()); - }, 102: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.sha384 = n.sha512_256 = n.sha512_224 = n.sha512 = n.SHA512 = void 0; - const r = c(915), a = c(2318), i = c(9175), [m, t] = a.default.split(["0x428a2f98d728ae22", "0x7137449123ef65cd", "0xb5c0fbcfec4d3b2f", "0xe9b5dba58189dbbc", "0x3956c25bf348b538", "0x59f111f1b605d019", "0x923f82a4af194f9b", "0xab1c5ed5da6d8118", "0xd807aa98a3030242", "0x12835b0145706fbe", "0x243185be4ee4b28c", "0x550c7dc3d5ffb4e2", "0x72be5d74f27b896f", "0x80deb1fe3b1696b1", "0x9bdc06a725c71235", "0xc19bf174cf692694", "0xe49b69c19ef14ad2", "0xefbe4786384f25e3", "0x0fc19dc68b8cd5b5", "0x240ca1cc77ac9c65", "0x2de92c6f592b0275", "0x4a7484aa6ea6e483", "0x5cb0a9dcbd41fbd4", "0x76f988da831153b5", "0x983e5152ee66dfab", "0xa831c66d2db43210", "0xb00327c898fb213f", "0xbf597fc7beef0ee4", "0xc6e00bf33da88fc2", "0xd5a79147930aa725", "0x06ca6351e003826f", "0x142929670a0e6e70", "0x27b70a8546d22ffc", "0x2e1b21385c26c926", "0x4d2c6dfc5ac42aed", "0x53380d139d95b3df", "0x650a73548baf63de", "0x766a0abb3c77b2a8", "0x81c2c92e47edaee6", "0x92722c851482353b", "0xa2bfe8a14cf10364", "0xa81a664bbc423001", "0xc24b8b70d0f89791", "0xc76c51a30654be30", "0xd192e819d6ef5218", "0xd69906245565a910", "0xf40e35855771202a", "0x106aa07032bbd1b8", "0x19a4c116b8d2d0c8", "0x1e376c085141ab53", "0x2748774cdf8eeb99", "0x34b0bcb5e19b48a8", "0x391c0cb3c5c95a63", "0x4ed8aa4ae3418acb", "0x5b9cca4f7763e373", "0x682e6ff3d6b2b8a3", "0x748f82ee5defb2fc", "0x78a5636f43172f60", "0x84c87814a1f0ab72", "0x8cc702081a6439ec", "0x90befffa23631e28", "0xa4506cebde82bde9", "0xbef9a3f7b2c67915", "0xc67178f2e372532b", "0xca273eceea26619c", "0xd186b8c721c0c207", "0xeada7dd6cde0eb1e", "0xf57d4f7fee6ed178", "0x06f067aa72176fba", "0x0a637dc5a2c898a6", "0x113f9804bef90dae", "0x1b710b35131c471b", "0x28db77f523047d84", "0x32caab7b40c72493", "0x3c9ebe0a15c9bebc", "0x431d67c49c100d4c", "0x4cc5d4becb3e42b6", "0x597f299cfc657e2a", "0x5fcb6fab3ad6faec", "0x6c44198c4a475817"].map((s) => BigInt(s))), f = new Uint32Array(80), b = new Uint32Array(80); - class y extends r.SHA2 { - constructor() { - super(128, 64, 16, !1), this.Ah = 1779033703, this.Al = -205731576, this.Bh = -1150833019, this.Bl = -2067093701, this.Ch = 1013904242, this.Cl = -23791573, this.Dh = -1521486534, this.Dl = 1595750129, this.Eh = 1359893119, this.El = -1377402159, this.Fh = -1694144372, this.Fl = 725511199, this.Gh = 528734635, this.Gl = -79577749, this.Hh = 1541459225, this.Hl = 327033209; + n.SHA224 = C; + const w = o.split(["0x428a2f98d728ae22", "0x7137449123ef65cd", "0xb5c0fbcfec4d3b2f", "0xe9b5dba58189dbbc", "0x3956c25bf348b538", "0x59f111f1b605d019", "0x923f82a4af194f9b", "0xab1c5ed5da6d8118", "0xd807aa98a3030242", "0x12835b0145706fbe", "0x243185be4ee4b28c", "0x550c7dc3d5ffb4e2", "0x72be5d74f27b896f", "0x80deb1fe3b1696b1", "0x9bdc06a725c71235", "0xc19bf174cf692694", "0xe49b69c19ef14ad2", "0xefbe4786384f25e3", "0x0fc19dc68b8cd5b5", "0x240ca1cc77ac9c65", "0x2de92c6f592b0275", "0x4a7484aa6ea6e483", "0x5cb0a9dcbd41fbd4", "0x76f988da831153b5", "0x983e5152ee66dfab", "0xa831c66d2db43210", "0xb00327c898fb213f", "0xbf597fc7beef0ee4", "0xc6e00bf33da88fc2", "0xd5a79147930aa725", "0x06ca6351e003826f", "0x142929670a0e6e70", "0x27b70a8546d22ffc", "0x2e1b21385c26c926", "0x4d2c6dfc5ac42aed", "0x53380d139d95b3df", "0x650a73548baf63de", "0x766a0abb3c77b2a8", "0x81c2c92e47edaee6", "0x92722c851482353b", "0xa2bfe8a14cf10364", "0xa81a664bbc423001", "0xc24b8b70d0f89791", "0xc76c51a30654be30", "0xd192e819d6ef5218", "0xd69906245565a910", "0xf40e35855771202a", "0x106aa07032bbd1b8", "0x19a4c116b8d2d0c8", "0x1e376c085141ab53", "0x2748774cdf8eeb99", "0x34b0bcb5e19b48a8", "0x391c0cb3c5c95a63", "0x4ed8aa4ae3418acb", "0x5b9cca4f7763e373", "0x682e6ff3d6b2b8a3", "0x748f82ee5defb2fc", "0x78a5636f43172f60", "0x84c87814a1f0ab72", "0x8cc702081a6439ec", "0x90befffa23631e28", "0xa4506cebde82bde9", "0xbef9a3f7b2c67915", "0xc67178f2e372532b", "0xca273eceea26619c", "0xd186b8c721c0c207", "0xeada7dd6cde0eb1e", "0xf57d4f7fee6ed178", "0x06f067aa72176fba", "0x0a637dc5a2c898a6", "0x113f9804bef90dae", "0x1b710b35131c471b", "0x28db77f523047d84", "0x32caab7b40c72493", "0x3c9ebe0a15c9bebc", "0x431d67c49c100d4c", "0x4cc5d4becb3e42b6", "0x597f299cfc657e2a", "0x5fcb6fab3ad6faec", "0x6c44198c4a475817"].map((O) => BigInt(O))), m = w[0], v = w[1], l = new Uint32Array(80), u = new Uint32Array(80); + class y extends r.HashMD { + constructor(I = 64) { + super(128, I, 16, !1), this.Ah = 0 | r.SHA512_IV[0], this.Al = 0 | r.SHA512_IV[1], this.Bh = 0 | r.SHA512_IV[2], this.Bl = 0 | r.SHA512_IV[3], this.Ch = 0 | r.SHA512_IV[4], this.Cl = 0 | r.SHA512_IV[5], this.Dh = 0 | r.SHA512_IV[6], this.Dl = 0 | r.SHA512_IV[7], this.Eh = 0 | r.SHA512_IV[8], this.El = 0 | r.SHA512_IV[9], this.Fh = 0 | r.SHA512_IV[10], this.Fl = 0 | r.SHA512_IV[11], this.Gh = 0 | r.SHA512_IV[12], this.Gl = 0 | r.SHA512_IV[13], this.Hh = 0 | r.SHA512_IV[14], this.Hl = 0 | r.SHA512_IV[15]; } get() { - const { Ah: v, Al: p, Bh: h, Bl: O, Ch: I, Cl: k, Dh: R, Dl: L, Eh: N, El: B, Fh: H, Fl: U, Gh: S, Gl: T, Hh: E, Hl: M } = this; - return [v, p, h, O, I, k, R, L, N, B, H, U, S, T, E, M]; + const { Ah: I, Al: x, Bh: A, Bl: N, Ch: k, Cl: j, Dh: D, Dl: T, Eh: L, El: R, Fh: M, Fl: P, Gh: H, Gl: K, Hh: V, Hl: U } = this; + return [I, x, A, N, k, j, D, T, L, R, M, P, H, K, V, U]; } - set(v, p, h, O, I, k, R, L, N, B, H, U, S, T, E, M) { - this.Ah = 0 | v, this.Al = 0 | p, this.Bh = 0 | h, this.Bl = 0 | O, this.Ch = 0 | I, this.Cl = 0 | k, this.Dh = 0 | R, this.Dl = 0 | L, this.Eh = 0 | N, this.El = 0 | B, this.Fh = 0 | H, this.Fl = 0 | U, this.Gh = 0 | S, this.Gl = 0 | T, this.Hh = 0 | E, this.Hl = 0 | M; + set(I, x, A, N, k, j, D, T, L, R, M, P, H, K, V, U) { + this.Ah = 0 | I, this.Al = 0 | x, this.Bh = 0 | A, this.Bl = 0 | N, this.Ch = 0 | k, this.Cl = 0 | j, this.Dh = 0 | D, this.Dl = 0 | T, this.Eh = 0 | L, this.El = 0 | R, this.Fh = 0 | M, this.Fl = 0 | P, this.Gh = 0 | H, this.Gl = 0 | K, this.Hh = 0 | V, this.Hl = 0 | U; } - process(v, p) { - for (let A = 0; A < 16; A++, p += 4) f[A] = v.getUint32(p), b[A] = v.getUint32(p += 4); - for (let A = 16; A < 80; A++) { - const j = 0 | f[A - 15], V = 0 | b[A - 15], D = a.default.rotrSH(j, V, 1) ^ a.default.rotrSH(j, V, 8) ^ a.default.shrSH(j, V, 7), z = a.default.rotrSL(j, V, 1) ^ a.default.rotrSL(j, V, 8) ^ a.default.shrSL(j, V, 7), J = 0 | f[A - 2], G = 0 | b[A - 2], Q = a.default.rotrSH(J, G, 19) ^ a.default.rotrBH(J, G, 61) ^ a.default.shrSH(J, G, 6), ee = a.default.rotrSL(J, G, 19) ^ a.default.rotrBL(J, G, 61) ^ a.default.shrSL(J, G, 6), Z = a.default.add4L(z, ee, b[A - 7], b[A - 16]), q = a.default.add4H(Z, D, Q, f[A - 7], f[A - 16]); - f[A] = 0 | q, b[A] = 0 | Z; + process(I, x) { + for (let ne = 0; ne < 16; ne++, x += 4) l[ne] = I.getUint32(x), u[ne] = I.getUint32(x += 4); + for (let ne = 16; ne < 80; ne++) { + const te = 0 | l[ne - 15], X = 0 | u[ne - 15], Z = o.rotrSH(te, X, 1) ^ o.rotrSH(te, X, 8) ^ o.shrSH(te, X, 7), fe = o.rotrSL(te, X, 1) ^ o.rotrSL(te, X, 8) ^ o.shrSL(te, X, 7), le = 0 | l[ne - 2], Se = 0 | u[ne - 2], de = o.rotrSH(le, Se, 19) ^ o.rotrBH(le, Se, 61) ^ o.shrSH(le, Se, 6), me = o.rotrSL(le, Se, 19) ^ o.rotrBL(le, Se, 61) ^ o.shrSL(le, Se, 6), Oe = o.add4L(fe, me, u[ne - 7], u[ne - 16]), Ce = o.add4H(Oe, Z, de, l[ne - 7], l[ne - 16]); + l[ne] = 0 | Ce, u[ne] = 0 | Oe; } - let { Ah: h, Al: O, Bh: I, Bl: k, Ch: R, Cl: L, Dh: N, Dl: B, Eh: H, El: U, Fh: S, Fl: T, Gh: E, Gl: M, Hh: _, Hl: w } = this; - for (let A = 0; A < 80; A++) { - const j = a.default.rotrSH(H, U, 14) ^ a.default.rotrSH(H, U, 18) ^ a.default.rotrBH(H, U, 41), V = a.default.rotrSL(H, U, 14) ^ a.default.rotrSL(H, U, 18) ^ a.default.rotrBL(H, U, 41), D = H & S ^ ~H & E, z = U & T ^ ~U & M, J = a.default.add5L(w, V, z, t[A], b[A]), G = a.default.add5H(J, _, j, D, m[A], f[A]), Q = 0 | J, ee = a.default.rotrSH(h, O, 28) ^ a.default.rotrBH(h, O, 34) ^ a.default.rotrBH(h, O, 39), Z = a.default.rotrSL(h, O, 28) ^ a.default.rotrBL(h, O, 34) ^ a.default.rotrBL(h, O, 39), q = h & I ^ h & R ^ I & R, se = O & k ^ O & L ^ k & L; - _ = 0 | E, w = 0 | M, E = 0 | S, M = 0 | T, S = 0 | H, T = 0 | U, { h: H, l: U } = a.default.add(0 | N, 0 | B, 0 | G, 0 | Q), N = 0 | R, B = 0 | L, R = 0 | I, L = 0 | k, I = 0 | h, k = 0 | O; - const ue = a.default.add3L(Q, Z, se); - h = a.default.add3H(ue, G, ee, q), O = 0 | ue; + let { Ah: A, Al: N, Bh: k, Bl: j, Ch: D, Cl: T, Dh: L, Dl: R, Eh: M, El: P, Fh: H, Fl: K, Gh: V, Gl: U, Hh: F, Hl: Q } = this; + for (let ne = 0; ne < 80; ne++) { + const te = o.rotrSH(M, P, 14) ^ o.rotrSH(M, P, 18) ^ o.rotrBH(M, P, 41), X = o.rotrSL(M, P, 14) ^ o.rotrSL(M, P, 18) ^ o.rotrBL(M, P, 41), Z = M & H ^ ~M & V, fe = P & K ^ ~P & U, le = o.add5L(Q, X, fe, v[ne], u[ne]), Se = o.add5H(le, F, te, Z, m[ne], l[ne]), de = 0 | le, me = o.rotrSH(A, N, 28) ^ o.rotrBH(A, N, 34) ^ o.rotrBH(A, N, 39), Oe = o.rotrSL(A, N, 28) ^ o.rotrBL(A, N, 34) ^ o.rotrBL(A, N, 39), Ce = A & k ^ A & D ^ k & D, G = N & j ^ N & T ^ j & T; + F = 0 | V, Q = 0 | U, V = 0 | H, U = 0 | K, H = 0 | M, K = 0 | P, { h: M, l: P } = o.add(0 | L, 0 | R, 0 | Se, 0 | de), L = 0 | D, R = 0 | T, D = 0 | k, T = 0 | j, k = 0 | A, j = 0 | N; + const ie = o.add3L(de, Oe, G); + A = o.add3H(ie, Se, me, Ce), N = 0 | ie; } - ({ h, l: O } = a.default.add(0 | this.Ah, 0 | this.Al, 0 | h, 0 | O)), { h: I, l: k } = a.default.add(0 | this.Bh, 0 | this.Bl, 0 | I, 0 | k), { h: R, l: L } = a.default.add(0 | this.Ch, 0 | this.Cl, 0 | R, 0 | L), { h: N, l: B } = a.default.add(0 | this.Dh, 0 | this.Dl, 0 | N, 0 | B), { h: H, l: U } = a.default.add(0 | this.Eh, 0 | this.El, 0 | H, 0 | U), { h: S, l: T } = a.default.add(0 | this.Fh, 0 | this.Fl, 0 | S, 0 | T), { h: E, l: M } = a.default.add(0 | this.Gh, 0 | this.Gl, 0 | E, 0 | M), { h: _, l: w } = a.default.add(0 | this.Hh, 0 | this.Hl, 0 | _, 0 | w), this.set(h, O, I, k, R, L, N, B, H, U, S, T, E, M, _, w); + ({ h: A, l: N } = o.add(0 | this.Ah, 0 | this.Al, 0 | A, 0 | N)), { h: k, l: j } = o.add(0 | this.Bh, 0 | this.Bl, 0 | k, 0 | j), { h: D, l: T } = o.add(0 | this.Ch, 0 | this.Cl, 0 | D, 0 | T), { h: L, l: R } = o.add(0 | this.Dh, 0 | this.Dl, 0 | L, 0 | R), { h: M, l: P } = o.add(0 | this.Eh, 0 | this.El, 0 | M, 0 | P), { h: H, l: K } = o.add(0 | this.Fh, 0 | this.Fl, 0 | H, 0 | K), { h: V, l: U } = o.add(0 | this.Gh, 0 | this.Gl, 0 | V, 0 | U), { h: F, l: Q } = o.add(0 | this.Hh, 0 | this.Hl, 0 | F, 0 | Q), this.set(A, N, k, j, D, T, L, R, M, P, H, K, V, U, F, Q); } roundClean() { - f.fill(0), b.fill(0); + (0, i.clean)(l, u); } destroy() { - this.buffer.fill(0), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + (0, i.clean)(this.buffer), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); } } n.SHA512 = y; - class u extends y { + class d extends y { constructor() { - super(), this.Ah = -1942145080, this.Al = 424955298, this.Bh = 1944164710, this.Bl = -1982016298, this.Ch = 502970286, this.Cl = 855612546, this.Dh = 1738396948, this.Dl = 1479516111, this.Eh = 258812777, this.El = 2077511080, this.Fh = 2011393907, this.Fl = 79989058, this.Gh = 1067287976, this.Gl = 1780299464, this.Hh = 286451373, this.Hl = -1848208735, this.outputLen = 28; + super(48), this.Ah = 0 | r.SHA384_IV[0], this.Al = 0 | r.SHA384_IV[1], this.Bh = 0 | r.SHA384_IV[2], this.Bl = 0 | r.SHA384_IV[3], this.Ch = 0 | r.SHA384_IV[4], this.Cl = 0 | r.SHA384_IV[5], this.Dh = 0 | r.SHA384_IV[6], this.Dl = 0 | r.SHA384_IV[7], this.Eh = 0 | r.SHA384_IV[8], this.El = 0 | r.SHA384_IV[9], this.Fh = 0 | r.SHA384_IV[10], this.Fl = 0 | r.SHA384_IV[11], this.Gh = 0 | r.SHA384_IV[12], this.Gl = 0 | r.SHA384_IV[13], this.Hh = 0 | r.SHA384_IV[14], this.Hl = 0 | r.SHA384_IV[15]; } } - class d extends y { + n.SHA384 = d; + const b = Uint32Array.from([2352822216, 424955298, 1944164710, 2312950998, 502970286, 855612546, 1738396948, 1479516111, 258812777, 2077511080, 2011393907, 79989058, 1067287976, 1780299464, 286451373, 2446758561]), _ = Uint32Array.from([573645204, 4230739756, 2673172387, 3360449730, 596883563, 1867755857, 2520282905, 1497426621, 2519219938, 2827943907, 3193839141, 1401305490, 721525244, 746961066, 246885852, 2177182882]); + class E extends y { constructor() { - super(), this.Ah = 573645204, this.Al = -64227540, this.Bh = -1621794909, this.Bl = -934517566, this.Ch = 596883563, this.Cl = 1867755857, this.Dh = -1774684391, this.Dl = 1497426621, this.Eh = -1775747358, this.El = -1467023389, this.Fh = -1101128155, this.Fl = 1401305490, this.Gh = 721525244, this.Gl = 746961066, this.Hh = 246885852, this.Hl = -2117784414, this.outputLen = 32; + super(28), this.Ah = 0 | b[0], this.Al = 0 | b[1], this.Bh = 0 | b[2], this.Bl = 0 | b[3], this.Ch = 0 | b[4], this.Cl = 0 | b[5], this.Dh = 0 | b[6], this.Dl = 0 | b[7], this.Eh = 0 | b[8], this.El = 0 | b[9], this.Fh = 0 | b[10], this.Fl = 0 | b[11], this.Gh = 0 | b[12], this.Gl = 0 | b[13], this.Hh = 0 | b[14], this.Hl = 0 | b[15]; } } - class l extends y { + n.SHA512_224 = E; + class B extends y { constructor() { - super(), this.Ah = -876896931, this.Al = -1056596264, this.Bh = 1654270250, this.Bl = 914150663, this.Ch = -1856437926, this.Cl = 812702999, this.Dh = 355462360, this.Dl = -150054599, this.Eh = 1731405415, this.El = -4191439, this.Fh = -1900787065, this.Fl = 1750603025, this.Gh = -619958771, this.Gl = 1694076839, this.Hh = 1203062813, this.Hl = -1090891868, this.outputLen = 48; + super(32), this.Ah = 0 | _[0], this.Al = 0 | _[1], this.Bh = 0 | _[2], this.Bl = 0 | _[3], this.Ch = 0 | _[4], this.Cl = 0 | _[5], this.Dh = 0 | _[6], this.Dl = 0 | _[7], this.Eh = 0 | _[8], this.El = 0 | _[9], this.Fh = 0 | _[10], this.Fl = 0 | _[11], this.Gh = 0 | _[12], this.Gl = 0 | _[13], this.Hh = 0 | _[14], this.Hl = 0 | _[15]; + } + } + n.SHA512_256 = B, n.sha256 = (0, i.createHasher)(() => new f()), n.sha224 = (0, i.createHasher)(() => new C()), n.sha512 = (0, i.createHasher)(() => new y()), n.sha384 = (0, i.createHasher)(() => new d()), n.sha512_256 = (0, i.createHasher)(() => new B()), n.sha512_224 = (0, i.createHasher)(() => new E()); + }, 2623(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.sha224 = n.SHA224 = n.sha256 = n.SHA256 = void 0; + const r = s(7076); + n.SHA256 = r.SHA256, n.sha256 = r.sha256, n.SHA224 = r.SHA224, n.sha224 = r.sha224; + }, 102(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.sha512_256 = n.SHA512_256 = n.sha512_224 = n.SHA512_224 = n.sha384 = n.SHA384 = n.sha512 = n.SHA512 = void 0; + const r = s(7076); + n.SHA512 = r.SHA512, n.sha512 = r.sha512, n.SHA384 = r.SHA384, n.sha384 = r.sha384, n.SHA512_224 = r.SHA512_224, n.sha512_224 = r.sha512_224, n.SHA512_256 = r.SHA512_256, n.sha512_256 = r.sha512_256; + }, 9175(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.wrapXOFConstructorWithOpts = n.wrapConstructorWithOpts = n.wrapConstructor = n.Hash = n.nextTick = n.swap32IfBE = n.byteSwapIfBE = n.swap8IfBE = n.isLE = void 0, n.isBytes = o, n.anumber = i, n.abytes = p, n.ahash = function(b) { + if (typeof b != "function" || typeof b.create != "function") throw new Error("Hash should be wrapped by utils.createHasher"); + i(b.outputLen), i(b.blockLen); + }, n.aexists = function(b, _ = !0) { + if (b.destroyed) throw new Error("Hash instance has been destroyed"); + if (_ && b.finished) throw new Error("Hash#digest() has already been called"); + }, n.aoutput = function(b, _) { + p(b); + const E = _.outputLen; + if (b.length < E) throw new Error("digestInto() expects output buffer of length at least " + E); + }, n.u8 = function(b) { + return new Uint8Array(b.buffer, b.byteOffset, b.byteLength); + }, n.u32 = function(b) { + return new Uint32Array(b.buffer, b.byteOffset, Math.floor(b.byteLength / 4)); + }, n.clean = function(...b) { + for (let _ = 0; _ < b.length; _++) b[_].fill(0); + }, n.createView = function(b) { + return new DataView(b.buffer, b.byteOffset, b.byteLength); + }, n.rotr = function(b, _) { + return b << 32 - _ | b >>> _; + }, n.rotl = function(b, _) { + return b << _ | b >>> 32 - _ >>> 0; + }, n.byteSwap = a, n.byteSwap32 = f, n.bytesToHex = function(b) { + if (p(b), C) return b.toHex(); + let _ = ""; + for (let E = 0; E < b.length; E++) _ += w[b[E]]; + return _; + }, n.hexToBytes = function(b) { + if (typeof b != "string") throw new Error("hex string expected, got " + typeof b); + if (C) return Uint8Array.fromHex(b); + const _ = b.length, E = _ / 2; + if (_ % 2) throw new Error("hex string expected, got unpadded hex of length " + _); + const B = new Uint8Array(E); + for (let O = 0, I = 0; O < E; O++, I += 2) { + const x = m(b.charCodeAt(I)), A = m(b.charCodeAt(I + 1)); + if (x === void 0 || A === void 0) { + const N = b[I] + b[I + 1]; + throw new Error('hex string expected, got non-hex character "' + N + '" at index ' + I); + } + B[O] = 16 * x + A; + } + return B; + }, n.asyncLoop = async function(b, _, E) { + let B = Date.now(); + for (let O = 0; O < b; O++) { + E(O); + const I = Date.now() - B; + I >= 0 && I < _ || (await (0, n.nextTick)(), B += I); + } + }, n.utf8ToBytes = v, n.bytesToUtf8 = function(b) { + return new TextDecoder().decode(b); + }, n.toBytes = l, n.kdfInputToBytes = function(b) { + return typeof b == "string" && (b = v(b)), p(b), b; + }, n.concatBytes = function(...b) { + let _ = 0; + for (let B = 0; B < b.length; B++) { + const O = b[B]; + p(O), _ += O.length; + } + const E = new Uint8Array(_); + for (let B = 0, O = 0; B < b.length; B++) { + const I = b[B]; + E.set(I, O), O += I.length; } + return E; + }, n.checkOpts = function(b, _) { + if (_ !== void 0 && {}.toString.call(_) !== "[object Object]") throw new Error("options should be object or undefined"); + return Object.assign(b, _); + }, n.createHasher = u, n.createOptHasher = y, n.createXOFer = d, n.randomBytes = function(b = 32) { + if (r.crypto && typeof r.crypto.getRandomValues == "function") return r.crypto.getRandomValues(new Uint8Array(b)); + if (r.crypto && typeof r.crypto.randomBytes == "function") return Uint8Array.from(r.crypto.randomBytes(b)); + throw new Error("crypto.getRandomValues must be defined"); + }; + const r = s(5145); + function o(b) { + return b instanceof Uint8Array || ArrayBuffer.isView(b) && b.constructor.name === "Uint8Array"; } - n.sha512 = (0, i.wrapConstructor)(() => new y()), n.sha512_224 = (0, i.wrapConstructor)(() => new u()), n.sha512_256 = (0, i.wrapConstructor)(() => new d()), n.sha384 = (0, i.wrapConstructor)(() => new l()); - }, 9175: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.randomBytes = n.wrapXOFConstructorWithOpts = n.wrapConstructorWithOpts = n.wrapConstructor = n.checkOpts = n.Hash = n.concatBytes = n.toBytes = n.utf8ToBytes = n.asyncLoop = n.nextTick = n.hexToBytes = n.bytesToHex = n.isLE = n.rotr = n.createView = n.u32 = n.u8 = void 0; - const r = c(5145), a = (f) => f instanceof Uint8Array; - if (n.u8 = (f) => new Uint8Array(f.buffer, f.byteOffset, f.byteLength), n.u32 = (f) => new Uint32Array(f.buffer, f.byteOffset, Math.floor(f.byteLength / 4)), n.createView = (f) => new DataView(f.buffer, f.byteOffset, f.byteLength), n.rotr = (f, b) => f << 32 - b | f >>> b, n.isLE = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, !n.isLE) throw new Error("Non little-endian hardware is not supported"); - const i = Array.from({ length: 256 }, (f, b) => b.toString(16).padStart(2, "0")); - function m(f) { - if (typeof f != "string") throw new Error("utf8ToBytes expected string, got " + typeof f); - return new Uint8Array(new TextEncoder().encode(f)); + function i(b) { + if (!Number.isSafeInteger(b) || b < 0) throw new Error("positive integer expected, got " + b); } - function t(f) { - if (typeof f == "string" && (f = m(f)), !a(f)) throw new Error("expected Uint8Array, got " + typeof f); - return f; + function p(b, ..._) { + if (!o(b)) throw new Error("Uint8Array expected"); + if (_.length > 0 && !_.includes(b.length)) throw new Error("Uint8Array expected of length " + _ + ", got length=" + b.length); } - n.bytesToHex = function(f) { - if (!a(f)) throw new Error("Uint8Array expected"); - let b = ""; - for (let y = 0; y < f.length; y++) b += i[f[y]]; + function a(b) { + return b << 24 & 4278190080 | b << 8 & 16711680 | b >>> 8 & 65280 | b >>> 24 & 255; + } + function f(b) { + for (let _ = 0; _ < b.length; _++) b[_] = a(b[_]); return b; - }, n.hexToBytes = function(f) { - if (typeof f != "string") throw new Error("hex string expected, got " + typeof f); - const b = f.length; - if (b % 2) throw new Error("padded hex string expected, got unpadded hex of length " + b); - const y = new Uint8Array(b / 2); - for (let u = 0; u < y.length; u++) { - const d = 2 * u, l = f.slice(d, d + 2), s = Number.parseInt(l, 16); - if (Number.isNaN(s) || s < 0) throw new Error("Invalid byte sequence"); - y[u] = s; - } - return y; - }, n.nextTick = async () => { - }, n.asyncLoop = async function(f, b, y) { - let u = Date.now(); - for (let d = 0; d < f; d++) { - y(d); - const l = Date.now() - u; - l >= 0 && l < b || (await (0, n.nextTick)(), u += l); - } - }, n.utf8ToBytes = m, n.toBytes = t, n.concatBytes = function(...f) { - const b = new Uint8Array(f.reduce((u, d) => u + d.length, 0)); - let y = 0; - return f.forEach((u) => { - if (!a(u)) throw new Error("Uint8Array expected"); - b.set(u, y), y += u.length; - }), b; + } + n.isLE = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, n.swap8IfBE = n.isLE ? (b) => b : (b) => a(b), n.byteSwapIfBE = n.swap8IfBE, n.swap32IfBE = n.isLE ? (b) => b : f; + const C = typeof Uint8Array.from([]).toHex == "function" && typeof Uint8Array.fromHex == "function", w = Array.from({ length: 256 }, (b, _) => _.toString(16).padStart(2, "0")); + function m(b) { + return b >= 48 && b <= 57 ? b - 48 : b >= 65 && b <= 70 ? b - 55 : b >= 97 && b <= 102 ? b - 87 : void 0; + } + function v(b) { + if (typeof b != "string") throw new Error("string expected"); + return new Uint8Array(new TextEncoder().encode(b)); + } + function l(b) { + return typeof b == "string" && (b = v(b)), p(b), b; + } + function u(b) { + const _ = (B) => b().update(l(B)).digest(), E = b(); + return _.outputLen = E.outputLen, _.blockLen = E.blockLen, _.create = () => b(), _; + } + function y(b) { + const _ = (B, O) => b(O).update(l(B)).digest(), E = b({}); + return _.outputLen = E.outputLen, _.blockLen = E.blockLen, _.create = (B) => b(B), _; + } + function d(b) { + const _ = (B, O) => b(O).update(l(B)).digest(), E = b({}); + return _.outputLen = E.outputLen, _.blockLen = E.blockLen, _.create = (B) => b(B), _; + } + n.nextTick = async () => { }, n.Hash = class { - clone() { - return this._cloneInto(); - } - }, n.checkOpts = function(f, b) { - if (b !== void 0 && (typeof b != "object" || (y = b, Object.prototype.toString.call(y) !== "[object Object]" || y.constructor !== Object))) throw new Error("Options should be object or undefined"); - var y; - return Object.assign(f, b); - }, n.wrapConstructor = function(f) { - const b = (u) => f().update(t(u)).digest(), y = f(); - return b.outputLen = y.outputLen, b.blockLen = y.blockLen, b.create = () => f(), b; - }, n.wrapConstructorWithOpts = function(f) { - const b = (u, d) => f(d).update(t(u)).digest(), y = f({}); - return b.outputLen = y.outputLen, b.blockLen = y.blockLen, b.create = (u) => f(u), b; - }, n.wrapXOFConstructorWithOpts = function(f) { - const b = (u, d) => f(d).update(t(u)).digest(), y = f({}); - return b.outputLen = y.outputLen, b.blockLen = y.blockLen, b.create = (u) => f(u), b; - }, n.randomBytes = function(f = 32) { - if (r.crypto && typeof r.crypto.getRandomValues == "function") return r.crypto.getRandomValues(new Uint8Array(f)); - throw new Error("crypto.getRandomValues must be defined"); - }; - }, 9598: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.utils = n.schnorr = n.verify = n.signSync = n.sign = n.getSharedSecret = n.recoverPublicKey = n.getPublicKey = n.Signature = n.Point = n.CURVE = void 0; - const r = c(4923), a = BigInt(0), i = BigInt(1), m = BigInt(2), t = BigInt(3), f = BigInt(8), b = Object.freeze({ a, b: BigInt(7), P: BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), n: BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), h: i, Gx: BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"), Gy: BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"), beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee") }); - n.CURVE = b; - const y = (de, oe) => (de + oe / m) / oe, u = { beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"), splitScalar(de) { - const { n: oe } = b, le = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), me = -i * BigInt("0xe4437ed6010e88286f547fa90abfe4c3"), Ce = BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), we = le, Ie = BigInt("0x100000000000000000000000000000000"), ke = y(we * de, oe), Ne = y(-me * de, oe); - let He = G(de - ke * le - Ne * Ce, oe), qe = G(-ke * me - Ne * we, oe); - const Ue = He > Ie, $e = qe > Ie; - if (Ue && (He = oe - He), $e && (qe = oe - qe), He > Ie || qe > Ie) throw new Error("splitScalarEndo: Endomorphism failed, k=" + de); - return { k1neg: Ue, k1: He, k2neg: $e, k2: qe }; - } }, d = 32, l = 32, s = d + 1, v = 2 * d + 1; - function p(de) { - const { a: oe, b: le } = b, me = G(de * de), Ce = G(me * de); - return G(Ce + oe * de + le); - } - const h = b.a === a; - class O extends Error { + }, n.wrapConstructor = u, n.wrapConstructorWithOpts = y, n.wrapXOFConstructorWithOpts = d; + }, 9598(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.utils = n.schnorr = n.verify = n.signSync = n.sign = n.getSharedSecret = n.recoverPublicKey = n.getPublicKey = n.hexToBytes = n.bytesToHex = n.Signature = n.Point = n.CURVE = void 0; + const r = s(4923), o = BigInt(0), i = BigInt(1), p = BigInt(2), a = BigInt(3), f = BigInt(8), C = Object.freeze({ a: o, b: BigInt(7), P: BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), n: BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), h: i, Gx: BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"), Gy: BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"), beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee") }); + n.CURVE = C; + const w = (ae, oe) => (ae + oe / p) / oe, m = { beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"), splitScalar(ae) { + const { n: oe } = C, ue = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), he = -i * BigInt("0xe4437ed6010e88286f547fa90abfe4c3"), _e = BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), Te = ue, Re = BigInt("0x100000000000000000000000000000000"), Ue = w(Te * ae, oe), De = w(-he * ae, oe); + let ze = F(ae - Ue * ue - De * _e, oe), Xe = F(-Ue * he - De * Te, oe); + const qe = ze > Re, Ye = Xe > Re; + if (qe && (ze = oe - ze), Ye && (Xe = oe - Xe), ze > Re || Xe > Re) throw new Error("splitScalarEndo: Endomorphism failed, k=" + ae); + return { k1neg: qe, k1: ze, k2neg: Ye, k2: Xe }; + } }; + function v(ae) { + const { a: oe, b: ue } = C, he = F(ae * ae), _e = F(he * ae); + return F(_e + oe * ae + ue); + } + const l = C.a === o; + class u extends Error { constructor(oe) { super(oe); } } - function I(de) { - if (!(de instanceof k)) throw new TypeError("JacobianPoint expected"); + function y(ae) { + if (!(ae instanceof d)) throw new TypeError("JacobianPoint expected"); } - class k { - constructor(oe, le, me) { - this.x = oe, this.y = le, this.z = me; + class d { + constructor(oe, ue, he) { + this.x = oe, this.y = ue, this.z = he; } static fromAffine(oe) { - if (!(oe instanceof N)) throw new TypeError("JacobianPoint#fromAffine: expected Point"); - return oe.equals(N.ZERO) ? k.ZERO : new k(oe.x, oe.y, i); + if (!(oe instanceof E)) throw new TypeError("JacobianPoint#fromAffine: expected Point"); + return oe.equals(E.ZERO) ? d.ZERO : new d(oe.x, oe.y, i); } static toAffineBatch(oe) { - const le = function(me, Ce = b.P) { - const we = new Array(me.length), Ie = ee(me.reduce((ke, Ne, He) => Ne === a ? ke : (we[He] = ke, G(ke * Ne, Ce)), i), Ce); - return me.reduceRight((ke, Ne, He) => Ne === a ? ke : (we[He] = G(ke * we[He], Ce), G(ke * Ne, Ce)), Ie), we; - }(oe.map((me) => me.z)); - return oe.map((me, Ce) => me.toAffine(le[Ce])); + const ue = function(he, _e = C.P) { + const Te = new Array(he.length), Re = ne(he.reduce((Ue, De, ze) => De === o ? Ue : (Te[ze] = Ue, F(Ue * De, _e)), i), _e); + return he.reduceRight((Ue, De, ze) => De === o ? Ue : (Te[ze] = F(Ue * Te[ze], _e), F(Ue * De, _e)), Re), Te; + }(oe.map((he) => he.z)); + return oe.map((he, _e) => he.toAffine(ue[_e])); } static normalizeZ(oe) { - return k.toAffineBatch(oe).map(k.fromAffine); + return d.toAffineBatch(oe).map(d.fromAffine); } equals(oe) { - I(oe); - const { x: le, y: me, z: Ce } = this, { x: we, y: Ie, z: ke } = oe, Ne = G(Ce * Ce), He = G(ke * ke), qe = G(le * He), Ue = G(we * Ne), $e = G(G(me * ke) * He), ct = G(G(Ie * Ce) * Ne); - return qe === Ue && $e === ct; + y(oe); + const { x: ue, y: he, z: _e } = this, { x: Te, y: Re, z: Ue } = oe, De = F(_e * _e), ze = F(Ue * Ue), Xe = F(ue * ze), qe = F(Te * De), Ye = F(F(he * Ue) * ze), ct = F(F(Re * _e) * De); + return Xe === qe && Ye === ct; } negate() { - return new k(this.x, G(-this.y), this.z); + return new d(this.x, F(-this.y), this.z); } double() { - const { x: oe, y: le, z: me } = this, Ce = G(oe * oe), we = G(le * le), Ie = G(we * we), ke = oe + we, Ne = G(m * (G(ke * ke) - Ce - Ie)), He = G(t * Ce), qe = G(He * He), Ue = G(qe - m * Ne), $e = G(He * (Ne - Ue) - f * Ie), ct = G(m * le * me); - return new k(Ue, $e, ct); + const { x: oe, y: ue, z: he } = this, _e = F(oe * oe), Te = F(ue * ue), Re = F(Te * Te), Ue = oe + Te, De = F(p * (F(Ue * Ue) - _e - Re)), ze = F(a * _e), Xe = F(ze * ze), qe = F(Xe - p * De), Ye = F(ze * (De - qe) - f * Re), ct = F(p * ue * he); + return new d(qe, Ye, ct); } add(oe) { - I(oe); - const { x: le, y: me, z: Ce } = this, { x: we, y: Ie, z: ke } = oe; - if (we === a || Ie === a) return this; - if (le === a || me === a) return oe; - const Ne = G(Ce * Ce), He = G(ke * ke), qe = G(le * He), Ue = G(we * Ne), $e = G(G(me * ke) * He), ct = G(G(Ie * Ce) * Ne), We = G(Ue - qe), it = G(ct - $e); - if (We === a) return it === a ? this.double() : k.ZERO; - const bt = G(We * We), Xe = G(We * bt), ut = G(qe * bt), Mt = G(it * it - Xe - m * ut), Ye = G(it * (ut - Mt) - $e * Xe), at = G(Ce * ke * We); - return new k(Mt, Ye, at); + y(oe); + const { x: ue, y: he, z: _e } = this, { x: Te, y: Re, z: Ue } = oe; + if (Te === o || Re === o) return this; + if (ue === o || he === o) return oe; + const De = F(_e * _e), ze = F(Ue * Ue), Xe = F(ue * ze), qe = F(Te * De), Ye = F(F(he * Ue) * ze), ct = F(F(Re * _e) * De), ot = F(qe - Xe), dt = F(ct - Ye); + if (ot === o) return dt === o ? this.double() : d.ZERO; + const $t = F(ot * ot), gt = F(ot * $t), Fe = F(Xe * $t), mt = F(dt * dt - gt - p * Fe), ht = F(dt * (Fe - mt) - Ye * gt), Mt = F(_e * Ue * ot); + return new d(mt, ht, Mt); } subtract(oe) { return this.add(oe.negate()); } multiplyUnsafe(oe) { - const le = k.ZERO; - if (typeof oe == "bigint" && oe === a) return le; - let me = J(oe); - if (me === i) return this; - if (!h) { - let Ue = le, $e = this; - for (; me > a; ) me & i && (Ue = Ue.add($e)), $e = $e.double(), me >>= i; - return Ue; - } - let { k1neg: Ce, k1: we, k2neg: Ie, k2: ke } = u.splitScalar(me), Ne = le, He = le, qe = this; - for (; we > a || ke > a; ) we & i && (Ne = Ne.add(qe)), ke & i && (He = He.add(qe)), qe = qe.double(), we >>= i, ke >>= i; - return Ce && (Ne = Ne.negate()), Ie && (He = He.negate()), He = new k(G(He.x * u.beta), He.y, He.z), Ne.add(He); + const ue = d.ZERO; + if (typeof oe == "bigint" && oe === o) return ue; + let he = U(oe); + if (he === i) return this; + if (!l) { + let qe = ue, Ye = this; + for (; he > o; ) he & i && (qe = qe.add(Ye)), Ye = Ye.double(), he >>= i; + return qe; + } + let { k1neg: _e, k1: Te, k2neg: Re, k2: Ue } = m.splitScalar(he), De = ue, ze = ue, Xe = this; + for (; Te > o || Ue > o; ) Te & i && (De = De.add(Xe)), Ue & i && (ze = ze.add(Xe)), Xe = Xe.double(), Te >>= i, Ue >>= i; + return _e && (De = De.negate()), Re && (ze = ze.negate()), ze = new d(F(ze.x * m.beta), ze.y, ze.z), De.add(ze); } precomputeWindow(oe) { - const le = h ? 128 / oe + 1 : 256 / oe + 1, me = []; - let Ce = this, we = Ce; - for (let Ie = 0; Ie < le; Ie++) { - we = Ce, me.push(we); - for (let ke = 1; ke < 2 ** (oe - 1); ke++) we = we.add(Ce), me.push(we); - Ce = we.double(); - } - return me; - } - wNAF(oe, le) { - !le && this.equals(k.BASE) && (le = N.BASE); - const me = le && le._WINDOW_SIZE || 1; - if (256 % me) throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2"); - let Ce = le && L.get(le); - Ce || (Ce = this.precomputeWindow(me), le && me !== 1 && (Ce = k.normalizeZ(Ce), L.set(le, Ce))); - let we = k.ZERO, Ie = k.BASE; - const ke = 1 + (h ? 128 / me : 256 / me), Ne = 2 ** (me - 1), He = BigInt(2 ** me - 1), qe = 2 ** me, Ue = BigInt(me); - for (let $e = 0; $e < ke; $e++) { - const ct = $e * Ne; - let We = Number(oe & He); - oe >>= Ue, We > Ne && (We -= qe, oe += i); - const it = ct, bt = ct + Math.abs(We) - 1, Xe = $e % 2 != 0, ut = We < 0; - We === 0 ? Ie = Ie.add(R(Xe, Ce[it])) : we = we.add(R(ut, Ce[bt])); - } - return { p: we, f: Ie }; - } - multiply(oe, le) { - let me, Ce, we = J(oe); - if (h) { - const { k1neg: Ie, k1: ke, k2neg: Ne, k2: He } = u.splitScalar(we); - let { p: qe, f: Ue } = this.wNAF(ke, le), { p: $e, f: ct } = this.wNAF(He, le); - qe = R(Ie, qe), $e = R(Ne, $e), $e = new k(G($e.x * u.beta), $e.y, $e.z), me = qe.add($e), Ce = Ue.add(ct); + const ue = l ? 128 / oe + 1 : 256 / oe + 1, he = []; + let _e = this, Te = _e; + for (let Re = 0; Re < ue; Re++) { + Te = _e, he.push(Te); + for (let Ue = 1; Ue < 2 ** (oe - 1); Ue++) Te = Te.add(_e), he.push(Te); + _e = Te.double(); + } + return he; + } + wNAF(oe, ue) { + !ue && this.equals(d.BASE) && (ue = E.BASE); + const he = ue && ue._WINDOW_SIZE || 1; + if (256 % he) throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2"); + let _e = ue && _.get(ue); + _e || (_e = this.precomputeWindow(he), ue && he !== 1 && (_e = d.normalizeZ(_e), _.set(ue, _e))); + let Te = d.ZERO, Re = d.BASE; + const Ue = 1 + (l ? 128 / he : 256 / he), De = 2 ** (he - 1), ze = BigInt(2 ** he - 1), Xe = 2 ** he, qe = BigInt(he); + for (let Ye = 0; Ye < Ue; Ye++) { + const ct = Ye * De; + let ot = Number(oe & ze); + oe >>= qe, ot > De && (ot -= Xe, oe += i); + const dt = ct, $t = ct + Math.abs(ot) - 1, gt = Ye % 2 != 0, Fe = ot < 0; + ot === 0 ? Re = Re.add(b(gt, _e[dt])) : Te = Te.add(b(Fe, _e[$t])); + } + return { p: Te, f: Re }; + } + multiply(oe, ue) { + let he, _e, Te = U(oe); + if (l) { + const { k1neg: Re, k1: Ue, k2neg: De, k2: ze } = m.splitScalar(Te); + let { p: Xe, f: qe } = this.wNAF(Ue, ue), { p: Ye, f: ct } = this.wNAF(ze, ue); + Xe = b(Re, Xe), Ye = b(De, Ye), Ye = new d(F(Ye.x * m.beta), Ye.y, Ye.z), he = Xe.add(Ye), _e = qe.add(ct); } else { - const { p: Ie, f: ke } = this.wNAF(we, le); - me = Ie, Ce = ke; + const { p: Re, f: Ue } = this.wNAF(Te, ue); + he = Re, _e = Ue; } - return k.normalizeZ([me, Ce])[0]; + return d.normalizeZ([he, _e])[0]; } toAffine(oe) { - const { x: le, y: me, z: Ce } = this, we = this.equals(k.ZERO); - oe == null && (oe = we ? f : ee(Ce)); - const Ie = oe, ke = G(Ie * Ie), Ne = G(ke * Ie), He = G(le * ke), qe = G(me * Ne), Ue = G(Ce * Ie); - if (we) return N.ZERO; - if (Ue !== i) throw new Error("invZ was invalid"); - return new N(He, qe); + const { x: ue, y: he, z: _e } = this, Te = this.equals(d.ZERO); + oe == null && (oe = Te ? f : ne(_e)); + const Re = oe, Ue = F(Re * Re), De = F(Ue * Re), ze = F(ue * Ue), Xe = F(he * De), qe = F(_e * Re); + if (Te) return E.ZERO; + if (qe !== i) throw new Error("invZ was invalid"); + return new E(ze, Xe); } } - function R(de, oe) { - const le = oe.negate(); - return de ? le : oe; + function b(ae, oe) { + const ue = oe.negate(); + return ae ? ue : oe; } - k.BASE = new k(b.Gx, b.Gy, i), k.ZERO = new k(a, i, a); - const L = /* @__PURE__ */ new WeakMap(); - class N { - constructor(oe, le) { - this.x = oe, this.y = le; + d.BASE = new d(C.Gx, C.Gy, i), d.ZERO = new d(o, i, o); + const _ = /* @__PURE__ */ new WeakMap(); + class E { + constructor(oe, ue) { + this.x = oe, this.y = ue; } _setWindowSize(oe) { - this._WINDOW_SIZE = oe, L.delete(this); + this._WINDOW_SIZE = oe, _.delete(this); } hasEvenY() { - return this.y % m === a; + return this.y % p === o; } static fromCompressedHex(oe) { - const le = oe.length === 32, me = D(le ? oe : oe.subarray(1)); - if (!ie(me)) throw new Error("Point is not on curve"); - let Ce = function(ke) { - const { P: Ne } = b, He = BigInt(6), qe = BigInt(11), Ue = BigInt(22), $e = BigInt(23), ct = BigInt(44), We = BigInt(88), it = ke * ke * ke % Ne, bt = it * it * ke % Ne, Xe = Q(bt, t) * bt % Ne, ut = Q(Xe, t) * bt % Ne, Mt = Q(ut, m) * it % Ne, Ye = Q(Mt, qe) * Mt % Ne, at = Q(Ye, Ue) * Ye % Ne, Tt = Q(at, ct) * at % Ne, tt = Q(Tt, We) * Tt % Ne, mt = Q(tt, ct) * at % Ne, Lt = Q(mt, t) * bt % Ne, et = Q(Lt, $e) * Ye % Ne, lt = Q(et, He) * it % Ne, xt = Q(lt, m); - if (xt * xt % Ne !== ke) throw new Error("Cannot find square root"); - return xt; - }(p(me)); - const we = (Ce & i) === i; - le ? we && (Ce = G(-Ce)) : !(1 & ~oe[0]) !== we && (Ce = G(-Ce)); - const Ie = new N(me, Ce); - return Ie.assertValidity(), Ie; + const ue = oe.length === 32, he = K(ue ? oe : oe.subarray(1)); + if (!Se(he)) throw new Error("Point is not on curve"); + let _e = function(Ue) { + const { P: De } = C, ze = BigInt(6), Xe = BigInt(11), qe = BigInt(22), Ye = BigInt(23), ct = BigInt(44), ot = BigInt(88), dt = Ue * Ue * Ue % De, $t = dt * dt * Ue % De, gt = Q($t, a) * $t % De, Fe = Q(gt, a) * $t % De, mt = Q(Fe, p) * dt % De, ht = Q(mt, Xe) * mt % De, Mt = Q(ht, qe) * ht % De, kr = Q(Mt, ct) * Mt % De, Vt = Q(kr, ot) * kr % De, Ut = Q(Vt, ct) * Mt % De, Ln = Q(Ut, a) * $t % De, Ft = Q(Ln, Ye) * ht % De, Jt = Q(Ft, ze) * dt % De, vr = Q(Jt, p); + if (vr * vr % De !== Ue) throw new Error("Cannot find square root"); + return vr; + }(v(he)); + const Te = (_e & i) === i; + ue ? Te && (_e = F(-_e)) : !(1 & ~oe[0]) !== Te && (_e = F(-_e)); + const Re = new E(he, _e); + return Re.assertValidity(), Re; } static fromUncompressedHex(oe) { - const le = D(oe.subarray(1, d + 1)), me = D(oe.subarray(d + 1, 2 * d + 1)), Ce = new N(le, me); - return Ce.assertValidity(), Ce; + const ue = K(oe.subarray(1, 33)), he = K(oe.subarray(33, 65)), _e = new E(ue, he); + return _e.assertValidity(), _e; } static fromHex(oe) { - const le = z(oe), me = le.length, Ce = le[0]; - if (me === d) return this.fromCompressedHex(le); - if (me === s && (Ce === 2 || Ce === 3)) return this.fromCompressedHex(le); - if (me === v && Ce === 4) return this.fromUncompressedHex(le); - throw new Error(`Point.fromHex: received invalid point. Expected 32-${s} compressed bytes or ${v} uncompressed bytes, not ${me}`); + const ue = V(oe), he = ue.length, _e = ue[0]; + if (he === 32) return this.fromCompressedHex(ue); + if (he === 33 && (_e === 2 || _e === 3)) return this.fromCompressedHex(ue); + if (he === 65 && _e === 4) return this.fromUncompressedHex(ue); + throw new Error(`Point.fromHex: received invalid point. Expected 32-33 compressed bytes or 65 uncompressed bytes, not ${he}`); } static fromPrivateKey(oe) { - return N.BASE.multiply(Te(oe)); + return E.BASE.multiply(me(oe)); } - static fromSignature(oe, le, me) { - const { r: Ce, s: we } = te(le); - if (![0, 1, 2, 3].includes(me)) throw new Error("Cannot recover: invalid recovery bit"); - const Ie = Z(z(oe)), { n: ke } = b, Ne = me === 2 || me === 3 ? Ce + ke : Ce, He = ee(Ne, ke), qe = G(-Ie * He, ke), Ue = G(we * He, ke), $e = 1 & me ? "03" : "02", ct = N.fromHex($e + _(Ne)), We = N.BASE.multiplyAndAddUnsafe(ct, qe, Ue); - if (!We) throw new Error("Cannot recover signature: point at infinify"); - return We.assertValidity(), We; + static fromSignature(oe, ue, he) { + const { r: _e, s: Te } = Ce(ue); + if (![0, 1, 2, 3].includes(he)) throw new Error("Cannot recover: invalid recovery bit"); + const Re = te(V(oe)), { n: Ue } = C, De = he === 2 || he === 3 ? _e + Ue : _e, ze = ne(De, Ue), Xe = F(-Re * ze, Ue), qe = F(Te * ze, Ue), Ye = 1 & he ? "03" : "02", ct = E.fromHex(Ye + R(De)), ot = E.BASE.multiplyAndAddUnsafe(ct, Xe, qe); + if (!ot) throw new Error("Cannot recover signature: point at infinify"); + return ot.assertValidity(), ot; } toRawBytes(oe = !1) { - return V(this.toHex(oe)); + return T(this.toHex(oe)); } toHex(oe = !1) { - const le = _(this.x); - return oe ? `${this.hasEvenY() ? "02" : "03"}${le}` : `04${le}${_(this.y)}`; + const ue = R(this.x); + return oe ? `${this.hasEvenY() ? "02" : "03"}${ue}` : `04${ue}${R(this.y)}`; } toHexX() { return this.toHex(!0).slice(2); @@ -12512,89 +13929,89 @@ function B6() { return this.toRawBytes(!0).slice(1); } assertValidity() { - const oe = "Point is not on elliptic curve", { x: le, y: me } = this; - if (!ie(le) || !ie(me)) throw new Error(oe); - const Ce = G(me * me); - if (G(Ce - p(le)) !== a) throw new Error(oe); + const oe = "Point is not on elliptic curve", { x: ue, y: he } = this; + if (!Se(ue) || !Se(he)) throw new Error(oe); + const _e = F(he * he); + if (F(_e - v(ue)) !== o) throw new Error(oe); } equals(oe) { return this.x === oe.x && this.y === oe.y; } negate() { - return new N(this.x, G(-this.y)); + return new E(this.x, F(-this.y)); } double() { - return k.fromAffine(this).double().toAffine(); + return d.fromAffine(this).double().toAffine(); } add(oe) { - return k.fromAffine(this).add(k.fromAffine(oe)).toAffine(); + return d.fromAffine(this).add(d.fromAffine(oe)).toAffine(); } subtract(oe) { return this.add(oe.negate()); } multiply(oe) { - return k.fromAffine(this).multiply(oe, this).toAffine(); + return d.fromAffine(this).multiply(oe, this).toAffine(); } - multiplyAndAddUnsafe(oe, le, me) { - const Ce = k.fromAffine(this), we = le === a || le === i || this !== N.BASE ? Ce.multiplyUnsafe(le) : Ce.multiply(le), Ie = k.fromAffine(oe).multiplyUnsafe(me), ke = we.add(Ie); - return ke.equals(k.ZERO) ? void 0 : ke.toAffine(); + multiplyAndAddUnsafe(oe, ue, he) { + const _e = d.fromAffine(this), Te = ue === o || ue === i || this !== E.BASE ? _e.multiplyUnsafe(ue) : _e.multiply(ue), Re = d.fromAffine(oe).multiplyUnsafe(he), Ue = Te.add(Re); + return Ue.equals(d.ZERO) ? void 0 : Ue.toAffine(); } } - function B(de) { - return Number.parseInt(de[0], 16) >= 8 ? "00" + de : de; + function B(ae) { + return Number.parseInt(ae[0], 16) >= 8 ? "00" + ae : ae; } - function H(de) { - if (de.length < 2 || de[0] !== 2) throw new Error(`Invalid signature integer tag: ${E(de)}`); - const oe = de[1], le = de.subarray(2, oe + 2); - if (!oe || le.length !== oe) throw new Error("Invalid signature integer: wrong length"); - if (le[0] === 0 && le[1] <= 127) throw new Error("Invalid signature integer: trailing length"); - return { data: D(le), left: de.subarray(oe + 2) }; + function O(ae) { + if (ae.length < 2 || ae[0] !== 2) throw new Error(`Invalid signature integer tag: ${j(ae)}`); + const oe = ae[1], ue = ae.subarray(2, oe + 2); + if (!oe || ue.length !== oe) throw new Error("Invalid signature integer: wrong length"); + if (ue[0] === 0 && ue[1] <= 127) throw new Error("Invalid signature integer: trailing length"); + return { data: K(ue), left: ae.subarray(oe + 2) }; } - n.Point = N, N.BASE = new N(b.Gx, b.Gy), N.ZERO = new N(a, a); - class U { - constructor(oe, le) { - this.r = oe, this.s = le, this.assertValidity(); + n.Point = E, E.BASE = new E(C.Gx, C.Gy), E.ZERO = new E(o, o); + class I { + constructor(oe, ue) { + this.r = oe, this.s = ue, this.assertValidity(); } static fromCompact(oe) { - const le = oe instanceof Uint8Array, me = "Signature.fromCompact"; - if (typeof oe != "string" && !le) throw new TypeError(`${me}: Expected string or Uint8Array`); - const Ce = le ? E(oe) : oe; - if (Ce.length !== 128) throw new Error(`${me}: Expected 64-byte hex`); - return new U(j(Ce.slice(0, 64)), j(Ce.slice(64, 128))); + const ue = x(oe), he = "Signature.fromCompact"; + if (typeof oe != "string" && !ue) throw new TypeError(`${he}: Expected string or Uint8Array`); + const _e = ue ? j(oe) : oe; + if (_e.length !== 128) throw new Error(`${he}: Expected 64-byte hex`); + return new I(H(_e.slice(0, 64)), H(_e.slice(64, 128))); } static fromDER(oe) { - const le = oe instanceof Uint8Array; - if (typeof oe != "string" && !le) throw new TypeError("Signature.fromDER: Expected string or Uint8Array"); - const { r: me, s: Ce } = function(we) { - if (we.length < 2 || we[0] != 48) throw new Error(`Invalid signature tag: ${E(we)}`); - if (we[1] !== we.length - 2) throw new Error("Invalid signature: incorrect length"); - const { data: Ie, left: ke } = H(we.subarray(2)), { data: Ne, left: He } = H(ke); - if (He.length) throw new Error(`Invalid signature: left bytes after parsing: ${E(He)}`); - return { r: Ie, s: Ne }; - }(le ? oe : V(oe)); - return new U(me, Ce); + const ue = x(oe); + if (typeof oe != "string" && !ue) throw new TypeError("Signature.fromDER: Expected string or Uint8Array"); + const { r: he, s: _e } = function(Te) { + if (Te.length < 2 || Te[0] != 48) throw new Error(`Invalid signature tag: ${j(Te)}`); + if (Te[1] !== Te.length - 2) throw new Error("Invalid signature: incorrect length"); + const { data: Re, left: Ue } = O(Te.subarray(2)), { data: De, left: ze } = O(Ue); + if (ze.length) throw new Error(`Invalid signature: left bytes after parsing: ${j(ze)}`); + return { r: Re, s: De }; + }(ue ? oe : T(oe)); + return new I(he, _e); } static fromHex(oe) { return this.fromDER(oe); } assertValidity() { - const { r: oe, s: le } = this; - if (!ce(oe)) throw new Error("Invalid Signature: r must be 0 < r < n"); - if (!ce(le)) throw new Error("Invalid Signature: s must be 0 < s < n"); + const { r: oe, s: ue } = this; + if (!le(oe)) throw new Error("Invalid Signature: r must be 0 < r < n"); + if (!le(ue)) throw new Error("Invalid Signature: s must be 0 < s < n"); } hasHighS() { - const oe = b.n >> i; + const oe = C.n >> i; return this.s > oe; } normalizeS() { - return this.hasHighS() ? new U(this.r, G(-this.s, b.n)) : this; + return this.hasHighS() ? new I(this.r, F(-this.s, C.n)) : this; } toDERRawBytes() { - return V(this.toDERHex()); + return T(this.toDERHex()); } toDERHex() { - const oe = B(A(this.s)), le = B(A(this.r)), me = oe.length / 2, Ce = le.length / 2, we = A(me), Ie = A(Ce); - return `30${A(Ce + me + 4)}02${Ie}${le}02${we}${oe}`; + const oe = B(P(this.s)), ue = B(P(this.r)), he = oe.length / 2, _e = ue.length / 2, Te = P(he), Re = P(_e); + return `30${P(_e + he + 4)}02${Re}${ue}02${Te}${oe}`; } toRawBytes() { return this.toDERRawBytes(); @@ -12603,115 +14020,129 @@ function B6() { return this.toDERHex(); } toCompactRawBytes() { - return V(this.toCompactHex()); + return T(this.toCompactHex()); } toCompactHex() { - return _(this.r) + _(this.s); + return R(this.r) + R(this.s); } } - function S(...de) { - if (!de.every((me) => me instanceof Uint8Array)) throw new Error("Uint8Array list expected"); - if (de.length === 1) return de[0]; - const oe = de.reduce((me, Ce) => me + Ce.length, 0), le = new Uint8Array(oe); - for (let me = 0, Ce = 0; me < de.length; me++) { - const we = de[me]; - le.set(we, Ce), Ce += we.length; + function x(ae) { + return ae instanceof Uint8Array || ArrayBuffer.isView(ae) && ae.constructor.name === "Uint8Array"; + } + function A(ae) { + if (!x(ae)) throw new Error("Uint8Array expected"); + } + function N(...ae) { + if (ae.every(A), ae.length === 1) return ae[0]; + const oe = ae.reduce((he, _e) => he + _e.length, 0), ue = new Uint8Array(oe); + for (let he = 0, _e = 0; he < ae.length; he++) { + const Te = ae[he]; + ue.set(Te, _e), _e += Te.length; } - return le; + return ue; } - n.Signature = U; - const T = Array.from({ length: 256 }, (de, oe) => oe.toString(16).padStart(2, "0")); - function E(de) { - if (!(de instanceof Uint8Array)) throw new Error("Expected Uint8Array"); + n.Signature = I; + const k = Array.from({ length: 256 }, (ae, oe) => oe.toString(16).padStart(2, "0")); + function j(ae) { + A(ae); let oe = ""; - for (let le = 0; le < de.length; le++) oe += T[de[le]]; + for (let ue = 0; ue < ae.length; ue++) oe += k[ae[ue]]; return oe; } - const M = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"); - function _(de) { - if (typeof de != "bigint") throw new Error("Expected bigint"); - if (!(a <= de && de < M)) throw new Error("Expected number 0 <= n < 2^256"); - return de.toString(16).padStart(64, "0"); + n.bytesToHex = j; + function D(ae) { + return ae >= 48 && ae <= 57 ? ae - 48 : ae >= 65 && ae <= 70 ? ae - 55 : ae >= 97 && ae <= 102 ? ae - 87 : void 0; + } + function T(ae) { + if (typeof ae != "string") throw new Error("hex string expected, got " + typeof ae); + const oe = ae.length, ue = oe / 2; + if (oe % 2) throw new Error("hex string expected, got unpadded hex of length " + oe); + const he = new Uint8Array(ue); + for (let _e = 0, Te = 0; _e < ue; _e++, Te += 2) { + const Re = D(ae.charCodeAt(Te)), Ue = D(ae.charCodeAt(Te + 1)); + if (Re === void 0 || Ue === void 0) { + const De = ae[Te] + ae[Te + 1]; + throw new Error('hex string expected, got non-hex character "' + De + '" at index ' + Te); + } + he[_e] = 16 * Re + Ue; + } + return he; + } + n.hexToBytes = T; + const L = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"); + function R(ae) { + if (typeof ae != "bigint") throw new Error("Expected bigint"); + if (!(o <= ae && ae < L)) throw new Error("Expected number 0 <= n < 2^256"); + return ae.toString(16).padStart(64, "0"); } - function w(de) { - const oe = V(_(de)); + function M(ae) { + const oe = T(R(ae)); if (oe.length !== 32) throw new Error("Error: expected 32 bytes"); return oe; } - function A(de) { - const oe = de.toString(16); + function P(ae) { + const oe = ae.toString(16); return 1 & oe.length ? `0${oe}` : oe; } - function j(de) { - if (typeof de != "string") throw new TypeError("hexToNumber: expected string, got " + typeof de); - return BigInt(`0x${de}`); + function H(ae) { + if (typeof ae != "string") throw new TypeError("hexToNumber: expected string, got " + typeof ae); + return BigInt(`0x${ae}`); } - function V(de) { - if (typeof de != "string") throw new TypeError("hexToBytes: expected string, got " + typeof de); - if (de.length % 2) throw new Error("hexToBytes: received invalid unpadded hex" + de.length); - const oe = new Uint8Array(de.length / 2); - for (let le = 0; le < oe.length; le++) { - const me = 2 * le, Ce = de.slice(me, me + 2), we = Number.parseInt(Ce, 16); - if (Number.isNaN(we) || we < 0) throw new Error("Invalid byte sequence"); - oe[le] = we; - } - return oe; + function K(ae) { + return H(j(ae)); } - function D(de) { - return j(E(de)); + function V(ae) { + return x(ae) ? Uint8Array.from(ae) : T(ae); } - function z(de) { - return de instanceof Uint8Array ? Uint8Array.from(de) : V(de); - } - function J(de) { - if (typeof de == "number" && Number.isSafeInteger(de) && de > 0) return BigInt(de); - if (typeof de == "bigint" && ce(de)) return de; + function U(ae) { + if (typeof ae == "number" && Number.isSafeInteger(ae) && ae > 0) return BigInt(ae); + if (typeof ae == "bigint" && le(ae)) return ae; throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n"); } - function G(de, oe = b.P) { - const le = de % oe; - return le >= a ? le : oe + le; - } - function Q(de, oe) { - const { P: le } = b; - let me = de; - for (; oe-- > a; ) me *= me, me %= le; - return me; - } - function ee(de, oe = b.P) { - if (de === a || oe <= a) throw new Error(`invert: expected positive integers, got n=${de} mod=${oe}`); - let le = G(de, oe), me = oe, Ce = a, we = i; - for (; le !== a; ) { - const Ie = me / le, ke = me % le, Ne = Ce - we * Ie; - me = le, le = ke, Ce = we, we = Ne; - } - if (me !== i) throw new Error("invert: does not exist"); - return G(Ce, oe); - } - function Z(de, oe = !1) { - const le = function(Ce) { - const we = 8 * Ce.length - 8 * l, Ie = D(Ce); - return we > 0 ? Ie >> BigInt(we) : Ie; - }(de); - if (oe) return le; - const { n: me } = b; - return le >= me ? le - me : le; - } - let q, se; - class ue { - constructor(oe, le) { - if (this.hashLen = oe, this.qByteLen = le, typeof oe != "number" || oe < 2) throw new Error("hashLen must be a number"); - if (typeof le != "number" || le < 2) throw new Error("qByteLen must be a number"); + function F(ae, oe = C.P) { + const ue = ae % oe; + return ue >= o ? ue : oe + ue; + } + function Q(ae, oe) { + const { P: ue } = C; + let he = ae; + for (; oe-- > o; ) he *= he, he %= ue; + return he; + } + function ne(ae, oe = C.P) { + if (ae === o || oe <= o) throw new Error(`invert: expected positive integers, got n=${ae} mod=${oe}`); + let ue = F(ae, oe), he = oe, _e = o, Te = i; + for (; ue !== o; ) { + const Re = he / ue, Ue = he % ue, De = _e - Te * Re; + he = ue, ue = Ue, _e = Te, Te = De; + } + if (he !== i) throw new Error("invert: does not exist"); + return F(_e, oe); + } + function te(ae, oe = !1) { + const ue = function(_e) { + const Te = 8 * _e.length - 256, Re = K(_e); + return Te > 0 ? Re >> BigInt(Te) : Re; + }(ae); + if (oe) return ue; + const { n: he } = C; + return ue >= he ? ue - he : ue; + } + let X, Z; + class fe { + constructor(oe, ue) { + if (this.hashLen = oe, this.qByteLen = ue, typeof oe != "number" || oe < 2) throw new Error("hashLen must be a number"); + if (typeof ue != "number" || ue < 2) throw new Error("qByteLen must be a number"); this.v = new Uint8Array(oe).fill(1), this.k = new Uint8Array(oe).fill(0), this.counter = 0; } hmac(...oe) { return n.utils.hmacSha256(this.k, ...oe); } hmacSync(...oe) { - return se(this.k, ...oe); + return Z(this.k, ...oe); } checkSync() { - if (typeof se != "function") throw new O("hmacSha256Sync needs to be set"); + if (typeof Z != "function") throw new u("hmacSha256Sync needs to be set"); } incr() { if (this.counter >= 1e3) throw new Error("Tried 1,000 k values for sign(), all were invalid"); @@ -12726,7931 +14157,5493 @@ function B6() { async generate() { this.incr(); let oe = 0; - const le = []; + const ue = []; for (; oe < this.qByteLen; ) { this.v = await this.hmac(this.v); - const me = this.v.slice(); - le.push(me), oe += this.v.length; + const he = this.v.slice(); + ue.push(he), oe += this.v.length; } - return S(...le); + return N(...ue); } generateSync() { this.checkSync(), this.incr(); let oe = 0; - const le = []; + const ue = []; for (; oe < this.qByteLen; ) { this.v = this.hmacSync(this.v); - const me = this.v.slice(); - le.push(me), oe += this.v.length; + const he = this.v.slice(); + ue.push(he), oe += this.v.length; } - return S(...le); + return N(...ue); } } - function ce(de) { - return a < de && de < b.n; + function le(ae) { + return o < ae && ae < C.n; } - function ie(de) { - return a < de && de < b.P; + function Se(ae) { + return o < ae && ae < C.P; } - function fe(de, oe, le, me = !0) { - const { n: Ce } = b, we = Z(de, !0); - if (!ce(we)) return; - const Ie = ee(we, Ce), ke = N.BASE.multiply(we), Ne = G(ke.x, Ce); - if (Ne === a) return; - const He = G(Ie * G(oe + le * Ne, Ce), Ce); - if (He === a) return; - let qe = new U(Ne, He), Ue = (ke.x === qe.r ? 0 : 2) | Number(ke.y & i); - return me && qe.hasHighS() && (qe = qe.normalizeS(), Ue ^= 1), { sig: qe, recovery: Ue }; + function de(ae, oe, ue, he = !0) { + const { n: _e } = C, Te = te(ae, !0); + if (!le(Te)) return; + const Re = ne(Te, _e), Ue = E.BASE.multiply(Te), De = F(Ue.x, _e); + if (De === o) return; + const ze = F(Re * F(oe + ue * De, _e), _e); + if (ze === o) return; + let Xe = new I(De, ze), qe = (Ue.x === Xe.r ? 0 : 2) | Number(Ue.y & i); + return he && Xe.hasHighS() && (Xe = Xe.normalizeS(), qe ^= 1), { sig: Xe, recovery: qe }; } - function Te(de) { + function me(ae) { let oe; - if (typeof de == "bigint") oe = de; - else if (typeof de == "number" && Number.isSafeInteger(de) && de > 0) oe = BigInt(de); - else if (typeof de == "string") { - if (de.length !== 2 * l) throw new Error("Expected 32 bytes of private key"); - oe = j(de); + if (typeof ae == "bigint") oe = ae; + else if (typeof ae == "number" && Number.isSafeInteger(ae) && ae > 0) oe = BigInt(ae); + else if (typeof ae == "string") { + if (ae.length !== 64) throw new Error("Expected 32 bytes of private key"); + oe = H(ae); } else { - if (!(de instanceof Uint8Array)) throw new TypeError("Expected valid private key"); - if (de.length !== l) throw new Error("Expected 32 bytes of private key"); - oe = D(de); + if (!x(ae)) throw new TypeError("Expected valid private key"); + if (ae.length !== 32) throw new Error("Expected 32 bytes of private key"); + oe = K(ae); } - if (!ce(oe)) throw new Error("Expected private key: 0 < key < n"); + if (!le(oe)) throw new Error("Expected private key: 0 < key < n"); return oe; } - function Se(de) { - return de instanceof N ? (de.assertValidity(), de) : N.fromHex(de); + function Oe(ae) { + return ae instanceof E ? (ae.assertValidity(), ae) : E.fromHex(ae); } - function te(de) { - if (de instanceof U) return de.assertValidity(), de; + function Ce(ae) { + if (ae instanceof I) return ae.assertValidity(), ae; try { - return U.fromDER(de); + return I.fromDER(ae); } catch { - return U.fromCompact(de); - } - } - function ye(de) { - const oe = de instanceof Uint8Array, le = typeof de == "string", me = (oe || le) && de.length; - return oe ? me === s || me === v : le ? me === 2 * s || me === 2 * v : de instanceof N; - } - function ve(de) { - return D(de.length > d ? de.slice(0, d) : de); - } - function F(de) { - const oe = ve(de), le = G(oe, b.n); - return W(le < a ? oe : le); - } - function W(de) { - return w(de); - } - function K(de, oe, le) { - if (de == null) throw new Error(`sign: expected valid message hash, not "${de}"`); - const me = z(de), Ce = Te(oe), we = [W(Ce), F(me)]; - if (le != null) { - le === !0 && (le = n.utils.randomBytes(d)); - const Ie = z(le); - if (Ie.length !== d) throw new Error(`sign: Expected ${d} bytes of extra data`); - we.push(Ie); - } - return { seed: S(...we), m: ve(me), d: Ce }; - } - function X(de, oe) { - const { sig: le, recovery: me } = de, { der: Ce, recovered: we } = Object.assign({ canonical: !0, der: !0 }, oe), Ie = Ce ? le.toDERRawBytes() : le.toCompactRawBytes(); - return we ? [Ie, me] : Ie; - } - n.getPublicKey = function(de, oe = !1) { - return N.fromPrivateKey(de).toRawBytes(oe); - }, n.recoverPublicKey = function(de, oe, le, me = !1) { - return N.fromSignature(de, oe, le).toRawBytes(me); - }, n.getSharedSecret = function(de, oe, le = !1) { - if (ye(de)) throw new TypeError("getSharedSecret: first arg must be private key"); - if (!ye(oe)) throw new TypeError("getSharedSecret: second arg must be public key"); - const me = Se(oe); - return me.assertValidity(), me.multiply(Te(de)).toRawBytes(le); - }, n.sign = async function(de, oe, le = {}) { - const { seed: me, m: Ce, d: we } = K(de, oe, le.extraEntropy), Ie = new ue(32, l); - let ke; - for (await Ie.reseed(me); !(ke = fe(await Ie.generate(), Ce, we, le.canonical)); ) await Ie.reseed(); - return X(ke, le); - }, n.signSync = function(de, oe, le = {}) { - const { seed: me, m: Ce, d: we } = K(de, oe, le.extraEntropy), Ie = new ue(32, l); - let ke; - for (Ie.reseedSync(me); !(ke = fe(Ie.generateSync(), Ce, we, le.canonical)); ) Ie.reseedSync(); - return X(ke, le); + return I.fromCompact(ae); + } + } + function G(ae) { + const oe = x(ae), ue = typeof ae == "string", he = (oe || ue) && ae.length; + return oe ? he === 33 || he === 65 : ue ? he === 66 || he === 130 : ae instanceof E; + } + function ie(ae) { + return K(ae.length > 32 ? ae.slice(0, 32) : ae); + } + function we(ae) { + const oe = ie(ae), ue = F(oe, C.n); + return z(ue < o ? oe : ue); + } + function z(ae) { + return M(ae); + } + function J(ae, oe, ue) { + if (ae == null) throw new Error(`sign: expected valid message hash, not "${ae}"`); + const he = V(ae), _e = me(oe), Te = [z(_e), we(he)]; + if (ue != null) { + ue === !0 && (ue = n.utils.randomBytes(32)); + const Re = V(ue); + if (Re.length !== 32) throw new Error("sign: Expected 32 bytes of extra data"); + Te.push(Re); + } + return { seed: N(...Te), m: ie(he), d: _e }; + } + function q(ae, oe) { + const { sig: ue, recovery: he } = ae, { der: _e, recovered: Te } = Object.assign({ canonical: !0, der: !0 }, oe), Re = _e ? ue.toDERRawBytes() : ue.toCompactRawBytes(); + return Te ? [Re, he] : Re; + } + n.getPublicKey = function(ae, oe = !1) { + return E.fromPrivateKey(ae).toRawBytes(oe); + }, n.recoverPublicKey = function(ae, oe, ue, he = !1) { + return E.fromSignature(ae, oe, ue).toRawBytes(he); + }, n.getSharedSecret = function(ae, oe, ue = !1) { + if (G(ae)) throw new TypeError("getSharedSecret: first arg must be private key"); + if (!G(oe)) throw new TypeError("getSharedSecret: second arg must be public key"); + const he = Oe(oe); + return he.assertValidity(), he.multiply(me(ae)).toRawBytes(ue); + }, n.sign = async function(ae, oe, ue = {}) { + const { seed: he, m: _e, d: Te } = J(ae, oe, ue.extraEntropy), Re = new fe(32, 32); + let Ue; + for (await Re.reseed(he); !(Ue = de(await Re.generate(), _e, Te, ue.canonical)); ) await Re.reseed(); + return q(Ue, ue); + }, n.signSync = function(ae, oe, ue = {}) { + const { seed: he, m: _e, d: Te } = J(ae, oe, ue.extraEntropy), Re = new fe(32, 32); + let Ue; + for (Re.reseedSync(he); !(Ue = de(Re.generateSync(), _e, Te, ue.canonical)); ) Re.reseedSync(); + return q(Ue, ue); }; - const ne = { strict: !0 }; - function re(de) { - return G(D(de), b.n); + const re = { strict: !0 }; + function $(ae) { + return F(K(ae), C.n); } - n.verify = function(de, oe, le, me = ne) { - let Ce; + n.verify = function(ae, oe, ue, he = re) { + let _e; try { - Ce = te(de), oe = z(oe); + _e = Ce(ae), oe = V(oe); } catch { return !1; } - const { r: we, s: Ie } = Ce; - if (me.strict && Ce.hasHighS()) return !1; - const ke = Z(oe); - let Ne; + const { r: Te, s: Re } = _e; + if (he.strict && _e.hasHighS()) return !1; + const Ue = te(oe); + let De; try { - Ne = Se(le); + De = Oe(ue); } catch { return !1; } - const { n: He } = b, qe = ee(Ie, He), Ue = G(ke * qe, He), $e = G(we * qe, He), ct = N.BASE.multiplyAndAddUnsafe(Ne, Ue, $e); - return !!ct && G(ct.x, He) === we; + const { n: ze } = C, Xe = ne(Re, ze), qe = F(Ue * Xe, ze), Ye = F(Te * Xe, ze), ct = E.BASE.multiplyAndAddUnsafe(De, qe, Ye); + return !!ct && F(ct.x, ze) === Te; }; - class pe { - constructor(oe, le) { - this.r = oe, this.s = le, this.assertValidity(); + class Y { + constructor(oe, ue) { + this.r = oe, this.s = ue, this.assertValidity(); } static fromHex(oe) { - const le = z(oe); - if (le.length !== 64) throw new TypeError(`SchnorrSignature.fromHex: expected 64 bytes, not ${le.length}`); - const me = D(le.subarray(0, 32)), Ce = D(le.subarray(32, 64)); - return new pe(me, Ce); + const ue = V(oe); + if (ue.length !== 64) throw new TypeError(`SchnorrSignature.fromHex: expected 64 bytes, not ${ue.length}`); + const he = K(ue.subarray(0, 32)), _e = K(ue.subarray(32, 64)); + return new Y(he, _e); } assertValidity() { - const { r: oe, s: le } = this; - if (!ie(oe) || !ce(le)) throw new Error("Invalid signature"); + const { r: oe, s: ue } = this; + if (!Se(oe) || !le(ue)) throw new Error("Invalid signature"); } toHex() { - return _(this.r) + _(this.s); + return R(this.r) + R(this.s); } toRawBytes() { - return V(this.toHex()); + return T(this.toHex()); } } - class Oe { - constructor(oe, le, me = n.utils.randomBytes()) { + class ce { + constructor(oe, ue, he = n.utils.randomBytes()) { if (oe == null) throw new TypeError(`sign: Expected valid message, not "${oe}"`); - this.m = z(oe); - const { x: Ce, scalar: we } = this.getScalar(Te(le)); - if (this.px = Ce, this.d = we, this.rand = z(me), this.rand.length !== 32) throw new TypeError("sign: Expected 32 bytes of aux randomness"); + this.m = V(oe); + const { x: _e, scalar: Te } = this.getScalar(me(ue)); + if (this.px = _e, this.d = Te, this.rand = V(he), this.rand.length !== 32) throw new TypeError("sign: Expected 32 bytes of aux randomness"); } getScalar(oe) { - const le = N.fromPrivateKey(oe), me = le.hasEvenY() ? oe : b.n - oe; - return { point: le, scalar: me, x: le.toRawX() }; + const ue = E.fromPrivateKey(oe), he = ue.hasEvenY() ? oe : C.n - oe; + return { point: ue, scalar: he, x: ue.toRawX() }; } - initNonce(oe, le) { - return w(oe ^ D(le)); + initNonce(oe, ue) { + return M(oe ^ K(ue)); } finalizeNonce(oe) { - const le = G(D(oe), b.n); - if (le === a) throw new Error("sign: Creation of signature failed. k is zero"); - const { point: me, x: Ce, scalar: we } = this.getScalar(le); - return { R: me, rx: Ce, k: we }; + const ue = F(K(oe), C.n); + if (ue === o) throw new Error("sign: Creation of signature failed. k is zero"); + const { point: he, x: _e, scalar: Te } = this.getScalar(ue); + return { R: he, rx: _e, k: Te }; } - finalizeSig(oe, le, me, Ce) { - return new pe(oe.x, G(le + me * Ce, b.n)).toRawBytes(); + finalizeSig(oe, ue, he, _e) { + return new Y(oe.x, F(ue + he * _e, C.n)).toRawBytes(); } error() { throw new Error("sign: Invalid signature produced"); } async calc() { - const { m: oe, d: le, px: me, rand: Ce } = this, we = n.utils.taggedHash, Ie = this.initNonce(le, await we(Ze.aux, Ce)), { R: ke, rx: Ne, k: He } = this.finalizeNonce(await we(Ze.nonce, Ie, me, oe)), qe = re(await we(Ze.challenge, Ne, me, oe)), Ue = this.finalizeSig(ke, He, qe, le); - return await De(Ue, oe, me) || this.error(), Ue; + const { m: oe, d: ue, px: he, rand: _e } = this, Te = n.utils.taggedHash, Re = this.initNonce(ue, await Te(Ne.aux, _e)), { R: Ue, rx: De, k: ze } = this.finalizeNonce(await Te(Ne.nonce, Re, he, oe)), Xe = $(await Te(Ne.challenge, De, he, oe)), qe = this.finalizeSig(Ue, ze, Xe, ue); + return await Ee(qe, oe, he) || this.error(), qe; } calcSync() { - const { m: oe, d: le, px: me, rand: Ce } = this, we = n.utils.taggedHashSync, Ie = this.initNonce(le, we(Ze.aux, Ce)), { R: ke, rx: Ne, k: He } = this.finalizeNonce(we(Ze.nonce, Ie, me, oe)), qe = re(we(Ze.challenge, Ne, me, oe)), Ue = this.finalizeSig(ke, He, qe, le); - return Le(Ue, oe, me) || this.error(), Ue; + const { m: oe, d: ue, px: he, rand: _e } = this, Te = n.utils.taggedHashSync, Re = this.initNonce(ue, Te(Ne.aux, _e)), { R: Ue, rx: De, k: ze } = this.finalizeNonce(Te(Ne.nonce, Re, he, oe)), Xe = $(Te(Ne.challenge, De, he, oe)), qe = this.finalizeSig(Ue, ze, Xe, ue); + return Ie(qe, oe, he) || this.error(), qe; } } - function xe(de, oe, le) { - const me = de instanceof pe, Ce = me ? de : pe.fromHex(de); - return me && Ce.assertValidity(), { ...Ce, m: z(oe), P: Se(le) }; + function ye(ae, oe, ue) { + const he = ae instanceof Y, _e = he ? ae : Y.fromHex(ae); + return he && _e.assertValidity(), { ..._e, m: V(oe), P: Oe(ue) }; } - function Re(de, oe, le, me) { - const Ce = N.BASE.multiplyAndAddUnsafe(oe, Te(le), G(-me, b.n)); - return !(!Ce || !Ce.hasEvenY() || Ce.x !== de); + function ve(ae, oe, ue, he) { + const _e = E.BASE.multiplyAndAddUnsafe(oe, me(ue), F(-he, C.n)); + return !(!_e || !_e.hasEvenY() || _e.x !== ae); } - async function De(de, oe, le) { + async function Ee(ae, oe, ue) { try { - const { r: me, s: Ce, m: we, P: Ie } = xe(de, oe, le), ke = re(await n.utils.taggedHash(Ze.challenge, w(me), Ie.toRawX(), we)); - return Re(me, Ie, Ce, ke); + const { r: he, s: _e, m: Te, P: Re } = ye(ae, oe, ue), Ue = $(await n.utils.taggedHash(Ne.challenge, M(he), Re.toRawX(), Te)); + return ve(he, Re, _e, Ue); } catch { return !1; } } - function Le(de, oe, le) { + function Ie(ae, oe, ue) { try { - const { r: me, s: Ce, m: we, P: Ie } = xe(de, oe, le), ke = re(n.utils.taggedHashSync(Ze.challenge, w(me), Ie.toRawX(), we)); - return Re(me, Ie, Ce, ke); - } catch (me) { - if (me instanceof O) throw me; + const { r: he, s: _e, m: Te, P: Re } = ye(ae, oe, ue), Ue = $(n.utils.taggedHashSync(Ne.challenge, M(he), Re.toRawX(), Te)); + return ve(he, Re, _e, Ue); + } catch (he) { + if (he instanceof u) throw he; return !1; } } - n.schnorr = { Signature: pe, getPublicKey: function(de) { - return N.fromPrivateKey(de).toRawX(); - }, sign: async function(de, oe, le) { - return new Oe(de, oe, le).calc(); - }, verify: De, signSync: function(de, oe, le) { - return new Oe(de, oe, le).calcSync(); - }, verifySync: Le }, N.BASE._setWindowSize(8); - const Ve = { node: r, web: typeof self == "object" && "crypto" in self ? self.crypto : void 0 }, Ze = { challenge: "BIP0340/challenge", aux: "BIP0340/aux", nonce: "BIP0340/nonce" }, Be = {}; - n.utils = { bytesToHex: E, hexToBytes: V, concatBytes: S, mod: G, invert: ee, isValidPrivateKey(de) { + n.schnorr = { Signature: Y, getPublicKey: function(ae) { + return E.fromPrivateKey(ae).toRawX(); + }, sign: async function(ae, oe, ue) { + return new ce(ae, oe, ue).calc(); + }, verify: Ee, signSync: function(ae, oe, ue) { + return new ce(ae, oe, ue).calcSync(); + }, verifySync: Ie }, E.BASE._setWindowSize(8); + const be = { node: r, web: typeof self == "object" && "crypto" in self ? self.crypto : void 0 }, Ne = { challenge: "BIP0340/challenge", aux: "BIP0340/aux", nonce: "BIP0340/nonce" }, He = {}; + n.utils = { bytesToHex: j, hexToBytes: T, concatBytes: N, mod: F, invert: ne, isValidPrivateKey(ae) { try { - return Te(de), !0; + return me(ae), !0; } catch { return !1; } - }, _bigintTo32Bytes: w, _normalizePrivateKey: Te, hashToPrivateKey: (de) => { - de = z(de); - const oe = l + 8; - if (de.length < oe || de.length > 1024) throw new Error("Expected valid bytes of private key as per FIPS 186"); - return w(G(D(de), b.n - i) + i); - }, randomBytes: (de = 32) => { - if (Ve.web) return Ve.web.getRandomValues(new Uint8Array(de)); - if (Ve.node) { - const { randomBytes: oe } = Ve.node; - return Uint8Array.from(oe(de)); + }, _bigintTo32Bytes: M, _normalizePrivateKey: me, hashToPrivateKey: (ae) => { + if ((ae = V(ae)).length < 40 || ae.length > 1024) throw new Error("Expected valid bytes of private key as per FIPS 186"); + return M(F(K(ae), C.n - i) + i); + }, randomBytes: (ae = 32) => { + if (be.web) return be.web.getRandomValues(new Uint8Array(ae)); + if (be.node) { + const { randomBytes: oe } = be.node; + return Uint8Array.from(oe(ae)); } throw new Error("The environment doesn't have randomBytes function"); - }, randomPrivateKey: () => n.utils.hashToPrivateKey(n.utils.randomBytes(l + 8)), precompute(de = 8, oe = N.BASE) { - const le = oe === N.BASE ? oe : new N(oe.x, oe.y); - return le._setWindowSize(de), le.multiply(t), le; - }, sha256: async (...de) => { - if (Ve.web) { - const oe = await Ve.web.subtle.digest("SHA-256", S(...de)); + }, randomPrivateKey: () => n.utils.hashToPrivateKey(n.utils.randomBytes(40)), precompute(ae = 8, oe = E.BASE) { + const ue = oe === E.BASE ? oe : new E(oe.x, oe.y); + return ue._setWindowSize(ae), ue.multiply(a), ue; + }, sha256: async (...ae) => { + if (be.web) { + const oe = await be.web.subtle.digest("SHA-256", N(...ae)); return new Uint8Array(oe); } - if (Ve.node) { - const { createHash: oe } = Ve.node, le = oe("sha256"); - return de.forEach((me) => le.update(me)), Uint8Array.from(le.digest()); + if (be.node) { + const { createHash: oe } = be.node, ue = oe("sha256"); + return ae.forEach((he) => ue.update(he)), Uint8Array.from(ue.digest()); } throw new Error("The environment doesn't have sha256 function"); - }, hmacSha256: async (de, ...oe) => { - if (Ve.web) { - const le = await Ve.web.subtle.importKey("raw", de, { name: "HMAC", hash: { name: "SHA-256" } }, !1, ["sign"]), me = S(...oe), Ce = await Ve.web.subtle.sign("HMAC", le, me); - return new Uint8Array(Ce); + }, hmacSha256: async (ae, ...oe) => { + if (be.web) { + const ue = await be.web.subtle.importKey("raw", ae, { name: "HMAC", hash: { name: "SHA-256" } }, !1, ["sign"]), he = N(...oe), _e = await be.web.subtle.sign("HMAC", ue, he); + return new Uint8Array(_e); } - if (Ve.node) { - const { createHmac: le } = Ve.node, me = le("sha256", de); - return oe.forEach((Ce) => me.update(Ce)), Uint8Array.from(me.digest()); + if (be.node) { + const { createHmac: ue } = be.node, he = ue("sha256", ae); + return oe.forEach((_e) => he.update(_e)), Uint8Array.from(he.digest()); } throw new Error("The environment doesn't have hmac-sha256 function"); - }, sha256Sync: void 0, hmacSha256Sync: void 0, taggedHash: async (de, ...oe) => { - let le = Be[de]; - if (le === void 0) { - const me = await n.utils.sha256(Uint8Array.from(de, (Ce) => Ce.charCodeAt(0))); - le = S(me, me), Be[de] = le; - } - return n.utils.sha256(le, ...oe); - }, taggedHashSync: (de, ...oe) => { - if (typeof q != "function") throw new O("sha256Sync is undefined, you need to set it"); - let le = Be[de]; - if (le === void 0) { - const me = q(Uint8Array.from(de, (Ce) => Ce.charCodeAt(0))); - le = S(me, me), Be[de] = le; - } - return q(le, ...oe); - }, _JacobianPoint: k }, Object.defineProperties(n.utils, { sha256Sync: { configurable: !1, get: () => q, set(de) { - q || (q = de); - } }, hmacSha256Sync: { configurable: !1, get: () => se, set(de) { - se || (se = de); + }, sha256Sync: void 0, hmacSha256Sync: void 0, taggedHash: async (ae, ...oe) => { + let ue = He[ae]; + if (ue === void 0) { + const he = await n.utils.sha256(Uint8Array.from(ae, (_e) => _e.charCodeAt(0))); + ue = N(he, he), He[ae] = ue; + } + return n.utils.sha256(ue, ...oe); + }, taggedHashSync: (ae, ...oe) => { + if (typeof X != "function") throw new u("sha256Sync is undefined, you need to set it"); + let ue = He[ae]; + if (ue === void 0) { + const he = X(Uint8Array.from(ae, (_e) => _e.charCodeAt(0))); + ue = N(he, he), He[ae] = ue; + } + return X(ue, ...oe); + }, _JacobianPoint: d }, Object.defineProperties(n.utils, { sha256Sync: { configurable: !1, get: () => X, set(ae) { + X || (X = ae); + } }, hmacSha256Sync: { configurable: !1, get: () => Z, set(ae) { + Z || (Z = ae); } } }); - }, 7568: (x, n, c) => { + }, 7568(g, n, s) { const r = n; - r.bignum = c(2344), r.define = c(7363).define, r.base = c(9673), r.constants = c(2153), r.decoders = c(5234), r.encoders = c(4669); - }, 7363: (x, n, c) => { - const r = c(4669), a = c(5234), i = c(6698); - function m(t, f) { - this.name = t, this.body = f, this.decoders = {}, this.encoders = {}; - } - n.define = function(t, f) { - return new m(t, f); - }, m.prototype._createNamed = function(t) { + r.bignum = s(9404), r.define = s(7363).define, r.base = s(9673), r.constants = s(2153), r.decoders = s(5234), r.encoders = s(4669); + }, 7363(g, n, s) { + const r = s(4669), o = s(5234), i = s(6698); + function p(a, f) { + this.name = a, this.body = f, this.decoders = {}, this.encoders = {}; + } + n.define = function(a, f) { + return new p(a, f); + }, p.prototype._createNamed = function(a) { const f = this.name; - function b(y) { - this._initNamed(y, f); - } - return i(b, t), b.prototype._initNamed = function(y, u) { - t.call(this, y, u); - }, new b(this); - }, m.prototype._getDecoder = function(t) { - return t = t || "der", this.decoders.hasOwnProperty(t) || (this.decoders[t] = this._createNamed(a[t])), this.decoders[t]; - }, m.prototype.decode = function(t, f, b) { - return this._getDecoder(f).decode(t, b); - }, m.prototype._getEncoder = function(t) { - return t = t || "der", this.encoders.hasOwnProperty(t) || (this.encoders[t] = this._createNamed(r[t])), this.encoders[t]; - }, m.prototype.encode = function(t, f, b) { - return this._getEncoder(f).encode(t, b); + function C(w) { + this._initNamed(w, f); + } + return i(C, a), C.prototype._initNamed = function(w, m) { + a.call(this, w, m); + }, new C(this); + }, p.prototype._getDecoder = function(a) { + return a = a || "der", this.decoders.hasOwnProperty(a) || (this.decoders[a] = this._createNamed(o[a])), this.decoders[a]; + }, p.prototype.decode = function(a, f, C) { + return this._getDecoder(f).decode(a, C); + }, p.prototype._getEncoder = function(a) { + return a = a || "der", this.encoders.hasOwnProperty(a) || (this.encoders[a] = this._createNamed(r[a])), this.encoders[a]; + }, p.prototype.encode = function(a, f, C) { + return this._getEncoder(f).encode(a, C); }; - }, 7227: (x, n, c) => { - const r = c(6698), a = c(9220).a, i = c(4774).Buffer; - function m(f, b) { - a.call(this, b), i.isBuffer(f) ? (this.base = f, this.offset = 0, this.length = f.length) : this.error("Input not Buffer"); - } - function t(f, b) { - if (Array.isArray(f)) this.length = 0, this.value = f.map(function(y) { - return t.isEncoderBuffer(y) || (y = new t(y, b)), this.length += y.length, y; + }, 7227(g, n, s) { + const r = s(6698), o = s(9220).a, i = s(4774).Buffer; + function p(f, C) { + o.call(this, C), i.isBuffer(f) ? (this.base = f, this.offset = 0, this.length = f.length) : this.error("Input not Buffer"); + } + function a(f, C) { + if (Array.isArray(f)) this.length = 0, this.value = f.map(function(w) { + return a.isEncoderBuffer(w) || (w = new a(w, C)), this.length += w.length, w; }, this); else if (typeof f == "number") { - if (!(0 <= f && f <= 255)) return b.error("non-byte EncoderBuffer value"); + if (!(0 <= f && f <= 255)) return C.error("non-byte EncoderBuffer value"); this.value = f, this.length = 1; } else if (typeof f == "string") this.value = f, this.length = i.byteLength(f); else { - if (!i.isBuffer(f)) return b.error("Unsupported type: " + typeof f); + if (!i.isBuffer(f)) return C.error("Unsupported type: " + typeof f); this.value = f, this.length = f.length; } } - r(m, a), n.t = m, m.isDecoderBuffer = function(f) { - return f instanceof m || typeof f == "object" && i.isBuffer(f.base) && f.constructor.name === "DecoderBuffer" && typeof f.offset == "number" && typeof f.length == "number" && typeof f.save == "function" && typeof f.restore == "function" && typeof f.isEmpty == "function" && typeof f.readUInt8 == "function" && typeof f.skip == "function" && typeof f.raw == "function"; - }, m.prototype.save = function() { - return { offset: this.offset, reporter: a.prototype.save.call(this) }; - }, m.prototype.restore = function(f) { - const b = new m(this.base); - return b.offset = f.offset, b.length = this.offset, this.offset = f.offset, a.prototype.restore.call(this, f.reporter), b; - }, m.prototype.isEmpty = function() { + r(p, o), n.t = p, p.isDecoderBuffer = function(f) { + return f instanceof p || typeof f == "object" && i.isBuffer(f.base) && f.constructor.name === "DecoderBuffer" && typeof f.offset == "number" && typeof f.length == "number" && typeof f.save == "function" && typeof f.restore == "function" && typeof f.isEmpty == "function" && typeof f.readUInt8 == "function" && typeof f.skip == "function" && typeof f.raw == "function"; + }, p.prototype.save = function() { + return { offset: this.offset, reporter: o.prototype.save.call(this) }; + }, p.prototype.restore = function(f) { + const C = new p(this.base); + return C.offset = f.offset, C.length = this.offset, this.offset = f.offset, o.prototype.restore.call(this, f.reporter), C; + }, p.prototype.isEmpty = function() { return this.offset === this.length; - }, m.prototype.readUInt8 = function(f) { + }, p.prototype.readUInt8 = function(f) { return this.offset + 1 <= this.length ? this.base.readUInt8(this.offset++, !0) : this.error(f || "DecoderBuffer overrun"); - }, m.prototype.skip = function(f, b) { - if (!(this.offset + f <= this.length)) return this.error(b || "DecoderBuffer overrun"); - const y = new m(this.base); - return y._reporterState = this._reporterState, y.offset = this.offset, y.length = this.offset + f, this.offset += f, y; - }, m.prototype.raw = function(f) { + }, p.prototype.skip = function(f, C) { + if (!(this.offset + f <= this.length)) return this.error(C || "DecoderBuffer overrun"); + const w = new p(this.base); + return w._reporterState = this._reporterState, w.offset = this.offset, w.length = this.offset + f, this.offset += f, w; + }, p.prototype.raw = function(f) { return this.base.slice(f ? f.offset : this.offset, this.length); - }, n.d = t, t.isEncoderBuffer = function(f) { - return f instanceof t || typeof f == "object" && f.constructor.name === "EncoderBuffer" && typeof f.length == "number" && typeof f.join == "function"; - }, t.prototype.join = function(f, b) { - return f || (f = i.alloc(this.length)), b || (b = 0), this.length === 0 || (Array.isArray(this.value) ? this.value.forEach(function(y) { - y.join(f, b), b += y.length; - }) : (typeof this.value == "number" ? f[b] = this.value : typeof this.value == "string" ? f.write(this.value, b) : i.isBuffer(this.value) && this.value.copy(f, b), b += this.length)), f; + }, n.d = a, a.isEncoderBuffer = function(f) { + return f instanceof a || typeof f == "object" && f.constructor.name === "EncoderBuffer" && typeof f.length == "number" && typeof f.join == "function"; + }, a.prototype.join = function(f, C) { + return f || (f = i.alloc(this.length)), C || (C = 0), this.length === 0 || (Array.isArray(this.value) ? this.value.forEach(function(w) { + w.join(f, C), C += w.length; + }) : (typeof this.value == "number" ? f[C] = this.value : typeof this.value == "string" ? f.write(this.value, C) : i.isBuffer(this.value) && this.value.copy(f, C), C += this.length)), f; }; - }, 9673: (x, n, c) => { + }, 9673(g, n, s) { const r = n; - r.Reporter = c(9220).a, r.DecoderBuffer = c(7227).t, r.EncoderBuffer = c(7227).d, r.Node = c(993); - }, 993: (x, n, c) => { - const r = c(9220).a, a = c(7227).d, i = c(7227).t, m = c(3349), t = ["seq", "seqof", "set", "setof", "objid", "bool", "gentime", "utctime", "null_", "enum", "int", "objDesc", "bitstr", "bmpstr", "charstr", "genstr", "graphstr", "ia5str", "iso646str", "numstr", "octstr", "printstr", "t61str", "unistr", "utf8str", "videostr"], f = ["key", "obj", "use", "optional", "explicit", "implicit", "def", "choice", "any", "contains"].concat(t); - function b(u, d, l) { - const s = {}; - this._baseState = s, s.name = l, s.enc = u, s.parent = d || null, s.children = null, s.tag = null, s.args = null, s.reverseArgs = null, s.choice = null, s.optional = !1, s.any = !1, s.obj = !1, s.use = null, s.useDecoder = null, s.key = null, s.default = null, s.explicit = null, s.implicit = null, s.contains = null, s.parent || (s.children = [], this._wrap()); - } - x.exports = b; - const y = ["enc", "parent", "children", "tag", "args", "reverseArgs", "choice", "optional", "any", "obj", "use", "alteredUse", "key", "default", "explicit", "implicit", "contains"]; - b.prototype.clone = function() { - const u = this._baseState, d = {}; - y.forEach(function(s) { - d[s] = u[s]; + r.Reporter = s(9220).a, r.DecoderBuffer = s(7227).t, r.EncoderBuffer = s(7227).d, r.Node = s(993); + }, 993(g, n, s) { + const r = s(9220).a, o = s(7227).d, i = s(7227).t, p = s(3349), a = ["seq", "seqof", "set", "setof", "objid", "bool", "gentime", "utctime", "null_", "enum", "int", "objDesc", "bitstr", "bmpstr", "charstr", "genstr", "graphstr", "ia5str", "iso646str", "numstr", "octstr", "printstr", "t61str", "unistr", "utf8str", "videostr"], f = ["key", "obj", "use", "optional", "explicit", "implicit", "def", "choice", "any", "contains"].concat(a); + function C(m, v, l) { + const u = {}; + this._baseState = u, u.name = l, u.enc = m, u.parent = v || null, u.children = null, u.tag = null, u.args = null, u.reverseArgs = null, u.choice = null, u.optional = !1, u.any = !1, u.obj = !1, u.use = null, u.useDecoder = null, u.key = null, u.default = null, u.explicit = null, u.implicit = null, u.contains = null, u.parent || (u.children = [], this._wrap()); + } + g.exports = C; + const w = ["enc", "parent", "children", "tag", "args", "reverseArgs", "choice", "optional", "any", "obj", "use", "alteredUse", "key", "default", "explicit", "implicit", "contains"]; + C.prototype.clone = function() { + const m = this._baseState, v = {}; + w.forEach(function(u) { + v[u] = m[u]; }); - const l = new this.constructor(d.parent); - return l._baseState = d, l; - }, b.prototype._wrap = function() { - const u = this._baseState; - f.forEach(function(d) { - this[d] = function() { + const l = new this.constructor(v.parent); + return l._baseState = v, l; + }, C.prototype._wrap = function() { + const m = this._baseState; + f.forEach(function(v) { + this[v] = function() { const l = new this.constructor(this); - return u.children.push(l), l[d].apply(l, arguments); + return m.children.push(l), l[v].apply(l, arguments); }; }, this); - }, b.prototype._init = function(u) { - const d = this._baseState; - m(d.parent === null), u.call(this), d.children = d.children.filter(function(l) { + }, C.prototype._init = function(m) { + const v = this._baseState; + p(v.parent === null), m.call(this), v.children = v.children.filter(function(l) { return l._baseState.parent === this; - }, this), m.equal(d.children.length, 1, "Root node can have only one child"); - }, b.prototype._useArgs = function(u) { - const d = this._baseState, l = u.filter(function(s) { - return s instanceof this.constructor; + }, this), p.equal(v.children.length, 1, "Root node can have only one child"); + }, C.prototype._useArgs = function(m) { + const v = this._baseState, l = m.filter(function(u) { + return u instanceof this.constructor; }, this); - u = u.filter(function(s) { - return !(s instanceof this.constructor); - }, this), l.length !== 0 && (m(d.children === null), d.children = l, l.forEach(function(s) { - s._baseState.parent = this; - }, this)), u.length !== 0 && (m(d.args === null), d.args = u, d.reverseArgs = u.map(function(s) { - if (typeof s != "object" || s.constructor !== Object) return s; - const v = {}; - return Object.keys(s).forEach(function(p) { - p == (0 | p) && (p |= 0); - const h = s[p]; - v[h] = p; - }), v; + m = m.filter(function(u) { + return !(u instanceof this.constructor); + }, this), l.length !== 0 && (p(v.children === null), v.children = l, l.forEach(function(u) { + u._baseState.parent = this; + }, this)), m.length !== 0 && (p(v.args === null), v.args = m, v.reverseArgs = m.map(function(u) { + if (typeof u != "object" || u.constructor !== Object) return u; + const y = {}; + return Object.keys(u).forEach(function(d) { + d == (0 | d) && (d |= 0); + const b = u[d]; + y[b] = d; + }), y; })); - }, ["_peekTag", "_decodeTag", "_use", "_decodeStr", "_decodeObjid", "_decodeTime", "_decodeNull", "_decodeInt", "_decodeBool", "_decodeList", "_encodeComposite", "_encodeStr", "_encodeObjid", "_encodeTime", "_encodeNull", "_encodeInt", "_encodeBool"].forEach(function(u) { - b.prototype[u] = function() { - const d = this._baseState; - throw new Error(u + " not implemented for encoding: " + d.enc); + }, ["_peekTag", "_decodeTag", "_use", "_decodeStr", "_decodeObjid", "_decodeTime", "_decodeNull", "_decodeInt", "_decodeBool", "_decodeList", "_encodeComposite", "_encodeStr", "_encodeObjid", "_encodeTime", "_encodeNull", "_encodeInt", "_encodeBool"].forEach(function(m) { + C.prototype[m] = function() { + const v = this._baseState; + throw new Error(m + " not implemented for encoding: " + v.enc); }; - }), t.forEach(function(u) { - b.prototype[u] = function() { - const d = this._baseState, l = Array.prototype.slice.call(arguments); - return m(d.tag === null), d.tag = u, this._useArgs(l), this; + }), a.forEach(function(m) { + C.prototype[m] = function() { + const v = this._baseState, l = Array.prototype.slice.call(arguments); + return p(v.tag === null), v.tag = m, this._useArgs(l), this; }; - }), b.prototype.use = function(u) { - m(u); - const d = this._baseState; - return m(d.use === null), d.use = u, this; - }, b.prototype.optional = function() { + }), C.prototype.use = function(m) { + p(m); + const v = this._baseState; + return p(v.use === null), v.use = m, this; + }, C.prototype.optional = function() { return this._baseState.optional = !0, this; - }, b.prototype.def = function(u) { - const d = this._baseState; - return m(d.default === null), d.default = u, d.optional = !0, this; - }, b.prototype.explicit = function(u) { - const d = this._baseState; - return m(d.explicit === null && d.implicit === null), d.explicit = u, this; - }, b.prototype.implicit = function(u) { - const d = this._baseState; - return m(d.explicit === null && d.implicit === null), d.implicit = u, this; - }, b.prototype.obj = function() { - const u = this._baseState, d = Array.prototype.slice.call(arguments); - return u.obj = !0, d.length !== 0 && this._useArgs(d), this; - }, b.prototype.key = function(u) { - const d = this._baseState; - return m(d.key === null), d.key = u, this; - }, b.prototype.any = function() { + }, C.prototype.def = function(m) { + const v = this._baseState; + return p(v.default === null), v.default = m, v.optional = !0, this; + }, C.prototype.explicit = function(m) { + const v = this._baseState; + return p(v.explicit === null && v.implicit === null), v.explicit = m, this; + }, C.prototype.implicit = function(m) { + const v = this._baseState; + return p(v.explicit === null && v.implicit === null), v.implicit = m, this; + }, C.prototype.obj = function() { + const m = this._baseState, v = Array.prototype.slice.call(arguments); + return m.obj = !0, v.length !== 0 && this._useArgs(v), this; + }, C.prototype.key = function(m) { + const v = this._baseState; + return p(v.key === null), v.key = m, this; + }, C.prototype.any = function() { return this._baseState.any = !0, this; - }, b.prototype.choice = function(u) { - const d = this._baseState; - return m(d.choice === null), d.choice = u, this._useArgs(Object.keys(u).map(function(l) { - return u[l]; + }, C.prototype.choice = function(m) { + const v = this._baseState; + return p(v.choice === null), v.choice = m, this._useArgs(Object.keys(m).map(function(l) { + return m[l]; })), this; - }, b.prototype.contains = function(u) { - const d = this._baseState; - return m(d.use === null), d.contains = u, this; - }, b.prototype._decode = function(u, d) { + }, C.prototype.contains = function(m) { + const v = this._baseState; + return p(v.use === null), v.contains = m, this; + }, C.prototype._decode = function(m, v) { const l = this._baseState; - if (l.parent === null) return u.wrapResult(l.children[0]._decode(u, d)); - let s, v = l.default, p = !0, h = null; - if (l.key !== null && (h = u.enterKey(l.key)), l.optional) { - let O = null; - if (l.explicit !== null ? O = l.explicit : l.implicit !== null ? O = l.implicit : l.tag !== null && (O = l.tag), O !== null || l.any) { - if (p = this._peekTag(u, O, l.any), u.isError(p)) return p; + if (l.parent === null) return m.wrapResult(l.children[0]._decode(m, v)); + let u, y = l.default, d = !0, b = null; + if (l.key !== null && (b = m.enterKey(l.key)), l.optional) { + let _ = null; + if (l.explicit !== null ? _ = l.explicit : l.implicit !== null ? _ = l.implicit : l.tag !== null && (_ = l.tag), _ !== null || l.any) { + if (d = this._peekTag(m, _, l.any), m.isError(d)) return d; } else { - const I = u.save(); + const E = m.save(); try { - l.choice === null ? this._decodeGeneric(l.tag, u, d) : this._decodeChoice(u, d), p = !0; + l.choice === null ? this._decodeGeneric(l.tag, m, v) : this._decodeChoice(m, v), d = !0; } catch { - p = !1; + d = !1; } - u.restore(I); + m.restore(E); } } - if (l.obj && p && (s = u.enterObject()), p) { + if (l.obj && d && (u = m.enterObject()), d) { if (l.explicit !== null) { - const I = this._decodeTag(u, l.explicit); - if (u.isError(I)) return I; - u = I; + const E = this._decodeTag(m, l.explicit); + if (m.isError(E)) return E; + m = E; } - const O = u.offset; + const _ = m.offset; if (l.use === null && l.choice === null) { - let I; - l.any && (I = u.save()); - const k = this._decodeTag(u, l.implicit !== null ? l.implicit : l.tag, l.any); - if (u.isError(k)) return k; - l.any ? v = u.raw(I) : u = k; - } - if (d && d.track && l.tag !== null && d.track(u.path(), O, u.length, "tagged"), d && d.track && l.tag !== null && d.track(u.path(), u.offset, u.length, "content"), l.any || (v = l.choice === null ? this._decodeGeneric(l.tag, u, d) : this._decodeChoice(u, d)), u.isError(v)) return v; - if (l.any || l.choice !== null || l.children === null || l.children.forEach(function(I) { - I._decode(u, d); + let E; + l.any && (E = m.save()); + const B = this._decodeTag(m, l.implicit !== null ? l.implicit : l.tag, l.any); + if (m.isError(B)) return B; + l.any ? y = m.raw(E) : m = B; + } + if (v && v.track && l.tag !== null && v.track(m.path(), _, m.length, "tagged"), v && v.track && l.tag !== null && v.track(m.path(), m.offset, m.length, "content"), l.any || (y = l.choice === null ? this._decodeGeneric(l.tag, m, v) : this._decodeChoice(m, v)), m.isError(y)) return y; + if (l.any || l.choice !== null || l.children === null || l.children.forEach(function(E) { + E._decode(m, v); }), l.contains && (l.tag === "octstr" || l.tag === "bitstr")) { - const I = new i(v); - v = this._getUse(l.contains, u._reporterState.obj)._decode(I, d); + const E = new i(y); + y = this._getUse(l.contains, m._reporterState.obj)._decode(E, v); } } - return l.obj && p && (v = u.leaveObject(s)), l.key === null || v === null && p !== !0 ? h !== null && u.exitKey(h) : u.leaveKey(h, l.key, v), v; - }, b.prototype._decodeGeneric = function(u, d, l) { - const s = this._baseState; - return u === "seq" || u === "set" ? null : u === "seqof" || u === "setof" ? this._decodeList(d, u, s.args[0], l) : /str$/.test(u) ? this._decodeStr(d, u, l) : u === "objid" && s.args ? this._decodeObjid(d, s.args[0], s.args[1], l) : u === "objid" ? this._decodeObjid(d, null, null, l) : u === "gentime" || u === "utctime" ? this._decodeTime(d, u, l) : u === "null_" ? this._decodeNull(d, l) : u === "bool" ? this._decodeBool(d, l) : u === "objDesc" ? this._decodeStr(d, u, l) : u === "int" || u === "enum" ? this._decodeInt(d, s.args && s.args[0], l) : s.use !== null ? this._getUse(s.use, d._reporterState.obj)._decode(d, l) : d.error("unknown tag: " + u); - }, b.prototype._getUse = function(u, d) { + return l.obj && d && (y = m.leaveObject(u)), l.key === null || y === null && d !== !0 ? b !== null && m.exitKey(b) : m.leaveKey(b, l.key, y), y; + }, C.prototype._decodeGeneric = function(m, v, l) { + const u = this._baseState; + return m === "seq" || m === "set" ? null : m === "seqof" || m === "setof" ? this._decodeList(v, m, u.args[0], l) : /str$/.test(m) ? this._decodeStr(v, m, l) : m === "objid" && u.args ? this._decodeObjid(v, u.args[0], u.args[1], l) : m === "objid" ? this._decodeObjid(v, null, null, l) : m === "gentime" || m === "utctime" ? this._decodeTime(v, m, l) : m === "null_" ? this._decodeNull(v, l) : m === "bool" ? this._decodeBool(v, l) : m === "objDesc" ? this._decodeStr(v, m, l) : m === "int" || m === "enum" ? this._decodeInt(v, u.args && u.args[0], l) : u.use !== null ? this._getUse(u.use, v._reporterState.obj)._decode(v, l) : v.error("unknown tag: " + m); + }, C.prototype._getUse = function(m, v) { const l = this._baseState; - return l.useDecoder = this._use(u, d), m(l.useDecoder._baseState.parent === null), l.useDecoder = l.useDecoder._baseState.children[0], l.implicit !== l.useDecoder._baseState.implicit && (l.useDecoder = l.useDecoder.clone(), l.useDecoder._baseState.implicit = l.implicit), l.useDecoder; - }, b.prototype._decodeChoice = function(u, d) { + return l.useDecoder = this._use(m, v), p(l.useDecoder._baseState.parent === null), l.useDecoder = l.useDecoder._baseState.children[0], l.implicit !== l.useDecoder._baseState.implicit && (l.useDecoder = l.useDecoder.clone(), l.useDecoder._baseState.implicit = l.implicit), l.useDecoder; + }, C.prototype._decodeChoice = function(m, v) { const l = this._baseState; - let s = null, v = !1; - return Object.keys(l.choice).some(function(p) { - const h = u.save(), O = l.choice[p]; + let u = null, y = !1; + return Object.keys(l.choice).some(function(d) { + const b = m.save(), _ = l.choice[d]; try { - const I = O._decode(u, d); - if (u.isError(I)) return !1; - s = { type: p, value: I }, v = !0; + const E = _._decode(m, v); + if (m.isError(E)) return !1; + u = { type: d, value: E }, y = !0; } catch { - return u.restore(h), !1; + return m.restore(b), !1; } return !0; - }, this), v ? s : u.error("Choice not matched"); - }, b.prototype._createEncoderBuffer = function(u) { - return new a(u, this.reporter); - }, b.prototype._encode = function(u, d, l) { - const s = this._baseState; - if (s.default !== null && s.default === u) return; - const v = this._encodeValue(u, d, l); - return v === void 0 || this._skipDefault(v, d, l) ? void 0 : v; - }, b.prototype._encodeValue = function(u, d, l) { - const s = this._baseState; - if (s.parent === null) return s.children[0]._encode(u, d || new r()); - let v = null; - if (this.reporter = d, s.optional && u === void 0) { - if (s.default === null) return; - u = s.default; - } - let p = null, h = !1; - if (s.any) v = this._createEncoderBuffer(u); - else if (s.choice) v = this._encodeChoice(u, d); - else if (s.contains) p = this._getUse(s.contains, l)._encode(u, d), h = !0; - else if (s.children) p = s.children.map(function(O) { - if (O._baseState.tag === "null_") return O._encode(null, d, u); - if (O._baseState.key === null) return d.error("Child should have a key"); - const I = d.enterKey(O._baseState.key); - if (typeof u != "object") return d.error("Child expected, but input is not object"); - const k = O._encode(u[O._baseState.key], d, u); - return d.leaveKey(I), k; - }, this).filter(function(O) { - return O; - }), p = this._createEncoderBuffer(p); - else if (s.tag === "seqof" || s.tag === "setof") { - if (!s.args || s.args.length !== 1) return d.error("Too many args for : " + s.tag); - if (!Array.isArray(u)) return d.error("seqof/setof, but data is not Array"); - const O = this.clone(); - O._baseState.implicit = null, p = this._createEncoderBuffer(u.map(function(I) { - const k = this._baseState; - return this._getUse(k.args[0], u)._encode(I, d); - }, O)); - } else s.use !== null ? v = this._getUse(s.use, l)._encode(u, d) : (p = this._encodePrimitive(s.tag, u), h = !0); - if (!s.any && s.choice === null) { - const O = s.implicit !== null ? s.implicit : s.tag, I = s.implicit === null ? "universal" : "context"; - O === null ? s.use === null && d.error("Tag could be omitted only for .use()") : s.use === null && (v = this._encodeComposite(O, h, I, p)); - } - return s.explicit !== null && (v = this._encodeComposite(s.explicit, !1, "context", v)), v; - }, b.prototype._encodeChoice = function(u, d) { - const l = this._baseState, s = l.choice[u.type]; - return s || m(!1, u.type + " not found in " + JSON.stringify(Object.keys(l.choice))), s._encode(u.value, d); - }, b.prototype._encodePrimitive = function(u, d) { + }, this), y ? u : m.error("Choice not matched"); + }, C.prototype._createEncoderBuffer = function(m) { + return new o(m, this.reporter); + }, C.prototype._encode = function(m, v, l) { + const u = this._baseState; + if (u.default !== null && u.default === m) return; + const y = this._encodeValue(m, v, l); + return y === void 0 || this._skipDefault(y, v, l) ? void 0 : y; + }, C.prototype._encodeValue = function(m, v, l) { + const u = this._baseState; + if (u.parent === null) return u.children[0]._encode(m, v || new r()); + let y = null; + if (this.reporter = v, u.optional && m === void 0) { + if (u.default === null) return; + m = u.default; + } + let d = null, b = !1; + if (u.any) y = this._createEncoderBuffer(m); + else if (u.choice) y = this._encodeChoice(m, v); + else if (u.contains) d = this._getUse(u.contains, l)._encode(m, v), b = !0; + else if (u.children) d = u.children.map(function(_) { + if (_._baseState.tag === "null_") return _._encode(null, v, m); + if (_._baseState.key === null) return v.error("Child should have a key"); + const E = v.enterKey(_._baseState.key); + if (typeof m != "object") return v.error("Child expected, but input is not object"); + const B = _._encode(m[_._baseState.key], v, m); + return v.leaveKey(E), B; + }, this).filter(function(_) { + return _; + }), d = this._createEncoderBuffer(d); + else if (u.tag === "seqof" || u.tag === "setof") { + if (!u.args || u.args.length !== 1) return v.error("Too many args for : " + u.tag); + if (!Array.isArray(m)) return v.error("seqof/setof, but data is not Array"); + const _ = this.clone(); + _._baseState.implicit = null, d = this._createEncoderBuffer(m.map(function(E) { + const B = this._baseState; + return this._getUse(B.args[0], m)._encode(E, v); + }, _)); + } else u.use !== null ? y = this._getUse(u.use, l)._encode(m, v) : (d = this._encodePrimitive(u.tag, m), b = !0); + if (!u.any && u.choice === null) { + const _ = u.implicit !== null ? u.implicit : u.tag, E = u.implicit === null ? "universal" : "context"; + _ === null ? u.use === null && v.error("Tag could be omitted only for .use()") : u.use === null && (y = this._encodeComposite(_, b, E, d)); + } + return u.explicit !== null && (y = this._encodeComposite(u.explicit, !1, "context", y)), y; + }, C.prototype._encodeChoice = function(m, v) { + const l = this._baseState, u = l.choice[m.type]; + return u || p(!1, m.type + " not found in " + JSON.stringify(Object.keys(l.choice))), u._encode(m.value, v); + }, C.prototype._encodePrimitive = function(m, v) { const l = this._baseState; - if (/str$/.test(u)) return this._encodeStr(d, u); - if (u === "objid" && l.args) return this._encodeObjid(d, l.reverseArgs[0], l.args[1]); - if (u === "objid") return this._encodeObjid(d, null, null); - if (u === "gentime" || u === "utctime") return this._encodeTime(d, u); - if (u === "null_") return this._encodeNull(); - if (u === "int" || u === "enum") return this._encodeInt(d, l.args && l.reverseArgs[0]); - if (u === "bool") return this._encodeBool(d); - if (u === "objDesc") return this._encodeStr(d, u); - throw new Error("Unsupported tag: " + u); - }, b.prototype._isNumstr = function(u) { - return /^[0-9 ]*$/.test(u); - }, b.prototype._isPrintstr = function(u) { - return /^[A-Za-z0-9 '()+,-./:=?]*$/.test(u); + if (/str$/.test(m)) return this._encodeStr(v, m); + if (m === "objid" && l.args) return this._encodeObjid(v, l.reverseArgs[0], l.args[1]); + if (m === "objid") return this._encodeObjid(v, null, null); + if (m === "gentime" || m === "utctime") return this._encodeTime(v, m); + if (m === "null_") return this._encodeNull(); + if (m === "int" || m === "enum") return this._encodeInt(v, l.args && l.reverseArgs[0]); + if (m === "bool") return this._encodeBool(v); + if (m === "objDesc") return this._encodeStr(v, m); + throw new Error("Unsupported tag: " + m); + }, C.prototype._isNumstr = function(m) { + return /^[0-9 ]*$/.test(m); + }, C.prototype._isPrintstr = function(m) { + return /^[A-Za-z0-9 '()+,-./:=?]*$/.test(m); }; - }, 9220: (x, n, c) => { - const r = c(6698); - function a(m) { - this._reporterState = { obj: null, path: [], options: m || {}, errors: [] }; - } - function i(m, t) { - this.path = m, this.rethrow(t); - } - n.a = a, a.prototype.isError = function(m) { - return m instanceof i; - }, a.prototype.save = function() { - const m = this._reporterState; - return { obj: m.obj, pathLen: m.path.length }; - }, a.prototype.restore = function(m) { - const t = this._reporterState; - t.obj = m.obj, t.path = t.path.slice(0, m.pathLen); - }, a.prototype.enterKey = function(m) { - return this._reporterState.path.push(m); - }, a.prototype.exitKey = function(m) { - const t = this._reporterState; - t.path = t.path.slice(0, m - 1); - }, a.prototype.leaveKey = function(m, t, f) { - const b = this._reporterState; - this.exitKey(m), b.obj !== null && (b.obj[t] = f); - }, a.prototype.path = function() { + }, 9220(g, n, s) { + const r = s(6698); + function o(p) { + this._reporterState = { obj: null, path: [], options: p || {}, errors: [] }; + } + function i(p, a) { + this.path = p, this.rethrow(a); + } + n.a = o, o.prototype.isError = function(p) { + return p instanceof i; + }, o.prototype.save = function() { + const p = this._reporterState; + return { obj: p.obj, pathLen: p.path.length }; + }, o.prototype.restore = function(p) { + const a = this._reporterState; + a.obj = p.obj, a.path = a.path.slice(0, p.pathLen); + }, o.prototype.enterKey = function(p) { + return this._reporterState.path.push(p); + }, o.prototype.exitKey = function(p) { + const a = this._reporterState; + a.path = a.path.slice(0, p - 1); + }, o.prototype.leaveKey = function(p, a, f) { + const C = this._reporterState; + this.exitKey(p), C.obj !== null && (C.obj[a] = f); + }, o.prototype.path = function() { return this._reporterState.path.join("/"); - }, a.prototype.enterObject = function() { - const m = this._reporterState, t = m.obj; - return m.obj = {}, t; - }, a.prototype.leaveObject = function(m) { - const t = this._reporterState, f = t.obj; - return t.obj = m, f; - }, a.prototype.error = function(m) { - let t; - const f = this._reporterState, b = m instanceof i; - if (t = b ? m : new i(f.path.map(function(y) { - return "[" + JSON.stringify(y) + "]"; - }).join(""), m.message || m, m.stack), !f.options.partial) throw t; - return b || f.errors.push(t), t; - }, a.prototype.wrapResult = function(m) { - const t = this._reporterState; - return t.options.partial ? { result: this.isError(m) ? null : m, errors: t.errors } : m; - }, r(i, Error), i.prototype.rethrow = function(m) { - if (this.message = m + " at: " + (this.path || "(shallow)"), Error.captureStackTrace && Error.captureStackTrace(this, i), !this.stack) try { + }, o.prototype.enterObject = function() { + const p = this._reporterState, a = p.obj; + return p.obj = {}, a; + }, o.prototype.leaveObject = function(p) { + const a = this._reporterState, f = a.obj; + return a.obj = p, f; + }, o.prototype.error = function(p) { + let a; + const f = this._reporterState, C = p instanceof i; + if (a = C ? p : new i(f.path.map(function(w) { + return "[" + JSON.stringify(w) + "]"; + }).join(""), p.message || p, p.stack), !f.options.partial) throw a; + return C || f.errors.push(a), a; + }, o.prototype.wrapResult = function(p) { + const a = this._reporterState; + return a.options.partial ? { result: this.isError(p) ? null : p, errors: a.errors } : p; + }, r(i, Error), i.prototype.rethrow = function(p) { + if (this.message = p + " at: " + (this.path || "(shallow)"), Error.captureStackTrace && Error.captureStackTrace(this, i), !this.stack) try { throw new Error(this.message); - } catch (t) { - this.stack = t.stack; + } catch (a) { + this.stack = a.stack; } return this; }; - }, 4598: (x, n) => { - function c(r) { - const a = {}; + }, 4598(g, n) { + function s(r) { + const o = {}; return Object.keys(r).forEach(function(i) { (0 | i) == i && (i |= 0); - const m = r[i]; - a[m] = i; - }), a; + const p = r[i]; + o[p] = i; + }), o; } - n.tagClass = { 0: "universal", 1: "application", 2: "context", 3: "private" }, n.tagClassByName = c(n.tagClass), n.tag = { 0: "end", 1: "bool", 2: "int", 3: "bitstr", 4: "octstr", 5: "null_", 6: "objid", 7: "objDesc", 8: "external", 9: "real", 10: "enum", 11: "embed", 12: "utf8str", 13: "relativeOid", 16: "seq", 17: "set", 18: "numstr", 19: "printstr", 20: "t61str", 21: "videostr", 22: "ia5str", 23: "utctime", 24: "gentime", 25: "graphstr", 26: "iso646str", 27: "genstr", 28: "unistr", 29: "charstr", 30: "bmpstr" }, n.tagByName = c(n.tag); - }, 2153: (x, n, c) => { + n.tagClass = { 0: "universal", 1: "application", 2: "context", 3: "private" }, n.tagClassByName = s(n.tagClass), n.tag = { 0: "end", 1: "bool", 2: "int", 3: "bitstr", 4: "octstr", 5: "null_", 6: "objid", 7: "objDesc", 8: "external", 9: "real", 10: "enum", 11: "embed", 12: "utf8str", 13: "relativeOid", 16: "seq", 17: "set", 18: "numstr", 19: "printstr", 20: "t61str", 21: "videostr", 22: "ia5str", 23: "utctime", 24: "gentime", 25: "graphstr", 26: "iso646str", 27: "genstr", 28: "unistr", 29: "charstr", 30: "bmpstr" }, n.tagByName = s(n.tag); + }, 2153(g, n, s) { const r = n; - r._reverse = function(a) { + r._reverse = function(o) { const i = {}; - return Object.keys(a).forEach(function(m) { - (0 | m) == m && (m |= 0); - const t = a[m]; - i[t] = m; + return Object.keys(o).forEach(function(p) { + (0 | p) == p && (p |= 0); + const a = o[p]; + i[a] = p; }), i; - }, r.der = c(4598); - }, 2010: (x, n, c) => { - const r = c(6698), a = c(2344), i = c(7227).t, m = c(993), t = c(4598); - function f(d) { - this.enc = "der", this.name = d.name, this.entity = d, this.tree = new b(), this.tree._init(d.body); - } - function b(d) { - m.call(this, "der", d); - } - function y(d, l) { - let s = d.readUInt8(l); - if (d.isError(s)) return s; - const v = t.tagClass[s >> 6], p = !(32 & s); - if (31 & ~s) s &= 31; + }, r.der = s(4598); + }, 2010(g, n, s) { + const r = s(6698), o = s(9404), i = s(7227).t, p = s(993), a = s(4598); + function f(v) { + this.enc = "der", this.name = v.name, this.entity = v, this.tree = new C(), this.tree._init(v.body); + } + function C(v) { + p.call(this, "der", v); + } + function w(v, l) { + let u = v.readUInt8(l); + if (v.isError(u)) return u; + const y = a.tagClass[u >> 6], d = !(32 & u); + if (31 & ~u) u &= 31; else { - let h = s; - for (s = 0; !(128 & ~h); ) { - if (h = d.readUInt8(l), d.isError(h)) return h; - s <<= 7, s |= 127 & h; - } - } - return { cls: v, primitive: p, tag: s, tagStr: t.tag[s] }; - } - function u(d, l, s) { - let v = d.readUInt8(s); - if (d.isError(v)) return v; - if (!l && v === 128) return null; - if (!(128 & v)) return v; - const p = 127 & v; - if (p > 4) return d.error("length octect is too long"); - v = 0; - for (let h = 0; h < p; h++) { - v <<= 8; - const O = d.readUInt8(s); - if (d.isError(O)) return O; - v |= O; + let b = u; + for (u = 0; !(128 & ~b); ) { + if (b = v.readUInt8(l), v.isError(b)) return b; + u <<= 7, u |= 127 & b; + } + } + return { cls: y, primitive: d, tag: u, tagStr: a.tag[u] }; + } + function m(v, l, u) { + let y = v.readUInt8(u); + if (v.isError(y)) return y; + if (!l && y === 128) return null; + if (!(128 & y)) return y; + const d = 127 & y; + if (d > 4) return v.error("length octect is too long"); + y = 0; + for (let b = 0; b < d; b++) { + y <<= 8; + const _ = v.readUInt8(u); + if (v.isError(_)) return _; + y |= _; } - return v; + return y; } - x.exports = f, f.prototype.decode = function(d, l) { - return i.isDecoderBuffer(d) || (d = new i(d, l)), this.tree._decode(d, l); - }, r(b, m), b.prototype._peekTag = function(d, l, s) { - if (d.isEmpty()) return !1; - const v = d.save(), p = y(d, 'Failed to peek tag: "' + l + '"'); - return d.isError(p) ? p : (d.restore(v), p.tag === l || p.tagStr === l || p.tagStr + "of" === l || s); - }, b.prototype._decodeTag = function(d, l, s) { - const v = y(d, 'Failed to decode tag of "' + l + '"'); - if (d.isError(v)) return v; - let p = u(d, v.primitive, 'Failed to get length of "' + l + '"'); - if (d.isError(p)) return p; - if (!s && v.tag !== l && v.tagStr !== l && v.tagStr + "of" !== l) return d.error('Failed to match tag: "' + l + '"'); - if (v.primitive || p !== null) return d.skip(p, 'Failed to match body of: "' + l + '"'); - const h = d.save(), O = this._skipUntilEnd(d, 'Failed to skip indefinite length body: "' + this.tag + '"'); - return d.isError(O) ? O : (p = d.offset - h.offset, d.restore(h), d.skip(p, 'Failed to match body of: "' + l + '"')); - }, b.prototype._skipUntilEnd = function(d, l) { + g.exports = f, f.prototype.decode = function(v, l) { + return i.isDecoderBuffer(v) || (v = new i(v, l)), this.tree._decode(v, l); + }, r(C, p), C.prototype._peekTag = function(v, l, u) { + if (v.isEmpty()) return !1; + const y = v.save(), d = w(v, 'Failed to peek tag: "' + l + '"'); + return v.isError(d) ? d : (v.restore(y), d.tag === l || d.tagStr === l || d.tagStr + "of" === l || u); + }, C.prototype._decodeTag = function(v, l, u) { + const y = w(v, 'Failed to decode tag of "' + l + '"'); + if (v.isError(y)) return y; + let d = m(v, y.primitive, 'Failed to get length of "' + l + '"'); + if (v.isError(d)) return d; + if (!u && y.tag !== l && y.tagStr !== l && y.tagStr + "of" !== l) return v.error('Failed to match tag: "' + l + '"'); + if (y.primitive || d !== null) return v.skip(d, 'Failed to match body of: "' + l + '"'); + const b = v.save(), _ = this._skipUntilEnd(v, 'Failed to skip indefinite length body: "' + this.tag + '"'); + return v.isError(_) ? _ : (d = v.offset - b.offset, v.restore(b), v.skip(d, 'Failed to match body of: "' + l + '"')); + }, C.prototype._skipUntilEnd = function(v, l) { for (; ; ) { - const s = y(d, l); - if (d.isError(s)) return s; - const v = u(d, s.primitive, l); - if (d.isError(v)) return v; - let p; - if (p = s.primitive || v !== null ? d.skip(v) : this._skipUntilEnd(d, l), d.isError(p)) return p; - if (s.tagStr === "end") break; - } - }, b.prototype._decodeList = function(d, l, s, v) { - const p = []; - for (; !d.isEmpty(); ) { - const h = this._peekTag(d, "end"); - if (d.isError(h)) return h; - const O = s.decode(d, "der", v); - if (d.isError(O) && h) break; - p.push(O); + const u = w(v, l); + if (v.isError(u)) return u; + const y = m(v, u.primitive, l); + if (v.isError(y)) return y; + let d; + if (d = u.primitive || y !== null ? v.skip(y) : this._skipUntilEnd(v, l), v.isError(d)) return d; + if (u.tagStr === "end") break; + } + }, C.prototype._decodeList = function(v, l, u, y) { + const d = []; + for (; !v.isEmpty(); ) { + const b = this._peekTag(v, "end"); + if (v.isError(b)) return b; + const _ = u.decode(v, "der", y); + if (v.isError(_) && b) break; + d.push(_); } - return p; - }, b.prototype._decodeStr = function(d, l) { + return d; + }, C.prototype._decodeStr = function(v, l) { if (l === "bitstr") { - const s = d.readUInt8(); - return d.isError(s) ? s : { unused: s, data: d.raw() }; + const u = v.readUInt8(); + return v.isError(u) ? u : { unused: u, data: v.raw() }; } if (l === "bmpstr") { - const s = d.raw(); - if (s.length % 2 == 1) return d.error("Decoding of string type: bmpstr length mismatch"); - let v = ""; - for (let p = 0; p < s.length / 2; p++) v += String.fromCharCode(s.readUInt16BE(2 * p)); - return v; + const u = v.raw(); + if (u.length % 2 == 1) return v.error("Decoding of string type: bmpstr length mismatch"); + let y = ""; + for (let d = 0; d < u.length / 2; d++) y += String.fromCharCode(u.readUInt16BE(2 * d)); + return y; } if (l === "numstr") { - const s = d.raw().toString("ascii"); - return this._isNumstr(s) ? s : d.error("Decoding of string type: numstr unsupported characters"); + const u = v.raw().toString("ascii"); + return this._isNumstr(u) ? u : v.error("Decoding of string type: numstr unsupported characters"); } - if (l === "octstr" || l === "objDesc") return d.raw(); + if (l === "octstr" || l === "objDesc") return v.raw(); if (l === "printstr") { - const s = d.raw().toString("ascii"); - return this._isPrintstr(s) ? s : d.error("Decoding of string type: printstr unsupported characters"); + const u = v.raw().toString("ascii"); + return this._isPrintstr(u) ? u : v.error("Decoding of string type: printstr unsupported characters"); + } + return /str$/.test(l) ? v.raw().toString() : v.error("Decoding of string type: " + l + " unsupported"); + }, C.prototype._decodeObjid = function(v, l, u) { + let y; + const d = []; + let b = 0, _ = 0; + for (; !v.isEmpty(); ) _ = v.readUInt8(), b <<= 7, b |= 127 & _, 128 & _ || (d.push(b), b = 0); + 128 & _ && d.push(b); + const E = d[0] / 40 | 0, B = d[0] % 40; + if (y = u ? d : [E, B].concat(d.slice(1)), l) { + let O = l[y.join(" ")]; + O === void 0 && (O = l[y.join(".")]), O !== void 0 && (y = O); } - return /str$/.test(l) ? d.raw().toString() : d.error("Decoding of string type: " + l + " unsupported"); - }, b.prototype._decodeObjid = function(d, l, s) { - let v; - const p = []; - let h = 0, O = 0; - for (; !d.isEmpty(); ) O = d.readUInt8(), h <<= 7, h |= 127 & O, 128 & O || (p.push(h), h = 0); - 128 & O && p.push(h); - const I = p[0] / 40 | 0, k = p[0] % 40; - if (v = s ? p : [I, k].concat(p.slice(1)), l) { - let R = l[v.join(" ")]; - R === void 0 && (R = l[v.join(".")]), R !== void 0 && (v = R); - } - return v; - }, b.prototype._decodeTime = function(d, l) { - const s = d.raw().toString(); - let v, p, h, O, I, k; - if (l === "gentime") v = 0 | s.slice(0, 4), p = 0 | s.slice(4, 6), h = 0 | s.slice(6, 8), O = 0 | s.slice(8, 10), I = 0 | s.slice(10, 12), k = 0 | s.slice(12, 14); + return y; + }, C.prototype._decodeTime = function(v, l) { + const u = v.raw().toString(); + let y, d, b, _, E, B; + if (l === "gentime") y = 0 | u.slice(0, 4), d = 0 | u.slice(4, 6), b = 0 | u.slice(6, 8), _ = 0 | u.slice(8, 10), E = 0 | u.slice(10, 12), B = 0 | u.slice(12, 14); else { - if (l !== "utctime") return d.error("Decoding " + l + " time is not supported yet"); - v = 0 | s.slice(0, 2), p = 0 | s.slice(2, 4), h = 0 | s.slice(4, 6), O = 0 | s.slice(6, 8), I = 0 | s.slice(8, 10), k = 0 | s.slice(10, 12), v = v < 70 ? 2e3 + v : 1900 + v; + if (l !== "utctime") return v.error("Decoding " + l + " time is not supported yet"); + y = 0 | u.slice(0, 2), d = 0 | u.slice(2, 4), b = 0 | u.slice(4, 6), _ = 0 | u.slice(6, 8), E = 0 | u.slice(8, 10), B = 0 | u.slice(10, 12), y = y < 70 ? 2e3 + y : 1900 + y; } - return Date.UTC(v, p - 1, h, O, I, k, 0); - }, b.prototype._decodeNull = function() { + return Date.UTC(y, d - 1, b, _, E, B, 0); + }, C.prototype._decodeNull = function() { return null; - }, b.prototype._decodeBool = function(d) { - const l = d.readUInt8(); - return d.isError(l) ? l : l !== 0; - }, b.prototype._decodeInt = function(d, l) { - const s = d.raw(); - let v = new a(s); - return l && (v = l[v.toString(10)] || v), v; - }, b.prototype._use = function(d, l) { - return typeof d == "function" && (d = d(l)), d._getDecoder("der").tree; + }, C.prototype._decodeBool = function(v) { + const l = v.readUInt8(); + return v.isError(l) ? l : l !== 0; + }, C.prototype._decodeInt = function(v, l) { + const u = v.raw(); + let y = new o(u); + return l && (y = l[y.toString(10)] || y), y; + }, C.prototype._use = function(v, l) { + return typeof v == "function" && (v = v(l)), v._getDecoder("der").tree; }; - }, 5234: (x, n, c) => { + }, 5234(g, n, s) { const r = n; - r.der = c(2010), r.pem = c(8903); - }, 8903: (x, n, c) => { - const r = c(6698), a = c(4774).Buffer, i = c(2010); - function m(t) { - i.call(this, t), this.enc = "pem"; - } - r(m, i), x.exports = m, m.prototype.decode = function(t, f) { - const b = t.toString().split(/[\r\n]+/g), y = f.label.toUpperCase(), u = /^-----(BEGIN|END) ([^-]+)-----$/; - let d = -1, l = -1; - for (let p = 0; p < b.length; p++) { - const h = b[p].match(u); - if (h !== null && h[2] === y) { - if (d !== -1) { - if (h[1] !== "END") break; - l = p; + r.der = s(2010), r.pem = s(8903); + }, 8903(g, n, s) { + const r = s(6698), o = s(4774).Buffer, i = s(2010); + function p(a) { + i.call(this, a), this.enc = "pem"; + } + r(p, i), g.exports = p, p.prototype.decode = function(a, f) { + const C = a.toString().split(/[\r\n]+/g), w = f.label.toUpperCase(), m = /^-----(BEGIN|END) ([^-]+)-----$/; + let v = -1, l = -1; + for (let d = 0; d < C.length; d++) { + const b = C[d].match(m); + if (b !== null && b[2] === w) { + if (v !== -1) { + if (b[1] !== "END") break; + l = d; break; } - if (h[1] !== "BEGIN") break; - d = p; + if (b[1] !== "BEGIN") break; + v = d; } } - if (d === -1 || l === -1) throw new Error("PEM section not found for: " + y); - const s = b.slice(d + 1, l).join(""); - s.replace(/[^a-z0-9+/=]+/gi, ""); - const v = a.from(s, "base64"); - return i.prototype.decode.call(this, v, f); + if (v === -1 || l === -1) throw new Error("PEM section not found for: " + w); + const u = C.slice(v + 1, l).join(""); + u.replace(/[^a-z0-9+/=]+/gi, ""); + const y = o.from(u, "base64"); + return i.prototype.decode.call(this, y, f); }; - }, 82: (x, n, c) => { - const r = c(6698), a = c(4774).Buffer, i = c(993), m = c(4598); - function t(y) { - this.enc = "der", this.name = y.name, this.entity = y, this.tree = new f(), this.tree._init(y.body); - } - function f(y) { - i.call(this, "der", y); - } - function b(y) { - return y < 10 ? "0" + y : y; - } - x.exports = t, t.prototype.encode = function(y, u) { - return this.tree._encode(y, u).join(); - }, r(f, i), f.prototype._encodeComposite = function(y, u, d, l) { - const s = function(h, O, I, k) { - let R; - if (h === "seqof" ? h = "seq" : h === "setof" && (h = "set"), m.tagByName.hasOwnProperty(h)) R = m.tagByName[h]; + }, 82(g, n, s) { + const r = s(6698), o = s(4774).Buffer, i = s(993), p = s(4598); + function a(w) { + this.enc = "der", this.name = w.name, this.entity = w, this.tree = new f(), this.tree._init(w.body); + } + function f(w) { + i.call(this, "der", w); + } + function C(w) { + return w < 10 ? "0" + w : w; + } + g.exports = a, a.prototype.encode = function(w, m) { + return this.tree._encode(w, m).join(); + }, r(f, i), f.prototype._encodeComposite = function(w, m, v, l) { + const u = function(b, _, E, B) { + let O; + if (b === "seqof" ? b = "seq" : b === "setof" && (b = "set"), p.tagByName.hasOwnProperty(b)) O = p.tagByName[b]; else { - if (typeof h != "number" || (0 | h) !== h) return k.error("Unknown tag: " + h); - R = h; + if (typeof b != "number" || (0 | b) !== b) return B.error("Unknown tag: " + b); + O = b; } - return R >= 31 ? k.error("Multi-octet tag encoding unsupported") : (O || (R |= 32), R |= m.tagClassByName[I || "universal"] << 6, R); - }(y, u, d, this.reporter); + return O >= 31 ? B.error("Multi-octet tag encoding unsupported") : (_ || (O |= 32), O |= p.tagClassByName[E || "universal"] << 6, O); + }(w, m, v, this.reporter); if (l.length < 128) { - const h = a.alloc(2); - return h[0] = s, h[1] = l.length, this._createEncoderBuffer([h, l]); - } - let v = 1; - for (let h = l.length; h >= 256; h >>= 8) v++; - const p = a.alloc(2 + v); - p[0] = s, p[1] = 128 | v; - for (let h = 1 + v, O = l.length; O > 0; h--, O >>= 8) p[h] = 255 & O; - return this._createEncoderBuffer([p, l]); - }, f.prototype._encodeStr = function(y, u) { - if (u === "bitstr") return this._createEncoderBuffer([0 | y.unused, y.data]); - if (u === "bmpstr") { - const d = a.alloc(2 * y.length); - for (let l = 0; l < y.length; l++) d.writeUInt16BE(y.charCodeAt(l), 2 * l); - return this._createEncoderBuffer(d); - } - return u === "numstr" ? this._isNumstr(y) ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: numstr supports only digits and space") : u === "printstr" ? this._isPrintstr(y) ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark") : /str$/.test(u) || u === "objDesc" ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: " + u + " unsupported"); - }, f.prototype._encodeObjid = function(y, u, d) { - if (typeof y == "string") { - if (!u) return this.reporter.error("string objid given, but no values map found"); - if (!u.hasOwnProperty(y)) return this.reporter.error("objid not found in values map"); - y = u[y].split(/[\s.]+/g); - for (let p = 0; p < y.length; p++) y[p] |= 0; - } else if (Array.isArray(y)) { - y = y.slice(); - for (let p = 0; p < y.length; p++) y[p] |= 0; - } - if (!Array.isArray(y)) return this.reporter.error("objid() should be either array or string, got: " + JSON.stringify(y)); - if (!d) { - if (y[1] >= 40) return this.reporter.error("Second objid identifier OOB"); - y.splice(0, 2, 40 * y[0] + y[1]); + const b = o.alloc(2); + return b[0] = u, b[1] = l.length, this._createEncoderBuffer([b, l]); + } + let y = 1; + for (let b = l.length; b >= 256; b >>= 8) y++; + const d = o.alloc(2 + y); + d[0] = u, d[1] = 128 | y; + for (let b = 1 + y, _ = l.length; _ > 0; b--, _ >>= 8) d[b] = 255 & _; + return this._createEncoderBuffer([d, l]); + }, f.prototype._encodeStr = function(w, m) { + if (m === "bitstr") return this._createEncoderBuffer([0 | w.unused, w.data]); + if (m === "bmpstr") { + const v = o.alloc(2 * w.length); + for (let l = 0; l < w.length; l++) v.writeUInt16BE(w.charCodeAt(l), 2 * l); + return this._createEncoderBuffer(v); + } + return m === "numstr" ? this._isNumstr(w) ? this._createEncoderBuffer(w) : this.reporter.error("Encoding of string type: numstr supports only digits and space") : m === "printstr" ? this._isPrintstr(w) ? this._createEncoderBuffer(w) : this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark") : /str$/.test(m) || m === "objDesc" ? this._createEncoderBuffer(w) : this.reporter.error("Encoding of string type: " + m + " unsupported"); + }, f.prototype._encodeObjid = function(w, m, v) { + if (typeof w == "string") { + if (!m) return this.reporter.error("string objid given, but no values map found"); + if (!m.hasOwnProperty(w)) return this.reporter.error("objid not found in values map"); + w = m[w].split(/[\s.]+/g); + for (let d = 0; d < w.length; d++) w[d] |= 0; + } else if (Array.isArray(w)) { + w = w.slice(); + for (let d = 0; d < w.length; d++) w[d] |= 0; + } + if (!Array.isArray(w)) return this.reporter.error("objid() should be either array or string, got: " + JSON.stringify(w)); + if (!v) { + if (w[1] >= 40) return this.reporter.error("Second objid identifier OOB"); + w.splice(0, 2, 40 * w[0] + w[1]); } let l = 0; - for (let p = 0; p < y.length; p++) { - let h = y[p]; - for (l++; h >= 128; h >>= 7) l++; - } - const s = a.alloc(l); - let v = s.length - 1; - for (let p = y.length - 1; p >= 0; p--) { - let h = y[p]; - for (s[v--] = 127 & h; (h >>= 7) > 0; ) s[v--] = 128 | 127 & h; - } - return this._createEncoderBuffer(s); - }, f.prototype._encodeTime = function(y, u) { - let d; - const l = new Date(y); - return u === "gentime" ? d = [b(l.getUTCFullYear()), b(l.getUTCMonth() + 1), b(l.getUTCDate()), b(l.getUTCHours()), b(l.getUTCMinutes()), b(l.getUTCSeconds()), "Z"].join("") : u === "utctime" ? d = [b(l.getUTCFullYear() % 100), b(l.getUTCMonth() + 1), b(l.getUTCDate()), b(l.getUTCHours()), b(l.getUTCMinutes()), b(l.getUTCSeconds()), "Z"].join("") : this.reporter.error("Encoding " + u + " time is not supported yet"), this._encodeStr(d, "octstr"); + for (let d = 0; d < w.length; d++) { + let b = w[d]; + for (l++; b >= 128; b >>= 7) l++; + } + const u = o.alloc(l); + let y = u.length - 1; + for (let d = w.length - 1; d >= 0; d--) { + let b = w[d]; + for (u[y--] = 127 & b; (b >>= 7) > 0; ) u[y--] = 128 | 127 & b; + } + return this._createEncoderBuffer(u); + }, f.prototype._encodeTime = function(w, m) { + let v; + const l = new Date(w); + return m === "gentime" ? v = [C(l.getUTCFullYear()), C(l.getUTCMonth() + 1), C(l.getUTCDate()), C(l.getUTCHours()), C(l.getUTCMinutes()), C(l.getUTCSeconds()), "Z"].join("") : m === "utctime" ? v = [C(l.getUTCFullYear() % 100), C(l.getUTCMonth() + 1), C(l.getUTCDate()), C(l.getUTCHours()), C(l.getUTCMinutes()), C(l.getUTCSeconds()), "Z"].join("") : this.reporter.error("Encoding " + m + " time is not supported yet"), this._encodeStr(v, "octstr"); }, f.prototype._encodeNull = function() { return this._createEncoderBuffer(""); - }, f.prototype._encodeInt = function(y, u) { - if (typeof y == "string") { - if (!u) return this.reporter.error("String int or enum given, but no values map"); - if (!u.hasOwnProperty(y)) return this.reporter.error("Values map doesn't contain: " + JSON.stringify(y)); - y = u[y]; - } - if (typeof y != "number" && !a.isBuffer(y)) { - const s = y.toArray(); - !y.sign && 128 & s[0] && s.unshift(0), y = a.from(s); - } - if (a.isBuffer(y)) { - let s = y.length; - y.length === 0 && s++; - const v = a.alloc(s); - return y.copy(v), y.length === 0 && (v[0] = 0), this._createEncoderBuffer(v); - } - if (y < 128) return this._createEncoderBuffer(y); - if (y < 256) return this._createEncoderBuffer([0, y]); - let d = 1; - for (let s = y; s >= 256; s >>= 8) d++; - const l = new Array(d); - for (let s = l.length - 1; s >= 0; s--) l[s] = 255 & y, y >>= 8; - return 128 & l[0] && l.unshift(0), this._createEncoderBuffer(a.from(l)); - }, f.prototype._encodeBool = function(y) { - return this._createEncoderBuffer(y ? 255 : 0); - }, f.prototype._use = function(y, u) { - return typeof y == "function" && (y = y(u)), y._getEncoder("der").tree; - }, f.prototype._skipDefault = function(y, u, d) { + }, f.prototype._encodeInt = function(w, m) { + if (typeof w == "string") { + if (!m) return this.reporter.error("String int or enum given, but no values map"); + if (!m.hasOwnProperty(w)) return this.reporter.error("Values map doesn't contain: " + JSON.stringify(w)); + w = m[w]; + } + if (typeof w != "number" && !o.isBuffer(w)) { + const u = w.toArray(); + !w.sign && 128 & u[0] && u.unshift(0), w = o.from(u); + } + if (o.isBuffer(w)) { + let u = w.length; + w.length === 0 && u++; + const y = o.alloc(u); + return w.copy(y), w.length === 0 && (y[0] = 0), this._createEncoderBuffer(y); + } + if (w < 128) return this._createEncoderBuffer(w); + if (w < 256) return this._createEncoderBuffer([0, w]); + let v = 1; + for (let u = w; u >= 256; u >>= 8) v++; + const l = new Array(v); + for (let u = l.length - 1; u >= 0; u--) l[u] = 255 & w, w >>= 8; + return 128 & l[0] && l.unshift(0), this._createEncoderBuffer(o.from(l)); + }, f.prototype._encodeBool = function(w) { + return this._createEncoderBuffer(w ? 255 : 0); + }, f.prototype._use = function(w, m) { + return typeof w == "function" && (w = w(m)), w._getEncoder("der").tree; + }, f.prototype._skipDefault = function(w, m, v) { const l = this._baseState; - let s; + let u; if (l.default === null) return !1; - const v = y.join(); - if (l.defaultBuffer === void 0 && (l.defaultBuffer = this._encodeValue(l.default, u, d).join()), v.length !== l.defaultBuffer.length) return !1; - for (s = 0; s < v.length; s++) if (v[s] !== l.defaultBuffer[s]) return !1; + const y = w.join(); + if (l.defaultBuffer === void 0 && (l.defaultBuffer = this._encodeValue(l.default, m, v).join()), y.length !== l.defaultBuffer.length) return !1; + for (u = 0; u < y.length; u++) if (y[u] !== l.defaultBuffer[u]) return !1; return !0; }; - }, 4669: (x, n, c) => { + }, 4669(g, n, s) { const r = n; - r.der = c(82), r.pem = c(735); - }, 735: (x, n, c) => { - const r = c(6698), a = c(82); - function i(m) { - a.call(this, m), this.enc = "pem"; - } - r(i, a), x.exports = i, i.prototype.encode = function(m, t) { - const f = a.prototype.encode.call(this, m).toString("base64"), b = ["-----BEGIN " + t.label + "-----"]; - for (let y = 0; y < f.length; y += 64) b.push(f.slice(y, y + 64)); - return b.push("-----END " + t.label + "-----"), b.join(` + r.der = s(82), r.pem = s(735); + }, 735(g, n, s) { + const r = s(6698), o = s(82); + function i(p) { + o.call(this, p), this.enc = "pem"; + } + r(i, o), g.exports = i, i.prototype.encode = function(p, a) { + const f = o.prototype.encode.call(this, p).toString("base64"), C = ["-----BEGIN " + a.label + "-----"]; + for (let w = 0; w < f.length; w += 64) C.push(f.slice(w, w + 64)); + return C.push("-----END " + a.label + "-----"), C.join(` `); }; - }, 2344: function(x, n, c) { - (function(r, a) { - function i(S, T) { - if (!S) throw new Error(T || "Assertion failed"); - } - function m(S, T) { - S.super_ = T; - var E = function() { + }, 7526(g, n) { + n.byteLength = function(w) { + var m = a(w), v = m[0], l = m[1]; + return 3 * (v + l) / 4 - l; + }, n.toByteArray = function(w) { + var m, v, l = a(w), u = l[0], y = l[1], d = new o(function(E, B, O) { + return 3 * (B + O) / 4 - O; + }(0, u, y)), b = 0, _ = y > 0 ? u - 4 : u; + for (v = 0; v < _; v += 4) m = r[w.charCodeAt(v)] << 18 | r[w.charCodeAt(v + 1)] << 12 | r[w.charCodeAt(v + 2)] << 6 | r[w.charCodeAt(v + 3)], d[b++] = m >> 16 & 255, d[b++] = m >> 8 & 255, d[b++] = 255 & m; + return y === 2 && (m = r[w.charCodeAt(v)] << 2 | r[w.charCodeAt(v + 1)] >> 4, d[b++] = 255 & m), y === 1 && (m = r[w.charCodeAt(v)] << 10 | r[w.charCodeAt(v + 1)] << 4 | r[w.charCodeAt(v + 2)] >> 2, d[b++] = m >> 8 & 255, d[b++] = 255 & m), d; + }, n.fromByteArray = function(w) { + for (var m, v = w.length, l = v % 3, u = [], y = 16383, d = 0, b = v - l; d < b; d += y) u.push(C(w, d, d + y > b ? b : d + y)); + return l === 1 ? (m = w[v - 1], u.push(s[m >> 2] + s[m << 4 & 63] + "==")) : l === 2 && (m = (w[v - 2] << 8) + w[v - 1], u.push(s[m >> 10] + s[m >> 4 & 63] + s[m << 2 & 63] + "=")), u.join(""); + }; + for (var s = [], r = [], o = typeof Uint8Array < "u" ? Uint8Array : Array, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", p = 0; p < 64; ++p) s[p] = i[p], r[i.charCodeAt(p)] = p; + function a(w) { + var m = w.length; + if (m % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); + var v = w.indexOf("="); + return v === -1 && (v = m), [v, v === m ? 0 : 4 - v % 4]; + } + function f(w) { + return s[w >> 18 & 63] + s[w >> 12 & 63] + s[w >> 6 & 63] + s[63 & w]; + } + function C(w, m, v) { + for (var l, u = [], y = m; y < v; y += 3) l = (w[y] << 16 & 16711680) + (w[y + 1] << 8 & 65280) + (255 & w[y + 2]), u.push(f(l)); + return u.join(""); + } + r[45] = 62, r[95] = 63; + }, 9404(g, n, s) { + (function(r, o) { + function i(T, L) { + if (!T) throw new Error(L || "Assertion failed"); + } + function p(T, L) { + T.super_ = L; + var R = function() { }; - E.prototype = T.prototype, S.prototype = new E(), S.prototype.constructor = S; + R.prototype = L.prototype, T.prototype = new R(), T.prototype.constructor = T; } - function t(S, T, E) { - if (t.isBN(S)) return S; - this.negative = 0, this.words = null, this.length = 0, this.red = null, S !== null && (T !== "le" && T !== "be" || (E = T, T = 10), this._init(S || 0, T || 10, E || "be")); + function a(T, L, R) { + if (a.isBN(T)) return T; + this.negative = 0, this.words = null, this.length = 0, this.red = null, T !== null && (L !== "le" && L !== "be" || (R = L, L = 10), this._init(T || 0, L || 10, R || "be")); } var f; - typeof r == "object" ? r.exports = t : a.BN = t, t.BN = t, t.wordSize = 26; + typeof r == "object" ? r.exports = a : o.BN = a, a.BN = a, a.wordSize = 26; try { - f = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : c(8982).Buffer; + f = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : s(7790).Buffer; } catch { } - function b(S, T) { - var E = S.charCodeAt(T); - return E >= 65 && E <= 70 ? E - 55 : E >= 97 && E <= 102 ? E - 87 : E - 48 & 15; - } - function y(S, T, E) { - var M = b(S, E); - return E - 1 >= T && (M |= b(S, E - 1) << 4), M; - } - function u(S, T, E, M) { - for (var _ = 0, w = Math.min(S.length, E), A = T; A < w; A++) { - var j = S.charCodeAt(A) - 48; - _ *= M, _ += j >= 49 ? j - 49 + 10 : j >= 17 ? j - 17 + 10 : j; - } - return _; - } - t.isBN = function(S) { - return S instanceof t || S !== null && typeof S == "object" && S.constructor.wordSize === t.wordSize && Array.isArray(S.words); - }, t.max = function(S, T) { - return S.cmp(T) > 0 ? S : T; - }, t.min = function(S, T) { - return S.cmp(T) < 0 ? S : T; - }, t.prototype._init = function(S, T, E) { - if (typeof S == "number") return this._initNumber(S, T, E); - if (typeof S == "object") return this._initArray(S, T, E); - T === "hex" && (T = 16), i(T === (0 | T) && T >= 2 && T <= 36); + function C(T, L) { + var R = T.charCodeAt(L); + return R >= 48 && R <= 57 ? R - 48 : R >= 65 && R <= 70 ? R - 55 : R >= 97 && R <= 102 ? R - 87 : void i(!1, "Invalid character in " + T); + } + function w(T, L, R) { + var M = C(T, R); + return R - 1 >= L && (M |= C(T, R - 1) << 4), M; + } + function m(T, L, R, M) { + for (var P = 0, H = 0, K = Math.min(T.length, R), V = L; V < K; V++) { + var U = T.charCodeAt(V) - 48; + P *= M, H = U >= 49 ? U - 49 + 10 : U >= 17 ? U - 17 + 10 : U, i(U >= 0 && H < M, "Invalid character"), P += H; + } + return P; + } + function v(T, L) { + T.words = L.words, T.length = L.length, T.negative = L.negative, T.red = L.red; + } + if (a.isBN = function(T) { + return T instanceof a || T !== null && typeof T == "object" && T.constructor.wordSize === a.wordSize && Array.isArray(T.words); + }, a.max = function(T, L) { + return T.cmp(L) > 0 ? T : L; + }, a.min = function(T, L) { + return T.cmp(L) < 0 ? T : L; + }, a.prototype._init = function(T, L, R) { + if (typeof T == "number") return this._initNumber(T, L, R); + if (typeof T == "object") return this._initArray(T, L, R); + L === "hex" && (L = 16), i(L === (0 | L) && L >= 2 && L <= 36); var M = 0; - (S = S.toString().replace(/\s+/g, ""))[0] === "-" && (M++, this.negative = 1), M < S.length && (T === 16 ? this._parseHex(S, M, E) : (this._parseBase(S, T, M), E === "le" && this._initArray(this.toArray(), T, E))); - }, t.prototype._initNumber = function(S, T, E) { - S < 0 && (this.negative = 1, S = -S), S < 67108864 ? (this.words = [67108863 & S], this.length = 1) : S < 4503599627370496 ? (this.words = [67108863 & S, S / 67108864 & 67108863], this.length = 2) : (i(S < 9007199254740992), this.words = [67108863 & S, S / 67108864 & 67108863, 1], this.length = 3), E === "le" && this._initArray(this.toArray(), T, E); - }, t.prototype._initArray = function(S, T, E) { - if (i(typeof S.length == "number"), S.length <= 0) return this.words = [0], this.length = 1, this; - this.length = Math.ceil(S.length / 3), this.words = new Array(this.length); + (T = T.toString().replace(/\s+/g, ""))[0] === "-" && (M++, this.negative = 1), M < T.length && (L === 16 ? this._parseHex(T, M, R) : (this._parseBase(T, L, M), R === "le" && this._initArray(this.toArray(), L, R))); + }, a.prototype._initNumber = function(T, L, R) { + T < 0 && (this.negative = 1, T = -T), T < 67108864 ? (this.words = [67108863 & T], this.length = 1) : T < 4503599627370496 ? (this.words = [67108863 & T, T / 67108864 & 67108863], this.length = 2) : (i(T < 9007199254740992), this.words = [67108863 & T, T / 67108864 & 67108863, 1], this.length = 3), R === "le" && this._initArray(this.toArray(), L, R); + }, a.prototype._initArray = function(T, L, R) { + if (i(typeof T.length == "number"), T.length <= 0) return this.words = [0], this.length = 1, this; + this.length = Math.ceil(T.length / 3), this.words = new Array(this.length); for (var M = 0; M < this.length; M++) this.words[M] = 0; - var _, w, A = 0; - if (E === "be") for (M = S.length - 1, _ = 0; M >= 0; M -= 3) w = S[M] | S[M - 1] << 8 | S[M - 2] << 16, this.words[_] |= w << A & 67108863, this.words[_ + 1] = w >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, _++); - else if (E === "le") for (M = 0, _ = 0; M < S.length; M += 3) w = S[M] | S[M + 1] << 8 | S[M + 2] << 16, this.words[_] |= w << A & 67108863, this.words[_ + 1] = w >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, _++); - return this.strip(); - }, t.prototype._parseHex = function(S, T, E) { - this.length = Math.ceil((S.length - T) / 6), this.words = new Array(this.length); + var P, H, K = 0; + if (R === "be") for (M = T.length - 1, P = 0; M >= 0; M -= 3) H = T[M] | T[M - 1] << 8 | T[M - 2] << 16, this.words[P] |= H << K & 67108863, this.words[P + 1] = H >>> 26 - K & 67108863, (K += 24) >= 26 && (K -= 26, P++); + else if (R === "le") for (M = 0, P = 0; M < T.length; M += 3) H = T[M] | T[M + 1] << 8 | T[M + 2] << 16, this.words[P] |= H << K & 67108863, this.words[P + 1] = H >>> 26 - K & 67108863, (K += 24) >= 26 && (K -= 26, P++); + return this._strip(); + }, a.prototype._parseHex = function(T, L, R) { + this.length = Math.ceil((T.length - L) / 6), this.words = new Array(this.length); for (var M = 0; M < this.length; M++) this.words[M] = 0; - var _, w = 0, A = 0; - if (E === "be") for (M = S.length - 1; M >= T; M -= 2) _ = y(S, T, M) << w, this.words[A] |= 67108863 & _, w >= 18 ? (w -= 18, A += 1, this.words[A] |= _ >>> 26) : w += 8; - else for (M = (S.length - T) % 2 == 0 ? T + 1 : T; M < S.length; M += 2) _ = y(S, T, M) << w, this.words[A] |= 67108863 & _, w >= 18 ? (w -= 18, A += 1, this.words[A] |= _ >>> 26) : w += 8; - this.strip(); - }, t.prototype._parseBase = function(S, T, E) { + var P, H = 0, K = 0; + if (R === "be") for (M = T.length - 1; M >= L; M -= 2) P = w(T, L, M) << H, this.words[K] |= 67108863 & P, H >= 18 ? (H -= 18, K += 1, this.words[K] |= P >>> 26) : H += 8; + else for (M = (T.length - L) % 2 == 0 ? L + 1 : L; M < T.length; M += 2) P = w(T, L, M) << H, this.words[K] |= 67108863 & P, H >= 18 ? (H -= 18, K += 1, this.words[K] |= P >>> 26) : H += 8; + this._strip(); + }, a.prototype._parseBase = function(T, L, R) { this.words = [0], this.length = 1; - for (var M = 0, _ = 1; _ <= 67108863; _ *= T) M++; - M--, _ = _ / T | 0; - for (var w = S.length - E, A = w % M, j = Math.min(w, w - A) + E, V = 0, D = E; D < j; D += M) V = u(S, D, D + M, T), this.imuln(_), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); - if (A !== 0) { - var z = 1; - for (V = u(S, D, S.length, T), D = 0; D < A; D++) z *= T; - this.imuln(z), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); - } - this.strip(); - }, t.prototype.copy = function(S) { - S.words = new Array(this.length); - for (var T = 0; T < this.length; T++) S.words[T] = this.words[T]; - S.length = this.length, S.negative = this.negative, S.red = this.red; - }, t.prototype.clone = function() { - var S = new t(null); - return this.copy(S), S; - }, t.prototype._expand = function(S) { - for (; this.length < S; ) this.words[this.length++] = 0; + for (var M = 0, P = 1; P <= 67108863; P *= L) M++; + M--, P = P / L | 0; + for (var H = T.length - R, K = H % M, V = Math.min(H, H - K) + R, U = 0, F = R; F < V; F += M) U = m(T, F, F + M, L), this.imuln(P), this.words[0] + U < 67108864 ? this.words[0] += U : this._iaddn(U); + if (K !== 0) { + var Q = 1; + for (U = m(T, F, T.length, L), F = 0; F < K; F++) Q *= L; + this.imuln(Q), this.words[0] + U < 67108864 ? this.words[0] += U : this._iaddn(U); + } + this._strip(); + }, a.prototype.copy = function(T) { + T.words = new Array(this.length); + for (var L = 0; L < this.length; L++) T.words[L] = this.words[L]; + T.length = this.length, T.negative = this.negative, T.red = this.red; + }, a.prototype._move = function(T) { + v(T, this); + }, a.prototype.clone = function() { + var T = new a(null); + return this.copy(T), T; + }, a.prototype._expand = function(T) { + for (; this.length < T; ) this.words[this.length++] = 0; return this; - }, t.prototype.strip = function() { + }, a.prototype._strip = function() { for (; this.length > 1 && this.words[this.length - 1] === 0; ) this.length--; return this._normSign(); - }, t.prototype._normSign = function() { + }, a.prototype._normSign = function() { return this.length === 1 && this.words[0] === 0 && (this.negative = 0), this; - }, t.prototype.inspect = function() { + }, typeof Symbol < "u" && typeof Symbol.for == "function") try { + a.prototype[Symbol.for("nodejs.util.inspect.custom")] = l; + } catch { + a.prototype.inspect = l; + } + else a.prototype.inspect = l; + function l() { return (this.red ? ""; - }; - var d = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], l = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], s = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; - function v(S, T, E) { - E.negative = T.negative ^ S.negative; - var M = S.length + T.length | 0; - E.length = M, M = M - 1 | 0; - var _ = 0 | S.words[0], w = 0 | T.words[0], A = _ * w, j = 67108863 & A, V = A / 67108864 | 0; - E.words[0] = j; - for (var D = 1; D < M; D++) { - for (var z = V >>> 26, J = 67108863 & V, G = Math.min(D, T.length - 1), Q = Math.max(0, D - S.length + 1); Q <= G; Q++) { - var ee = D - Q | 0; - z += (A = (_ = 0 | S.words[ee]) * (w = 0 | T.words[Q]) + J) / 67108864 | 0, J = 67108863 & A; + } + var u = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], y = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], d = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; + function b(T, L, R) { + R.negative = L.negative ^ T.negative; + var M = T.length + L.length | 0; + R.length = M, M = M - 1 | 0; + var P = 0 | T.words[0], H = 0 | L.words[0], K = P * H, V = 67108863 & K, U = K / 67108864 | 0; + R.words[0] = V; + for (var F = 1; F < M; F++) { + for (var Q = U >>> 26, ne = 67108863 & U, te = Math.min(F, L.length - 1), X = Math.max(0, F - T.length + 1); X <= te; X++) { + var Z = F - X | 0; + Q += (K = (P = 0 | T.words[Z]) * (H = 0 | L.words[X]) + ne) / 67108864 | 0, ne = 67108863 & K; } - E.words[D] = 0 | J, V = 0 | z; + R.words[F] = 0 | ne, U = 0 | Q; } - return V !== 0 ? E.words[D] = 0 | V : E.length--, E.strip(); + return U !== 0 ? R.words[F] = 0 | U : R.length--, R._strip(); } - t.prototype.toString = function(S, T) { - var E; - if (T = 0 | T || 1, (S = S || 10) === 16 || S === "hex") { - E = ""; - for (var M = 0, _ = 0, w = 0; w < this.length; w++) { - var A = this.words[w], j = (16777215 & (A << M | _)).toString(16); - _ = A >>> 24 - M & 16777215, (M += 2) >= 26 && (M -= 26, w--), E = _ !== 0 || w !== this.length - 1 ? d[6 - j.length] + j + E : j + E; + a.prototype.toString = function(T, L) { + var R; + if (L = 0 | L || 1, (T = T || 10) === 16 || T === "hex") { + R = ""; + for (var M = 0, P = 0, H = 0; H < this.length; H++) { + var K = this.words[H], V = (16777215 & (K << M | P)).toString(16); + P = K >>> 24 - M & 16777215, (M += 2) >= 26 && (M -= 26, H--), R = P !== 0 || H !== this.length - 1 ? u[6 - V.length] + V + R : V + R; } - for (_ !== 0 && (E = _.toString(16) + E); E.length % T != 0; ) E = "0" + E; - return this.negative !== 0 && (E = "-" + E), E; - } - if (S === (0 | S) && S >= 2 && S <= 36) { - var V = l[S], D = s[S]; - E = ""; - var z = this.clone(); - for (z.negative = 0; !z.isZero(); ) { - var J = z.modn(D).toString(S); - E = (z = z.idivn(D)).isZero() ? J + E : d[V - J.length] + J + E; + for (P !== 0 && (R = P.toString(16) + R); R.length % L !== 0; ) R = "0" + R; + return this.negative !== 0 && (R = "-" + R), R; + } + if (T === (0 | T) && T >= 2 && T <= 36) { + var U = y[T], F = d[T]; + R = ""; + var Q = this.clone(); + for (Q.negative = 0; !Q.isZero(); ) { + var ne = Q.modrn(F).toString(T); + R = (Q = Q.idivn(F)).isZero() ? ne + R : u[U - ne.length] + ne + R; } - for (this.isZero() && (E = "0" + E); E.length % T != 0; ) E = "0" + E; - return this.negative !== 0 && (E = "-" + E), E; + for (this.isZero() && (R = "0" + R); R.length % L !== 0; ) R = "0" + R; + return this.negative !== 0 && (R = "-" + R), R; } i(!1, "Base should be between 2 and 36"); - }, t.prototype.toNumber = function() { - var S = this.words[0]; - return this.length === 2 ? S += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? S += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && i(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -S : S; - }, t.prototype.toJSON = function() { - return this.toString(16); - }, t.prototype.toBuffer = function(S, T) { - return i(f !== void 0), this.toArrayLike(f, S, T); - }, t.prototype.toArray = function(S, T) { - return this.toArrayLike(Array, S, T); - }, t.prototype.toArrayLike = function(S, T, E) { - var M = this.byteLength(), _ = E || Math.max(1, M); - i(M <= _, "byte array longer than desired length"), i(_ > 0, "Requested array length <= 0"), this.strip(); - var w, A, j = T === "le", V = new S(_), D = this.clone(); - if (j) { - for (A = 0; !D.isZero(); A++) w = D.andln(255), D.iushrn(8), V[A] = w; - for (; A < _; A++) V[A] = 0; - } else { - for (A = 0; A < _ - M; A++) V[A] = 0; - for (A = 0; !D.isZero(); A++) w = D.andln(255), D.iushrn(8), V[_ - A - 1] = w; - } - return V; - }, Math.clz32 ? t.prototype._countBits = function(S) { - return 32 - Math.clz32(S); - } : t.prototype._countBits = function(S) { - var T = S, E = 0; - return T >= 4096 && (E += 13, T >>>= 13), T >= 64 && (E += 7, T >>>= 7), T >= 8 && (E += 4, T >>>= 4), T >= 2 && (E += 2, T >>>= 2), E + T; - }, t.prototype._zeroBits = function(S) { - if (S === 0) return 26; - var T = S, E = 0; - return 8191 & T || (E += 13, T >>>= 13), 127 & T || (E += 7, T >>>= 7), 15 & T || (E += 4, T >>>= 4), 3 & T || (E += 2, T >>>= 2), 1 & T || E++, E; - }, t.prototype.bitLength = function() { - var S = this.words[this.length - 1], T = this._countBits(S); - return 26 * (this.length - 1) + T; - }, t.prototype.zeroBits = function() { + }, a.prototype.toNumber = function() { + var T = this.words[0]; + return this.length === 2 ? T += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? T += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && i(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -T : T; + }, a.prototype.toJSON = function() { + return this.toString(16, 2); + }, f && (a.prototype.toBuffer = function(T, L) { + return this.toArrayLike(f, T, L); + }), a.prototype.toArray = function(T, L) { + return this.toArrayLike(Array, T, L); + }, a.prototype.toArrayLike = function(T, L, R) { + this._strip(); + var M = this.byteLength(), P = R || Math.max(1, M); + i(M <= P, "byte array longer than desired length"), i(P > 0, "Requested array length <= 0"); + var H = function(K, V) { + return K.allocUnsafe ? K.allocUnsafe(V) : new K(V); + }(T, P); + return this["_toArrayLike" + (L === "le" ? "LE" : "BE")](H, M), H; + }, a.prototype._toArrayLikeLE = function(T, L) { + for (var R = 0, M = 0, P = 0, H = 0; P < this.length; P++) { + var K = this.words[P] << H | M; + T[R++] = 255 & K, R < T.length && (T[R++] = K >> 8 & 255), R < T.length && (T[R++] = K >> 16 & 255), H === 6 ? (R < T.length && (T[R++] = K >> 24 & 255), M = 0, H = 0) : (M = K >>> 24, H += 2); + } + if (R < T.length) for (T[R++] = M; R < T.length; ) T[R++] = 0; + }, a.prototype._toArrayLikeBE = function(T, L) { + for (var R = T.length - 1, M = 0, P = 0, H = 0; P < this.length; P++) { + var K = this.words[P] << H | M; + T[R--] = 255 & K, R >= 0 && (T[R--] = K >> 8 & 255), R >= 0 && (T[R--] = K >> 16 & 255), H === 6 ? (R >= 0 && (T[R--] = K >> 24 & 255), M = 0, H = 0) : (M = K >>> 24, H += 2); + } + if (R >= 0) for (T[R--] = M; R >= 0; ) T[R--] = 0; + }, Math.clz32 ? a.prototype._countBits = function(T) { + return 32 - Math.clz32(T); + } : a.prototype._countBits = function(T) { + var L = T, R = 0; + return L >= 4096 && (R += 13, L >>>= 13), L >= 64 && (R += 7, L >>>= 7), L >= 8 && (R += 4, L >>>= 4), L >= 2 && (R += 2, L >>>= 2), R + L; + }, a.prototype._zeroBits = function(T) { + if (T === 0) return 26; + var L = T, R = 0; + return 8191 & L || (R += 13, L >>>= 13), 127 & L || (R += 7, L >>>= 7), 15 & L || (R += 4, L >>>= 4), 3 & L || (R += 2, L >>>= 2), 1 & L || R++, R; + }, a.prototype.bitLength = function() { + var T = this.words[this.length - 1], L = this._countBits(T); + return 26 * (this.length - 1) + L; + }, a.prototype.zeroBits = function() { if (this.isZero()) return 0; - for (var S = 0, T = 0; T < this.length; T++) { - var E = this._zeroBits(this.words[T]); - if (S += E, E !== 26) break; + for (var T = 0, L = 0; L < this.length; L++) { + var R = this._zeroBits(this.words[L]); + if (T += R, R !== 26) break; } - return S; - }, t.prototype.byteLength = function() { + return T; + }, a.prototype.byteLength = function() { return Math.ceil(this.bitLength() / 8); - }, t.prototype.toTwos = function(S) { - return this.negative !== 0 ? this.abs().inotn(S).iaddn(1) : this.clone(); - }, t.prototype.fromTwos = function(S) { - return this.testn(S - 1) ? this.notn(S).iaddn(1).ineg() : this.clone(); - }, t.prototype.isNeg = function() { + }, a.prototype.toTwos = function(T) { + return this.negative !== 0 ? this.abs().inotn(T).iaddn(1) : this.clone(); + }, a.prototype.fromTwos = function(T) { + return this.testn(T - 1) ? this.notn(T).iaddn(1).ineg() : this.clone(); + }, a.prototype.isNeg = function() { return this.negative !== 0; - }, t.prototype.neg = function() { + }, a.prototype.neg = function() { return this.clone().ineg(); - }, t.prototype.ineg = function() { + }, a.prototype.ineg = function() { return this.isZero() || (this.negative ^= 1), this; - }, t.prototype.iuor = function(S) { - for (; this.length < S.length; ) this.words[this.length++] = 0; - for (var T = 0; T < S.length; T++) this.words[T] = this.words[T] | S.words[T]; - return this.strip(); - }, t.prototype.ior = function(S) { - return i(!(this.negative | S.negative)), this.iuor(S); - }, t.prototype.or = function(S) { - return this.length > S.length ? this.clone().ior(S) : S.clone().ior(this); - }, t.prototype.uor = function(S) { - return this.length > S.length ? this.clone().iuor(S) : S.clone().iuor(this); - }, t.prototype.iuand = function(S) { - var T; - T = this.length > S.length ? S : this; - for (var E = 0; E < T.length; E++) this.words[E] = this.words[E] & S.words[E]; - return this.length = T.length, this.strip(); - }, t.prototype.iand = function(S) { - return i(!(this.negative | S.negative)), this.iuand(S); - }, t.prototype.and = function(S) { - return this.length > S.length ? this.clone().iand(S) : S.clone().iand(this); - }, t.prototype.uand = function(S) { - return this.length > S.length ? this.clone().iuand(S) : S.clone().iuand(this); - }, t.prototype.iuxor = function(S) { - var T, E; - this.length > S.length ? (T = this, E = S) : (T = S, E = this); - for (var M = 0; M < E.length; M++) this.words[M] = T.words[M] ^ E.words[M]; - if (this !== T) for (; M < T.length; M++) this.words[M] = T.words[M]; - return this.length = T.length, this.strip(); - }, t.prototype.ixor = function(S) { - return i(!(this.negative | S.negative)), this.iuxor(S); - }, t.prototype.xor = function(S) { - return this.length > S.length ? this.clone().ixor(S) : S.clone().ixor(this); - }, t.prototype.uxor = function(S) { - return this.length > S.length ? this.clone().iuxor(S) : S.clone().iuxor(this); - }, t.prototype.inotn = function(S) { - i(typeof S == "number" && S >= 0); - var T = 0 | Math.ceil(S / 26), E = S % 26; - this._expand(T), E > 0 && T--; - for (var M = 0; M < T; M++) this.words[M] = 67108863 & ~this.words[M]; - return E > 0 && (this.words[M] = ~this.words[M] & 67108863 >> 26 - E), this.strip(); - }, t.prototype.notn = function(S) { - return this.clone().inotn(S); - }, t.prototype.setn = function(S, T) { - i(typeof S == "number" && S >= 0); - var E = S / 26 | 0, M = S % 26; - return this._expand(E + 1), this.words[E] = T ? this.words[E] | 1 << M : this.words[E] & ~(1 << M), this.strip(); - }, t.prototype.iadd = function(S) { - var T, E, M; - if (this.negative !== 0 && S.negative === 0) return this.negative = 0, T = this.isub(S), this.negative ^= 1, this._normSign(); - if (this.negative === 0 && S.negative !== 0) return S.negative = 0, T = this.isub(S), S.negative = 1, T._normSign(); - this.length > S.length ? (E = this, M = S) : (E = S, M = this); - for (var _ = 0, w = 0; w < M.length; w++) T = (0 | E.words[w]) + (0 | M.words[w]) + _, this.words[w] = 67108863 & T, _ = T >>> 26; - for (; _ !== 0 && w < E.length; w++) T = (0 | E.words[w]) + _, this.words[w] = 67108863 & T, _ = T >>> 26; - if (this.length = E.length, _ !== 0) this.words[this.length] = _, this.length++; - else if (E !== this) for (; w < E.length; w++) this.words[w] = E.words[w]; + }, a.prototype.iuor = function(T) { + for (; this.length < T.length; ) this.words[this.length++] = 0; + for (var L = 0; L < T.length; L++) this.words[L] = this.words[L] | T.words[L]; + return this._strip(); + }, a.prototype.ior = function(T) { + return i((this.negative | T.negative) === 0), this.iuor(T); + }, a.prototype.or = function(T) { + return this.length > T.length ? this.clone().ior(T) : T.clone().ior(this); + }, a.prototype.uor = function(T) { + return this.length > T.length ? this.clone().iuor(T) : T.clone().iuor(this); + }, a.prototype.iuand = function(T) { + var L; + L = this.length > T.length ? T : this; + for (var R = 0; R < L.length; R++) this.words[R] = this.words[R] & T.words[R]; + return this.length = L.length, this._strip(); + }, a.prototype.iand = function(T) { + return i((this.negative | T.negative) === 0), this.iuand(T); + }, a.prototype.and = function(T) { + return this.length > T.length ? this.clone().iand(T) : T.clone().iand(this); + }, a.prototype.uand = function(T) { + return this.length > T.length ? this.clone().iuand(T) : T.clone().iuand(this); + }, a.prototype.iuxor = function(T) { + var L, R; + this.length > T.length ? (L = this, R = T) : (L = T, R = this); + for (var M = 0; M < R.length; M++) this.words[M] = L.words[M] ^ R.words[M]; + if (this !== L) for (; M < L.length; M++) this.words[M] = L.words[M]; + return this.length = L.length, this._strip(); + }, a.prototype.ixor = function(T) { + return i((this.negative | T.negative) === 0), this.iuxor(T); + }, a.prototype.xor = function(T) { + return this.length > T.length ? this.clone().ixor(T) : T.clone().ixor(this); + }, a.prototype.uxor = function(T) { + return this.length > T.length ? this.clone().iuxor(T) : T.clone().iuxor(this); + }, a.prototype.inotn = function(T) { + i(typeof T == "number" && T >= 0); + var L = 0 | Math.ceil(T / 26), R = T % 26; + this._expand(L), R > 0 && L--; + for (var M = 0; M < L; M++) this.words[M] = 67108863 & ~this.words[M]; + return R > 0 && (this.words[M] = ~this.words[M] & 67108863 >> 26 - R), this._strip(); + }, a.prototype.notn = function(T) { + return this.clone().inotn(T); + }, a.prototype.setn = function(T, L) { + i(typeof T == "number" && T >= 0); + var R = T / 26 | 0, M = T % 26; + return this._expand(R + 1), this.words[R] = L ? this.words[R] | 1 << M : this.words[R] & ~(1 << M), this._strip(); + }, a.prototype.iadd = function(T) { + var L, R, M; + if (this.negative !== 0 && T.negative === 0) return this.negative = 0, L = this.isub(T), this.negative ^= 1, this._normSign(); + if (this.negative === 0 && T.negative !== 0) return T.negative = 0, L = this.isub(T), T.negative = 1, L._normSign(); + this.length > T.length ? (R = this, M = T) : (R = T, M = this); + for (var P = 0, H = 0; H < M.length; H++) L = (0 | R.words[H]) + (0 | M.words[H]) + P, this.words[H] = 67108863 & L, P = L >>> 26; + for (; P !== 0 && H < R.length; H++) L = (0 | R.words[H]) + P, this.words[H] = 67108863 & L, P = L >>> 26; + if (this.length = R.length, P !== 0) this.words[this.length] = P, this.length++; + else if (R !== this) for (; H < R.length; H++) this.words[H] = R.words[H]; return this; - }, t.prototype.add = function(S) { - var T; - return S.negative !== 0 && this.negative === 0 ? (S.negative = 0, T = this.sub(S), S.negative ^= 1, T) : S.negative === 0 && this.negative !== 0 ? (this.negative = 0, T = S.sub(this), this.negative = 1, T) : this.length > S.length ? this.clone().iadd(S) : S.clone().iadd(this); - }, t.prototype.isub = function(S) { - if (S.negative !== 0) { - S.negative = 0; - var T = this.iadd(S); - return S.negative = 1, T._normSign(); - } - if (this.negative !== 0) return this.negative = 0, this.iadd(S), this.negative = 1, this._normSign(); - var E, M, _ = this.cmp(S); - if (_ === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; - _ > 0 ? (E = this, M = S) : (E = S, M = this); - for (var w = 0, A = 0; A < M.length; A++) w = (T = (0 | E.words[A]) - (0 | M.words[A]) + w) >> 26, this.words[A] = 67108863 & T; - for (; w !== 0 && A < E.length; A++) w = (T = (0 | E.words[A]) + w) >> 26, this.words[A] = 67108863 & T; - if (w === 0 && A < E.length && E !== this) for (; A < E.length; A++) this.words[A] = E.words[A]; - return this.length = Math.max(this.length, A), E !== this && (this.negative = 1), this.strip(); - }, t.prototype.sub = function(S) { - return this.clone().isub(S); + }, a.prototype.add = function(T) { + var L; + return T.negative !== 0 && this.negative === 0 ? (T.negative = 0, L = this.sub(T), T.negative ^= 1, L) : T.negative === 0 && this.negative !== 0 ? (this.negative = 0, L = T.sub(this), this.negative = 1, L) : this.length > T.length ? this.clone().iadd(T) : T.clone().iadd(this); + }, a.prototype.isub = function(T) { + if (T.negative !== 0) { + T.negative = 0; + var L = this.iadd(T); + return T.negative = 1, L._normSign(); + } + if (this.negative !== 0) return this.negative = 0, this.iadd(T), this.negative = 1, this._normSign(); + var R, M, P = this.cmp(T); + if (P === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; + P > 0 ? (R = this, M = T) : (R = T, M = this); + for (var H = 0, K = 0; K < M.length; K++) H = (L = (0 | R.words[K]) - (0 | M.words[K]) + H) >> 26, this.words[K] = 67108863 & L; + for (; H !== 0 && K < R.length; K++) H = (L = (0 | R.words[K]) + H) >> 26, this.words[K] = 67108863 & L; + if (H === 0 && K < R.length && R !== this) for (; K < R.length; K++) this.words[K] = R.words[K]; + return this.length = Math.max(this.length, K), R !== this && (this.negative = 1), this._strip(); + }, a.prototype.sub = function(T) { + return this.clone().isub(T); }; - var p = function(S, T, E) { - var M, _, w, A = S.words, j = T.words, V = E.words, D = 0, z = 0 | A[0], J = 8191 & z, G = z >>> 13, Q = 0 | A[1], ee = 8191 & Q, Z = Q >>> 13, q = 0 | A[2], se = 8191 & q, ue = q >>> 13, ce = 0 | A[3], ie = 8191 & ce, fe = ce >>> 13, Te = 0 | A[4], Se = 8191 & Te, te = Te >>> 13, ye = 0 | A[5], ve = 8191 & ye, F = ye >>> 13, W = 0 | A[6], K = 8191 & W, X = W >>> 13, ne = 0 | A[7], re = 8191 & ne, pe = ne >>> 13, Oe = 0 | A[8], xe = 8191 & Oe, Re = Oe >>> 13, De = 0 | A[9], Le = 8191 & De, Ve = De >>> 13, Ze = 0 | j[0], Be = 8191 & Ze, de = Ze >>> 13, oe = 0 | j[1], le = 8191 & oe, me = oe >>> 13, Ce = 0 | j[2], we = 8191 & Ce, Ie = Ce >>> 13, ke = 0 | j[3], Ne = 8191 & ke, He = ke >>> 13, qe = 0 | j[4], Ue = 8191 & qe, $e = qe >>> 13, ct = 0 | j[5], We = 8191 & ct, it = ct >>> 13, bt = 0 | j[6], Xe = 8191 & bt, ut = bt >>> 13, Mt = 0 | j[7], Ye = 8191 & Mt, at = Mt >>> 13, Tt = 0 | j[8], tt = 8191 & Tt, mt = Tt >>> 13, Lt = 0 | j[9], et = 8191 & Lt, lt = Lt >>> 13; - E.negative = S.negative ^ T.negative, E.length = 19; - var xt = (D + (M = Math.imul(J, Be)) | 0) + ((8191 & (_ = (_ = Math.imul(J, de)) + Math.imul(G, Be) | 0)) << 13) | 0; - D = ((w = Math.imul(G, de)) + (_ >>> 13) | 0) + (xt >>> 26) | 0, xt &= 67108863, M = Math.imul(ee, Be), _ = (_ = Math.imul(ee, de)) + Math.imul(Z, Be) | 0, w = Math.imul(Z, de); - var Rt = (D + (M = M + Math.imul(J, le) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, me) | 0) + Math.imul(G, le) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, me) | 0) + (_ >>> 13) | 0) + (Rt >>> 26) | 0, Rt &= 67108863, M = Math.imul(se, Be), _ = (_ = Math.imul(se, de)) + Math.imul(ue, Be) | 0, w = Math.imul(ue, de), M = M + Math.imul(ee, le) | 0, _ = (_ = _ + Math.imul(ee, me) | 0) + Math.imul(Z, le) | 0, w = w + Math.imul(Z, me) | 0; - var Cr = (D + (M = M + Math.imul(J, we) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, Ie) | 0) + Math.imul(G, we) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, Ie) | 0) + (_ >>> 13) | 0) + (Cr >>> 26) | 0, Cr &= 67108863, M = Math.imul(ie, Be), _ = (_ = Math.imul(ie, de)) + Math.imul(fe, Be) | 0, w = Math.imul(fe, de), M = M + Math.imul(se, le) | 0, _ = (_ = _ + Math.imul(se, me) | 0) + Math.imul(ue, le) | 0, w = w + Math.imul(ue, me) | 0, M = M + Math.imul(ee, we) | 0, _ = (_ = _ + Math.imul(ee, Ie) | 0) + Math.imul(Z, we) | 0, w = w + Math.imul(Z, Ie) | 0; - var _r = (D + (M = M + Math.imul(J, Ne) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, He) | 0) + Math.imul(G, Ne) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, He) | 0) + (_ >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, M = Math.imul(Se, Be), _ = (_ = Math.imul(Se, de)) + Math.imul(te, Be) | 0, w = Math.imul(te, de), M = M + Math.imul(ie, le) | 0, _ = (_ = _ + Math.imul(ie, me) | 0) + Math.imul(fe, le) | 0, w = w + Math.imul(fe, me) | 0, M = M + Math.imul(se, we) | 0, _ = (_ = _ + Math.imul(se, Ie) | 0) + Math.imul(ue, we) | 0, w = w + Math.imul(ue, Ie) | 0, M = M + Math.imul(ee, Ne) | 0, _ = (_ = _ + Math.imul(ee, He) | 0) + Math.imul(Z, Ne) | 0, w = w + Math.imul(Z, He) | 0; - var Nr = (D + (M = M + Math.imul(J, Ue) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, $e) | 0) + Math.imul(G, Ue) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, $e) | 0) + (_ >>> 13) | 0) + (Nr >>> 26) | 0, Nr &= 67108863, M = Math.imul(ve, Be), _ = (_ = Math.imul(ve, de)) + Math.imul(F, Be) | 0, w = Math.imul(F, de), M = M + Math.imul(Se, le) | 0, _ = (_ = _ + Math.imul(Se, me) | 0) + Math.imul(te, le) | 0, w = w + Math.imul(te, me) | 0, M = M + Math.imul(ie, we) | 0, _ = (_ = _ + Math.imul(ie, Ie) | 0) + Math.imul(fe, we) | 0, w = w + Math.imul(fe, Ie) | 0, M = M + Math.imul(se, Ne) | 0, _ = (_ = _ + Math.imul(se, He) | 0) + Math.imul(ue, Ne) | 0, w = w + Math.imul(ue, He) | 0, M = M + Math.imul(ee, Ue) | 0, _ = (_ = _ + Math.imul(ee, $e) | 0) + Math.imul(Z, Ue) | 0, w = w + Math.imul(Z, $e) | 0; - var pr = (D + (M = M + Math.imul(J, We) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, it) | 0) + Math.imul(G, We) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, it) | 0) + (_ >>> 13) | 0) + (pr >>> 26) | 0, pr &= 67108863, M = Math.imul(K, Be), _ = (_ = Math.imul(K, de)) + Math.imul(X, Be) | 0, w = Math.imul(X, de), M = M + Math.imul(ve, le) | 0, _ = (_ = _ + Math.imul(ve, me) | 0) + Math.imul(F, le) | 0, w = w + Math.imul(F, me) | 0, M = M + Math.imul(Se, we) | 0, _ = (_ = _ + Math.imul(Se, Ie) | 0) + Math.imul(te, we) | 0, w = w + Math.imul(te, Ie) | 0, M = M + Math.imul(ie, Ne) | 0, _ = (_ = _ + Math.imul(ie, He) | 0) + Math.imul(fe, Ne) | 0, w = w + Math.imul(fe, He) | 0, M = M + Math.imul(se, Ue) | 0, _ = (_ = _ + Math.imul(se, $e) | 0) + Math.imul(ue, Ue) | 0, w = w + Math.imul(ue, $e) | 0, M = M + Math.imul(ee, We) | 0, _ = (_ = _ + Math.imul(ee, it) | 0) + Math.imul(Z, We) | 0, w = w + Math.imul(Z, it) | 0; - var nr = (D + (M = M + Math.imul(J, Xe) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, ut) | 0) + Math.imul(G, Xe) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, ut) | 0) + (_ >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, M = Math.imul(re, Be), _ = (_ = Math.imul(re, de)) + Math.imul(pe, Be) | 0, w = Math.imul(pe, de), M = M + Math.imul(K, le) | 0, _ = (_ = _ + Math.imul(K, me) | 0) + Math.imul(X, le) | 0, w = w + Math.imul(X, me) | 0, M = M + Math.imul(ve, we) | 0, _ = (_ = _ + Math.imul(ve, Ie) | 0) + Math.imul(F, we) | 0, w = w + Math.imul(F, Ie) | 0, M = M + Math.imul(Se, Ne) | 0, _ = (_ = _ + Math.imul(Se, He) | 0) + Math.imul(te, Ne) | 0, w = w + Math.imul(te, He) | 0, M = M + Math.imul(ie, Ue) | 0, _ = (_ = _ + Math.imul(ie, $e) | 0) + Math.imul(fe, Ue) | 0, w = w + Math.imul(fe, $e) | 0, M = M + Math.imul(se, We) | 0, _ = (_ = _ + Math.imul(se, it) | 0) + Math.imul(ue, We) | 0, w = w + Math.imul(ue, it) | 0, M = M + Math.imul(ee, Xe) | 0, _ = (_ = _ + Math.imul(ee, ut) | 0) + Math.imul(Z, Xe) | 0, w = w + Math.imul(Z, ut) | 0; - var Sr = (D + (M = M + Math.imul(J, Ye) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, at) | 0) + Math.imul(G, Ye) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, at) | 0) + (_ >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, M = Math.imul(xe, Be), _ = (_ = Math.imul(xe, de)) + Math.imul(Re, Be) | 0, w = Math.imul(Re, de), M = M + Math.imul(re, le) | 0, _ = (_ = _ + Math.imul(re, me) | 0) + Math.imul(pe, le) | 0, w = w + Math.imul(pe, me) | 0, M = M + Math.imul(K, we) | 0, _ = (_ = _ + Math.imul(K, Ie) | 0) + Math.imul(X, we) | 0, w = w + Math.imul(X, Ie) | 0, M = M + Math.imul(ve, Ne) | 0, _ = (_ = _ + Math.imul(ve, He) | 0) + Math.imul(F, Ne) | 0, w = w + Math.imul(F, He) | 0, M = M + Math.imul(Se, Ue) | 0, _ = (_ = _ + Math.imul(Se, $e) | 0) + Math.imul(te, Ue) | 0, w = w + Math.imul(te, $e) | 0, M = M + Math.imul(ie, We) | 0, _ = (_ = _ + Math.imul(ie, it) | 0) + Math.imul(fe, We) | 0, w = w + Math.imul(fe, it) | 0, M = M + Math.imul(se, Xe) | 0, _ = (_ = _ + Math.imul(se, ut) | 0) + Math.imul(ue, Xe) | 0, w = w + Math.imul(ue, ut) | 0, M = M + Math.imul(ee, Ye) | 0, _ = (_ = _ + Math.imul(ee, at) | 0) + Math.imul(Z, Ye) | 0, w = w + Math.imul(Z, at) | 0; - var Mr = (D + (M = M + Math.imul(J, tt) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, mt) | 0) + Math.imul(G, tt) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, mt) | 0) + (_ >>> 13) | 0) + (Mr >>> 26) | 0, Mr &= 67108863, M = Math.imul(Le, Be), _ = (_ = Math.imul(Le, de)) + Math.imul(Ve, Be) | 0, w = Math.imul(Ve, de), M = M + Math.imul(xe, le) | 0, _ = (_ = _ + Math.imul(xe, me) | 0) + Math.imul(Re, le) | 0, w = w + Math.imul(Re, me) | 0, M = M + Math.imul(re, we) | 0, _ = (_ = _ + Math.imul(re, Ie) | 0) + Math.imul(pe, we) | 0, w = w + Math.imul(pe, Ie) | 0, M = M + Math.imul(K, Ne) | 0, _ = (_ = _ + Math.imul(K, He) | 0) + Math.imul(X, Ne) | 0, w = w + Math.imul(X, He) | 0, M = M + Math.imul(ve, Ue) | 0, _ = (_ = _ + Math.imul(ve, $e) | 0) + Math.imul(F, Ue) | 0, w = w + Math.imul(F, $e) | 0, M = M + Math.imul(Se, We) | 0, _ = (_ = _ + Math.imul(Se, it) | 0) + Math.imul(te, We) | 0, w = w + Math.imul(te, it) | 0, M = M + Math.imul(ie, Xe) | 0, _ = (_ = _ + Math.imul(ie, ut) | 0) + Math.imul(fe, Xe) | 0, w = w + Math.imul(fe, ut) | 0, M = M + Math.imul(se, Ye) | 0, _ = (_ = _ + Math.imul(se, at) | 0) + Math.imul(ue, Ye) | 0, w = w + Math.imul(ue, at) | 0, M = M + Math.imul(ee, tt) | 0, _ = (_ = _ + Math.imul(ee, mt) | 0) + Math.imul(Z, tt) | 0, w = w + Math.imul(Z, mt) | 0; - var xr = (D + (M = M + Math.imul(J, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, lt) | 0) + Math.imul(G, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, lt) | 0) + (_ >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, M = Math.imul(Le, le), _ = (_ = Math.imul(Le, me)) + Math.imul(Ve, le) | 0, w = Math.imul(Ve, me), M = M + Math.imul(xe, we) | 0, _ = (_ = _ + Math.imul(xe, Ie) | 0) + Math.imul(Re, we) | 0, w = w + Math.imul(Re, Ie) | 0, M = M + Math.imul(re, Ne) | 0, _ = (_ = _ + Math.imul(re, He) | 0) + Math.imul(pe, Ne) | 0, w = w + Math.imul(pe, He) | 0, M = M + Math.imul(K, Ue) | 0, _ = (_ = _ + Math.imul(K, $e) | 0) + Math.imul(X, Ue) | 0, w = w + Math.imul(X, $e) | 0, M = M + Math.imul(ve, We) | 0, _ = (_ = _ + Math.imul(ve, it) | 0) + Math.imul(F, We) | 0, w = w + Math.imul(F, it) | 0, M = M + Math.imul(Se, Xe) | 0, _ = (_ = _ + Math.imul(Se, ut) | 0) + Math.imul(te, Xe) | 0, w = w + Math.imul(te, ut) | 0, M = M + Math.imul(ie, Ye) | 0, _ = (_ = _ + Math.imul(ie, at) | 0) + Math.imul(fe, Ye) | 0, w = w + Math.imul(fe, at) | 0, M = M + Math.imul(se, tt) | 0, _ = (_ = _ + Math.imul(se, mt) | 0) + Math.imul(ue, tt) | 0, w = w + Math.imul(ue, mt) | 0; - var Lr = (D + (M = M + Math.imul(ee, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(ee, lt) | 0) + Math.imul(Z, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Z, lt) | 0) + (_ >>> 13) | 0) + (Lr >>> 26) | 0, Lr &= 67108863, M = Math.imul(Le, we), _ = (_ = Math.imul(Le, Ie)) + Math.imul(Ve, we) | 0, w = Math.imul(Ve, Ie), M = M + Math.imul(xe, Ne) | 0, _ = (_ = _ + Math.imul(xe, He) | 0) + Math.imul(Re, Ne) | 0, w = w + Math.imul(Re, He) | 0, M = M + Math.imul(re, Ue) | 0, _ = (_ = _ + Math.imul(re, $e) | 0) + Math.imul(pe, Ue) | 0, w = w + Math.imul(pe, $e) | 0, M = M + Math.imul(K, We) | 0, _ = (_ = _ + Math.imul(K, it) | 0) + Math.imul(X, We) | 0, w = w + Math.imul(X, it) | 0, M = M + Math.imul(ve, Xe) | 0, _ = (_ = _ + Math.imul(ve, ut) | 0) + Math.imul(F, Xe) | 0, w = w + Math.imul(F, ut) | 0, M = M + Math.imul(Se, Ye) | 0, _ = (_ = _ + Math.imul(Se, at) | 0) + Math.imul(te, Ye) | 0, w = w + Math.imul(te, at) | 0, M = M + Math.imul(ie, tt) | 0, _ = (_ = _ + Math.imul(ie, mt) | 0) + Math.imul(fe, tt) | 0, w = w + Math.imul(fe, mt) | 0; - var Er = (D + (M = M + Math.imul(se, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(se, lt) | 0) + Math.imul(ue, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(ue, lt) | 0) + (_ >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, M = Math.imul(Le, Ne), _ = (_ = Math.imul(Le, He)) + Math.imul(Ve, Ne) | 0, w = Math.imul(Ve, He), M = M + Math.imul(xe, Ue) | 0, _ = (_ = _ + Math.imul(xe, $e) | 0) + Math.imul(Re, Ue) | 0, w = w + Math.imul(Re, $e) | 0, M = M + Math.imul(re, We) | 0, _ = (_ = _ + Math.imul(re, it) | 0) + Math.imul(pe, We) | 0, w = w + Math.imul(pe, it) | 0, M = M + Math.imul(K, Xe) | 0, _ = (_ = _ + Math.imul(K, ut) | 0) + Math.imul(X, Xe) | 0, w = w + Math.imul(X, ut) | 0, M = M + Math.imul(ve, Ye) | 0, _ = (_ = _ + Math.imul(ve, at) | 0) + Math.imul(F, Ye) | 0, w = w + Math.imul(F, at) | 0, M = M + Math.imul(Se, tt) | 0, _ = (_ = _ + Math.imul(Se, mt) | 0) + Math.imul(te, tt) | 0, w = w + Math.imul(te, mt) | 0; - var mr = (D + (M = M + Math.imul(ie, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(ie, lt) | 0) + Math.imul(fe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(fe, lt) | 0) + (_ >>> 13) | 0) + (mr >>> 26) | 0, mr &= 67108863, M = Math.imul(Le, Ue), _ = (_ = Math.imul(Le, $e)) + Math.imul(Ve, Ue) | 0, w = Math.imul(Ve, $e), M = M + Math.imul(xe, We) | 0, _ = (_ = _ + Math.imul(xe, it) | 0) + Math.imul(Re, We) | 0, w = w + Math.imul(Re, it) | 0, M = M + Math.imul(re, Xe) | 0, _ = (_ = _ + Math.imul(re, ut) | 0) + Math.imul(pe, Xe) | 0, w = w + Math.imul(pe, ut) | 0, M = M + Math.imul(K, Ye) | 0, _ = (_ = _ + Math.imul(K, at) | 0) + Math.imul(X, Ye) | 0, w = w + Math.imul(X, at) | 0, M = M + Math.imul(ve, tt) | 0, _ = (_ = _ + Math.imul(ve, mt) | 0) + Math.imul(F, tt) | 0, w = w + Math.imul(F, mt) | 0; - var Pr = (D + (M = M + Math.imul(Se, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(Se, lt) | 0) + Math.imul(te, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(te, lt) | 0) + (_ >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, M = Math.imul(Le, We), _ = (_ = Math.imul(Le, it)) + Math.imul(Ve, We) | 0, w = Math.imul(Ve, it), M = M + Math.imul(xe, Xe) | 0, _ = (_ = _ + Math.imul(xe, ut) | 0) + Math.imul(Re, Xe) | 0, w = w + Math.imul(Re, ut) | 0, M = M + Math.imul(re, Ye) | 0, _ = (_ = _ + Math.imul(re, at) | 0) + Math.imul(pe, Ye) | 0, w = w + Math.imul(pe, at) | 0, M = M + Math.imul(K, tt) | 0, _ = (_ = _ + Math.imul(K, mt) | 0) + Math.imul(X, tt) | 0, w = w + Math.imul(X, mt) | 0; - var or = (D + (M = M + Math.imul(ve, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(ve, lt) | 0) + Math.imul(F, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(F, lt) | 0) + (_ >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, M = Math.imul(Le, Xe), _ = (_ = Math.imul(Le, ut)) + Math.imul(Ve, Xe) | 0, w = Math.imul(Ve, ut), M = M + Math.imul(xe, Ye) | 0, _ = (_ = _ + Math.imul(xe, at) | 0) + Math.imul(Re, Ye) | 0, w = w + Math.imul(Re, at) | 0, M = M + Math.imul(re, tt) | 0, _ = (_ = _ + Math.imul(re, mt) | 0) + Math.imul(pe, tt) | 0, w = w + Math.imul(pe, mt) | 0; - var Ar = (D + (M = M + Math.imul(K, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(K, lt) | 0) + Math.imul(X, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(X, lt) | 0) + (_ >>> 13) | 0) + (Ar >>> 26) | 0, Ar &= 67108863, M = Math.imul(Le, Ye), _ = (_ = Math.imul(Le, at)) + Math.imul(Ve, Ye) | 0, w = Math.imul(Ve, at), M = M + Math.imul(xe, tt) | 0, _ = (_ = _ + Math.imul(xe, mt) | 0) + Math.imul(Re, tt) | 0, w = w + Math.imul(Re, mt) | 0; - var ir = (D + (M = M + Math.imul(re, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(re, lt) | 0) + Math.imul(pe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(pe, lt) | 0) + (_ >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, M = Math.imul(Le, tt), _ = (_ = Math.imul(Le, mt)) + Math.imul(Ve, tt) | 0, w = Math.imul(Ve, mt); - var $t = (D + (M = M + Math.imul(xe, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(xe, lt) | 0) + Math.imul(Re, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Re, lt) | 0) + (_ >>> 13) | 0) + ($t >>> 26) | 0, $t &= 67108863; - var ar = (D + (M = Math.imul(Le, et)) | 0) + ((8191 & (_ = (_ = Math.imul(Le, lt)) + Math.imul(Ve, et) | 0)) << 13) | 0; - return D = ((w = Math.imul(Ve, lt)) + (_ >>> 13) | 0) + (ar >>> 26) | 0, ar &= 67108863, V[0] = xt, V[1] = Rt, V[2] = Cr, V[3] = _r, V[4] = Nr, V[5] = pr, V[6] = nr, V[7] = Sr, V[8] = Mr, V[9] = xr, V[10] = Lr, V[11] = Er, V[12] = mr, V[13] = Pr, V[14] = or, V[15] = Ar, V[16] = ir, V[17] = $t, V[18] = ar, D !== 0 && (V[19] = D, E.length++), E; + var _ = function(T, L, R) { + var M, P, H, K = T.words, V = L.words, U = R.words, F = 0, Q = 0 | K[0], ne = 8191 & Q, te = Q >>> 13, X = 0 | K[1], Z = 8191 & X, fe = X >>> 13, le = 0 | K[2], Se = 8191 & le, de = le >>> 13, me = 0 | K[3], Oe = 8191 & me, Ce = me >>> 13, G = 0 | K[4], ie = 8191 & G, we = G >>> 13, z = 0 | K[5], J = 8191 & z, q = z >>> 13, re = 0 | K[6], $ = 8191 & re, Y = re >>> 13, ce = 0 | K[7], ye = 8191 & ce, ve = ce >>> 13, Ee = 0 | K[8], Ie = 8191 & Ee, be = Ee >>> 13, Ne = 0 | K[9], He = 8191 & Ne, ae = Ne >>> 13, oe = 0 | V[0], ue = 8191 & oe, he = oe >>> 13, _e = 0 | V[1], Te = 8191 & _e, Re = _e >>> 13, Ue = 0 | V[2], De = 8191 & Ue, ze = Ue >>> 13, Xe = 0 | V[3], qe = 8191 & Xe, Ye = Xe >>> 13, ct = 0 | V[4], ot = 8191 & ct, dt = ct >>> 13, $t = 0 | V[5], gt = 8191 & $t, Fe = $t >>> 13, mt = 0 | V[6], ht = 8191 & mt, Mt = mt >>> 13, kr = 0 | V[7], Vt = 8191 & kr, Ut = kr >>> 13, Ln = 0 | V[8], Ft = 8191 & Ln, Jt = Ln >>> 13, vr = 0 | V[9], qt = 8191 & vr, Gt = vr >>> 13; + R.negative = T.negative ^ L.negative, R.length = 19; + var br = (F + (M = Math.imul(ne, ue)) | 0) + ((8191 & (P = (P = Math.imul(ne, he)) + Math.imul(te, ue) | 0)) << 13) | 0; + F = ((H = Math.imul(te, he)) + (P >>> 13) | 0) + (br >>> 26) | 0, br &= 67108863, M = Math.imul(Z, ue), P = (P = Math.imul(Z, he)) + Math.imul(fe, ue) | 0, H = Math.imul(fe, he); + var Wo = (F + (M = M + Math.imul(ne, Te) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Re) | 0) + Math.imul(te, Te) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, Re) | 0) + (P >>> 13) | 0) + (Wo >>> 26) | 0, Wo &= 67108863, M = Math.imul(Se, ue), P = (P = Math.imul(Se, he)) + Math.imul(de, ue) | 0, H = Math.imul(de, he), M = M + Math.imul(Z, Te) | 0, P = (P = P + Math.imul(Z, Re) | 0) + Math.imul(fe, Te) | 0, H = H + Math.imul(fe, Re) | 0; + var co = (F + (M = M + Math.imul(ne, De) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, ze) | 0) + Math.imul(te, De) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, ze) | 0) + (P >>> 13) | 0) + (co >>> 26) | 0, co &= 67108863, M = Math.imul(Oe, ue), P = (P = Math.imul(Oe, he)) + Math.imul(Ce, ue) | 0, H = Math.imul(Ce, he), M = M + Math.imul(Se, Te) | 0, P = (P = P + Math.imul(Se, Re) | 0) + Math.imul(de, Te) | 0, H = H + Math.imul(de, Re) | 0, M = M + Math.imul(Z, De) | 0, P = (P = P + Math.imul(Z, ze) | 0) + Math.imul(fe, De) | 0, H = H + Math.imul(fe, ze) | 0; + var uo = (F + (M = M + Math.imul(ne, qe) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Ye) | 0) + Math.imul(te, qe) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, Ye) | 0) + (P >>> 13) | 0) + (uo >>> 26) | 0, uo &= 67108863, M = Math.imul(ie, ue), P = (P = Math.imul(ie, he)) + Math.imul(we, ue) | 0, H = Math.imul(we, he), M = M + Math.imul(Oe, Te) | 0, P = (P = P + Math.imul(Oe, Re) | 0) + Math.imul(Ce, Te) | 0, H = H + Math.imul(Ce, Re) | 0, M = M + Math.imul(Se, De) | 0, P = (P = P + Math.imul(Se, ze) | 0) + Math.imul(de, De) | 0, H = H + Math.imul(de, ze) | 0, M = M + Math.imul(Z, qe) | 0, P = (P = P + Math.imul(Z, Ye) | 0) + Math.imul(fe, qe) | 0, H = H + Math.imul(fe, Ye) | 0; + var lo = (F + (M = M + Math.imul(ne, ot) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, dt) | 0) + Math.imul(te, ot) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, dt) | 0) + (P >>> 13) | 0) + (lo >>> 26) | 0, lo &= 67108863, M = Math.imul(J, ue), P = (P = Math.imul(J, he)) + Math.imul(q, ue) | 0, H = Math.imul(q, he), M = M + Math.imul(ie, Te) | 0, P = (P = P + Math.imul(ie, Re) | 0) + Math.imul(we, Te) | 0, H = H + Math.imul(we, Re) | 0, M = M + Math.imul(Oe, De) | 0, P = (P = P + Math.imul(Oe, ze) | 0) + Math.imul(Ce, De) | 0, H = H + Math.imul(Ce, ze) | 0, M = M + Math.imul(Se, qe) | 0, P = (P = P + Math.imul(Se, Ye) | 0) + Math.imul(de, qe) | 0, H = H + Math.imul(de, Ye) | 0, M = M + Math.imul(Z, ot) | 0, P = (P = P + Math.imul(Z, dt) | 0) + Math.imul(fe, ot) | 0, H = H + Math.imul(fe, dt) | 0; + var Jo = (F + (M = M + Math.imul(ne, gt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Fe) | 0) + Math.imul(te, gt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, Fe) | 0) + (P >>> 13) | 0) + (Jo >>> 26) | 0, Jo &= 67108863, M = Math.imul($, ue), P = (P = Math.imul($, he)) + Math.imul(Y, ue) | 0, H = Math.imul(Y, he), M = M + Math.imul(J, Te) | 0, P = (P = P + Math.imul(J, Re) | 0) + Math.imul(q, Te) | 0, H = H + Math.imul(q, Re) | 0, M = M + Math.imul(ie, De) | 0, P = (P = P + Math.imul(ie, ze) | 0) + Math.imul(we, De) | 0, H = H + Math.imul(we, ze) | 0, M = M + Math.imul(Oe, qe) | 0, P = (P = P + Math.imul(Oe, Ye) | 0) + Math.imul(Ce, qe) | 0, H = H + Math.imul(Ce, Ye) | 0, M = M + Math.imul(Se, ot) | 0, P = (P = P + Math.imul(Se, dt) | 0) + Math.imul(de, ot) | 0, H = H + Math.imul(de, dt) | 0, M = M + Math.imul(Z, gt) | 0, P = (P = P + Math.imul(Z, Fe) | 0) + Math.imul(fe, gt) | 0, H = H + Math.imul(fe, Fe) | 0; + var $o = (F + (M = M + Math.imul(ne, ht) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Mt) | 0) + Math.imul(te, ht) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, Mt) | 0) + (P >>> 13) | 0) + ($o >>> 26) | 0, $o &= 67108863, M = Math.imul(ye, ue), P = (P = Math.imul(ye, he)) + Math.imul(ve, ue) | 0, H = Math.imul(ve, he), M = M + Math.imul($, Te) | 0, P = (P = P + Math.imul($, Re) | 0) + Math.imul(Y, Te) | 0, H = H + Math.imul(Y, Re) | 0, M = M + Math.imul(J, De) | 0, P = (P = P + Math.imul(J, ze) | 0) + Math.imul(q, De) | 0, H = H + Math.imul(q, ze) | 0, M = M + Math.imul(ie, qe) | 0, P = (P = P + Math.imul(ie, Ye) | 0) + Math.imul(we, qe) | 0, H = H + Math.imul(we, Ye) | 0, M = M + Math.imul(Oe, ot) | 0, P = (P = P + Math.imul(Oe, dt) | 0) + Math.imul(Ce, ot) | 0, H = H + Math.imul(Ce, dt) | 0, M = M + Math.imul(Se, gt) | 0, P = (P = P + Math.imul(Se, Fe) | 0) + Math.imul(de, gt) | 0, H = H + Math.imul(de, Fe) | 0, M = M + Math.imul(Z, ht) | 0, P = (P = P + Math.imul(Z, Mt) | 0) + Math.imul(fe, ht) | 0, H = H + Math.imul(fe, Mt) | 0; + var fo = (F + (M = M + Math.imul(ne, Vt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Ut) | 0) + Math.imul(te, Vt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, Ut) | 0) + (P >>> 13) | 0) + (fo >>> 26) | 0, fo &= 67108863, M = Math.imul(Ie, ue), P = (P = Math.imul(Ie, he)) + Math.imul(be, ue) | 0, H = Math.imul(be, he), M = M + Math.imul(ye, Te) | 0, P = (P = P + Math.imul(ye, Re) | 0) + Math.imul(ve, Te) | 0, H = H + Math.imul(ve, Re) | 0, M = M + Math.imul($, De) | 0, P = (P = P + Math.imul($, ze) | 0) + Math.imul(Y, De) | 0, H = H + Math.imul(Y, ze) | 0, M = M + Math.imul(J, qe) | 0, P = (P = P + Math.imul(J, Ye) | 0) + Math.imul(q, qe) | 0, H = H + Math.imul(q, Ye) | 0, M = M + Math.imul(ie, ot) | 0, P = (P = P + Math.imul(ie, dt) | 0) + Math.imul(we, ot) | 0, H = H + Math.imul(we, dt) | 0, M = M + Math.imul(Oe, gt) | 0, P = (P = P + Math.imul(Oe, Fe) | 0) + Math.imul(Ce, gt) | 0, H = H + Math.imul(Ce, Fe) | 0, M = M + Math.imul(Se, ht) | 0, P = (P = P + Math.imul(Se, Mt) | 0) + Math.imul(de, ht) | 0, H = H + Math.imul(de, Mt) | 0, M = M + Math.imul(Z, Vt) | 0, P = (P = P + Math.imul(Z, Ut) | 0) + Math.imul(fe, Vt) | 0, H = H + Math.imul(fe, Ut) | 0; + var po = (F + (M = M + Math.imul(ne, Ft) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Jt) | 0) + Math.imul(te, Ft) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, Jt) | 0) + (P >>> 13) | 0) + (po >>> 26) | 0, po &= 67108863, M = Math.imul(He, ue), P = (P = Math.imul(He, he)) + Math.imul(ae, ue) | 0, H = Math.imul(ae, he), M = M + Math.imul(Ie, Te) | 0, P = (P = P + Math.imul(Ie, Re) | 0) + Math.imul(be, Te) | 0, H = H + Math.imul(be, Re) | 0, M = M + Math.imul(ye, De) | 0, P = (P = P + Math.imul(ye, ze) | 0) + Math.imul(ve, De) | 0, H = H + Math.imul(ve, ze) | 0, M = M + Math.imul($, qe) | 0, P = (P = P + Math.imul($, Ye) | 0) + Math.imul(Y, qe) | 0, H = H + Math.imul(Y, Ye) | 0, M = M + Math.imul(J, ot) | 0, P = (P = P + Math.imul(J, dt) | 0) + Math.imul(q, ot) | 0, H = H + Math.imul(q, dt) | 0, M = M + Math.imul(ie, gt) | 0, P = (P = P + Math.imul(ie, Fe) | 0) + Math.imul(we, gt) | 0, H = H + Math.imul(we, Fe) | 0, M = M + Math.imul(Oe, ht) | 0, P = (P = P + Math.imul(Oe, Mt) | 0) + Math.imul(Ce, ht) | 0, H = H + Math.imul(Ce, Mt) | 0, M = M + Math.imul(Se, Vt) | 0, P = (P = P + Math.imul(Se, Ut) | 0) + Math.imul(de, Vt) | 0, H = H + Math.imul(de, Ut) | 0, M = M + Math.imul(Z, Ft) | 0, P = (P = P + Math.imul(Z, Jt) | 0) + Math.imul(fe, Ft) | 0, H = H + Math.imul(fe, Jt) | 0; + var ho = (F + (M = M + Math.imul(ne, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Gt) | 0) + Math.imul(te, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(te, Gt) | 0) + (P >>> 13) | 0) + (ho >>> 26) | 0, ho &= 67108863, M = Math.imul(He, Te), P = (P = Math.imul(He, Re)) + Math.imul(ae, Te) | 0, H = Math.imul(ae, Re), M = M + Math.imul(Ie, De) | 0, P = (P = P + Math.imul(Ie, ze) | 0) + Math.imul(be, De) | 0, H = H + Math.imul(be, ze) | 0, M = M + Math.imul(ye, qe) | 0, P = (P = P + Math.imul(ye, Ye) | 0) + Math.imul(ve, qe) | 0, H = H + Math.imul(ve, Ye) | 0, M = M + Math.imul($, ot) | 0, P = (P = P + Math.imul($, dt) | 0) + Math.imul(Y, ot) | 0, H = H + Math.imul(Y, dt) | 0, M = M + Math.imul(J, gt) | 0, P = (P = P + Math.imul(J, Fe) | 0) + Math.imul(q, gt) | 0, H = H + Math.imul(q, Fe) | 0, M = M + Math.imul(ie, ht) | 0, P = (P = P + Math.imul(ie, Mt) | 0) + Math.imul(we, ht) | 0, H = H + Math.imul(we, Mt) | 0, M = M + Math.imul(Oe, Vt) | 0, P = (P = P + Math.imul(Oe, Ut) | 0) + Math.imul(Ce, Vt) | 0, H = H + Math.imul(Ce, Ut) | 0, M = M + Math.imul(Se, Ft) | 0, P = (P = P + Math.imul(Se, Jt) | 0) + Math.imul(de, Ft) | 0, H = H + Math.imul(de, Jt) | 0; + var Go = (F + (M = M + Math.imul(Z, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Z, Gt) | 0) + Math.imul(fe, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(fe, Gt) | 0) + (P >>> 13) | 0) + (Go >>> 26) | 0, Go &= 67108863, M = Math.imul(He, De), P = (P = Math.imul(He, ze)) + Math.imul(ae, De) | 0, H = Math.imul(ae, ze), M = M + Math.imul(Ie, qe) | 0, P = (P = P + Math.imul(Ie, Ye) | 0) + Math.imul(be, qe) | 0, H = H + Math.imul(be, Ye) | 0, M = M + Math.imul(ye, ot) | 0, P = (P = P + Math.imul(ye, dt) | 0) + Math.imul(ve, ot) | 0, H = H + Math.imul(ve, dt) | 0, M = M + Math.imul($, gt) | 0, P = (P = P + Math.imul($, Fe) | 0) + Math.imul(Y, gt) | 0, H = H + Math.imul(Y, Fe) | 0, M = M + Math.imul(J, ht) | 0, P = (P = P + Math.imul(J, Mt) | 0) + Math.imul(q, ht) | 0, H = H + Math.imul(q, Mt) | 0, M = M + Math.imul(ie, Vt) | 0, P = (P = P + Math.imul(ie, Ut) | 0) + Math.imul(we, Vt) | 0, H = H + Math.imul(we, Ut) | 0, M = M + Math.imul(Oe, Ft) | 0, P = (P = P + Math.imul(Oe, Jt) | 0) + Math.imul(Ce, Ft) | 0, H = H + Math.imul(Ce, Jt) | 0; + var yo = (F + (M = M + Math.imul(Se, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Se, Gt) | 0) + Math.imul(de, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(de, Gt) | 0) + (P >>> 13) | 0) + (yo >>> 26) | 0, yo &= 67108863, M = Math.imul(He, qe), P = (P = Math.imul(He, Ye)) + Math.imul(ae, qe) | 0, H = Math.imul(ae, Ye), M = M + Math.imul(Ie, ot) | 0, P = (P = P + Math.imul(Ie, dt) | 0) + Math.imul(be, ot) | 0, H = H + Math.imul(be, dt) | 0, M = M + Math.imul(ye, gt) | 0, P = (P = P + Math.imul(ye, Fe) | 0) + Math.imul(ve, gt) | 0, H = H + Math.imul(ve, Fe) | 0, M = M + Math.imul($, ht) | 0, P = (P = P + Math.imul($, Mt) | 0) + Math.imul(Y, ht) | 0, H = H + Math.imul(Y, Mt) | 0, M = M + Math.imul(J, Vt) | 0, P = (P = P + Math.imul(J, Ut) | 0) + Math.imul(q, Vt) | 0, H = H + Math.imul(q, Ut) | 0, M = M + Math.imul(ie, Ft) | 0, P = (P = P + Math.imul(ie, Jt) | 0) + Math.imul(we, Ft) | 0, H = H + Math.imul(we, Jt) | 0; + var Hr = (F + (M = M + Math.imul(Oe, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Oe, Gt) | 0) + Math.imul(Ce, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(Ce, Gt) | 0) + (P >>> 13) | 0) + (Hr >>> 26) | 0, Hr &= 67108863, M = Math.imul(He, ot), P = (P = Math.imul(He, dt)) + Math.imul(ae, ot) | 0, H = Math.imul(ae, dt), M = M + Math.imul(Ie, gt) | 0, P = (P = P + Math.imul(Ie, Fe) | 0) + Math.imul(be, gt) | 0, H = H + Math.imul(be, Fe) | 0, M = M + Math.imul(ye, ht) | 0, P = (P = P + Math.imul(ye, Mt) | 0) + Math.imul(ve, ht) | 0, H = H + Math.imul(ve, Mt) | 0, M = M + Math.imul($, Vt) | 0, P = (P = P + Math.imul($, Ut) | 0) + Math.imul(Y, Vt) | 0, H = H + Math.imul(Y, Ut) | 0, M = M + Math.imul(J, Ft) | 0, P = (P = P + Math.imul(J, Jt) | 0) + Math.imul(q, Ft) | 0, H = H + Math.imul(q, Jt) | 0; + var mo = (F + (M = M + Math.imul(ie, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ie, Gt) | 0) + Math.imul(we, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(we, Gt) | 0) + (P >>> 13) | 0) + (mo >>> 26) | 0, mo &= 67108863, M = Math.imul(He, gt), P = (P = Math.imul(He, Fe)) + Math.imul(ae, gt) | 0, H = Math.imul(ae, Fe), M = M + Math.imul(Ie, ht) | 0, P = (P = P + Math.imul(Ie, Mt) | 0) + Math.imul(be, ht) | 0, H = H + Math.imul(be, Mt) | 0, M = M + Math.imul(ye, Vt) | 0, P = (P = P + Math.imul(ye, Ut) | 0) + Math.imul(ve, Vt) | 0, H = H + Math.imul(ve, Ut) | 0, M = M + Math.imul($, Ft) | 0, P = (P = P + Math.imul($, Jt) | 0) + Math.imul(Y, Ft) | 0, H = H + Math.imul(Y, Jt) | 0; + var go = (F + (M = M + Math.imul(J, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(J, Gt) | 0) + Math.imul(q, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(q, Gt) | 0) + (P >>> 13) | 0) + (go >>> 26) | 0, go &= 67108863, M = Math.imul(He, ht), P = (P = Math.imul(He, Mt)) + Math.imul(ae, ht) | 0, H = Math.imul(ae, Mt), M = M + Math.imul(Ie, Vt) | 0, P = (P = P + Math.imul(Ie, Ut) | 0) + Math.imul(be, Vt) | 0, H = H + Math.imul(be, Ut) | 0, M = M + Math.imul(ye, Ft) | 0, P = (P = P + Math.imul(ye, Jt) | 0) + Math.imul(ve, Ft) | 0, H = H + Math.imul(ve, Jt) | 0; + var wr = (F + (M = M + Math.imul($, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul($, Gt) | 0) + Math.imul(Y, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(Y, Gt) | 0) + (P >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, M = Math.imul(He, Vt), P = (P = Math.imul(He, Ut)) + Math.imul(ae, Vt) | 0, H = Math.imul(ae, Ut), M = M + Math.imul(Ie, Ft) | 0, P = (P = P + Math.imul(Ie, Jt) | 0) + Math.imul(be, Ft) | 0, H = H + Math.imul(be, Jt) | 0; + var vo = (F + (M = M + Math.imul(ye, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ye, Gt) | 0) + Math.imul(ve, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(ve, Gt) | 0) + (P >>> 13) | 0) + (vo >>> 26) | 0, vo &= 67108863, M = Math.imul(He, Ft), P = (P = Math.imul(He, Jt)) + Math.imul(ae, Ft) | 0, H = Math.imul(ae, Jt); + var Cr = (F + (M = M + Math.imul(Ie, qt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Ie, Gt) | 0) + Math.imul(be, qt) | 0)) << 13) | 0; + F = ((H = H + Math.imul(be, Gt) | 0) + (P >>> 13) | 0) + (Cr >>> 26) | 0, Cr &= 67108863; + var ln = (F + (M = Math.imul(He, qt)) | 0) + ((8191 & (P = (P = Math.imul(He, Gt)) + Math.imul(ae, qt) | 0)) << 13) | 0; + return F = ((H = Math.imul(ae, Gt)) + (P >>> 13) | 0) + (ln >>> 26) | 0, ln &= 67108863, U[0] = br, U[1] = Wo, U[2] = co, U[3] = uo, U[4] = lo, U[5] = Jo, U[6] = $o, U[7] = fo, U[8] = po, U[9] = ho, U[10] = Go, U[11] = yo, U[12] = Hr, U[13] = mo, U[14] = go, U[15] = wr, U[16] = vo, U[17] = Cr, U[18] = ln, F !== 0 && (U[19] = F, R.length++), R; }; - function h(S, T, E) { - return new O().mulp(S, T, E); - } - function O(S, T) { - this.x = S, this.y = T; - } - Math.imul || (p = v), t.prototype.mulTo = function(S, T) { - var E, M = this.length + S.length; - return E = this.length === 10 && S.length === 10 ? p(this, S, T) : M < 63 ? v(this, S, T) : M < 1024 ? function(_, w, A) { - A.negative = w.negative ^ _.negative, A.length = _.length + w.length; - for (var j = 0, V = 0, D = 0; D < A.length - 1; D++) { - var z = V; - V = 0; - for (var J = 67108863 & j, G = Math.min(D, w.length - 1), Q = Math.max(0, D - _.length + 1); Q <= G; Q++) { - var ee = D - Q, Z = (0 | _.words[ee]) * (0 | w.words[Q]), q = 67108863 & Z; - J = 67108863 & (q = q + J | 0), V += (z = (z = z + (Z / 67108864 | 0) | 0) + (q >>> 26) | 0) >>> 26, z &= 67108863; - } - A.words[D] = J, j = z, z = V; + function E(T, L, R) { + R.negative = L.negative ^ T.negative, R.length = T.length + L.length; + for (var M = 0, P = 0, H = 0; H < R.length - 1; H++) { + var K = P; + P = 0; + for (var V = 67108863 & M, U = Math.min(H, L.length - 1), F = Math.max(0, H - T.length + 1); F <= U; F++) { + var Q = H - F, ne = (0 | T.words[Q]) * (0 | L.words[F]), te = 67108863 & ne; + V = 67108863 & (te = te + V | 0), P += (K = (K = K + (ne / 67108864 | 0) | 0) + (te >>> 26) | 0) >>> 26, K &= 67108863; } - return j !== 0 ? A.words[D] = j : A.length--, A.strip(); - }(this, S, T) : h(this, S, T), E; - }, O.prototype.makeRBT = function(S) { - for (var T = new Array(S), E = t.prototype._countBits(S) - 1, M = 0; M < S; M++) T[M] = this.revBin(M, E, S); - return T; - }, O.prototype.revBin = function(S, T, E) { - if (S === 0 || S === E - 1) return S; - for (var M = 0, _ = 0; _ < T; _++) M |= (1 & S) << T - _ - 1, S >>= 1; - return M; - }, O.prototype.permute = function(S, T, E, M, _, w) { - for (var A = 0; A < w; A++) M[A] = T[S[A]], _[A] = E[S[A]]; - }, O.prototype.transform = function(S, T, E, M, _, w) { - this.permute(w, S, T, E, M, _); - for (var A = 1; A < _; A <<= 1) for (var j = A << 1, V = Math.cos(2 * Math.PI / j), D = Math.sin(2 * Math.PI / j), z = 0; z < _; z += j) for (var J = V, G = D, Q = 0; Q < A; Q++) { - var ee = E[z + Q], Z = M[z + Q], q = E[z + Q + A], se = M[z + Q + A], ue = J * q - G * se; - se = J * se + G * q, q = ue, E[z + Q] = ee + q, M[z + Q] = Z + se, E[z + Q + A] = ee - q, M[z + Q + A] = Z - se, Q !== j && (ue = V * J - D * G, G = V * G + D * J, J = ue); - } - }, O.prototype.guessLen13b = function(S, T) { - var E = 1 | Math.max(T, S), M = 1 & E, _ = 0; - for (E = E / 2 | 0; E; E >>>= 1) _++; - return 1 << _ + 1 + M; - }, O.prototype.conjugate = function(S, T, E) { - if (!(E <= 1)) for (var M = 0; M < E / 2; M++) { - var _ = S[M]; - S[M] = S[E - M - 1], S[E - M - 1] = _, _ = T[M], T[M] = -T[E - M - 1], T[E - M - 1] = -_; - } - }, O.prototype.normalize13b = function(S, T) { - for (var E = 0, M = 0; M < T / 2; M++) { - var _ = 8192 * Math.round(S[2 * M + 1] / T) + Math.round(S[2 * M] / T) + E; - S[M] = 67108863 & _, E = _ < 67108864 ? 0 : _ / 67108864 | 0; - } - return S; - }, O.prototype.convert13b = function(S, T, E, M) { - for (var _ = 0, w = 0; w < T; w++) _ += 0 | S[w], E[2 * w] = 8191 & _, _ >>>= 13, E[2 * w + 1] = 8191 & _, _ >>>= 13; - for (w = 2 * T; w < M; ++w) E[w] = 0; - i(_ === 0), i(!(-8192 & _)); - }, O.prototype.stub = function(S) { - for (var T = new Array(S), E = 0; E < S; E++) T[E] = 0; - return T; - }, O.prototype.mulp = function(S, T, E) { - var M = 2 * this.guessLen13b(S.length, T.length), _ = this.makeRBT(M), w = this.stub(M), A = new Array(M), j = new Array(M), V = new Array(M), D = new Array(M), z = new Array(M), J = new Array(M), G = E.words; - G.length = M, this.convert13b(S.words, S.length, A, M), this.convert13b(T.words, T.length, D, M), this.transform(A, w, j, V, M, _), this.transform(D, w, z, J, M, _); - for (var Q = 0; Q < M; Q++) { - var ee = j[Q] * z[Q] - V[Q] * J[Q]; - V[Q] = j[Q] * J[Q] + V[Q] * z[Q], j[Q] = ee; - } - return this.conjugate(j, V, M), this.transform(j, V, G, w, M, _), this.conjugate(G, w, M), this.normalize13b(G, M), E.negative = S.negative ^ T.negative, E.length = S.length + T.length, E.strip(); - }, t.prototype.mul = function(S) { - var T = new t(null); - return T.words = new Array(this.length + S.length), this.mulTo(S, T); - }, t.prototype.mulf = function(S) { - var T = new t(null); - return T.words = new Array(this.length + S.length), h(this, S, T); - }, t.prototype.imul = function(S) { - return this.clone().mulTo(S, this); - }, t.prototype.imuln = function(S) { - i(typeof S == "number"), i(S < 67108864); - for (var T = 0, E = 0; E < this.length; E++) { - var M = (0 | this.words[E]) * S, _ = (67108863 & M) + (67108863 & T); - T >>= 26, T += M / 67108864 | 0, T += _ >>> 26, this.words[E] = 67108863 & _; - } - return T !== 0 && (this.words[E] = T, this.length++), this; - }, t.prototype.muln = function(S) { - return this.clone().imuln(S); - }, t.prototype.sqr = function() { + R.words[H] = V, M = K, K = P; + } + return M !== 0 ? R.words[H] = M : R.length--, R._strip(); + } + function B(T, L, R) { + return E(T, L, R); + } + Math.imul || (_ = b), a.prototype.mulTo = function(T, L) { + var R = this.length + T.length; + return this.length === 10 && T.length === 10 ? _(this, T, L) : R < 63 ? b(this, T, L) : R < 1024 ? E(this, T, L) : B(this, T, L); + }, a.prototype.mul = function(T) { + var L = new a(null); + return L.words = new Array(this.length + T.length), this.mulTo(T, L); + }, a.prototype.mulf = function(T) { + var L = new a(null); + return L.words = new Array(this.length + T.length), B(this, T, L); + }, a.prototype.imul = function(T) { + return this.clone().mulTo(T, this); + }, a.prototype.imuln = function(T) { + var L = T < 0; + L && (T = -T), i(typeof T == "number"), i(T < 67108864); + for (var R = 0, M = 0; M < this.length; M++) { + var P = (0 | this.words[M]) * T, H = (67108863 & P) + (67108863 & R); + R >>= 26, R += P / 67108864 | 0, R += H >>> 26, this.words[M] = 67108863 & H; + } + return R !== 0 && (this.words[M] = R, this.length++), this.length = T === 0 ? 1 : this.length, L ? this.ineg() : this; + }, a.prototype.muln = function(T) { + return this.clone().imuln(T); + }, a.prototype.sqr = function() { return this.mul(this); - }, t.prototype.isqr = function() { + }, a.prototype.isqr = function() { return this.imul(this.clone()); - }, t.prototype.pow = function(S) { - var T = function(w) { - for (var A = new Array(w.bitLength()), j = 0; j < A.length; j++) { - var V = j / 26 | 0, D = j % 26; - A[j] = (w.words[V] & 1 << D) >>> D; + }, a.prototype.pow = function(T) { + var L = function(H) { + for (var K = new Array(H.bitLength()), V = 0; V < K.length; V++) { + var U = V / 26 | 0, F = V % 26; + K[V] = H.words[U] >>> F & 1; } - return A; - }(S); - if (T.length === 0) return new t(1); - for (var E = this, M = 0; M < T.length && T[M] === 0; M++, E = E.sqr()) ; - if (++M < T.length) for (var _ = E.sqr(); M < T.length; M++, _ = _.sqr()) T[M] !== 0 && (E = E.mul(_)); - return E; - }, t.prototype.iushln = function(S) { - i(typeof S == "number" && S >= 0); - var T, E = S % 26, M = (S - E) / 26, _ = 67108863 >>> 26 - E << 26 - E; - if (E !== 0) { - var w = 0; - for (T = 0; T < this.length; T++) { - var A = this.words[T] & _, j = (0 | this.words[T]) - A << E; - this.words[T] = j | w, w = A >>> 26 - E; + return K; + }(T); + if (L.length === 0) return new a(1); + for (var R = this, M = 0; M < L.length && L[M] === 0; M++, R = R.sqr()) ; + if (++M < L.length) for (var P = R.sqr(); M < L.length; M++, P = P.sqr()) L[M] !== 0 && (R = R.mul(P)); + return R; + }, a.prototype.iushln = function(T) { + i(typeof T == "number" && T >= 0); + var L, R = T % 26, M = (T - R) / 26, P = 67108863 >>> 26 - R << 26 - R; + if (R !== 0) { + var H = 0; + for (L = 0; L < this.length; L++) { + var K = this.words[L] & P, V = (0 | this.words[L]) - K << R; + this.words[L] = V | H, H = K >>> 26 - R; } - w && (this.words[T] = w, this.length++); + H && (this.words[L] = H, this.length++); } if (M !== 0) { - for (T = this.length - 1; T >= 0; T--) this.words[T + M] = this.words[T]; - for (T = 0; T < M; T++) this.words[T] = 0; + for (L = this.length - 1; L >= 0; L--) this.words[L + M] = this.words[L]; + for (L = 0; L < M; L++) this.words[L] = 0; this.length += M; } - return this.strip(); - }, t.prototype.ishln = function(S) { - return i(this.negative === 0), this.iushln(S); - }, t.prototype.iushrn = function(S, T, E) { + return this._strip(); + }, a.prototype.ishln = function(T) { + return i(this.negative === 0), this.iushln(T); + }, a.prototype.iushrn = function(T, L, R) { var M; - i(typeof S == "number" && S >= 0), M = T ? (T - T % 26) / 26 : 0; - var _ = S % 26, w = Math.min((S - _) / 26, this.length), A = 67108863 ^ 67108863 >>> _ << _, j = E; - if (M -= w, M = Math.max(0, M), j) { - for (var V = 0; V < w; V++) j.words[V] = this.words[V]; - j.length = w; + i(typeof T == "number" && T >= 0), M = L ? (L - L % 26) / 26 : 0; + var P = T % 26, H = Math.min((T - P) / 26, this.length), K = 67108863 ^ 67108863 >>> P << P, V = R; + if (M -= H, M = Math.max(0, M), V) { + for (var U = 0; U < H; U++) V.words[U] = this.words[U]; + V.length = H; } - if (w !== 0) if (this.length > w) for (this.length -= w, V = 0; V < this.length; V++) this.words[V] = this.words[V + w]; + if (H !== 0) if (this.length > H) for (this.length -= H, U = 0; U < this.length; U++) this.words[U] = this.words[U + H]; else this.words[0] = 0, this.length = 1; - var D = 0; - for (V = this.length - 1; V >= 0 && (D !== 0 || V >= M); V--) { - var z = 0 | this.words[V]; - this.words[V] = D << 26 - _ | z >>> _, D = z & A; - } - return j && D !== 0 && (j.words[j.length++] = D), this.length === 0 && (this.words[0] = 0, this.length = 1), this.strip(); - }, t.prototype.ishrn = function(S, T, E) { - return i(this.negative === 0), this.iushrn(S, T, E); - }, t.prototype.shln = function(S) { - return this.clone().ishln(S); - }, t.prototype.ushln = function(S) { - return this.clone().iushln(S); - }, t.prototype.shrn = function(S) { - return this.clone().ishrn(S); - }, t.prototype.ushrn = function(S) { - return this.clone().iushrn(S); - }, t.prototype.testn = function(S) { - i(typeof S == "number" && S >= 0); - var T = S % 26, E = (S - T) / 26, M = 1 << T; - return !(this.length <= E || !(this.words[E] & M)); - }, t.prototype.imaskn = function(S) { - i(typeof S == "number" && S >= 0); - var T = S % 26, E = (S - T) / 26; - if (i(this.negative === 0, "imaskn works only with positive numbers"), this.length <= E) return this; - if (T !== 0 && E++, this.length = Math.min(E, this.length), T !== 0) { - var M = 67108863 ^ 67108863 >>> T << T; + var F = 0; + for (U = this.length - 1; U >= 0 && (F !== 0 || U >= M); U--) { + var Q = 0 | this.words[U]; + this.words[U] = F << 26 - P | Q >>> P, F = Q & K; + } + return V && F !== 0 && (V.words[V.length++] = F), this.length === 0 && (this.words[0] = 0, this.length = 1), this._strip(); + }, a.prototype.ishrn = function(T, L, R) { + return i(this.negative === 0), this.iushrn(T, L, R); + }, a.prototype.shln = function(T) { + return this.clone().ishln(T); + }, a.prototype.ushln = function(T) { + return this.clone().iushln(T); + }, a.prototype.shrn = function(T) { + return this.clone().ishrn(T); + }, a.prototype.ushrn = function(T) { + return this.clone().iushrn(T); + }, a.prototype.testn = function(T) { + i(typeof T == "number" && T >= 0); + var L = T % 26, R = (T - L) / 26, M = 1 << L; + return !(this.length <= R || !(this.words[R] & M)); + }, a.prototype.imaskn = function(T) { + i(typeof T == "number" && T >= 0); + var L = T % 26, R = (T - L) / 26; + if (i(this.negative === 0, "imaskn works only with positive numbers"), this.length <= R) return this; + if (L !== 0 && R++, this.length = Math.min(R, this.length), L !== 0) { + var M = 67108863 ^ 67108863 >>> L << L; this.words[this.length - 1] &= M; } - return this.strip(); - }, t.prototype.maskn = function(S) { - return this.clone().imaskn(S); - }, t.prototype.iaddn = function(S) { - return i(typeof S == "number"), i(S < 67108864), S < 0 ? this.isubn(-S) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) < S ? (this.words[0] = S - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(S), this.negative = 1, this) : this._iaddn(S); - }, t.prototype._iaddn = function(S) { - this.words[0] += S; - for (var T = 0; T < this.length && this.words[T] >= 67108864; T++) this.words[T] -= 67108864, T === this.length - 1 ? this.words[T + 1] = 1 : this.words[T + 1]++; - return this.length = Math.max(this.length, T + 1), this; - }, t.prototype.isubn = function(S) { - if (i(typeof S == "number"), i(S < 67108864), S < 0) return this.iaddn(-S); - if (this.negative !== 0) return this.negative = 0, this.iaddn(S), this.negative = 1, this; - if (this.words[0] -= S, this.length === 1 && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; - else for (var T = 0; T < this.length && this.words[T] < 0; T++) this.words[T] += 67108864, this.words[T + 1] -= 1; - return this.strip(); - }, t.prototype.addn = function(S) { - return this.clone().iaddn(S); - }, t.prototype.subn = function(S) { - return this.clone().isubn(S); - }, t.prototype.iabs = function() { + return this.length === 0 && (this.words[0] = 0, this.length = 1), this._strip(); + }, a.prototype.maskn = function(T) { + return this.clone().imaskn(T); + }, a.prototype.iaddn = function(T) { + return i(typeof T == "number"), i(T < 67108864), T < 0 ? this.isubn(-T) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) <= T ? (this.words[0] = T - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(T), this.negative = 1, this) : this._iaddn(T); + }, a.prototype._iaddn = function(T) { + this.words[0] += T; + for (var L = 0; L < this.length && this.words[L] >= 67108864; L++) this.words[L] -= 67108864, L === this.length - 1 ? this.words[L + 1] = 1 : this.words[L + 1]++; + return this.length = Math.max(this.length, L + 1), this; + }, a.prototype.isubn = function(T) { + if (i(typeof T == "number"), i(T < 67108864), T < 0) return this.iaddn(-T); + if (this.negative !== 0) return this.negative = 0, this.iaddn(T), this.negative = 1, this; + if (this.words[0] -= T, this.length === 1 && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; + else for (var L = 0; L < this.length && this.words[L] < 0; L++) this.words[L] += 67108864, this.words[L + 1] -= 1; + return this._strip(); + }, a.prototype.addn = function(T) { + return this.clone().iaddn(T); + }, a.prototype.subn = function(T) { + return this.clone().isubn(T); + }, a.prototype.iabs = function() { return this.negative = 0, this; - }, t.prototype.abs = function() { + }, a.prototype.abs = function() { return this.clone().iabs(); - }, t.prototype._ishlnsubmul = function(S, T, E) { - var M, _, w = S.length + E; - this._expand(w); - var A = 0; - for (M = 0; M < S.length; M++) { - _ = (0 | this.words[M + E]) + A; - var j = (0 | S.words[M]) * T; - A = ((_ -= 67108863 & j) >> 26) - (j / 67108864 | 0), this.words[M + E] = 67108863 & _; - } - for (; M < this.length - E; M++) A = (_ = (0 | this.words[M + E]) + A) >> 26, this.words[M + E] = 67108863 & _; - if (A === 0) return this.strip(); - for (i(A === -1), A = 0, M = 0; M < this.length; M++) A = (_ = -(0 | this.words[M]) + A) >> 26, this.words[M] = 67108863 & _; - return this.negative = 1, this.strip(); - }, t.prototype._wordDiv = function(S, T) { - var E = (this.length, S.length), M = this.clone(), _ = S, w = 0 | _.words[_.length - 1]; - (E = 26 - this._countBits(w)) != 0 && (_ = _.ushln(E), M.iushln(E), w = 0 | _.words[_.length - 1]); - var A, j = M.length - _.length; - if (T !== "mod") { - (A = new t(null)).length = j + 1, A.words = new Array(A.length); - for (var V = 0; V < A.length; V++) A.words[V] = 0; - } - var D = M.clone()._ishlnsubmul(_, 1, j); - D.negative === 0 && (M = D, A && (A.words[j] = 1)); - for (var z = j - 1; z >= 0; z--) { - var J = 67108864 * (0 | M.words[_.length + z]) + (0 | M.words[_.length + z - 1]); - for (J = Math.min(J / w | 0, 67108863), M._ishlnsubmul(_, J, z); M.negative !== 0; ) J--, M.negative = 0, M._ishlnsubmul(_, 1, z), M.isZero() || (M.negative ^= 1); - A && (A.words[z] = J); - } - return A && A.strip(), M.strip(), T !== "div" && E !== 0 && M.iushrn(E), { div: A || null, mod: M }; - }, t.prototype.divmod = function(S, T, E) { - return i(!S.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && S.negative === 0 ? (w = this.neg().divmod(S, T), T !== "mod" && (M = w.div.neg()), T !== "div" && (_ = w.mod.neg(), E && _.negative !== 0 && _.iadd(S)), { div: M, mod: _ }) : this.negative === 0 && S.negative !== 0 ? (w = this.divmod(S.neg(), T), T !== "mod" && (M = w.div.neg()), { div: M, mod: w.mod }) : this.negative & S.negative ? (w = this.neg().divmod(S.neg(), T), T !== "div" && (_ = w.mod.neg(), E && _.negative !== 0 && _.isub(S)), { div: w.div, mod: _ }) : S.length > this.length || this.cmp(S) < 0 ? { div: new t(0), mod: this } : S.length === 1 ? T === "div" ? { div: this.divn(S.words[0]), mod: null } : T === "mod" ? { div: null, mod: new t(this.modn(S.words[0])) } : { div: this.divn(S.words[0]), mod: new t(this.modn(S.words[0])) } : this._wordDiv(S, T); - var M, _, w; - }, t.prototype.div = function(S) { - return this.divmod(S, "div", !1).div; - }, t.prototype.mod = function(S) { - return this.divmod(S, "mod", !1).mod; - }, t.prototype.umod = function(S) { - return this.divmod(S, "mod", !0).mod; - }, t.prototype.divRound = function(S) { - var T = this.divmod(S); - if (T.mod.isZero()) return T.div; - var E = T.div.negative !== 0 ? T.mod.isub(S) : T.mod, M = S.ushrn(1), _ = S.andln(1), w = E.cmp(M); - return w < 0 || _ === 1 && w === 0 ? T.div : T.div.negative !== 0 ? T.div.isubn(1) : T.div.iaddn(1); - }, t.prototype.modn = function(S) { - i(S <= 67108863); - for (var T = 67108864 % S, E = 0, M = this.length - 1; M >= 0; M--) E = (T * E + (0 | this.words[M])) % S; - return E; - }, t.prototype.idivn = function(S) { - i(S <= 67108863); - for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = (0 | this.words[E]) + 67108864 * T; - this.words[E] = M / S | 0, T = M % S; - } - return this.strip(); - }, t.prototype.divn = function(S) { - return this.clone().idivn(S); - }, t.prototype.egcd = function(S) { - i(S.negative === 0), i(!S.isZero()); - var T = this, E = S.clone(); - T = T.negative !== 0 ? T.umod(S) : T.clone(); - for (var M = new t(1), _ = new t(0), w = new t(0), A = new t(1), j = 0; T.isEven() && E.isEven(); ) T.iushrn(1), E.iushrn(1), ++j; - for (var V = E.clone(), D = T.clone(); !T.isZero(); ) { - for (var z = 0, J = 1; !(T.words[0] & J) && z < 26; ++z, J <<= 1) ; - if (z > 0) for (T.iushrn(z); z-- > 0; ) (M.isOdd() || _.isOdd()) && (M.iadd(V), _.isub(D)), M.iushrn(1), _.iushrn(1); - for (var G = 0, Q = 1; !(E.words[0] & Q) && G < 26; ++G, Q <<= 1) ; - if (G > 0) for (E.iushrn(G); G-- > 0; ) (w.isOdd() || A.isOdd()) && (w.iadd(V), A.isub(D)), w.iushrn(1), A.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), M.isub(w), _.isub(A)) : (E.isub(T), w.isub(M), A.isub(_)); - } - return { a: w, b: A, gcd: E.iushln(j) }; - }, t.prototype._invmp = function(S) { - i(S.negative === 0), i(!S.isZero()); - var T = this, E = S.clone(); - T = T.negative !== 0 ? T.umod(S) : T.clone(); - for (var M, _ = new t(1), w = new t(0), A = E.clone(); T.cmpn(1) > 0 && E.cmpn(1) > 0; ) { - for (var j = 0, V = 1; !(T.words[0] & V) && j < 26; ++j, V <<= 1) ; - if (j > 0) for (T.iushrn(j); j-- > 0; ) _.isOdd() && _.iadd(A), _.iushrn(1); - for (var D = 0, z = 1; !(E.words[0] & z) && D < 26; ++D, z <<= 1) ; - if (D > 0) for (E.iushrn(D); D-- > 0; ) w.isOdd() && w.iadd(A), w.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), _.isub(w)) : (E.isub(T), w.isub(_)); - } - return (M = T.cmpn(1) === 0 ? _ : w).cmpn(0) < 0 && M.iadd(S), M; - }, t.prototype.gcd = function(S) { - if (this.isZero()) return S.abs(); - if (S.isZero()) return this.abs(); - var T = this.clone(), E = S.clone(); - T.negative = 0, E.negative = 0; - for (var M = 0; T.isEven() && E.isEven(); M++) T.iushrn(1), E.iushrn(1); + }, a.prototype._ishlnsubmul = function(T, L, R) { + var M, P, H = T.length + R; + this._expand(H); + var K = 0; + for (M = 0; M < T.length; M++) { + P = (0 | this.words[M + R]) + K; + var V = (0 | T.words[M]) * L; + K = ((P -= 67108863 & V) >> 26) - (V / 67108864 | 0), this.words[M + R] = 67108863 & P; + } + for (; M < this.length - R; M++) K = (P = (0 | this.words[M + R]) + K) >> 26, this.words[M + R] = 67108863 & P; + if (K === 0) return this._strip(); + for (i(K === -1), K = 0, M = 0; M < this.length; M++) K = (P = -(0 | this.words[M]) + K) >> 26, this.words[M] = 67108863 & P; + return this.negative = 1, this._strip(); + }, a.prototype._wordDiv = function(T, L) { + var R = (this.length, T.length), M = this.clone(), P = T, H = 0 | P.words[P.length - 1]; + (R = 26 - this._countBits(H)) != 0 && (P = P.ushln(R), M.iushln(R), H = 0 | P.words[P.length - 1]); + var K, V = M.length - P.length; + if (L !== "mod") { + (K = new a(null)).length = V + 1, K.words = new Array(K.length); + for (var U = 0; U < K.length; U++) K.words[U] = 0; + } + var F = M.clone()._ishlnsubmul(P, 1, V); + F.negative === 0 && (M = F, K && (K.words[V] = 1)); + for (var Q = V - 1; Q >= 0; Q--) { + var ne = 67108864 * (0 | M.words[P.length + Q]) + (0 | M.words[P.length + Q - 1]); + for (ne = Math.min(ne / H | 0, 67108863), M._ishlnsubmul(P, ne, Q); M.negative !== 0; ) ne--, M.negative = 0, M._ishlnsubmul(P, 1, Q), M.isZero() || (M.negative ^= 1); + K && (K.words[Q] = ne); + } + return K && K._strip(), M._strip(), L !== "div" && R !== 0 && M.iushrn(R), { div: K || null, mod: M }; + }, a.prototype.divmod = function(T, L, R) { + return i(!T.isZero()), this.isZero() ? { div: new a(0), mod: new a(0) } : this.negative !== 0 && T.negative === 0 ? (H = this.neg().divmod(T, L), L !== "mod" && (M = H.div.neg()), L !== "div" && (P = H.mod.neg(), R && P.negative !== 0 && P.iadd(T)), { div: M, mod: P }) : this.negative === 0 && T.negative !== 0 ? (H = this.divmod(T.neg(), L), L !== "mod" && (M = H.div.neg()), { div: M, mod: H.mod }) : (this.negative & T.negative) !== 0 ? (H = this.neg().divmod(T.neg(), L), L !== "div" && (P = H.mod.neg(), R && P.negative !== 0 && P.isub(T)), { div: H.div, mod: P }) : T.length > this.length || this.cmp(T) < 0 ? { div: new a(0), mod: this } : T.length === 1 ? L === "div" ? { div: this.divn(T.words[0]), mod: null } : L === "mod" ? { div: null, mod: new a(this.modrn(T.words[0])) } : { div: this.divn(T.words[0]), mod: new a(this.modrn(T.words[0])) } : this._wordDiv(T, L); + var M, P, H; + }, a.prototype.div = function(T) { + return this.divmod(T, "div", !1).div; + }, a.prototype.mod = function(T) { + return this.divmod(T, "mod", !1).mod; + }, a.prototype.umod = function(T) { + return this.divmod(T, "mod", !0).mod; + }, a.prototype.divRound = function(T) { + var L = this.divmod(T); + if (L.mod.isZero()) return L.div; + var R = L.div.negative !== 0 ? L.mod.isub(T) : L.mod, M = T.ushrn(1), P = T.andln(1), H = R.cmp(M); + return H < 0 || P === 1 && H === 0 ? L.div : L.div.negative !== 0 ? L.div.isubn(1) : L.div.iaddn(1); + }, a.prototype.modrn = function(T) { + var L = T < 0; + L && (T = -T), i(T <= 67108863); + for (var R = 67108864 % T, M = 0, P = this.length - 1; P >= 0; P--) M = (R * M + (0 | this.words[P])) % T; + return L ? -M : M; + }, a.prototype.modn = function(T) { + return this.modrn(T); + }, a.prototype.idivn = function(T) { + var L = T < 0; + L && (T = -T), i(T <= 67108863); + for (var R = 0, M = this.length - 1; M >= 0; M--) { + var P = (0 | this.words[M]) + 67108864 * R; + this.words[M] = P / T | 0, R = P % T; + } + return this._strip(), L ? this.ineg() : this; + }, a.prototype.divn = function(T) { + return this.clone().idivn(T); + }, a.prototype.egcd = function(T) { + i(T.negative === 0), i(!T.isZero()); + var L = this, R = T.clone(); + L = L.negative !== 0 ? L.umod(T) : L.clone(); + for (var M = new a(1), P = new a(0), H = new a(0), K = new a(1), V = 0; L.isEven() && R.isEven(); ) L.iushrn(1), R.iushrn(1), ++V; + for (var U = R.clone(), F = L.clone(); !L.isZero(); ) { + for (var Q = 0, ne = 1; (L.words[0] & ne) === 0 && Q < 26; ++Q, ne <<= 1) ; + if (Q > 0) for (L.iushrn(Q); Q-- > 0; ) (M.isOdd() || P.isOdd()) && (M.iadd(U), P.isub(F)), M.iushrn(1), P.iushrn(1); + for (var te = 0, X = 1; (R.words[0] & X) === 0 && te < 26; ++te, X <<= 1) ; + if (te > 0) for (R.iushrn(te); te-- > 0; ) (H.isOdd() || K.isOdd()) && (H.iadd(U), K.isub(F)), H.iushrn(1), K.iushrn(1); + L.cmp(R) >= 0 ? (L.isub(R), M.isub(H), P.isub(K)) : (R.isub(L), H.isub(M), K.isub(P)); + } + return { a: H, b: K, gcd: R.iushln(V) }; + }, a.prototype._invmp = function(T) { + i(T.negative === 0), i(!T.isZero()); + var L = this, R = T.clone(); + L = L.negative !== 0 ? L.umod(T) : L.clone(); + for (var M, P = new a(1), H = new a(0), K = R.clone(); L.cmpn(1) > 0 && R.cmpn(1) > 0; ) { + for (var V = 0, U = 1; (L.words[0] & U) === 0 && V < 26; ++V, U <<= 1) ; + if (V > 0) for (L.iushrn(V); V-- > 0; ) P.isOdd() && P.iadd(K), P.iushrn(1); + for (var F = 0, Q = 1; (R.words[0] & Q) === 0 && F < 26; ++F, Q <<= 1) ; + if (F > 0) for (R.iushrn(F); F-- > 0; ) H.isOdd() && H.iadd(K), H.iushrn(1); + L.cmp(R) >= 0 ? (L.isub(R), P.isub(H)) : (R.isub(L), H.isub(P)); + } + return (M = L.cmpn(1) === 0 ? P : H).cmpn(0) < 0 && M.iadd(T), M; + }, a.prototype.gcd = function(T) { + if (this.isZero()) return T.abs(); + if (T.isZero()) return this.abs(); + var L = this.clone(), R = T.clone(); + L.negative = 0, R.negative = 0; + for (var M = 0; L.isEven() && R.isEven(); M++) L.iushrn(1), R.iushrn(1); for (; ; ) { - for (; T.isEven(); ) T.iushrn(1); - for (; E.isEven(); ) E.iushrn(1); - var _ = T.cmp(E); - if (_ < 0) { - var w = T; - T = E, E = w; - } else if (_ === 0 || E.cmpn(1) === 0) break; - T.isub(E); - } - return E.iushln(M); - }, t.prototype.invm = function(S) { - return this.egcd(S).a.umod(S); - }, t.prototype.isEven = function() { + for (; L.isEven(); ) L.iushrn(1); + for (; R.isEven(); ) R.iushrn(1); + var P = L.cmp(R); + if (P < 0) { + var H = L; + L = R, R = H; + } else if (P === 0 || R.cmpn(1) === 0) break; + L.isub(R); + } + return R.iushln(M); + }, a.prototype.invm = function(T) { + return this.egcd(T).a.umod(T); + }, a.prototype.isEven = function() { return !(1 & this.words[0]); - }, t.prototype.isOdd = function() { + }, a.prototype.isOdd = function() { return !(1 & ~this.words[0]); - }, t.prototype.andln = function(S) { - return this.words[0] & S; - }, t.prototype.bincn = function(S) { - i(typeof S == "number"); - var T = S % 26, E = (S - T) / 26, M = 1 << T; - if (this.length <= E) return this._expand(E + 1), this.words[E] |= M, this; - for (var _ = M, w = E; _ !== 0 && w < this.length; w++) { - var A = 0 | this.words[w]; - _ = (A += _) >>> 26, A &= 67108863, this.words[w] = A; - } - return _ !== 0 && (this.words[w] = _, this.length++), this; - }, t.prototype.isZero = function() { + }, a.prototype.andln = function(T) { + return this.words[0] & T; + }, a.prototype.bincn = function(T) { + i(typeof T == "number"); + var L = T % 26, R = (T - L) / 26, M = 1 << L; + if (this.length <= R) return this._expand(R + 1), this.words[R] |= M, this; + for (var P = M, H = R; P !== 0 && H < this.length; H++) { + var K = 0 | this.words[H]; + P = (K += P) >>> 26, K &= 67108863, this.words[H] = K; + } + return P !== 0 && (this.words[H] = P, this.length++), this; + }, a.prototype.isZero = function() { return this.length === 1 && this.words[0] === 0; - }, t.prototype.cmpn = function(S) { - var T, E = S < 0; - if (this.negative !== 0 && !E) return -1; - if (this.negative === 0 && E) return 1; - if (this.strip(), this.length > 1) T = 1; + }, a.prototype.cmpn = function(T) { + var L, R = T < 0; + if (this.negative !== 0 && !R) return -1; + if (this.negative === 0 && R) return 1; + if (this._strip(), this.length > 1) L = 1; else { - E && (S = -S), i(S <= 67108863, "Number is too big"); + R && (T = -T), i(T <= 67108863, "Number is too big"); var M = 0 | this.words[0]; - T = M === S ? 0 : M < S ? -1 : 1; - } - return this.negative !== 0 ? 0 | -T : T; - }, t.prototype.cmp = function(S) { - if (this.negative !== 0 && S.negative === 0) return -1; - if (this.negative === 0 && S.negative !== 0) return 1; - var T = this.ucmp(S); - return this.negative !== 0 ? 0 | -T : T; - }, t.prototype.ucmp = function(S) { - if (this.length > S.length) return 1; - if (this.length < S.length) return -1; - for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = 0 | this.words[E], _ = 0 | S.words[E]; - if (M !== _) { - M < _ ? T = -1 : M > _ && (T = 1); + L = M === T ? 0 : M < T ? -1 : 1; + } + return this.negative !== 0 ? 0 | -L : L; + }, a.prototype.cmp = function(T) { + if (this.negative !== 0 && T.negative === 0) return -1; + if (this.negative === 0 && T.negative !== 0) return 1; + var L = this.ucmp(T); + return this.negative !== 0 ? 0 | -L : L; + }, a.prototype.ucmp = function(T) { + if (this.length > T.length) return 1; + if (this.length < T.length) return -1; + for (var L = 0, R = this.length - 1; R >= 0; R--) { + var M = 0 | this.words[R], P = 0 | T.words[R]; + if (M !== P) { + M < P ? L = -1 : M > P && (L = 1); break; } } - return T; - }, t.prototype.gtn = function(S) { - return this.cmpn(S) === 1; - }, t.prototype.gt = function(S) { - return this.cmp(S) === 1; - }, t.prototype.gten = function(S) { - return this.cmpn(S) >= 0; - }, t.prototype.gte = function(S) { - return this.cmp(S) >= 0; - }, t.prototype.ltn = function(S) { - return this.cmpn(S) === -1; - }, t.prototype.lt = function(S) { - return this.cmp(S) === -1; - }, t.prototype.lten = function(S) { - return this.cmpn(S) <= 0; - }, t.prototype.lte = function(S) { - return this.cmp(S) <= 0; - }, t.prototype.eqn = function(S) { - return this.cmpn(S) === 0; - }, t.prototype.eq = function(S) { - return this.cmp(S) === 0; - }, t.red = function(S) { - return new H(S); - }, t.prototype.toRed = function(S) { - return i(!this.red, "Already a number in reduction context"), i(this.negative === 0, "red works only with positives"), S.convertTo(this)._forceRed(S); - }, t.prototype.fromRed = function() { + return L; + }, a.prototype.gtn = function(T) { + return this.cmpn(T) === 1; + }, a.prototype.gt = function(T) { + return this.cmp(T) === 1; + }, a.prototype.gten = function(T) { + return this.cmpn(T) >= 0; + }, a.prototype.gte = function(T) { + return this.cmp(T) >= 0; + }, a.prototype.ltn = function(T) { + return this.cmpn(T) === -1; + }, a.prototype.lt = function(T) { + return this.cmp(T) === -1; + }, a.prototype.lten = function(T) { + return this.cmpn(T) <= 0; + }, a.prototype.lte = function(T) { + return this.cmp(T) <= 0; + }, a.prototype.eqn = function(T) { + return this.cmpn(T) === 0; + }, a.prototype.eq = function(T) { + return this.cmp(T) === 0; + }, a.red = function(T) { + return new j(T); + }, a.prototype.toRed = function(T) { + return i(!this.red, "Already a number in reduction context"), i(this.negative === 0, "red works only with positives"), T.convertTo(this)._forceRed(T); + }, a.prototype.fromRed = function() { return i(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); - }, t.prototype._forceRed = function(S) { - return this.red = S, this; - }, t.prototype.forceRed = function(S) { - return i(!this.red, "Already a number in reduction context"), this._forceRed(S); - }, t.prototype.redAdd = function(S) { - return i(this.red, "redAdd works only with red numbers"), this.red.add(this, S); - }, t.prototype.redIAdd = function(S) { - return i(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, S); - }, t.prototype.redSub = function(S) { - return i(this.red, "redSub works only with red numbers"), this.red.sub(this, S); - }, t.prototype.redISub = function(S) { - return i(this.red, "redISub works only with red numbers"), this.red.isub(this, S); - }, t.prototype.redShl = function(S) { - return i(this.red, "redShl works only with red numbers"), this.red.shl(this, S); - }, t.prototype.redMul = function(S) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, S), this.red.mul(this, S); - }, t.prototype.redIMul = function(S) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, S), this.red.imul(this, S); - }, t.prototype.redSqr = function() { + }, a.prototype._forceRed = function(T) { + return this.red = T, this; + }, a.prototype.forceRed = function(T) { + return i(!this.red, "Already a number in reduction context"), this._forceRed(T); + }, a.prototype.redAdd = function(T) { + return i(this.red, "redAdd works only with red numbers"), this.red.add(this, T); + }, a.prototype.redIAdd = function(T) { + return i(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, T); + }, a.prototype.redSub = function(T) { + return i(this.red, "redSub works only with red numbers"), this.red.sub(this, T); + }, a.prototype.redISub = function(T) { + return i(this.red, "redISub works only with red numbers"), this.red.isub(this, T); + }, a.prototype.redShl = function(T) { + return i(this.red, "redShl works only with red numbers"), this.red.shl(this, T); + }, a.prototype.redMul = function(T) { + return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, T), this.red.mul(this, T); + }, a.prototype.redIMul = function(T) { + return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, T), this.red.imul(this, T); + }, a.prototype.redSqr = function() { return i(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); - }, t.prototype.redISqr = function() { + }, a.prototype.redISqr = function() { return i(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); - }, t.prototype.redSqrt = function() { + }, a.prototype.redSqrt = function() { return i(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); - }, t.prototype.redInvm = function() { + }, a.prototype.redInvm = function() { return i(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); - }, t.prototype.redNeg = function() { + }, a.prototype.redNeg = function() { return i(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); - }, t.prototype.redPow = function(S) { - return i(this.red && !S.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, S); + }, a.prototype.redPow = function(T) { + return i(this.red && !T.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, T); }; - var I = { k256: null, p224: null, p192: null, p25519: null }; - function k(S, T) { - this.name = S, this.p = new t(T, 16), this.n = this.p.bitLength(), this.k = new t(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); + var O = { k256: null, p224: null, p192: null, p25519: null }; + function I(T, L) { + this.name = T, this.p = new a(L, 16), this.n = this.p.bitLength(), this.k = new a(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); } - function R() { - k.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); + function x() { + I.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); } - function L() { - k.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); + function A() { + I.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); } function N() { - k.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); + I.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); } - function B() { - k.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); - } - function H(S) { - if (typeof S == "string") { - var T = t._prime(S); - this.m = T.p, this.prime = T; - } else i(S.gtn(1), "modulus must be greater than 1"), this.m = S, this.prime = null; - } - function U(S) { - H.call(this, S), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); - } - k.prototype._tmp = function() { - var S = new t(null); - return S.words = new Array(Math.ceil(this.n / 13)), S; - }, k.prototype.ireduce = function(S) { - var T, E = S; + function k() { + I.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); + } + function j(T) { + if (typeof T == "string") { + var L = a._prime(T); + this.m = L.p, this.prime = L; + } else i(T.gtn(1), "modulus must be greater than 1"), this.m = T, this.prime = null; + } + function D(T) { + j.call(this, T), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new a(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); + } + I.prototype._tmp = function() { + var T = new a(null); + return T.words = new Array(Math.ceil(this.n / 13)), T; + }, I.prototype.ireduce = function(T) { + var L, R = T; do - this.split(E, this.tmp), T = (E = (E = this.imulK(E)).iadd(this.tmp)).bitLength(); - while (T > this.n); - var M = T < this.n ? -1 : E.ucmp(this.p); - return M === 0 ? (E.words[0] = 0, E.length = 1) : M > 0 ? E.isub(this.p) : E.strip !== void 0 ? E.strip() : E._strip(), E; - }, k.prototype.split = function(S, T) { - S.iushrn(this.n, 0, T); - }, k.prototype.imulK = function(S) { - return S.imul(this.k); - }, m(R, k), R.prototype.split = function(S, T) { - for (var E = 4194303, M = Math.min(S.length, 9), _ = 0; _ < M; _++) T.words[_] = S.words[_]; - if (T.length = M, S.length <= 9) return S.words[0] = 0, void (S.length = 1); - var w = S.words[9]; - for (T.words[T.length++] = w & E, _ = 10; _ < S.length; _++) { - var A = 0 | S.words[_]; - S.words[_ - 10] = (A & E) << 4 | w >>> 22, w = A; - } - w >>>= 22, S.words[_ - 10] = w, w === 0 && S.length > 10 ? S.length -= 10 : S.length -= 9; - }, R.prototype.imulK = function(S) { - S.words[S.length] = 0, S.words[S.length + 1] = 0, S.length += 2; - for (var T = 0, E = 0; E < S.length; E++) { - var M = 0 | S.words[E]; - T += 977 * M, S.words[E] = 67108863 & T, T = 64 * M + (T / 67108864 | 0); - } - return S.words[S.length - 1] === 0 && (S.length--, S.words[S.length - 1] === 0 && S.length--), S; - }, m(L, k), m(N, k), m(B, k), B.prototype.imulK = function(S) { - for (var T = 0, E = 0; E < S.length; E++) { - var M = 19 * (0 | S.words[E]) + T, _ = 67108863 & M; - M >>>= 26, S.words[E] = _, T = M; - } - return T !== 0 && (S.words[S.length++] = T), S; - }, t._prime = function(S) { - if (I[S]) return I[S]; - var T; - if (S === "k256") T = new R(); - else if (S === "p224") T = new L(); - else if (S === "p192") T = new N(); + this.split(R, this.tmp), L = (R = (R = this.imulK(R)).iadd(this.tmp)).bitLength(); + while (L > this.n); + var M = L < this.n ? -1 : R.ucmp(this.p); + return M === 0 ? (R.words[0] = 0, R.length = 1) : M > 0 ? R.isub(this.p) : R.strip !== void 0 ? R.strip() : R._strip(), R; + }, I.prototype.split = function(T, L) { + T.iushrn(this.n, 0, L); + }, I.prototype.imulK = function(T) { + return T.imul(this.k); + }, p(x, I), x.prototype.split = function(T, L) { + for (var R = 4194303, M = Math.min(T.length, 9), P = 0; P < M; P++) L.words[P] = T.words[P]; + if (L.length = M, T.length <= 9) return T.words[0] = 0, void (T.length = 1); + var H = T.words[9]; + for (L.words[L.length++] = H & R, P = 10; P < T.length; P++) { + var K = 0 | T.words[P]; + T.words[P - 10] = (K & R) << 4 | H >>> 22, H = K; + } + H >>>= 22, T.words[P - 10] = H, H === 0 && T.length > 10 ? T.length -= 10 : T.length -= 9; + }, x.prototype.imulK = function(T) { + T.words[T.length] = 0, T.words[T.length + 1] = 0, T.length += 2; + for (var L = 0, R = 0; R < T.length; R++) { + var M = 0 | T.words[R]; + L += 977 * M, T.words[R] = 67108863 & L, L = 64 * M + (L / 67108864 | 0); + } + return T.words[T.length - 1] === 0 && (T.length--, T.words[T.length - 1] === 0 && T.length--), T; + }, p(A, I), p(N, I), p(k, I), k.prototype.imulK = function(T) { + for (var L = 0, R = 0; R < T.length; R++) { + var M = 19 * (0 | T.words[R]) + L, P = 67108863 & M; + M >>>= 26, T.words[R] = P, L = M; + } + return L !== 0 && (T.words[T.length++] = L), T; + }, a._prime = function(T) { + if (O[T]) return O[T]; + var L; + if (T === "k256") L = new x(); + else if (T === "p224") L = new A(); + else if (T === "p192") L = new N(); else { - if (S !== "p25519") throw new Error("Unknown prime " + S); - T = new B(); - } - return I[S] = T, T; - }, H.prototype._verify1 = function(S) { - i(S.negative === 0, "red works only with positives"), i(S.red, "red works only with red numbers"); - }, H.prototype._verify2 = function(S, T) { - i(!(S.negative | T.negative), "red works only with positives"), i(S.red && S.red === T.red, "red works only with red numbers"); - }, H.prototype.imod = function(S) { - return this.prime ? this.prime.ireduce(S)._forceRed(this) : S.umod(this.m)._forceRed(this); - }, H.prototype.neg = function(S) { - return S.isZero() ? S.clone() : this.m.sub(S)._forceRed(this); - }, H.prototype.add = function(S, T) { - this._verify2(S, T); - var E = S.add(T); - return E.cmp(this.m) >= 0 && E.isub(this.m), E._forceRed(this); - }, H.prototype.iadd = function(S, T) { - this._verify2(S, T); - var E = S.iadd(T); - return E.cmp(this.m) >= 0 && E.isub(this.m), E; - }, H.prototype.sub = function(S, T) { - this._verify2(S, T); - var E = S.sub(T); - return E.cmpn(0) < 0 && E.iadd(this.m), E._forceRed(this); - }, H.prototype.isub = function(S, T) { - this._verify2(S, T); - var E = S.isub(T); - return E.cmpn(0) < 0 && E.iadd(this.m), E; - }, H.prototype.shl = function(S, T) { - return this._verify1(S), this.imod(S.ushln(T)); - }, H.prototype.imul = function(S, T) { - return this._verify2(S, T), this.imod(S.imul(T)); - }, H.prototype.mul = function(S, T) { - return this._verify2(S, T), this.imod(S.mul(T)); - }, H.prototype.isqr = function(S) { - return this.imul(S, S.clone()); - }, H.prototype.sqr = function(S) { - return this.mul(S, S); - }, H.prototype.sqrt = function(S) { - if (S.isZero()) return S.clone(); - var T = this.m.andln(3); - if (i(T % 2 == 1), T === 3) { - var E = this.m.add(new t(1)).iushrn(2); - return this.pow(S, E); - } - for (var M = this.m.subn(1), _ = 0; !M.isZero() && M.andln(1) === 0; ) _++, M.iushrn(1); + if (T !== "p25519") throw new Error("Unknown prime " + T); + L = new k(); + } + return O[T] = L, L; + }, j.prototype._verify1 = function(T) { + i(T.negative === 0, "red works only with positives"), i(T.red, "red works only with red numbers"); + }, j.prototype._verify2 = function(T, L) { + i((T.negative | L.negative) === 0, "red works only with positives"), i(T.red && T.red === L.red, "red works only with red numbers"); + }, j.prototype.imod = function(T) { + return this.prime ? this.prime.ireduce(T)._forceRed(this) : (v(T, T.umod(this.m)._forceRed(this)), T); + }, j.prototype.neg = function(T) { + return T.isZero() ? T.clone() : this.m.sub(T)._forceRed(this); + }, j.prototype.add = function(T, L) { + this._verify2(T, L); + var R = T.add(L); + return R.cmp(this.m) >= 0 && R.isub(this.m), R._forceRed(this); + }, j.prototype.iadd = function(T, L) { + this._verify2(T, L); + var R = T.iadd(L); + return R.cmp(this.m) >= 0 && R.isub(this.m), R; + }, j.prototype.sub = function(T, L) { + this._verify2(T, L); + var R = T.sub(L); + return R.cmpn(0) < 0 && R.iadd(this.m), R._forceRed(this); + }, j.prototype.isub = function(T, L) { + this._verify2(T, L); + var R = T.isub(L); + return R.cmpn(0) < 0 && R.iadd(this.m), R; + }, j.prototype.shl = function(T, L) { + return this._verify1(T), this.imod(T.ushln(L)); + }, j.prototype.imul = function(T, L) { + return this._verify2(T, L), this.imod(T.imul(L)); + }, j.prototype.mul = function(T, L) { + return this._verify2(T, L), this.imod(T.mul(L)); + }, j.prototype.isqr = function(T) { + return this.imul(T, T.clone()); + }, j.prototype.sqr = function(T) { + return this.mul(T, T); + }, j.prototype.sqrt = function(T) { + if (T.isZero()) return T.clone(); + var L = this.m.andln(3); + if (i(L % 2 == 1), L === 3) { + var R = this.m.add(new a(1)).iushrn(2); + return this.pow(T, R); + } + for (var M = this.m.subn(1), P = 0; !M.isZero() && M.andln(1) === 0; ) P++, M.iushrn(1); i(!M.isZero()); - var w = new t(1).toRed(this), A = w.redNeg(), j = this.m.subn(1).iushrn(1), V = this.m.bitLength(); - for (V = new t(2 * V * V).toRed(this); this.pow(V, j).cmp(A) !== 0; ) V.redIAdd(A); - for (var D = this.pow(V, M), z = this.pow(S, M.addn(1).iushrn(1)), J = this.pow(S, M), G = _; J.cmp(w) !== 0; ) { - for (var Q = J, ee = 0; Q.cmp(w) !== 0; ee++) Q = Q.redSqr(); - i(ee < G); - var Z = this.pow(D, new t(1).iushln(G - ee - 1)); - z = z.redMul(Z), D = Z.redSqr(), J = J.redMul(D), G = ee; + var H = new a(1).toRed(this), K = H.redNeg(), V = this.m.subn(1).iushrn(1), U = this.m.bitLength(); + for (U = new a(2 * U * U).toRed(this); this.pow(U, V).cmp(K) !== 0; ) U.redIAdd(K); + for (var F = this.pow(U, M), Q = this.pow(T, M.addn(1).iushrn(1)), ne = this.pow(T, M), te = P; ne.cmp(H) !== 0; ) { + for (var X = ne, Z = 0; X.cmp(H) !== 0; Z++) X = X.redSqr(); + i(Z < te); + var fe = this.pow(F, new a(1).iushln(te - Z - 1)); + Q = Q.redMul(fe), F = fe.redSqr(), ne = ne.redMul(F), te = Z; } - return z; - }, H.prototype.invm = function(S) { - var T = S._invmp(this.m); - return T.negative !== 0 ? (T.negative = 0, this.imod(T).redNeg()) : this.imod(T); - }, H.prototype.pow = function(S, T) { - if (T.isZero()) return new t(1).toRed(this); - if (T.cmpn(1) === 0) return S.clone(); - var E = new Array(16); - E[0] = new t(1).toRed(this), E[1] = S; - for (var M = 2; M < E.length; M++) E[M] = this.mul(E[M - 1], S); - var _ = E[0], w = 0, A = 0, j = T.bitLength() % 26; - for (j === 0 && (j = 26), M = T.length - 1; M >= 0; M--) { - for (var V = T.words[M], D = j - 1; D >= 0; D--) { - var z = V >> D & 1; - _ !== E[0] && (_ = this.sqr(_)), z !== 0 || w !== 0 ? (w <<= 1, w |= z, (++A == 4 || M === 0 && D === 0) && (_ = this.mul(_, E[w]), A = 0, w = 0)) : A = 0; + return Q; + }, j.prototype.invm = function(T) { + var L = T._invmp(this.m); + return L.negative !== 0 ? (L.negative = 0, this.imod(L).redNeg()) : this.imod(L); + }, j.prototype.pow = function(T, L) { + if (L.isZero()) return new a(1).toRed(this); + if (L.cmpn(1) === 0) return T.clone(); + var R = new Array(16); + R[0] = new a(1).toRed(this), R[1] = T; + for (var M = 2; M < R.length; M++) R[M] = this.mul(R[M - 1], T); + var P = R[0], H = 0, K = 0, V = L.bitLength() % 26; + for (V === 0 && (V = 26), M = L.length - 1; M >= 0; M--) { + for (var U = L.words[M], F = V - 1; F >= 0; F--) { + var Q = U >> F & 1; + P !== R[0] && (P = this.sqr(P)), Q !== 0 || H !== 0 ? (H <<= 1, H |= Q, (++K === 4 || M === 0 && F === 0) && (P = this.mul(P, R[H]), K = 0, H = 0)) : K = 0; } - j = 26; - } - return _; - }, H.prototype.convertTo = function(S) { - var T = S.umod(this.m); - return T === S ? T.clone() : T; - }, H.prototype.convertFrom = function(S) { - var T = S.clone(); - return T.red = null, T; - }, t.mont = function(S) { - return new U(S); - }, m(U, H), U.prototype.convertTo = function(S) { - return this.imod(S.ushln(this.shift)); - }, U.prototype.convertFrom = function(S) { - var T = this.imod(S.mul(this.rinv)); - return T.red = null, T; - }, U.prototype.imul = function(S, T) { - if (S.isZero() || T.isZero()) return S.words[0] = 0, S.length = 1, S; - var E = S.imul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), _ = E.isub(M).iushrn(this.shift), w = _; - return _.cmp(this.m) >= 0 ? w = _.isub(this.m) : _.cmpn(0) < 0 && (w = _.iadd(this.m)), w._forceRed(this); - }, U.prototype.mul = function(S, T) { - if (S.isZero() || T.isZero()) return new t(0)._forceRed(this); - var E = S.mul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), _ = E.isub(M).iushrn(this.shift), w = _; - return _.cmp(this.m) >= 0 ? w = _.isub(this.m) : _.cmpn(0) < 0 && (w = _.iadd(this.m)), w._forceRed(this); - }, U.prototype.invm = function(S) { - return this.imod(S._invmp(this.m).mul(this.r2))._forceRed(this); + V = 26; + } + return P; + }, j.prototype.convertTo = function(T) { + var L = T.umod(this.m); + return L === T ? L.clone() : L; + }, j.prototype.convertFrom = function(T) { + var L = T.clone(); + return L.red = null, L; + }, a.mont = function(T) { + return new D(T); + }, p(D, j), D.prototype.convertTo = function(T) { + return this.imod(T.ushln(this.shift)); + }, D.prototype.convertFrom = function(T) { + var L = this.imod(T.mul(this.rinv)); + return L.red = null, L; + }, D.prototype.imul = function(T, L) { + if (T.isZero() || L.isZero()) return T.words[0] = 0, T.length = 1, T; + var R = T.imul(L), M = R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = R.isub(M).iushrn(this.shift), H = P; + return P.cmp(this.m) >= 0 ? H = P.isub(this.m) : P.cmpn(0) < 0 && (H = P.iadd(this.m)), H._forceRed(this); + }, D.prototype.mul = function(T, L) { + if (T.isZero() || L.isZero()) return new a(0)._forceRed(this); + var R = T.mul(L), M = R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = R.isub(M).iushrn(this.shift), H = P; + return P.cmp(this.m) >= 0 ? H = P.isub(this.m) : P.cmpn(0) < 0 && (H = P.iadd(this.m)), H._forceRed(this); + }, D.prototype.invm = function(T) { + return this.imod(T._invmp(this.m).mul(this.r2))._forceRed(this); }; - })(x = c.nmd(x), this); - }, 7526: (x, n) => { - n.byteLength = function(b) { - var y = t(b), u = y[0], d = y[1]; - return 3 * (u + d) / 4 - d; - }, n.toByteArray = function(b) { - var y, u, d = t(b), l = d[0], s = d[1], v = new a(function(O, I, k) { - return 3 * (I + k) / 4 - k; - }(0, l, s)), p = 0, h = s > 0 ? l - 4 : l; - for (u = 0; u < h; u += 4) y = r[b.charCodeAt(u)] << 18 | r[b.charCodeAt(u + 1)] << 12 | r[b.charCodeAt(u + 2)] << 6 | r[b.charCodeAt(u + 3)], v[p++] = y >> 16 & 255, v[p++] = y >> 8 & 255, v[p++] = 255 & y; - return s === 2 && (y = r[b.charCodeAt(u)] << 2 | r[b.charCodeAt(u + 1)] >> 4, v[p++] = 255 & y), s === 1 && (y = r[b.charCodeAt(u)] << 10 | r[b.charCodeAt(u + 1)] << 4 | r[b.charCodeAt(u + 2)] >> 2, v[p++] = y >> 8 & 255, v[p++] = 255 & y), v; - }, n.fromByteArray = function(b) { - for (var y, u = b.length, d = u % 3, l = [], s = 16383, v = 0, p = u - d; v < p; v += s) l.push(f(b, v, v + s > p ? p : v + s)); - return d === 1 ? (y = b[u - 1], l.push(c[y >> 2] + c[y << 4 & 63] + "==")) : d === 2 && (y = (b[u - 2] << 8) + b[u - 1], l.push(c[y >> 10] + c[y >> 4 & 63] + c[y << 2 & 63] + "=")), l.join(""); - }; - for (var c = [], r = [], a = typeof Uint8Array < "u" ? Uint8Array : Array, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", m = 0; m < 64; ++m) c[m] = i[m], r[i.charCodeAt(m)] = m; - function t(b) { - var y = b.length; - if (y % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); - var u = b.indexOf("="); - return u === -1 && (u = y), [u, u === y ? 0 : 4 - u % 4]; + })(g = s.nmd(g), this); + }, 8287(g, n, s) { + const r = s(7526), o = s(251), i = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null; + n.Buffer = f, n.SlowBuffer = function(z) { + return +z != z && (z = 0), f.alloc(+z); + }, n.INSPECT_MAX_BYTES = 50; + const p = 2147483647; + function a(z) { + if (z > p) throw new RangeError('The value "' + z + '" is invalid for option "size"'); + const J = new Uint8Array(z); + return Object.setPrototypeOf(J, f.prototype), J; + } + function f(z, J, q) { + if (typeof z == "number") { + if (typeof J == "string") throw new TypeError('The "string" argument must be of type string. Received type number'); + return m(z); + } + return C(z, J, q); + } + function C(z, J, q) { + if (typeof z == "string") return function(Y, ce) { + if (typeof ce == "string" && ce !== "" || (ce = "utf8"), !f.isEncoding(ce)) throw new TypeError("Unknown encoding: " + ce); + const ye = 0 | y(Y, ce); + let ve = a(ye); + const Ee = ve.write(Y, ce); + return Ee !== ye && (ve = ve.slice(0, Ee)), ve; + }(z, J); + if (ArrayBuffer.isView(z)) return function(Y) { + if (Oe(Y, Uint8Array)) { + const ce = new Uint8Array(Y); + return l(ce.buffer, ce.byteOffset, ce.byteLength); + } + return v(Y); + }(z); + if (z == null) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof z); + if (Oe(z, ArrayBuffer) || z && Oe(z.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Oe(z, SharedArrayBuffer) || z && Oe(z.buffer, SharedArrayBuffer))) return l(z, J, q); + if (typeof z == "number") throw new TypeError('The "value" argument must not be of type number. Received type number'); + const re = z.valueOf && z.valueOf(); + if (re != null && re !== z) return f.from(re, J, q); + const $ = function(Y) { + if (f.isBuffer(Y)) { + const ce = 0 | u(Y.length), ye = a(ce); + return ye.length === 0 || Y.copy(ye, 0, 0, ce), ye; + } + return Y.length !== void 0 ? typeof Y.length != "number" || Ce(Y.length) ? a(0) : v(Y) : Y.type === "Buffer" && Array.isArray(Y.data) ? v(Y.data) : void 0; + }(z); + if ($) return $; + if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof z[Symbol.toPrimitive] == "function") return f.from(z[Symbol.toPrimitive]("string"), J, q); + throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof z); + } + function w(z) { + if (typeof z != "number") throw new TypeError('"size" argument must be of type number'); + if (z < 0) throw new RangeError('The value "' + z + '" is invalid for option "size"'); + } + function m(z) { + return w(z), a(z < 0 ? 0 : 0 | u(z)); + } + function v(z) { + const J = z.length < 0 ? 0 : 0 | u(z.length), q = a(J); + for (let re = 0; re < J; re += 1) q[re] = 255 & z[re]; + return q; + } + function l(z, J, q) { + if (J < 0 || z.byteLength < J) throw new RangeError('"offset" is outside of buffer bounds'); + if (z.byteLength < J + (q || 0)) throw new RangeError('"length" is outside of buffer bounds'); + let re; + return re = J === void 0 && q === void 0 ? new Uint8Array(z) : q === void 0 ? new Uint8Array(z, J) : new Uint8Array(z, J, q), Object.setPrototypeOf(re, f.prototype), re; + } + function u(z) { + if (z >= p) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + p.toString(16) + " bytes"); + return 0 | z; + } + function y(z, J) { + if (f.isBuffer(z)) return z.length; + if (ArrayBuffer.isView(z) || Oe(z, ArrayBuffer)) return z.byteLength; + if (typeof z != "string") throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof z); + const q = z.length, re = arguments.length > 2 && arguments[2] === !0; + if (!re && q === 0) return 0; + let $ = !1; + for (; ; ) switch (J) { + case "ascii": + case "latin1": + case "binary": + return q; + case "utf8": + case "utf-8": + return Se(z).length; + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return 2 * q; + case "hex": + return q >>> 1; + case "base64": + return de(z).length; + default: + if ($) return re ? -1 : Se(z).length; + J = ("" + J).toLowerCase(), $ = !0; + } + } + function d(z, J, q) { + let re = !1; + if ((J === void 0 || J < 0) && (J = 0), J > this.length || ((q === void 0 || q > this.length) && (q = this.length), q <= 0) || (q >>>= 0) <= (J >>>= 0)) return ""; + for (z || (z = "utf8"); ; ) switch (z) { + case "hex": + return L(this, J, q); + case "utf8": + case "utf-8": + return k(this, J, q); + case "ascii": + return D(this, J, q); + case "latin1": + case "binary": + return T(this, J, q); + case "base64": + return N(this, J, q); + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return R(this, J, q); + default: + if (re) throw new TypeError("Unknown encoding: " + z); + z = (z + "").toLowerCase(), re = !0; + } } - function f(b, y, u) { - for (var d, l, s = [], v = y; v < u; v += 3) d = (b[v] << 16 & 16711680) + (b[v + 1] << 8 & 65280) + (255 & b[v + 2]), s.push(c[(l = d) >> 18 & 63] + c[l >> 12 & 63] + c[l >> 6 & 63] + c[63 & l]); - return s.join(""); + function b(z, J, q) { + const re = z[J]; + z[J] = z[q], z[q] = re; } - r[45] = 62, r[95] = 63; - }, 9404: function(x, n, c) { - (function(r, a) { - function i(E, M) { - if (!E) throw new Error(M || "Assertion failed"); - } - function m(E, M) { - E.super_ = M; - var _ = function() { - }; - _.prototype = M.prototype, E.prototype = new _(), E.prototype.constructor = E; + function _(z, J, q, re, $) { + if (z.length === 0) return -1; + if (typeof q == "string" ? (re = q, q = 0) : q > 2147483647 ? q = 2147483647 : q < -2147483648 && (q = -2147483648), Ce(q = +q) && (q = $ ? 0 : z.length - 1), q < 0 && (q = z.length + q), q >= z.length) { + if ($) return -1; + q = z.length - 1; + } else if (q < 0) { + if (!$) return -1; + q = 0; + } + if (typeof J == "string" && (J = f.from(J, re)), f.isBuffer(J)) return J.length === 0 ? -1 : E(z, J, q, re, $); + if (typeof J == "number") return J &= 255, typeof Uint8Array.prototype.indexOf == "function" ? $ ? Uint8Array.prototype.indexOf.call(z, J, q) : Uint8Array.prototype.lastIndexOf.call(z, J, q) : E(z, [J], q, re, $); + throw new TypeError("val must be string, number or Buffer"); + } + function E(z, J, q, re, $) { + let Y, ce = 1, ye = z.length, ve = J.length; + if (re !== void 0 && ((re = String(re).toLowerCase()) === "ucs2" || re === "ucs-2" || re === "utf16le" || re === "utf-16le")) { + if (z.length < 2 || J.length < 2) return -1; + ce = 2, ye /= 2, ve /= 2, q /= 2; + } + function Ee(Ie, be) { + return ce === 1 ? Ie[be] : Ie.readUInt16BE(be * ce); + } + if ($) { + let Ie = -1; + for (Y = q; Y < ye; Y++) if (Ee(z, Y) === Ee(J, Ie === -1 ? 0 : Y - Ie)) { + if (Ie === -1 && (Ie = Y), Y - Ie + 1 === ve) return Ie * ce; + } else Ie !== -1 && (Y -= Y - Ie), Ie = -1; + } else for (q + ve > ye && (q = ye - ve), Y = q; Y >= 0; Y--) { + let Ie = !0; + for (let be = 0; be < ve; be++) if (Ee(z, Y + be) !== Ee(J, be)) { + Ie = !1; + break; + } + if (Ie) return Y; } - function t(E, M, _) { - if (t.isBN(E)) return E; - this.negative = 0, this.words = null, this.length = 0, this.red = null, E !== null && (M !== "le" && M !== "be" || (_ = M, M = 10), this._init(E || 0, M || 10, _ || "be")); + return -1; + } + function B(z, J, q, re) { + q = Number(q) || 0; + const $ = z.length - q; + re ? (re = Number(re)) > $ && (re = $) : re = $; + const Y = J.length; + let ce; + for (re > Y / 2 && (re = Y / 2), ce = 0; ce < re; ++ce) { + const ye = parseInt(J.substr(2 * ce, 2), 16); + if (Ce(ye)) return ce; + z[q + ce] = ye; + } + return ce; + } + function O(z, J, q, re) { + return me(Se(J, z.length - q), z, q, re); + } + function I(z, J, q, re) { + return me(function($) { + const Y = []; + for (let ce = 0; ce < $.length; ++ce) Y.push(255 & $.charCodeAt(ce)); + return Y; + }(J), z, q, re); + } + function x(z, J, q, re) { + return me(de(J), z, q, re); + } + function A(z, J, q, re) { + return me(function($, Y) { + let ce, ye, ve; + const Ee = []; + for (let Ie = 0; Ie < $.length && !((Y -= 2) < 0); ++Ie) ce = $.charCodeAt(Ie), ye = ce >> 8, ve = ce % 256, Ee.push(ve), Ee.push(ye); + return Ee; + }(J, z.length - q), z, q, re); + } + function N(z, J, q) { + return J === 0 && q === z.length ? r.fromByteArray(z) : r.fromByteArray(z.slice(J, q)); + } + function k(z, J, q) { + q = Math.min(z.length, q); + const re = []; + let $ = J; + for (; $ < q; ) { + const Y = z[$]; + let ce = null, ye = Y > 239 ? 4 : Y > 223 ? 3 : Y > 191 ? 2 : 1; + if ($ + ye <= q) { + let ve, Ee, Ie, be; + switch (ye) { + case 1: + Y < 128 && (ce = Y); + break; + case 2: + ve = z[$ + 1], (192 & ve) == 128 && (be = (31 & Y) << 6 | 63 & ve, be > 127 && (ce = be)); + break; + case 3: + ve = z[$ + 1], Ee = z[$ + 2], (192 & ve) == 128 && (192 & Ee) == 128 && (be = (15 & Y) << 12 | (63 & ve) << 6 | 63 & Ee, be > 2047 && (be < 55296 || be > 57343) && (ce = be)); + break; + case 4: + ve = z[$ + 1], Ee = z[$ + 2], Ie = z[$ + 3], (192 & ve) == 128 && (192 & Ee) == 128 && (192 & Ie) == 128 && (be = (15 & Y) << 18 | (63 & ve) << 12 | (63 & Ee) << 6 | 63 & Ie, be > 65535 && be < 1114112 && (ce = be)); + } + } + ce === null ? (ce = 65533, ye = 1) : ce > 65535 && (ce -= 65536, re.push(ce >>> 10 & 1023 | 55296), ce = 56320 | 1023 & ce), re.push(ce), $ += ye; } - var f; - typeof r == "object" ? r.exports = t : a.BN = t, t.BN = t, t.wordSize = 26; + return function(Y) { + const ce = Y.length; + if (ce <= j) return String.fromCharCode.apply(String, Y); + let ye = "", ve = 0; + for (; ve < ce; ) ye += String.fromCharCode.apply(String, Y.slice(ve, ve += j)); + return ye; + }(re); + } + n.kMaxLength = p, f.TYPED_ARRAY_SUPPORT = function() { try { - f = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : c(7790).Buffer; + const z = new Uint8Array(1), J = { foo: function() { + return 42; + } }; + return Object.setPrototypeOf(J, Uint8Array.prototype), Object.setPrototypeOf(z, J), z.foo() === 42; } catch { + return !1; } - function b(E, M) { - var _ = E.charCodeAt(M); - return _ >= 48 && _ <= 57 ? _ - 48 : _ >= 65 && _ <= 70 ? _ - 55 : _ >= 97 && _ <= 102 ? _ - 87 : void i(!1, "Invalid character in " + E); + }(), f.TYPED_ARRAY_SUPPORT || typeof console > "u" || typeof console.error != "function" || console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."), Object.defineProperty(f.prototype, "parent", { enumerable: !0, get: function() { + if (f.isBuffer(this)) return this.buffer; + } }), Object.defineProperty(f.prototype, "offset", { enumerable: !0, get: function() { + if (f.isBuffer(this)) return this.byteOffset; + } }), f.poolSize = 8192, f.from = function(z, J, q) { + return C(z, J, q); + }, Object.setPrototypeOf(f.prototype, Uint8Array.prototype), Object.setPrototypeOf(f, Uint8Array), f.alloc = function(z, J, q) { + return function(re, $, Y) { + return w(re), re <= 0 ? a(re) : $ !== void 0 ? typeof Y == "string" ? a(re).fill($, Y) : a(re).fill($) : a(re); + }(z, J, q); + }, f.allocUnsafe = function(z) { + return m(z); + }, f.allocUnsafeSlow = function(z) { + return m(z); + }, f.isBuffer = function(z) { + return z != null && z._isBuffer === !0 && z !== f.prototype; + }, f.compare = function(z, J) { + if (Oe(z, Uint8Array) && (z = f.from(z, z.offset, z.byteLength)), Oe(J, Uint8Array) && (J = f.from(J, J.offset, J.byteLength)), !f.isBuffer(z) || !f.isBuffer(J)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'); + if (z === J) return 0; + let q = z.length, re = J.length; + for (let $ = 0, Y = Math.min(q, re); $ < Y; ++$) if (z[$] !== J[$]) { + q = z[$], re = J[$]; + break; } - function y(E, M, _) { - var w = b(E, _); - return _ - 1 >= M && (w |= b(E, _ - 1) << 4), w; + return q < re ? -1 : re < q ? 1 : 0; + }, f.isEncoding = function(z) { + switch (String(z).toLowerCase()) { + case "hex": + case "utf8": + case "utf-8": + case "ascii": + case "latin1": + case "binary": + case "base64": + case "ucs2": + case "ucs-2": + case "utf16le": + case "utf-16le": + return !0; + default: + return !1; } - function u(E, M, _, w) { - for (var A = 0, j = 0, V = Math.min(E.length, _), D = M; D < V; D++) { - var z = E.charCodeAt(D) - 48; - A *= w, j = z >= 49 ? z - 49 + 10 : z >= 17 ? z - 17 + 10 : z, i(z >= 0 && j < w, "Invalid character"), A += j; + }, f.concat = function(z, J) { + if (!Array.isArray(z)) throw new TypeError('"list" argument must be an Array of Buffers'); + if (z.length === 0) return f.alloc(0); + let q; + if (J === void 0) for (J = 0, q = 0; q < z.length; ++q) J += z[q].length; + const re = f.allocUnsafe(J); + let $ = 0; + for (q = 0; q < z.length; ++q) { + let Y = z[q]; + if (Oe(Y, Uint8Array)) $ + Y.length > re.length ? (f.isBuffer(Y) || (Y = f.from(Y)), Y.copy(re, $)) : Uint8Array.prototype.set.call(re, Y, $); + else { + if (!f.isBuffer(Y)) throw new TypeError('"list" argument must be an Array of Buffers'); + Y.copy(re, $); } - return A; + $ += Y.length; } - function d(E, M) { - E.words = M.words, E.length = M.length, E.negative = M.negative, E.red = M.red; - } - if (t.isBN = function(E) { - return E instanceof t || E !== null && typeof E == "object" && E.constructor.wordSize === t.wordSize && Array.isArray(E.words); - }, t.max = function(E, M) { - return E.cmp(M) > 0 ? E : M; - }, t.min = function(E, M) { - return E.cmp(M) < 0 ? E : M; - }, t.prototype._init = function(E, M, _) { - if (typeof E == "number") return this._initNumber(E, M, _); - if (typeof E == "object") return this._initArray(E, M, _); - M === "hex" && (M = 16), i(M === (0 | M) && M >= 2 && M <= 36); - var w = 0; - (E = E.toString().replace(/\s+/g, ""))[0] === "-" && (w++, this.negative = 1), w < E.length && (M === 16 ? this._parseHex(E, w, _) : (this._parseBase(E, M, w), _ === "le" && this._initArray(this.toArray(), M, _))); - }, t.prototype._initNumber = function(E, M, _) { - E < 0 && (this.negative = 1, E = -E), E < 67108864 ? (this.words = [67108863 & E], this.length = 1) : E < 4503599627370496 ? (this.words = [67108863 & E, E / 67108864 & 67108863], this.length = 2) : (i(E < 9007199254740992), this.words = [67108863 & E, E / 67108864 & 67108863, 1], this.length = 3), _ === "le" && this._initArray(this.toArray(), M, _); - }, t.prototype._initArray = function(E, M, _) { - if (i(typeof E.length == "number"), E.length <= 0) return this.words = [0], this.length = 1, this; - this.length = Math.ceil(E.length / 3), this.words = new Array(this.length); - for (var w = 0; w < this.length; w++) this.words[w] = 0; - var A, j, V = 0; - if (_ === "be") for (w = E.length - 1, A = 0; w >= 0; w -= 3) j = E[w] | E[w - 1] << 8 | E[w - 2] << 16, this.words[A] |= j << V & 67108863, this.words[A + 1] = j >>> 26 - V & 67108863, (V += 24) >= 26 && (V -= 26, A++); - else if (_ === "le") for (w = 0, A = 0; w < E.length; w += 3) j = E[w] | E[w + 1] << 8 | E[w + 2] << 16, this.words[A] |= j << V & 67108863, this.words[A + 1] = j >>> 26 - V & 67108863, (V += 24) >= 26 && (V -= 26, A++); - return this._strip(); - }, t.prototype._parseHex = function(E, M, _) { - this.length = Math.ceil((E.length - M) / 6), this.words = new Array(this.length); - for (var w = 0; w < this.length; w++) this.words[w] = 0; - var A, j = 0, V = 0; - if (_ === "be") for (w = E.length - 1; w >= M; w -= 2) A = y(E, M, w) << j, this.words[V] |= 67108863 & A, j >= 18 ? (j -= 18, V += 1, this.words[V] |= A >>> 26) : j += 8; - else for (w = (E.length - M) % 2 == 0 ? M + 1 : M; w < E.length; w += 2) A = y(E, M, w) << j, this.words[V] |= 67108863 & A, j >= 18 ? (j -= 18, V += 1, this.words[V] |= A >>> 26) : j += 8; - this._strip(); - }, t.prototype._parseBase = function(E, M, _) { - this.words = [0], this.length = 1; - for (var w = 0, A = 1; A <= 67108863; A *= M) w++; - w--, A = A / M | 0; - for (var j = E.length - _, V = j % w, D = Math.min(j, j - V) + _, z = 0, J = _; J < D; J += w) z = u(E, J, J + w, M), this.imuln(A), this.words[0] + z < 67108864 ? this.words[0] += z : this._iaddn(z); - if (V !== 0) { - var G = 1; - for (z = u(E, J, E.length, M), J = 0; J < V; J++) G *= M; - this.imuln(G), this.words[0] + z < 67108864 ? this.words[0] += z : this._iaddn(z); - } - this._strip(); - }, t.prototype.copy = function(E) { - E.words = new Array(this.length); - for (var M = 0; M < this.length; M++) E.words[M] = this.words[M]; - E.length = this.length, E.negative = this.negative, E.red = this.red; - }, t.prototype._move = function(E) { - d(E, this); - }, t.prototype.clone = function() { - var E = new t(null); - return this.copy(E), E; - }, t.prototype._expand = function(E) { - for (; this.length < E; ) this.words[this.length++] = 0; - return this; - }, t.prototype._strip = function() { - for (; this.length > 1 && this.words[this.length - 1] === 0; ) this.length--; - return this._normSign(); - }, t.prototype._normSign = function() { - return this.length === 1 && this.words[0] === 0 && (this.negative = 0), this; - }, typeof Symbol < "u" && typeof Symbol.for == "function") try { - t.prototype[Symbol.for("nodejs.util.inspect.custom")] = l; - } catch { - t.prototype.inspect = l; - } - else t.prototype.inspect = l; - function l() { - return (this.red ? ""; - } - var s = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], v = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], p = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; - function h(E, M, _) { - _.negative = M.negative ^ E.negative; - var w = E.length + M.length | 0; - _.length = w, w = w - 1 | 0; - var A = 0 | E.words[0], j = 0 | M.words[0], V = A * j, D = 67108863 & V, z = V / 67108864 | 0; - _.words[0] = D; - for (var J = 1; J < w; J++) { - for (var G = z >>> 26, Q = 67108863 & z, ee = Math.min(J, M.length - 1), Z = Math.max(0, J - E.length + 1); Z <= ee; Z++) { - var q = J - Z | 0; - G += (V = (A = 0 | E.words[q]) * (j = 0 | M.words[Z]) + Q) / 67108864 | 0, Q = 67108863 & V; - } - _.words[J] = 0 | Q, z = 0 | G; - } - return z !== 0 ? _.words[J] = 0 | z : _.length--, _._strip(); - } - t.prototype.toString = function(E, M) { - var _; - if (M = 0 | M || 1, (E = E || 10) === 16 || E === "hex") { - _ = ""; - for (var w = 0, A = 0, j = 0; j < this.length; j++) { - var V = this.words[j], D = (16777215 & (V << w | A)).toString(16); - A = V >>> 24 - w & 16777215, (w += 2) >= 26 && (w -= 26, j--), _ = A !== 0 || j !== this.length - 1 ? s[6 - D.length] + D + _ : D + _; - } - for (A !== 0 && (_ = A.toString(16) + _); _.length % M != 0; ) _ = "0" + _; - return this.negative !== 0 && (_ = "-" + _), _; - } - if (E === (0 | E) && E >= 2 && E <= 36) { - var z = v[E], J = p[E]; - _ = ""; - var G = this.clone(); - for (G.negative = 0; !G.isZero(); ) { - var Q = G.modrn(J).toString(E); - _ = (G = G.idivn(J)).isZero() ? Q + _ : s[z - Q.length] + Q + _; - } - for (this.isZero() && (_ = "0" + _); _.length % M != 0; ) _ = "0" + _; - return this.negative !== 0 && (_ = "-" + _), _; - } - i(!1, "Base should be between 2 and 36"); - }, t.prototype.toNumber = function() { - var E = this.words[0]; - return this.length === 2 ? E += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? E += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && i(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -E : E; - }, t.prototype.toJSON = function() { - return this.toString(16, 2); - }, f && (t.prototype.toBuffer = function(E, M) { - return this.toArrayLike(f, E, M); - }), t.prototype.toArray = function(E, M) { - return this.toArrayLike(Array, E, M); - }, t.prototype.toArrayLike = function(E, M, _) { - this._strip(); - var w = this.byteLength(), A = _ || Math.max(1, w); - i(w <= A, "byte array longer than desired length"), i(A > 0, "Requested array length <= 0"); - var j = function(V, D) { - return V.allocUnsafe ? V.allocUnsafe(D) : new V(D); - }(E, A); - return this["_toArrayLike" + (M === "le" ? "LE" : "BE")](j, w), j; - }, t.prototype._toArrayLikeLE = function(E, M) { - for (var _ = 0, w = 0, A = 0, j = 0; A < this.length; A++) { - var V = this.words[A] << j | w; - E[_++] = 255 & V, _ < E.length && (E[_++] = V >> 8 & 255), _ < E.length && (E[_++] = V >> 16 & 255), j === 6 ? (_ < E.length && (E[_++] = V >> 24 & 255), w = 0, j = 0) : (w = V >>> 24, j += 2); - } - if (_ < E.length) for (E[_++] = w; _ < E.length; ) E[_++] = 0; - }, t.prototype._toArrayLikeBE = function(E, M) { - for (var _ = E.length - 1, w = 0, A = 0, j = 0; A < this.length; A++) { - var V = this.words[A] << j | w; - E[_--] = 255 & V, _ >= 0 && (E[_--] = V >> 8 & 255), _ >= 0 && (E[_--] = V >> 16 & 255), j === 6 ? (_ >= 0 && (E[_--] = V >> 24 & 255), w = 0, j = 0) : (w = V >>> 24, j += 2); - } - if (_ >= 0) for (E[_--] = w; _ >= 0; ) E[_--] = 0; - }, Math.clz32 ? t.prototype._countBits = function(E) { - return 32 - Math.clz32(E); - } : t.prototype._countBits = function(E) { - var M = E, _ = 0; - return M >= 4096 && (_ += 13, M >>>= 13), M >= 64 && (_ += 7, M >>>= 7), M >= 8 && (_ += 4, M >>>= 4), M >= 2 && (_ += 2, M >>>= 2), _ + M; - }, t.prototype._zeroBits = function(E) { - if (E === 0) return 26; - var M = E, _ = 0; - return 8191 & M || (_ += 13, M >>>= 13), 127 & M || (_ += 7, M >>>= 7), 15 & M || (_ += 4, M >>>= 4), 3 & M || (_ += 2, M >>>= 2), 1 & M || _++, _; - }, t.prototype.bitLength = function() { - var E = this.words[this.length - 1], M = this._countBits(E); - return 26 * (this.length - 1) + M; - }, t.prototype.zeroBits = function() { - if (this.isZero()) return 0; - for (var E = 0, M = 0; M < this.length; M++) { - var _ = this._zeroBits(this.words[M]); - if (E += _, _ !== 26) break; - } - return E; - }, t.prototype.byteLength = function() { - return Math.ceil(this.bitLength() / 8); - }, t.prototype.toTwos = function(E) { - return this.negative !== 0 ? this.abs().inotn(E).iaddn(1) : this.clone(); - }, t.prototype.fromTwos = function(E) { - return this.testn(E - 1) ? this.notn(E).iaddn(1).ineg() : this.clone(); - }, t.prototype.isNeg = function() { - return this.negative !== 0; - }, t.prototype.neg = function() { - return this.clone().ineg(); - }, t.prototype.ineg = function() { - return this.isZero() || (this.negative ^= 1), this; - }, t.prototype.iuor = function(E) { - for (; this.length < E.length; ) this.words[this.length++] = 0; - for (var M = 0; M < E.length; M++) this.words[M] = this.words[M] | E.words[M]; - return this._strip(); - }, t.prototype.ior = function(E) { - return i(!(this.negative | E.negative)), this.iuor(E); - }, t.prototype.or = function(E) { - return this.length > E.length ? this.clone().ior(E) : E.clone().ior(this); - }, t.prototype.uor = function(E) { - return this.length > E.length ? this.clone().iuor(E) : E.clone().iuor(this); - }, t.prototype.iuand = function(E) { - var M; - M = this.length > E.length ? E : this; - for (var _ = 0; _ < M.length; _++) this.words[_] = this.words[_] & E.words[_]; - return this.length = M.length, this._strip(); - }, t.prototype.iand = function(E) { - return i(!(this.negative | E.negative)), this.iuand(E); - }, t.prototype.and = function(E) { - return this.length > E.length ? this.clone().iand(E) : E.clone().iand(this); - }, t.prototype.uand = function(E) { - return this.length > E.length ? this.clone().iuand(E) : E.clone().iuand(this); - }, t.prototype.iuxor = function(E) { - var M, _; - this.length > E.length ? (M = this, _ = E) : (M = E, _ = this); - for (var w = 0; w < _.length; w++) this.words[w] = M.words[w] ^ _.words[w]; - if (this !== M) for (; w < M.length; w++) this.words[w] = M.words[w]; - return this.length = M.length, this._strip(); - }, t.prototype.ixor = function(E) { - return i(!(this.negative | E.negative)), this.iuxor(E); - }, t.prototype.xor = function(E) { - return this.length > E.length ? this.clone().ixor(E) : E.clone().ixor(this); - }, t.prototype.uxor = function(E) { - return this.length > E.length ? this.clone().iuxor(E) : E.clone().iuxor(this); - }, t.prototype.inotn = function(E) { - i(typeof E == "number" && E >= 0); - var M = 0 | Math.ceil(E / 26), _ = E % 26; - this._expand(M), _ > 0 && M--; - for (var w = 0; w < M; w++) this.words[w] = 67108863 & ~this.words[w]; - return _ > 0 && (this.words[w] = ~this.words[w] & 67108863 >> 26 - _), this._strip(); - }, t.prototype.notn = function(E) { - return this.clone().inotn(E); - }, t.prototype.setn = function(E, M) { - i(typeof E == "number" && E >= 0); - var _ = E / 26 | 0, w = E % 26; - return this._expand(_ + 1), this.words[_] = M ? this.words[_] | 1 << w : this.words[_] & ~(1 << w), this._strip(); - }, t.prototype.iadd = function(E) { - var M, _, w; - if (this.negative !== 0 && E.negative === 0) return this.negative = 0, M = this.isub(E), this.negative ^= 1, this._normSign(); - if (this.negative === 0 && E.negative !== 0) return E.negative = 0, M = this.isub(E), E.negative = 1, M._normSign(); - this.length > E.length ? (_ = this, w = E) : (_ = E, w = this); - for (var A = 0, j = 0; j < w.length; j++) M = (0 | _.words[j]) + (0 | w.words[j]) + A, this.words[j] = 67108863 & M, A = M >>> 26; - for (; A !== 0 && j < _.length; j++) M = (0 | _.words[j]) + A, this.words[j] = 67108863 & M, A = M >>> 26; - if (this.length = _.length, A !== 0) this.words[this.length] = A, this.length++; - else if (_ !== this) for (; j < _.length; j++) this.words[j] = _.words[j]; - return this; - }, t.prototype.add = function(E) { - var M; - return E.negative !== 0 && this.negative === 0 ? (E.negative = 0, M = this.sub(E), E.negative ^= 1, M) : E.negative === 0 && this.negative !== 0 ? (this.negative = 0, M = E.sub(this), this.negative = 1, M) : this.length > E.length ? this.clone().iadd(E) : E.clone().iadd(this); - }, t.prototype.isub = function(E) { - if (E.negative !== 0) { - E.negative = 0; - var M = this.iadd(E); - return E.negative = 1, M._normSign(); - } - if (this.negative !== 0) return this.negative = 0, this.iadd(E), this.negative = 1, this._normSign(); - var _, w, A = this.cmp(E); - if (A === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; - A > 0 ? (_ = this, w = E) : (_ = E, w = this); - for (var j = 0, V = 0; V < w.length; V++) j = (M = (0 | _.words[V]) - (0 | w.words[V]) + j) >> 26, this.words[V] = 67108863 & M; - for (; j !== 0 && V < _.length; V++) j = (M = (0 | _.words[V]) + j) >> 26, this.words[V] = 67108863 & M; - if (j === 0 && V < _.length && _ !== this) for (; V < _.length; V++) this.words[V] = _.words[V]; - return this.length = Math.max(this.length, V), _ !== this && (this.negative = 1), this._strip(); - }, t.prototype.sub = function(E) { - return this.clone().isub(E); - }; - var O = function(E, M, _) { - var w, A, j, V = E.words, D = M.words, z = _.words, J = 0, G = 0 | V[0], Q = 8191 & G, ee = G >>> 13, Z = 0 | V[1], q = 8191 & Z, se = Z >>> 13, ue = 0 | V[2], ce = 8191 & ue, ie = ue >>> 13, fe = 0 | V[3], Te = 8191 & fe, Se = fe >>> 13, te = 0 | V[4], ye = 8191 & te, ve = te >>> 13, F = 0 | V[5], W = 8191 & F, K = F >>> 13, X = 0 | V[6], ne = 8191 & X, re = X >>> 13, pe = 0 | V[7], Oe = 8191 & pe, xe = pe >>> 13, Re = 0 | V[8], De = 8191 & Re, Le = Re >>> 13, Ve = 0 | V[9], Ze = 8191 & Ve, Be = Ve >>> 13, de = 0 | D[0], oe = 8191 & de, le = de >>> 13, me = 0 | D[1], Ce = 8191 & me, we = me >>> 13, Ie = 0 | D[2], ke = 8191 & Ie, Ne = Ie >>> 13, He = 0 | D[3], qe = 8191 & He, Ue = He >>> 13, $e = 0 | D[4], ct = 8191 & $e, We = $e >>> 13, it = 0 | D[5], bt = 8191 & it, Xe = it >>> 13, ut = 0 | D[6], Mt = 8191 & ut, Ye = ut >>> 13, at = 0 | D[7], Tt = 8191 & at, tt = at >>> 13, mt = 0 | D[8], Lt = 8191 & mt, et = mt >>> 13, lt = 0 | D[9], xt = 8191 & lt, Rt = lt >>> 13; - _.negative = E.negative ^ M.negative, _.length = 19; - var Cr = (J + (w = Math.imul(Q, oe)) | 0) + ((8191 & (A = (A = Math.imul(Q, le)) + Math.imul(ee, oe) | 0)) << 13) | 0; - J = ((j = Math.imul(ee, le)) + (A >>> 13) | 0) + (Cr >>> 26) | 0, Cr &= 67108863, w = Math.imul(q, oe), A = (A = Math.imul(q, le)) + Math.imul(se, oe) | 0, j = Math.imul(se, le); - var _r = (J + (w = w + Math.imul(Q, Ce) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, we) | 0) + Math.imul(ee, Ce) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, we) | 0) + (A >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, w = Math.imul(ce, oe), A = (A = Math.imul(ce, le)) + Math.imul(ie, oe) | 0, j = Math.imul(ie, le), w = w + Math.imul(q, Ce) | 0, A = (A = A + Math.imul(q, we) | 0) + Math.imul(se, Ce) | 0, j = j + Math.imul(se, we) | 0; - var Nr = (J + (w = w + Math.imul(Q, ke) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Ne) | 0) + Math.imul(ee, ke) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Ne) | 0) + (A >>> 13) | 0) + (Nr >>> 26) | 0, Nr &= 67108863, w = Math.imul(Te, oe), A = (A = Math.imul(Te, le)) + Math.imul(Se, oe) | 0, j = Math.imul(Se, le), w = w + Math.imul(ce, Ce) | 0, A = (A = A + Math.imul(ce, we) | 0) + Math.imul(ie, Ce) | 0, j = j + Math.imul(ie, we) | 0, w = w + Math.imul(q, ke) | 0, A = (A = A + Math.imul(q, Ne) | 0) + Math.imul(se, ke) | 0, j = j + Math.imul(se, Ne) | 0; - var pr = (J + (w = w + Math.imul(Q, qe) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Ue) | 0) + Math.imul(ee, qe) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Ue) | 0) + (A >>> 13) | 0) + (pr >>> 26) | 0, pr &= 67108863, w = Math.imul(ye, oe), A = (A = Math.imul(ye, le)) + Math.imul(ve, oe) | 0, j = Math.imul(ve, le), w = w + Math.imul(Te, Ce) | 0, A = (A = A + Math.imul(Te, we) | 0) + Math.imul(Se, Ce) | 0, j = j + Math.imul(Se, we) | 0, w = w + Math.imul(ce, ke) | 0, A = (A = A + Math.imul(ce, Ne) | 0) + Math.imul(ie, ke) | 0, j = j + Math.imul(ie, Ne) | 0, w = w + Math.imul(q, qe) | 0, A = (A = A + Math.imul(q, Ue) | 0) + Math.imul(se, qe) | 0, j = j + Math.imul(se, Ue) | 0; - var nr = (J + (w = w + Math.imul(Q, ct) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, We) | 0) + Math.imul(ee, ct) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, We) | 0) + (A >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, w = Math.imul(W, oe), A = (A = Math.imul(W, le)) + Math.imul(K, oe) | 0, j = Math.imul(K, le), w = w + Math.imul(ye, Ce) | 0, A = (A = A + Math.imul(ye, we) | 0) + Math.imul(ve, Ce) | 0, j = j + Math.imul(ve, we) | 0, w = w + Math.imul(Te, ke) | 0, A = (A = A + Math.imul(Te, Ne) | 0) + Math.imul(Se, ke) | 0, j = j + Math.imul(Se, Ne) | 0, w = w + Math.imul(ce, qe) | 0, A = (A = A + Math.imul(ce, Ue) | 0) + Math.imul(ie, qe) | 0, j = j + Math.imul(ie, Ue) | 0, w = w + Math.imul(q, ct) | 0, A = (A = A + Math.imul(q, We) | 0) + Math.imul(se, ct) | 0, j = j + Math.imul(se, We) | 0; - var Sr = (J + (w = w + Math.imul(Q, bt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Xe) | 0) + Math.imul(ee, bt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Xe) | 0) + (A >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, w = Math.imul(ne, oe), A = (A = Math.imul(ne, le)) + Math.imul(re, oe) | 0, j = Math.imul(re, le), w = w + Math.imul(W, Ce) | 0, A = (A = A + Math.imul(W, we) | 0) + Math.imul(K, Ce) | 0, j = j + Math.imul(K, we) | 0, w = w + Math.imul(ye, ke) | 0, A = (A = A + Math.imul(ye, Ne) | 0) + Math.imul(ve, ke) | 0, j = j + Math.imul(ve, Ne) | 0, w = w + Math.imul(Te, qe) | 0, A = (A = A + Math.imul(Te, Ue) | 0) + Math.imul(Se, qe) | 0, j = j + Math.imul(Se, Ue) | 0, w = w + Math.imul(ce, ct) | 0, A = (A = A + Math.imul(ce, We) | 0) + Math.imul(ie, ct) | 0, j = j + Math.imul(ie, We) | 0, w = w + Math.imul(q, bt) | 0, A = (A = A + Math.imul(q, Xe) | 0) + Math.imul(se, bt) | 0, j = j + Math.imul(se, Xe) | 0; - var Mr = (J + (w = w + Math.imul(Q, Mt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Ye) | 0) + Math.imul(ee, Mt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Ye) | 0) + (A >>> 13) | 0) + (Mr >>> 26) | 0, Mr &= 67108863, w = Math.imul(Oe, oe), A = (A = Math.imul(Oe, le)) + Math.imul(xe, oe) | 0, j = Math.imul(xe, le), w = w + Math.imul(ne, Ce) | 0, A = (A = A + Math.imul(ne, we) | 0) + Math.imul(re, Ce) | 0, j = j + Math.imul(re, we) | 0, w = w + Math.imul(W, ke) | 0, A = (A = A + Math.imul(W, Ne) | 0) + Math.imul(K, ke) | 0, j = j + Math.imul(K, Ne) | 0, w = w + Math.imul(ye, qe) | 0, A = (A = A + Math.imul(ye, Ue) | 0) + Math.imul(ve, qe) | 0, j = j + Math.imul(ve, Ue) | 0, w = w + Math.imul(Te, ct) | 0, A = (A = A + Math.imul(Te, We) | 0) + Math.imul(Se, ct) | 0, j = j + Math.imul(Se, We) | 0, w = w + Math.imul(ce, bt) | 0, A = (A = A + Math.imul(ce, Xe) | 0) + Math.imul(ie, bt) | 0, j = j + Math.imul(ie, Xe) | 0, w = w + Math.imul(q, Mt) | 0, A = (A = A + Math.imul(q, Ye) | 0) + Math.imul(se, Mt) | 0, j = j + Math.imul(se, Ye) | 0; - var xr = (J + (w = w + Math.imul(Q, Tt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, tt) | 0) + Math.imul(ee, Tt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, tt) | 0) + (A >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, w = Math.imul(De, oe), A = (A = Math.imul(De, le)) + Math.imul(Le, oe) | 0, j = Math.imul(Le, le), w = w + Math.imul(Oe, Ce) | 0, A = (A = A + Math.imul(Oe, we) | 0) + Math.imul(xe, Ce) | 0, j = j + Math.imul(xe, we) | 0, w = w + Math.imul(ne, ke) | 0, A = (A = A + Math.imul(ne, Ne) | 0) + Math.imul(re, ke) | 0, j = j + Math.imul(re, Ne) | 0, w = w + Math.imul(W, qe) | 0, A = (A = A + Math.imul(W, Ue) | 0) + Math.imul(K, qe) | 0, j = j + Math.imul(K, Ue) | 0, w = w + Math.imul(ye, ct) | 0, A = (A = A + Math.imul(ye, We) | 0) + Math.imul(ve, ct) | 0, j = j + Math.imul(ve, We) | 0, w = w + Math.imul(Te, bt) | 0, A = (A = A + Math.imul(Te, Xe) | 0) + Math.imul(Se, bt) | 0, j = j + Math.imul(Se, Xe) | 0, w = w + Math.imul(ce, Mt) | 0, A = (A = A + Math.imul(ce, Ye) | 0) + Math.imul(ie, Mt) | 0, j = j + Math.imul(ie, Ye) | 0, w = w + Math.imul(q, Tt) | 0, A = (A = A + Math.imul(q, tt) | 0) + Math.imul(se, Tt) | 0, j = j + Math.imul(se, tt) | 0; - var Lr = (J + (w = w + Math.imul(Q, Lt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, et) | 0) + Math.imul(ee, Lt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, et) | 0) + (A >>> 13) | 0) + (Lr >>> 26) | 0, Lr &= 67108863, w = Math.imul(Ze, oe), A = (A = Math.imul(Ze, le)) + Math.imul(Be, oe) | 0, j = Math.imul(Be, le), w = w + Math.imul(De, Ce) | 0, A = (A = A + Math.imul(De, we) | 0) + Math.imul(Le, Ce) | 0, j = j + Math.imul(Le, we) | 0, w = w + Math.imul(Oe, ke) | 0, A = (A = A + Math.imul(Oe, Ne) | 0) + Math.imul(xe, ke) | 0, j = j + Math.imul(xe, Ne) | 0, w = w + Math.imul(ne, qe) | 0, A = (A = A + Math.imul(ne, Ue) | 0) + Math.imul(re, qe) | 0, j = j + Math.imul(re, Ue) | 0, w = w + Math.imul(W, ct) | 0, A = (A = A + Math.imul(W, We) | 0) + Math.imul(K, ct) | 0, j = j + Math.imul(K, We) | 0, w = w + Math.imul(ye, bt) | 0, A = (A = A + Math.imul(ye, Xe) | 0) + Math.imul(ve, bt) | 0, j = j + Math.imul(ve, Xe) | 0, w = w + Math.imul(Te, Mt) | 0, A = (A = A + Math.imul(Te, Ye) | 0) + Math.imul(Se, Mt) | 0, j = j + Math.imul(Se, Ye) | 0, w = w + Math.imul(ce, Tt) | 0, A = (A = A + Math.imul(ce, tt) | 0) + Math.imul(ie, Tt) | 0, j = j + Math.imul(ie, tt) | 0, w = w + Math.imul(q, Lt) | 0, A = (A = A + Math.imul(q, et) | 0) + Math.imul(se, Lt) | 0, j = j + Math.imul(se, et) | 0; - var Er = (J + (w = w + Math.imul(Q, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Rt) | 0) + Math.imul(ee, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Rt) | 0) + (A >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, w = Math.imul(Ze, Ce), A = (A = Math.imul(Ze, we)) + Math.imul(Be, Ce) | 0, j = Math.imul(Be, we), w = w + Math.imul(De, ke) | 0, A = (A = A + Math.imul(De, Ne) | 0) + Math.imul(Le, ke) | 0, j = j + Math.imul(Le, Ne) | 0, w = w + Math.imul(Oe, qe) | 0, A = (A = A + Math.imul(Oe, Ue) | 0) + Math.imul(xe, qe) | 0, j = j + Math.imul(xe, Ue) | 0, w = w + Math.imul(ne, ct) | 0, A = (A = A + Math.imul(ne, We) | 0) + Math.imul(re, ct) | 0, j = j + Math.imul(re, We) | 0, w = w + Math.imul(W, bt) | 0, A = (A = A + Math.imul(W, Xe) | 0) + Math.imul(K, bt) | 0, j = j + Math.imul(K, Xe) | 0, w = w + Math.imul(ye, Mt) | 0, A = (A = A + Math.imul(ye, Ye) | 0) + Math.imul(ve, Mt) | 0, j = j + Math.imul(ve, Ye) | 0, w = w + Math.imul(Te, Tt) | 0, A = (A = A + Math.imul(Te, tt) | 0) + Math.imul(Se, Tt) | 0, j = j + Math.imul(Se, tt) | 0, w = w + Math.imul(ce, Lt) | 0, A = (A = A + Math.imul(ce, et) | 0) + Math.imul(ie, Lt) | 0, j = j + Math.imul(ie, et) | 0; - var mr = (J + (w = w + Math.imul(q, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(q, Rt) | 0) + Math.imul(se, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(se, Rt) | 0) + (A >>> 13) | 0) + (mr >>> 26) | 0, mr &= 67108863, w = Math.imul(Ze, ke), A = (A = Math.imul(Ze, Ne)) + Math.imul(Be, ke) | 0, j = Math.imul(Be, Ne), w = w + Math.imul(De, qe) | 0, A = (A = A + Math.imul(De, Ue) | 0) + Math.imul(Le, qe) | 0, j = j + Math.imul(Le, Ue) | 0, w = w + Math.imul(Oe, ct) | 0, A = (A = A + Math.imul(Oe, We) | 0) + Math.imul(xe, ct) | 0, j = j + Math.imul(xe, We) | 0, w = w + Math.imul(ne, bt) | 0, A = (A = A + Math.imul(ne, Xe) | 0) + Math.imul(re, bt) | 0, j = j + Math.imul(re, Xe) | 0, w = w + Math.imul(W, Mt) | 0, A = (A = A + Math.imul(W, Ye) | 0) + Math.imul(K, Mt) | 0, j = j + Math.imul(K, Ye) | 0, w = w + Math.imul(ye, Tt) | 0, A = (A = A + Math.imul(ye, tt) | 0) + Math.imul(ve, Tt) | 0, j = j + Math.imul(ve, tt) | 0, w = w + Math.imul(Te, Lt) | 0, A = (A = A + Math.imul(Te, et) | 0) + Math.imul(Se, Lt) | 0, j = j + Math.imul(Se, et) | 0; - var Pr = (J + (w = w + Math.imul(ce, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(ce, Rt) | 0) + Math.imul(ie, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ie, Rt) | 0) + (A >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, w = Math.imul(Ze, qe), A = (A = Math.imul(Ze, Ue)) + Math.imul(Be, qe) | 0, j = Math.imul(Be, Ue), w = w + Math.imul(De, ct) | 0, A = (A = A + Math.imul(De, We) | 0) + Math.imul(Le, ct) | 0, j = j + Math.imul(Le, We) | 0, w = w + Math.imul(Oe, bt) | 0, A = (A = A + Math.imul(Oe, Xe) | 0) + Math.imul(xe, bt) | 0, j = j + Math.imul(xe, Xe) | 0, w = w + Math.imul(ne, Mt) | 0, A = (A = A + Math.imul(ne, Ye) | 0) + Math.imul(re, Mt) | 0, j = j + Math.imul(re, Ye) | 0, w = w + Math.imul(W, Tt) | 0, A = (A = A + Math.imul(W, tt) | 0) + Math.imul(K, Tt) | 0, j = j + Math.imul(K, tt) | 0, w = w + Math.imul(ye, Lt) | 0, A = (A = A + Math.imul(ye, et) | 0) + Math.imul(ve, Lt) | 0, j = j + Math.imul(ve, et) | 0; - var or = (J + (w = w + Math.imul(Te, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Te, Rt) | 0) + Math.imul(Se, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(Se, Rt) | 0) + (A >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, w = Math.imul(Ze, ct), A = (A = Math.imul(Ze, We)) + Math.imul(Be, ct) | 0, j = Math.imul(Be, We), w = w + Math.imul(De, bt) | 0, A = (A = A + Math.imul(De, Xe) | 0) + Math.imul(Le, bt) | 0, j = j + Math.imul(Le, Xe) | 0, w = w + Math.imul(Oe, Mt) | 0, A = (A = A + Math.imul(Oe, Ye) | 0) + Math.imul(xe, Mt) | 0, j = j + Math.imul(xe, Ye) | 0, w = w + Math.imul(ne, Tt) | 0, A = (A = A + Math.imul(ne, tt) | 0) + Math.imul(re, Tt) | 0, j = j + Math.imul(re, tt) | 0, w = w + Math.imul(W, Lt) | 0, A = (A = A + Math.imul(W, et) | 0) + Math.imul(K, Lt) | 0, j = j + Math.imul(K, et) | 0; - var Ar = (J + (w = w + Math.imul(ye, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(ye, Rt) | 0) + Math.imul(ve, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ve, Rt) | 0) + (A >>> 13) | 0) + (Ar >>> 26) | 0, Ar &= 67108863, w = Math.imul(Ze, bt), A = (A = Math.imul(Ze, Xe)) + Math.imul(Be, bt) | 0, j = Math.imul(Be, Xe), w = w + Math.imul(De, Mt) | 0, A = (A = A + Math.imul(De, Ye) | 0) + Math.imul(Le, Mt) | 0, j = j + Math.imul(Le, Ye) | 0, w = w + Math.imul(Oe, Tt) | 0, A = (A = A + Math.imul(Oe, tt) | 0) + Math.imul(xe, Tt) | 0, j = j + Math.imul(xe, tt) | 0, w = w + Math.imul(ne, Lt) | 0, A = (A = A + Math.imul(ne, et) | 0) + Math.imul(re, Lt) | 0, j = j + Math.imul(re, et) | 0; - var ir = (J + (w = w + Math.imul(W, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(W, Rt) | 0) + Math.imul(K, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(K, Rt) | 0) + (A >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, w = Math.imul(Ze, Mt), A = (A = Math.imul(Ze, Ye)) + Math.imul(Be, Mt) | 0, j = Math.imul(Be, Ye), w = w + Math.imul(De, Tt) | 0, A = (A = A + Math.imul(De, tt) | 0) + Math.imul(Le, Tt) | 0, j = j + Math.imul(Le, tt) | 0, w = w + Math.imul(Oe, Lt) | 0, A = (A = A + Math.imul(Oe, et) | 0) + Math.imul(xe, Lt) | 0, j = j + Math.imul(xe, et) | 0; - var $t = (J + (w = w + Math.imul(ne, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(ne, Rt) | 0) + Math.imul(re, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(re, Rt) | 0) + (A >>> 13) | 0) + ($t >>> 26) | 0, $t &= 67108863, w = Math.imul(Ze, Tt), A = (A = Math.imul(Ze, tt)) + Math.imul(Be, Tt) | 0, j = Math.imul(Be, tt), w = w + Math.imul(De, Lt) | 0, A = (A = A + Math.imul(De, et) | 0) + Math.imul(Le, Lt) | 0, j = j + Math.imul(Le, et) | 0; - var ar = (J + (w = w + Math.imul(Oe, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Oe, Rt) | 0) + Math.imul(xe, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(xe, Rt) | 0) + (A >>> 13) | 0) + (ar >>> 26) | 0, ar &= 67108863, w = Math.imul(Ze, Lt), A = (A = Math.imul(Ze, et)) + Math.imul(Be, Lt) | 0, j = Math.imul(Be, et); - var vn = (J + (w = w + Math.imul(De, xt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(De, Rt) | 0) + Math.imul(Le, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(Le, Rt) | 0) + (A >>> 13) | 0) + (vn >>> 26) | 0, vn &= 67108863; - var xn = (J + (w = Math.imul(Ze, xt)) | 0) + ((8191 & (A = (A = Math.imul(Ze, Rt)) + Math.imul(Be, xt) | 0)) << 13) | 0; - return J = ((j = Math.imul(Be, Rt)) + (A >>> 13) | 0) + (xn >>> 26) | 0, xn &= 67108863, z[0] = Cr, z[1] = _r, z[2] = Nr, z[3] = pr, z[4] = nr, z[5] = Sr, z[6] = Mr, z[7] = xr, z[8] = Lr, z[9] = Er, z[10] = mr, z[11] = Pr, z[12] = or, z[13] = Ar, z[14] = ir, z[15] = $t, z[16] = ar, z[17] = vn, z[18] = xn, J !== 0 && (z[19] = J, _.length++), _; - }; - function I(E, M, _) { - _.negative = M.negative ^ E.negative, _.length = E.length + M.length; - for (var w = 0, A = 0, j = 0; j < _.length - 1; j++) { - var V = A; - A = 0; - for (var D = 67108863 & w, z = Math.min(j, M.length - 1), J = Math.max(0, j - E.length + 1); J <= z; J++) { - var G = j - J, Q = (0 | E.words[G]) * (0 | M.words[J]), ee = 67108863 & Q; - D = 67108863 & (ee = ee + D | 0), A += (V = (V = V + (Q / 67108864 | 0) | 0) + (ee >>> 26) | 0) >>> 26, V &= 67108863; - } - _.words[j] = D, w = V, V = A; - } - return w !== 0 ? _.words[j] = w : _.length--, _._strip(); - } - function k(E, M, _) { - return I(E, M, _); - } - Math.imul || (O = h), t.prototype.mulTo = function(E, M) { - var _ = this.length + E.length; - return this.length === 10 && E.length === 10 ? O(this, E, M) : _ < 63 ? h(this, E, M) : _ < 1024 ? I(this, E, M) : k(this, E, M); - }, t.prototype.mul = function(E) { - var M = new t(null); - return M.words = new Array(this.length + E.length), this.mulTo(E, M); - }, t.prototype.mulf = function(E) { - var M = new t(null); - return M.words = new Array(this.length + E.length), k(this, E, M); - }, t.prototype.imul = function(E) { - return this.clone().mulTo(E, this); - }, t.prototype.imuln = function(E) { - var M = E < 0; - M && (E = -E), i(typeof E == "number"), i(E < 67108864); - for (var _ = 0, w = 0; w < this.length; w++) { - var A = (0 | this.words[w]) * E, j = (67108863 & A) + (67108863 & _); - _ >>= 26, _ += A / 67108864 | 0, _ += j >>> 26, this.words[w] = 67108863 & j; - } - return _ !== 0 && (this.words[w] = _, this.length++), M ? this.ineg() : this; - }, t.prototype.muln = function(E) { - return this.clone().imuln(E); - }, t.prototype.sqr = function() { - return this.mul(this); - }, t.prototype.isqr = function() { - return this.imul(this.clone()); - }, t.prototype.pow = function(E) { - var M = function(j) { - for (var V = new Array(j.bitLength()), D = 0; D < V.length; D++) { - var z = D / 26 | 0, J = D % 26; - V[D] = j.words[z] >>> J & 1; - } - return V; - }(E); - if (M.length === 0) return new t(1); - for (var _ = this, w = 0; w < M.length && M[w] === 0; w++, _ = _.sqr()) ; - if (++w < M.length) for (var A = _.sqr(); w < M.length; w++, A = A.sqr()) M[w] !== 0 && (_ = _.mul(A)); - return _; - }, t.prototype.iushln = function(E) { - i(typeof E == "number" && E >= 0); - var M, _ = E % 26, w = (E - _) / 26, A = 67108863 >>> 26 - _ << 26 - _; - if (_ !== 0) { - var j = 0; - for (M = 0; M < this.length; M++) { - var V = this.words[M] & A, D = (0 | this.words[M]) - V << _; - this.words[M] = D | j, j = V >>> 26 - _; - } - j && (this.words[M] = j, this.length++); - } - if (w !== 0) { - for (M = this.length - 1; M >= 0; M--) this.words[M + w] = this.words[M]; - for (M = 0; M < w; M++) this.words[M] = 0; - this.length += w; - } - return this._strip(); - }, t.prototype.ishln = function(E) { - return i(this.negative === 0), this.iushln(E); - }, t.prototype.iushrn = function(E, M, _) { - var w; - i(typeof E == "number" && E >= 0), w = M ? (M - M % 26) / 26 : 0; - var A = E % 26, j = Math.min((E - A) / 26, this.length), V = 67108863 ^ 67108863 >>> A << A, D = _; - if (w -= j, w = Math.max(0, w), D) { - for (var z = 0; z < j; z++) D.words[z] = this.words[z]; - D.length = j; - } - if (j !== 0) if (this.length > j) for (this.length -= j, z = 0; z < this.length; z++) this.words[z] = this.words[z + j]; - else this.words[0] = 0, this.length = 1; - var J = 0; - for (z = this.length - 1; z >= 0 && (J !== 0 || z >= w); z--) { - var G = 0 | this.words[z]; - this.words[z] = J << 26 - A | G >>> A, J = G & V; - } - return D && J !== 0 && (D.words[D.length++] = J), this.length === 0 && (this.words[0] = 0, this.length = 1), this._strip(); - }, t.prototype.ishrn = function(E, M, _) { - return i(this.negative === 0), this.iushrn(E, M, _); - }, t.prototype.shln = function(E) { - return this.clone().ishln(E); - }, t.prototype.ushln = function(E) { - return this.clone().iushln(E); - }, t.prototype.shrn = function(E) { - return this.clone().ishrn(E); - }, t.prototype.ushrn = function(E) { - return this.clone().iushrn(E); - }, t.prototype.testn = function(E) { - i(typeof E == "number" && E >= 0); - var M = E % 26, _ = (E - M) / 26, w = 1 << M; - return !(this.length <= _ || !(this.words[_] & w)); - }, t.prototype.imaskn = function(E) { - i(typeof E == "number" && E >= 0); - var M = E % 26, _ = (E - M) / 26; - if (i(this.negative === 0, "imaskn works only with positive numbers"), this.length <= _) return this; - if (M !== 0 && _++, this.length = Math.min(_, this.length), M !== 0) { - var w = 67108863 ^ 67108863 >>> M << M; - this.words[this.length - 1] &= w; - } - return this._strip(); - }, t.prototype.maskn = function(E) { - return this.clone().imaskn(E); - }, t.prototype.iaddn = function(E) { - return i(typeof E == "number"), i(E < 67108864), E < 0 ? this.isubn(-E) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) <= E ? (this.words[0] = E - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(E), this.negative = 1, this) : this._iaddn(E); - }, t.prototype._iaddn = function(E) { - this.words[0] += E; - for (var M = 0; M < this.length && this.words[M] >= 67108864; M++) this.words[M] -= 67108864, M === this.length - 1 ? this.words[M + 1] = 1 : this.words[M + 1]++; - return this.length = Math.max(this.length, M + 1), this; - }, t.prototype.isubn = function(E) { - if (i(typeof E == "number"), i(E < 67108864), E < 0) return this.iaddn(-E); - if (this.negative !== 0) return this.negative = 0, this.iaddn(E), this.negative = 1, this; - if (this.words[0] -= E, this.length === 1 && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; - else for (var M = 0; M < this.length && this.words[M] < 0; M++) this.words[M] += 67108864, this.words[M + 1] -= 1; - return this._strip(); - }, t.prototype.addn = function(E) { - return this.clone().iaddn(E); - }, t.prototype.subn = function(E) { - return this.clone().isubn(E); - }, t.prototype.iabs = function() { - return this.negative = 0, this; - }, t.prototype.abs = function() { - return this.clone().iabs(); - }, t.prototype._ishlnsubmul = function(E, M, _) { - var w, A, j = E.length + _; - this._expand(j); - var V = 0; - for (w = 0; w < E.length; w++) { - A = (0 | this.words[w + _]) + V; - var D = (0 | E.words[w]) * M; - V = ((A -= 67108863 & D) >> 26) - (D / 67108864 | 0), this.words[w + _] = 67108863 & A; - } - for (; w < this.length - _; w++) V = (A = (0 | this.words[w + _]) + V) >> 26, this.words[w + _] = 67108863 & A; - if (V === 0) return this._strip(); - for (i(V === -1), V = 0, w = 0; w < this.length; w++) V = (A = -(0 | this.words[w]) + V) >> 26, this.words[w] = 67108863 & A; - return this.negative = 1, this._strip(); - }, t.prototype._wordDiv = function(E, M) { - var _ = (this.length, E.length), w = this.clone(), A = E, j = 0 | A.words[A.length - 1]; - (_ = 26 - this._countBits(j)) != 0 && (A = A.ushln(_), w.iushln(_), j = 0 | A.words[A.length - 1]); - var V, D = w.length - A.length; - if (M !== "mod") { - (V = new t(null)).length = D + 1, V.words = new Array(V.length); - for (var z = 0; z < V.length; z++) V.words[z] = 0; - } - var J = w.clone()._ishlnsubmul(A, 1, D); - J.negative === 0 && (w = J, V && (V.words[D] = 1)); - for (var G = D - 1; G >= 0; G--) { - var Q = 67108864 * (0 | w.words[A.length + G]) + (0 | w.words[A.length + G - 1]); - for (Q = Math.min(Q / j | 0, 67108863), w._ishlnsubmul(A, Q, G); w.negative !== 0; ) Q--, w.negative = 0, w._ishlnsubmul(A, 1, G), w.isZero() || (w.negative ^= 1); - V && (V.words[G] = Q); - } - return V && V._strip(), w._strip(), M !== "div" && _ !== 0 && w.iushrn(_), { div: V || null, mod: w }; - }, t.prototype.divmod = function(E, M, _) { - return i(!E.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && E.negative === 0 ? (j = this.neg().divmod(E, M), M !== "mod" && (w = j.div.neg()), M !== "div" && (A = j.mod.neg(), _ && A.negative !== 0 && A.iadd(E)), { div: w, mod: A }) : this.negative === 0 && E.negative !== 0 ? (j = this.divmod(E.neg(), M), M !== "mod" && (w = j.div.neg()), { div: w, mod: j.mod }) : this.negative & E.negative ? (j = this.neg().divmod(E.neg(), M), M !== "div" && (A = j.mod.neg(), _ && A.negative !== 0 && A.isub(E)), { div: j.div, mod: A }) : E.length > this.length || this.cmp(E) < 0 ? { div: new t(0), mod: this } : E.length === 1 ? M === "div" ? { div: this.divn(E.words[0]), mod: null } : M === "mod" ? { div: null, mod: new t(this.modrn(E.words[0])) } : { div: this.divn(E.words[0]), mod: new t(this.modrn(E.words[0])) } : this._wordDiv(E, M); - var w, A, j; - }, t.prototype.div = function(E) { - return this.divmod(E, "div", !1).div; - }, t.prototype.mod = function(E) { - return this.divmod(E, "mod", !1).mod; - }, t.prototype.umod = function(E) { - return this.divmod(E, "mod", !0).mod; - }, t.prototype.divRound = function(E) { - var M = this.divmod(E); - if (M.mod.isZero()) return M.div; - var _ = M.div.negative !== 0 ? M.mod.isub(E) : M.mod, w = E.ushrn(1), A = E.andln(1), j = _.cmp(w); - return j < 0 || A === 1 && j === 0 ? M.div : M.div.negative !== 0 ? M.div.isubn(1) : M.div.iaddn(1); - }, t.prototype.modrn = function(E) { - var M = E < 0; - M && (E = -E), i(E <= 67108863); - for (var _ = 67108864 % E, w = 0, A = this.length - 1; A >= 0; A--) w = (_ * w + (0 | this.words[A])) % E; - return M ? -w : w; - }, t.prototype.modn = function(E) { - return this.modrn(E); - }, t.prototype.idivn = function(E) { - var M = E < 0; - M && (E = -E), i(E <= 67108863); - for (var _ = 0, w = this.length - 1; w >= 0; w--) { - var A = (0 | this.words[w]) + 67108864 * _; - this.words[w] = A / E | 0, _ = A % E; - } - return this._strip(), M ? this.ineg() : this; - }, t.prototype.divn = function(E) { - return this.clone().idivn(E); - }, t.prototype.egcd = function(E) { - i(E.negative === 0), i(!E.isZero()); - var M = this, _ = E.clone(); - M = M.negative !== 0 ? M.umod(E) : M.clone(); - for (var w = new t(1), A = new t(0), j = new t(0), V = new t(1), D = 0; M.isEven() && _.isEven(); ) M.iushrn(1), _.iushrn(1), ++D; - for (var z = _.clone(), J = M.clone(); !M.isZero(); ) { - for (var G = 0, Q = 1; !(M.words[0] & Q) && G < 26; ++G, Q <<= 1) ; - if (G > 0) for (M.iushrn(G); G-- > 0; ) (w.isOdd() || A.isOdd()) && (w.iadd(z), A.isub(J)), w.iushrn(1), A.iushrn(1); - for (var ee = 0, Z = 1; !(_.words[0] & Z) && ee < 26; ++ee, Z <<= 1) ; - if (ee > 0) for (_.iushrn(ee); ee-- > 0; ) (j.isOdd() || V.isOdd()) && (j.iadd(z), V.isub(J)), j.iushrn(1), V.iushrn(1); - M.cmp(_) >= 0 ? (M.isub(_), w.isub(j), A.isub(V)) : (_.isub(M), j.isub(w), V.isub(A)); - } - return { a: j, b: V, gcd: _.iushln(D) }; - }, t.prototype._invmp = function(E) { - i(E.negative === 0), i(!E.isZero()); - var M = this, _ = E.clone(); - M = M.negative !== 0 ? M.umod(E) : M.clone(); - for (var w, A = new t(1), j = new t(0), V = _.clone(); M.cmpn(1) > 0 && _.cmpn(1) > 0; ) { - for (var D = 0, z = 1; !(M.words[0] & z) && D < 26; ++D, z <<= 1) ; - if (D > 0) for (M.iushrn(D); D-- > 0; ) A.isOdd() && A.iadd(V), A.iushrn(1); - for (var J = 0, G = 1; !(_.words[0] & G) && J < 26; ++J, G <<= 1) ; - if (J > 0) for (_.iushrn(J); J-- > 0; ) j.isOdd() && j.iadd(V), j.iushrn(1); - M.cmp(_) >= 0 ? (M.isub(_), A.isub(j)) : (_.isub(M), j.isub(A)); - } - return (w = M.cmpn(1) === 0 ? A : j).cmpn(0) < 0 && w.iadd(E), w; - }, t.prototype.gcd = function(E) { - if (this.isZero()) return E.abs(); - if (E.isZero()) return this.abs(); - var M = this.clone(), _ = E.clone(); - M.negative = 0, _.negative = 0; - for (var w = 0; M.isEven() && _.isEven(); w++) M.iushrn(1), _.iushrn(1); - for (; ; ) { - for (; M.isEven(); ) M.iushrn(1); - for (; _.isEven(); ) _.iushrn(1); - var A = M.cmp(_); - if (A < 0) { - var j = M; - M = _, _ = j; - } else if (A === 0 || _.cmpn(1) === 0) break; - M.isub(_); - } - return _.iushln(w); - }, t.prototype.invm = function(E) { - return this.egcd(E).a.umod(E); - }, t.prototype.isEven = function() { - return !(1 & this.words[0]); - }, t.prototype.isOdd = function() { - return !(1 & ~this.words[0]); - }, t.prototype.andln = function(E) { - return this.words[0] & E; - }, t.prototype.bincn = function(E) { - i(typeof E == "number"); - var M = E % 26, _ = (E - M) / 26, w = 1 << M; - if (this.length <= _) return this._expand(_ + 1), this.words[_] |= w, this; - for (var A = w, j = _; A !== 0 && j < this.length; j++) { - var V = 0 | this.words[j]; - A = (V += A) >>> 26, V &= 67108863, this.words[j] = V; - } - return A !== 0 && (this.words[j] = A, this.length++), this; - }, t.prototype.isZero = function() { - return this.length === 1 && this.words[0] === 0; - }, t.prototype.cmpn = function(E) { - var M, _ = E < 0; - if (this.negative !== 0 && !_) return -1; - if (this.negative === 0 && _) return 1; - if (this._strip(), this.length > 1) M = 1; - else { - _ && (E = -E), i(E <= 67108863, "Number is too big"); - var w = 0 | this.words[0]; - M = w === E ? 0 : w < E ? -1 : 1; - } - return this.negative !== 0 ? 0 | -M : M; - }, t.prototype.cmp = function(E) { - if (this.negative !== 0 && E.negative === 0) return -1; - if (this.negative === 0 && E.negative !== 0) return 1; - var M = this.ucmp(E); - return this.negative !== 0 ? 0 | -M : M; - }, t.prototype.ucmp = function(E) { - if (this.length > E.length) return 1; - if (this.length < E.length) return -1; - for (var M = 0, _ = this.length - 1; _ >= 0; _--) { - var w = 0 | this.words[_], A = 0 | E.words[_]; - if (w !== A) { - w < A ? M = -1 : w > A && (M = 1); - break; - } - } - return M; - }, t.prototype.gtn = function(E) { - return this.cmpn(E) === 1; - }, t.prototype.gt = function(E) { - return this.cmp(E) === 1; - }, t.prototype.gten = function(E) { - return this.cmpn(E) >= 0; - }, t.prototype.gte = function(E) { - return this.cmp(E) >= 0; - }, t.prototype.ltn = function(E) { - return this.cmpn(E) === -1; - }, t.prototype.lt = function(E) { - return this.cmp(E) === -1; - }, t.prototype.lten = function(E) { - return this.cmpn(E) <= 0; - }, t.prototype.lte = function(E) { - return this.cmp(E) <= 0; - }, t.prototype.eqn = function(E) { - return this.cmpn(E) === 0; - }, t.prototype.eq = function(E) { - return this.cmp(E) === 0; - }, t.red = function(E) { - return new S(E); - }, t.prototype.toRed = function(E) { - return i(!this.red, "Already a number in reduction context"), i(this.negative === 0, "red works only with positives"), E.convertTo(this)._forceRed(E); - }, t.prototype.fromRed = function() { - return i(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); - }, t.prototype._forceRed = function(E) { - return this.red = E, this; - }, t.prototype.forceRed = function(E) { - return i(!this.red, "Already a number in reduction context"), this._forceRed(E); - }, t.prototype.redAdd = function(E) { - return i(this.red, "redAdd works only with red numbers"), this.red.add(this, E); - }, t.prototype.redIAdd = function(E) { - return i(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, E); - }, t.prototype.redSub = function(E) { - return i(this.red, "redSub works only with red numbers"), this.red.sub(this, E); - }, t.prototype.redISub = function(E) { - return i(this.red, "redISub works only with red numbers"), this.red.isub(this, E); - }, t.prototype.redShl = function(E) { - return i(this.red, "redShl works only with red numbers"), this.red.shl(this, E); - }, t.prototype.redMul = function(E) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, E), this.red.mul(this, E); - }, t.prototype.redIMul = function(E) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, E), this.red.imul(this, E); - }, t.prototype.redSqr = function() { - return i(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); - }, t.prototype.redISqr = function() { - return i(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); - }, t.prototype.redSqrt = function() { - return i(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); - }, t.prototype.redInvm = function() { - return i(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); - }, t.prototype.redNeg = function() { - return i(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); - }, t.prototype.redPow = function(E) { - return i(this.red && !E.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, E); - }; - var R = { k256: null, p224: null, p192: null, p25519: null }; - function L(E, M) { - this.name = E, this.p = new t(M, 16), this.n = this.p.bitLength(), this.k = new t(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); - } - function N() { - L.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); - } - function B() { - L.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); - } - function H() { - L.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); - } - function U() { - L.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); - } - function S(E) { - if (typeof E == "string") { - var M = t._prime(E); - this.m = M.p, this.prime = M; - } else i(E.gtn(1), "modulus must be greater than 1"), this.m = E, this.prime = null; - } - function T(E) { - S.call(this, E), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); - } - L.prototype._tmp = function() { - var E = new t(null); - return E.words = new Array(Math.ceil(this.n / 13)), E; - }, L.prototype.ireduce = function(E) { - var M, _ = E; - do - this.split(_, this.tmp), M = (_ = (_ = this.imulK(_)).iadd(this.tmp)).bitLength(); - while (M > this.n); - var w = M < this.n ? -1 : _.ucmp(this.p); - return w === 0 ? (_.words[0] = 0, _.length = 1) : w > 0 ? _.isub(this.p) : _.strip !== void 0 ? _.strip() : _._strip(), _; - }, L.prototype.split = function(E, M) { - E.iushrn(this.n, 0, M); - }, L.prototype.imulK = function(E) { - return E.imul(this.k); - }, m(N, L), N.prototype.split = function(E, M) { - for (var _ = 4194303, w = Math.min(E.length, 9), A = 0; A < w; A++) M.words[A] = E.words[A]; - if (M.length = w, E.length <= 9) return E.words[0] = 0, void (E.length = 1); - var j = E.words[9]; - for (M.words[M.length++] = j & _, A = 10; A < E.length; A++) { - var V = 0 | E.words[A]; - E.words[A - 10] = (V & _) << 4 | j >>> 22, j = V; - } - j >>>= 22, E.words[A - 10] = j, j === 0 && E.length > 10 ? E.length -= 10 : E.length -= 9; - }, N.prototype.imulK = function(E) { - E.words[E.length] = 0, E.words[E.length + 1] = 0, E.length += 2; - for (var M = 0, _ = 0; _ < E.length; _++) { - var w = 0 | E.words[_]; - M += 977 * w, E.words[_] = 67108863 & M, M = 64 * w + (M / 67108864 | 0); - } - return E.words[E.length - 1] === 0 && (E.length--, E.words[E.length - 1] === 0 && E.length--), E; - }, m(B, L), m(H, L), m(U, L), U.prototype.imulK = function(E) { - for (var M = 0, _ = 0; _ < E.length; _++) { - var w = 19 * (0 | E.words[_]) + M, A = 67108863 & w; - w >>>= 26, E.words[_] = A, M = w; - } - return M !== 0 && (E.words[E.length++] = M), E; - }, t._prime = function(E) { - if (R[E]) return R[E]; - var M; - if (E === "k256") M = new N(); - else if (E === "p224") M = new B(); - else if (E === "p192") M = new H(); - else { - if (E !== "p25519") throw new Error("Unknown prime " + E); - M = new U(); - } - return R[E] = M, M; - }, S.prototype._verify1 = function(E) { - i(E.negative === 0, "red works only with positives"), i(E.red, "red works only with red numbers"); - }, S.prototype._verify2 = function(E, M) { - i(!(E.negative | M.negative), "red works only with positives"), i(E.red && E.red === M.red, "red works only with red numbers"); - }, S.prototype.imod = function(E) { - return this.prime ? this.prime.ireduce(E)._forceRed(this) : (d(E, E.umod(this.m)._forceRed(this)), E); - }, S.prototype.neg = function(E) { - return E.isZero() ? E.clone() : this.m.sub(E)._forceRed(this); - }, S.prototype.add = function(E, M) { - this._verify2(E, M); - var _ = E.add(M); - return _.cmp(this.m) >= 0 && _.isub(this.m), _._forceRed(this); - }, S.prototype.iadd = function(E, M) { - this._verify2(E, M); - var _ = E.iadd(M); - return _.cmp(this.m) >= 0 && _.isub(this.m), _; - }, S.prototype.sub = function(E, M) { - this._verify2(E, M); - var _ = E.sub(M); - return _.cmpn(0) < 0 && _.iadd(this.m), _._forceRed(this); - }, S.prototype.isub = function(E, M) { - this._verify2(E, M); - var _ = E.isub(M); - return _.cmpn(0) < 0 && _.iadd(this.m), _; - }, S.prototype.shl = function(E, M) { - return this._verify1(E), this.imod(E.ushln(M)); - }, S.prototype.imul = function(E, M) { - return this._verify2(E, M), this.imod(E.imul(M)); - }, S.prototype.mul = function(E, M) { - return this._verify2(E, M), this.imod(E.mul(M)); - }, S.prototype.isqr = function(E) { - return this.imul(E, E.clone()); - }, S.prototype.sqr = function(E) { - return this.mul(E, E); - }, S.prototype.sqrt = function(E) { - if (E.isZero()) return E.clone(); - var M = this.m.andln(3); - if (i(M % 2 == 1), M === 3) { - var _ = this.m.add(new t(1)).iushrn(2); - return this.pow(E, _); - } - for (var w = this.m.subn(1), A = 0; !w.isZero() && w.andln(1) === 0; ) A++, w.iushrn(1); - i(!w.isZero()); - var j = new t(1).toRed(this), V = j.redNeg(), D = this.m.subn(1).iushrn(1), z = this.m.bitLength(); - for (z = new t(2 * z * z).toRed(this); this.pow(z, D).cmp(V) !== 0; ) z.redIAdd(V); - for (var J = this.pow(z, w), G = this.pow(E, w.addn(1).iushrn(1)), Q = this.pow(E, w), ee = A; Q.cmp(j) !== 0; ) { - for (var Z = Q, q = 0; Z.cmp(j) !== 0; q++) Z = Z.redSqr(); - i(q < ee); - var se = this.pow(J, new t(1).iushln(ee - q - 1)); - G = G.redMul(se), J = se.redSqr(), Q = Q.redMul(J), ee = q; - } - return G; - }, S.prototype.invm = function(E) { - var M = E._invmp(this.m); - return M.negative !== 0 ? (M.negative = 0, this.imod(M).redNeg()) : this.imod(M); - }, S.prototype.pow = function(E, M) { - if (M.isZero()) return new t(1).toRed(this); - if (M.cmpn(1) === 0) return E.clone(); - var _ = new Array(16); - _[0] = new t(1).toRed(this), _[1] = E; - for (var w = 2; w < _.length; w++) _[w] = this.mul(_[w - 1], E); - var A = _[0], j = 0, V = 0, D = M.bitLength() % 26; - for (D === 0 && (D = 26), w = M.length - 1; w >= 0; w--) { - for (var z = M.words[w], J = D - 1; J >= 0; J--) { - var G = z >> J & 1; - A !== _[0] && (A = this.sqr(A)), G !== 0 || j !== 0 ? (j <<= 1, j |= G, (++V == 4 || w === 0 && J === 0) && (A = this.mul(A, _[j]), V = 0, j = 0)) : V = 0; - } - D = 26; - } - return A; - }, S.prototype.convertTo = function(E) { - var M = E.umod(this.m); - return M === E ? M.clone() : M; - }, S.prototype.convertFrom = function(E) { - var M = E.clone(); - return M.red = null, M; - }, t.mont = function(E) { - return new T(E); - }, m(T, S), T.prototype.convertTo = function(E) { - return this.imod(E.ushln(this.shift)); - }, T.prototype.convertFrom = function(E) { - var M = this.imod(E.mul(this.rinv)); - return M.red = null, M; - }, T.prototype.imul = function(E, M) { - if (E.isZero() || M.isZero()) return E.words[0] = 0, E.length = 1, E; - var _ = E.imul(M), w = _.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), A = _.isub(w).iushrn(this.shift), j = A; - return A.cmp(this.m) >= 0 ? j = A.isub(this.m) : A.cmpn(0) < 0 && (j = A.iadd(this.m)), j._forceRed(this); - }, T.prototype.mul = function(E, M) { - if (E.isZero() || M.isZero()) return new t(0)._forceRed(this); - var _ = E.mul(M), w = _.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), A = _.isub(w).iushrn(this.shift), j = A; - return A.cmp(this.m) >= 0 ? j = A.isub(this.m) : A.cmpn(0) < 0 && (j = A.iadd(this.m)), j._forceRed(this); - }, T.prototype.invm = function(E) { - return this.imod(E._invmp(this.m).mul(this.r2))._forceRed(this); - }; - })(x = c.nmd(x), this); - }, 5037: (x, n, c) => { - var r; - function a(m) { - this.rand = m; - } - if (x.exports = function(m) { - return r || (r = new a(null)), r.generate(m); - }, x.exports.Rand = a, a.prototype.generate = function(m) { - return this._rand(m); - }, a.prototype._rand = function(m) { - if (this.rand.getBytes) return this.rand.getBytes(m); - for (var t = new Uint8Array(m), f = 0; f < t.length; f++) t[f] = this.rand.getByte(); - return t; - }, typeof self == "object") self.crypto && self.crypto.getRandomValues ? a.prototype._rand = function(m) { - var t = new Uint8Array(m); - return self.crypto.getRandomValues(t), t; - } : self.msCrypto && self.msCrypto.getRandomValues ? a.prototype._rand = function(m) { - var t = new Uint8Array(m); - return self.msCrypto.getRandomValues(t), t; - } : typeof window == "object" && (a.prototype._rand = function() { - throw new Error("Not implemented yet"); - }); - else try { - var i = c(3776); - if (typeof i.randomBytes != "function") throw new Error("Not supported"); - a.prototype._rand = function(m) { - return i.randomBytes(m); - }; - } catch { - } - }, 8287: (x, n, c) => { - const r = c(7526), a = c(251), i = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null; - n.Buffer = f, n.SlowBuffer = function(F) { - return +F != F && (F = 0), f.alloc(+F); - }, n.INSPECT_MAX_BYTES = 50; - const m = 2147483647; - function t(F) { - if (F > m) throw new RangeError('The value "' + F + '" is invalid for option "size"'); - const W = new Uint8Array(F); - return Object.setPrototypeOf(W, f.prototype), W; - } - function f(F, W, K) { - if (typeof F == "number") { - if (typeof W == "string") throw new TypeError('The "string" argument must be of type string. Received type number'); - return u(F); - } - return b(F, W, K); - } - function b(F, W, K) { - if (typeof F == "string") return function(re, pe) { - if (typeof pe == "string" && pe !== "" || (pe = "utf8"), !f.isEncoding(pe)) throw new TypeError("Unknown encoding: " + pe); - const Oe = 0 | v(re, pe); - let xe = t(Oe); - const Re = xe.write(re, pe); - return Re !== Oe && (xe = xe.slice(0, Re)), xe; - }(F, W); - if (ArrayBuffer.isView(F)) return function(re) { - if (Te(re, Uint8Array)) { - const pe = new Uint8Array(re); - return l(pe.buffer, pe.byteOffset, pe.byteLength); - } - return d(re); - }(F); - if (F == null) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof F); - if (Te(F, ArrayBuffer) || F && Te(F.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Te(F, SharedArrayBuffer) || F && Te(F.buffer, SharedArrayBuffer))) return l(F, W, K); - if (typeof F == "number") throw new TypeError('The "value" argument must not be of type number. Received type number'); - const X = F.valueOf && F.valueOf(); - if (X != null && X !== F) return f.from(X, W, K); - const ne = function(re) { - if (f.isBuffer(re)) { - const pe = 0 | s(re.length), Oe = t(pe); - return Oe.length === 0 || re.copy(Oe, 0, 0, pe), Oe; - } - return re.length !== void 0 ? typeof re.length != "number" || Se(re.length) ? t(0) : d(re) : re.type === "Buffer" && Array.isArray(re.data) ? d(re.data) : void 0; - }(F); - if (ne) return ne; - if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof F[Symbol.toPrimitive] == "function") return f.from(F[Symbol.toPrimitive]("string"), W, K); - throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof F); - } - function y(F) { - if (typeof F != "number") throw new TypeError('"size" argument must be of type number'); - if (F < 0) throw new RangeError('The value "' + F + '" is invalid for option "size"'); - } - function u(F) { - return y(F), t(F < 0 ? 0 : 0 | s(F)); - } - function d(F) { - const W = F.length < 0 ? 0 : 0 | s(F.length), K = t(W); - for (let X = 0; X < W; X += 1) K[X] = 255 & F[X]; - return K; - } - function l(F, W, K) { - if (W < 0 || F.byteLength < W) throw new RangeError('"offset" is outside of buffer bounds'); - if (F.byteLength < W + (K || 0)) throw new RangeError('"length" is outside of buffer bounds'); - let X; - return X = W === void 0 && K === void 0 ? new Uint8Array(F) : K === void 0 ? new Uint8Array(F, W) : new Uint8Array(F, W, K), Object.setPrototypeOf(X, f.prototype), X; - } - function s(F) { - if (F >= m) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + m.toString(16) + " bytes"); - return 0 | F; - } - function v(F, W) { - if (f.isBuffer(F)) return F.length; - if (ArrayBuffer.isView(F) || Te(F, ArrayBuffer)) return F.byteLength; - if (typeof F != "string") throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof F); - const K = F.length, X = arguments.length > 2 && arguments[2] === !0; - if (!X && K === 0) return 0; - let ne = !1; - for (; ; ) switch (W) { - case "ascii": - case "latin1": - case "binary": - return K; - case "utf8": - case "utf-8": - return ce(F).length; - case "ucs2": - case "ucs-2": - case "utf16le": - case "utf-16le": - return 2 * K; - case "hex": - return K >>> 1; - case "base64": - return ie(F).length; - default: - if (ne) return X ? -1 : ce(F).length; - W = ("" + W).toLowerCase(), ne = !0; - } - } - function p(F, W, K) { - let X = !1; - if ((W === void 0 || W < 0) && (W = 0), W > this.length || ((K === void 0 || K > this.length) && (K = this.length), K <= 0) || (K >>>= 0) <= (W >>>= 0)) return ""; - for (F || (F = "utf8"); ; ) switch (F) { - case "hex": - return M(this, W, K); - case "utf8": - case "utf-8": - return U(this, W, K); - case "ascii": - return T(this, W, K); - case "latin1": - case "binary": - return E(this, W, K); - case "base64": - return H(this, W, K); - case "ucs2": - case "ucs-2": - case "utf16le": - case "utf-16le": - return _(this, W, K); - default: - if (X) throw new TypeError("Unknown encoding: " + F); - F = (F + "").toLowerCase(), X = !0; - } - } - function h(F, W, K) { - const X = F[W]; - F[W] = F[K], F[K] = X; - } - function O(F, W, K, X, ne) { - if (F.length === 0) return -1; - if (typeof K == "string" ? (X = K, K = 0) : K > 2147483647 ? K = 2147483647 : K < -2147483648 && (K = -2147483648), Se(K = +K) && (K = ne ? 0 : F.length - 1), K < 0 && (K = F.length + K), K >= F.length) { - if (ne) return -1; - K = F.length - 1; - } else if (K < 0) { - if (!ne) return -1; - K = 0; - } - if (typeof W == "string" && (W = f.from(W, X)), f.isBuffer(W)) return W.length === 0 ? -1 : I(F, W, K, X, ne); - if (typeof W == "number") return W &= 255, typeof Uint8Array.prototype.indexOf == "function" ? ne ? Uint8Array.prototype.indexOf.call(F, W, K) : Uint8Array.prototype.lastIndexOf.call(F, W, K) : I(F, [W], K, X, ne); - throw new TypeError("val must be string, number or Buffer"); - } - function I(F, W, K, X, ne) { - let re, pe = 1, Oe = F.length, xe = W.length; - if (X !== void 0 && ((X = String(X).toLowerCase()) === "ucs2" || X === "ucs-2" || X === "utf16le" || X === "utf-16le")) { - if (F.length < 2 || W.length < 2) return -1; - pe = 2, Oe /= 2, xe /= 2, K /= 2; - } - function Re(De, Le) { - return pe === 1 ? De[Le] : De.readUInt16BE(Le * pe); - } - if (ne) { - let De = -1; - for (re = K; re < Oe; re++) if (Re(F, re) === Re(W, De === -1 ? 0 : re - De)) { - if (De === -1 && (De = re), re - De + 1 === xe) return De * pe; - } else De !== -1 && (re -= re - De), De = -1; - } else for (K + xe > Oe && (K = Oe - xe), re = K; re >= 0; re--) { - let De = !0; - for (let Le = 0; Le < xe; Le++) if (Re(F, re + Le) !== Re(W, Le)) { - De = !1; - break; - } - if (De) return re; - } - return -1; - } - function k(F, W, K, X) { - K = Number(K) || 0; - const ne = F.length - K; - X ? (X = Number(X)) > ne && (X = ne) : X = ne; - const re = W.length; - let pe; - for (X > re / 2 && (X = re / 2), pe = 0; pe < X; ++pe) { - const Oe = parseInt(W.substr(2 * pe, 2), 16); - if (Se(Oe)) return pe; - F[K + pe] = Oe; - } - return pe; - } - function R(F, W, K, X) { - return fe(ce(W, F.length - K), F, K, X); - } - function L(F, W, K, X) { - return fe(function(ne) { - const re = []; - for (let pe = 0; pe < ne.length; ++pe) re.push(255 & ne.charCodeAt(pe)); - return re; - }(W), F, K, X); - } - function N(F, W, K, X) { - return fe(ie(W), F, K, X); - } - function B(F, W, K, X) { - return fe(function(ne, re) { - let pe, Oe, xe; - const Re = []; - for (let De = 0; De < ne.length && !((re -= 2) < 0); ++De) pe = ne.charCodeAt(De), Oe = pe >> 8, xe = pe % 256, Re.push(xe), Re.push(Oe); - return Re; - }(W, F.length - K), F, K, X); - } - function H(F, W, K) { - return W === 0 && K === F.length ? r.fromByteArray(F) : r.fromByteArray(F.slice(W, K)); - } - function U(F, W, K) { - K = Math.min(F.length, K); - const X = []; - let ne = W; - for (; ne < K; ) { - const re = F[ne]; - let pe = null, Oe = re > 239 ? 4 : re > 223 ? 3 : re > 191 ? 2 : 1; - if (ne + Oe <= K) { - let xe, Re, De, Le; - switch (Oe) { - case 1: - re < 128 && (pe = re); - break; - case 2: - xe = F[ne + 1], (192 & xe) == 128 && (Le = (31 & re) << 6 | 63 & xe, Le > 127 && (pe = Le)); - break; - case 3: - xe = F[ne + 1], Re = F[ne + 2], (192 & xe) == 128 && (192 & Re) == 128 && (Le = (15 & re) << 12 | (63 & xe) << 6 | 63 & Re, Le > 2047 && (Le < 55296 || Le > 57343) && (pe = Le)); - break; - case 4: - xe = F[ne + 1], Re = F[ne + 2], De = F[ne + 3], (192 & xe) == 128 && (192 & Re) == 128 && (192 & De) == 128 && (Le = (15 & re) << 18 | (63 & xe) << 12 | (63 & Re) << 6 | 63 & De, Le > 65535 && Le < 1114112 && (pe = Le)); - } - } - pe === null ? (pe = 65533, Oe = 1) : pe > 65535 && (pe -= 65536, X.push(pe >>> 10 & 1023 | 55296), pe = 56320 | 1023 & pe), X.push(pe), ne += Oe; - } - return function(re) { - const pe = re.length; - if (pe <= S) return String.fromCharCode.apply(String, re); - let Oe = "", xe = 0; - for (; xe < pe; ) Oe += String.fromCharCode.apply(String, re.slice(xe, xe += S)); - return Oe; - }(X); - } - n.kMaxLength = m, f.TYPED_ARRAY_SUPPORT = function() { - try { - const F = new Uint8Array(1), W = { foo: function() { - return 42; - } }; - return Object.setPrototypeOf(W, Uint8Array.prototype), Object.setPrototypeOf(F, W), F.foo() === 42; - } catch { - return !1; - } - }(), f.TYPED_ARRAY_SUPPORT || typeof console > "u" || typeof console.error != "function" || console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."), Object.defineProperty(f.prototype, "parent", { enumerable: !0, get: function() { - if (f.isBuffer(this)) return this.buffer; - } }), Object.defineProperty(f.prototype, "offset", { enumerable: !0, get: function() { - if (f.isBuffer(this)) return this.byteOffset; - } }), f.poolSize = 8192, f.from = function(F, W, K) { - return b(F, W, K); - }, Object.setPrototypeOf(f.prototype, Uint8Array.prototype), Object.setPrototypeOf(f, Uint8Array), f.alloc = function(F, W, K) { - return function(X, ne, re) { - return y(X), X <= 0 ? t(X) : ne !== void 0 ? typeof re == "string" ? t(X).fill(ne, re) : t(X).fill(ne) : t(X); - }(F, W, K); - }, f.allocUnsafe = function(F) { - return u(F); - }, f.allocUnsafeSlow = function(F) { - return u(F); - }, f.isBuffer = function(F) { - return F != null && F._isBuffer === !0 && F !== f.prototype; - }, f.compare = function(F, W) { - if (Te(F, Uint8Array) && (F = f.from(F, F.offset, F.byteLength)), Te(W, Uint8Array) && (W = f.from(W, W.offset, W.byteLength)), !f.isBuffer(F) || !f.isBuffer(W)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'); - if (F === W) return 0; - let K = F.length, X = W.length; - for (let ne = 0, re = Math.min(K, X); ne < re; ++ne) if (F[ne] !== W[ne]) { - K = F[ne], X = W[ne]; - break; - } - return K < X ? -1 : X < K ? 1 : 0; - }, f.isEncoding = function(F) { - switch (String(F).toLowerCase()) { - case "hex": - case "utf8": - case "utf-8": - case "ascii": - case "latin1": - case "binary": - case "base64": - case "ucs2": - case "ucs-2": - case "utf16le": - case "utf-16le": - return !0; - default: - return !1; - } - }, f.concat = function(F, W) { - if (!Array.isArray(F)) throw new TypeError('"list" argument must be an Array of Buffers'); - if (F.length === 0) return f.alloc(0); - let K; - if (W === void 0) for (W = 0, K = 0; K < F.length; ++K) W += F[K].length; - const X = f.allocUnsafe(W); - let ne = 0; - for (K = 0; K < F.length; ++K) { - let re = F[K]; - if (Te(re, Uint8Array)) ne + re.length > X.length ? (f.isBuffer(re) || (re = f.from(re)), re.copy(X, ne)) : Uint8Array.prototype.set.call(X, re, ne); - else { - if (!f.isBuffer(re)) throw new TypeError('"list" argument must be an Array of Buffers'); - re.copy(X, ne); - } - ne += re.length; - } - return X; - }, f.byteLength = v, f.prototype._isBuffer = !0, f.prototype.swap16 = function() { - const F = this.length; - if (F % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); - for (let W = 0; W < F; W += 2) h(this, W, W + 1); + return re; + }, f.byteLength = y, f.prototype._isBuffer = !0, f.prototype.swap16 = function() { + const z = this.length; + if (z % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); + for (let J = 0; J < z; J += 2) b(this, J, J + 1); return this; }, f.prototype.swap32 = function() { - const F = this.length; - if (F % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); - for (let W = 0; W < F; W += 4) h(this, W, W + 3), h(this, W + 1, W + 2); + const z = this.length; + if (z % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); + for (let J = 0; J < z; J += 4) b(this, J, J + 3), b(this, J + 1, J + 2); return this; }, f.prototype.swap64 = function() { - const F = this.length; - if (F % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); - for (let W = 0; W < F; W += 8) h(this, W, W + 7), h(this, W + 1, W + 6), h(this, W + 2, W + 5), h(this, W + 3, W + 4); + const z = this.length; + if (z % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); + for (let J = 0; J < z; J += 8) b(this, J, J + 7), b(this, J + 1, J + 6), b(this, J + 2, J + 5), b(this, J + 3, J + 4); return this; }, f.prototype.toString = function() { - const F = this.length; - return F === 0 ? "" : arguments.length === 0 ? U(this, 0, F) : p.apply(this, arguments); - }, f.prototype.toLocaleString = f.prototype.toString, f.prototype.equals = function(F) { - if (!f.isBuffer(F)) throw new TypeError("Argument must be a Buffer"); - return this === F || f.compare(this, F) === 0; + const z = this.length; + return z === 0 ? "" : arguments.length === 0 ? k(this, 0, z) : d.apply(this, arguments); + }, f.prototype.toLocaleString = f.prototype.toString, f.prototype.equals = function(z) { + if (!f.isBuffer(z)) throw new TypeError("Argument must be a Buffer"); + return this === z || f.compare(this, z) === 0; }, f.prototype.inspect = function() { - let F = ""; - const W = n.INSPECT_MAX_BYTES; - return F = this.toString("hex", 0, W).replace(/(.{2})/g, "$1 ").trim(), this.length > W && (F += " ... "), ""; - }, i && (f.prototype[i] = f.prototype.inspect), f.prototype.compare = function(F, W, K, X, ne) { - if (Te(F, Uint8Array) && (F = f.from(F, F.offset, F.byteLength)), !f.isBuffer(F)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof F); - if (W === void 0 && (W = 0), K === void 0 && (K = F ? F.length : 0), X === void 0 && (X = 0), ne === void 0 && (ne = this.length), W < 0 || K > F.length || X < 0 || ne > this.length) throw new RangeError("out of range index"); - if (X >= ne && W >= K) return 0; - if (X >= ne) return -1; - if (W >= K) return 1; - if (this === F) return 0; - let re = (ne >>>= 0) - (X >>>= 0), pe = (K >>>= 0) - (W >>>= 0); - const Oe = Math.min(re, pe), xe = this.slice(X, ne), Re = F.slice(W, K); - for (let De = 0; De < Oe; ++De) if (xe[De] !== Re[De]) { - re = xe[De], pe = Re[De]; + let z = ""; + const J = n.INSPECT_MAX_BYTES; + return z = this.toString("hex", 0, J).replace(/(.{2})/g, "$1 ").trim(), this.length > J && (z += " ... "), ""; + }, i && (f.prototype[i] = f.prototype.inspect), f.prototype.compare = function(z, J, q, re, $) { + if (Oe(z, Uint8Array) && (z = f.from(z, z.offset, z.byteLength)), !f.isBuffer(z)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof z); + if (J === void 0 && (J = 0), q === void 0 && (q = z ? z.length : 0), re === void 0 && (re = 0), $ === void 0 && ($ = this.length), J < 0 || q > z.length || re < 0 || $ > this.length) throw new RangeError("out of range index"); + if (re >= $ && J >= q) return 0; + if (re >= $) return -1; + if (J >= q) return 1; + if (this === z) return 0; + let Y = ($ >>>= 0) - (re >>>= 0), ce = (q >>>= 0) - (J >>>= 0); + const ye = Math.min(Y, ce), ve = this.slice(re, $), Ee = z.slice(J, q); + for (let Ie = 0; Ie < ye; ++Ie) if (ve[Ie] !== Ee[Ie]) { + Y = ve[Ie], ce = Ee[Ie]; break; } - return re < pe ? -1 : pe < re ? 1 : 0; - }, f.prototype.includes = function(F, W, K) { - return this.indexOf(F, W, K) !== -1; - }, f.prototype.indexOf = function(F, W, K) { - return O(this, F, W, K, !0); - }, f.prototype.lastIndexOf = function(F, W, K) { - return O(this, F, W, K, !1); - }, f.prototype.write = function(F, W, K, X) { - if (W === void 0) X = "utf8", K = this.length, W = 0; - else if (K === void 0 && typeof W == "string") X = W, K = this.length, W = 0; + return Y < ce ? -1 : ce < Y ? 1 : 0; + }, f.prototype.includes = function(z, J, q) { + return this.indexOf(z, J, q) !== -1; + }, f.prototype.indexOf = function(z, J, q) { + return _(this, z, J, q, !0); + }, f.prototype.lastIndexOf = function(z, J, q) { + return _(this, z, J, q, !1); + }, f.prototype.write = function(z, J, q, re) { + if (J === void 0) re = "utf8", q = this.length, J = 0; + else if (q === void 0 && typeof J == "string") re = J, q = this.length, J = 0; else { - if (!isFinite(W)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); - W >>>= 0, isFinite(K) ? (K >>>= 0, X === void 0 && (X = "utf8")) : (X = K, K = void 0); + if (!isFinite(J)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); + J >>>= 0, isFinite(q) ? (q >>>= 0, re === void 0 && (re = "utf8")) : (re = q, q = void 0); } - const ne = this.length - W; - if ((K === void 0 || K > ne) && (K = ne), F.length > 0 && (K < 0 || W < 0) || W > this.length) throw new RangeError("Attempt to write outside buffer bounds"); - X || (X = "utf8"); - let re = !1; - for (; ; ) switch (X) { + const $ = this.length - J; + if ((q === void 0 || q > $) && (q = $), z.length > 0 && (q < 0 || J < 0) || J > this.length) throw new RangeError("Attempt to write outside buffer bounds"); + re || (re = "utf8"); + let Y = !1; + for (; ; ) switch (re) { case "hex": - return k(this, F, W, K); + return B(this, z, J, q); case "utf8": case "utf-8": - return R(this, F, W, K); + return O(this, z, J, q); case "ascii": case "latin1": case "binary": - return L(this, F, W, K); + return I(this, z, J, q); case "base64": - return N(this, F, W, K); + return x(this, z, J, q); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return B(this, F, W, K); + return A(this, z, J, q); default: - if (re) throw new TypeError("Unknown encoding: " + X); - X = ("" + X).toLowerCase(), re = !0; + if (Y) throw new TypeError("Unknown encoding: " + re); + re = ("" + re).toLowerCase(), Y = !0; } }, f.prototype.toJSON = function() { return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) }; }; - const S = 4096; - function T(F, W, K) { - let X = ""; - K = Math.min(F.length, K); - for (let ne = W; ne < K; ++ne) X += String.fromCharCode(127 & F[ne]); - return X; - } - function E(F, W, K) { - let X = ""; - K = Math.min(F.length, K); - for (let ne = W; ne < K; ++ne) X += String.fromCharCode(F[ne]); - return X; - } - function M(F, W, K) { - const X = F.length; - (!W || W < 0) && (W = 0), (!K || K < 0 || K > X) && (K = X); - let ne = ""; - for (let re = W; re < K; ++re) ne += te[F[re]]; - return ne; + const j = 4096; + function D(z, J, q) { + let re = ""; + q = Math.min(z.length, q); + for (let $ = J; $ < q; ++$) re += String.fromCharCode(127 & z[$]); + return re; } - function _(F, W, K) { - const X = F.slice(W, K); - let ne = ""; - for (let re = 0; re < X.length - 1; re += 2) ne += String.fromCharCode(X[re] + 256 * X[re + 1]); - return ne; + function T(z, J, q) { + let re = ""; + q = Math.min(z.length, q); + for (let $ = J; $ < q; ++$) re += String.fromCharCode(z[$]); + return re; } - function w(F, W, K) { - if (F % 1 != 0 || F < 0) throw new RangeError("offset is not uint"); - if (F + W > K) throw new RangeError("Trying to access beyond buffer length"); - } - function A(F, W, K, X, ne, re) { - if (!f.isBuffer(F)) throw new TypeError('"buffer" argument must be a Buffer instance'); - if (W > ne || W < re) throw new RangeError('"value" argument is out of bounds'); - if (K + X > F.length) throw new RangeError("Index out of range"); - } - function j(F, W, K, X, ne) { - Z(W, X, ne, F, K, 7); - let re = Number(W & BigInt(4294967295)); - F[K++] = re, re >>= 8, F[K++] = re, re >>= 8, F[K++] = re, re >>= 8, F[K++] = re; - let pe = Number(W >> BigInt(32) & BigInt(4294967295)); - return F[K++] = pe, pe >>= 8, F[K++] = pe, pe >>= 8, F[K++] = pe, pe >>= 8, F[K++] = pe, K; - } - function V(F, W, K, X, ne) { - Z(W, X, ne, F, K, 7); - let re = Number(W & BigInt(4294967295)); - F[K + 7] = re, re >>= 8, F[K + 6] = re, re >>= 8, F[K + 5] = re, re >>= 8, F[K + 4] = re; - let pe = Number(W >> BigInt(32) & BigInt(4294967295)); - return F[K + 3] = pe, pe >>= 8, F[K + 2] = pe, pe >>= 8, F[K + 1] = pe, pe >>= 8, F[K] = pe, K + 8; - } - function D(F, W, K, X, ne, re) { - if (K + X > F.length) throw new RangeError("Index out of range"); - if (K < 0) throw new RangeError("Index out of range"); - } - function z(F, W, K, X, ne) { - return W = +W, K >>>= 0, ne || D(F, 0, K, 4), a.write(F, W, K, X, 23, 4), K + 4; - } - function J(F, W, K, X, ne) { - return W = +W, K >>>= 0, ne || D(F, 0, K, 8), a.write(F, W, K, X, 52, 8), K + 8; - } - f.prototype.slice = function(F, W) { - const K = this.length; - (F = ~~F) < 0 ? (F += K) < 0 && (F = 0) : F > K && (F = K), (W = W === void 0 ? K : ~~W) < 0 ? (W += K) < 0 && (W = 0) : W > K && (W = K), W < F && (W = F); - const X = this.subarray(F, W); - return Object.setPrototypeOf(X, f.prototype), X; - }, f.prototype.readUintLE = f.prototype.readUIntLE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); - let X = this[F], ne = 1, re = 0; - for (; ++re < W && (ne *= 256); ) X += this[F + re] * ne; - return X; - }, f.prototype.readUintBE = f.prototype.readUIntBE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); - let X = this[F + --W], ne = 1; - for (; W > 0 && (ne *= 256); ) X += this[F + --W] * ne; - return X; - }, f.prototype.readUint8 = f.prototype.readUInt8 = function(F, W) { - return F >>>= 0, W || w(F, 1, this.length), this[F]; - }, f.prototype.readUint16LE = f.prototype.readUInt16LE = function(F, W) { - return F >>>= 0, W || w(F, 2, this.length), this[F] | this[F + 1] << 8; - }, f.prototype.readUint16BE = f.prototype.readUInt16BE = function(F, W) { - return F >>>= 0, W || w(F, 2, this.length), this[F] << 8 | this[F + 1]; - }, f.prototype.readUint32LE = f.prototype.readUInt32LE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), (this[F] | this[F + 1] << 8 | this[F + 2] << 16) + 16777216 * this[F + 3]; - }, f.prototype.readUint32BE = f.prototype.readUInt32BE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), 16777216 * this[F] + (this[F + 1] << 16 | this[F + 2] << 8 | this[F + 3]); - }, f.prototype.readBigUInt64LE = ye(function(F) { - q(F >>>= 0, "offset"); - const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); - const X = W + 256 * this[++F] + 65536 * this[++F] + this[++F] * 2 ** 24, ne = this[++F] + 256 * this[++F] + 65536 * this[++F] + K * 2 ** 24; - return BigInt(X) + (BigInt(ne) << BigInt(32)); - }), f.prototype.readBigUInt64BE = ye(function(F) { - q(F >>>= 0, "offset"); - const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); - const X = W * 2 ** 24 + 65536 * this[++F] + 256 * this[++F] + this[++F], ne = this[++F] * 2 ** 24 + 65536 * this[++F] + 256 * this[++F] + K; - return (BigInt(X) << BigInt(32)) + BigInt(ne); - }), f.prototype.readIntLE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); - let X = this[F], ne = 1, re = 0; - for (; ++re < W && (ne *= 256); ) X += this[F + re] * ne; - return ne *= 128, X >= ne && (X -= Math.pow(2, 8 * W)), X; - }, f.prototype.readIntBE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); - let X = W, ne = 1, re = this[F + --X]; - for (; X > 0 && (ne *= 256); ) re += this[F + --X] * ne; - return ne *= 128, re >= ne && (re -= Math.pow(2, 8 * W)), re; - }, f.prototype.readInt8 = function(F, W) { - return F >>>= 0, W || w(F, 1, this.length), 128 & this[F] ? -1 * (255 - this[F] + 1) : this[F]; - }, f.prototype.readInt16LE = function(F, W) { - F >>>= 0, W || w(F, 2, this.length); - const K = this[F] | this[F + 1] << 8; - return 32768 & K ? 4294901760 | K : K; - }, f.prototype.readInt16BE = function(F, W) { - F >>>= 0, W || w(F, 2, this.length); - const K = this[F + 1] | this[F] << 8; - return 32768 & K ? 4294901760 | K : K; - }, f.prototype.readInt32LE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), this[F] | this[F + 1] << 8 | this[F + 2] << 16 | this[F + 3] << 24; - }, f.prototype.readInt32BE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), this[F] << 24 | this[F + 1] << 16 | this[F + 2] << 8 | this[F + 3]; - }, f.prototype.readBigInt64LE = ye(function(F) { - q(F >>>= 0, "offset"); - const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); - const X = this[F + 4] + 256 * this[F + 5] + 65536 * this[F + 6] + (K << 24); - return (BigInt(X) << BigInt(32)) + BigInt(W + 256 * this[++F] + 65536 * this[++F] + this[++F] * 16777216); - }), f.prototype.readBigInt64BE = ye(function(F) { - q(F >>>= 0, "offset"); - const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); - const X = (W << 24) + 65536 * this[++F] + 256 * this[++F] + this[++F]; - return (BigInt(X) << BigInt(32)) + BigInt(this[++F] * 16777216 + 65536 * this[++F] + 256 * this[++F] + K); - }), f.prototype.readFloatLE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), a.read(this, F, !0, 23, 4); - }, f.prototype.readFloatBE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), a.read(this, F, !1, 23, 4); - }, f.prototype.readDoubleLE = function(F, W) { - return F >>>= 0, W || w(F, 8, this.length), a.read(this, F, !0, 52, 8); - }, f.prototype.readDoubleBE = function(F, W) { - return F >>>= 0, W || w(F, 8, this.length), a.read(this, F, !1, 52, 8); - }, f.prototype.writeUintLE = f.prototype.writeUIntLE = function(F, W, K, X) { - F = +F, W >>>= 0, K >>>= 0, X || A(this, F, W, K, Math.pow(2, 8 * K) - 1, 0); - let ne = 1, re = 0; - for (this[W] = 255 & F; ++re < K && (ne *= 256); ) this[W + re] = F / ne & 255; - return W + K; - }, f.prototype.writeUintBE = f.prototype.writeUIntBE = function(F, W, K, X) { - F = +F, W >>>= 0, K >>>= 0, X || A(this, F, W, K, Math.pow(2, 8 * K) - 1, 0); - let ne = K - 1, re = 1; - for (this[W + ne] = 255 & F; --ne >= 0 && (re *= 256); ) this[W + ne] = F / re & 255; - return W + K; - }, f.prototype.writeUint8 = f.prototype.writeUInt8 = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 1, 255, 0), this[W] = 255 & F, W + 1; - }, f.prototype.writeUint16LE = f.prototype.writeUInt16LE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 2, 65535, 0), this[W] = 255 & F, this[W + 1] = F >>> 8, W + 2; - }, f.prototype.writeUint16BE = f.prototype.writeUInt16BE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 2, 65535, 0), this[W] = F >>> 8, this[W + 1] = 255 & F, W + 2; - }, f.prototype.writeUint32LE = f.prototype.writeUInt32LE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 4, 4294967295, 0), this[W + 3] = F >>> 24, this[W + 2] = F >>> 16, this[W + 1] = F >>> 8, this[W] = 255 & F, W + 4; - }, f.prototype.writeUint32BE = f.prototype.writeUInt32BE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 4, 4294967295, 0), this[W] = F >>> 24, this[W + 1] = F >>> 16, this[W + 2] = F >>> 8, this[W + 3] = 255 & F, W + 4; - }, f.prototype.writeBigUInt64LE = ye(function(F, W = 0) { - return j(this, F, W, BigInt(0), BigInt("0xffffffffffffffff")); - }), f.prototype.writeBigUInt64BE = ye(function(F, W = 0) { - return V(this, F, W, BigInt(0), BigInt("0xffffffffffffffff")); - }), f.prototype.writeIntLE = function(F, W, K, X) { - if (F = +F, W >>>= 0, !X) { - const Oe = Math.pow(2, 8 * K - 1); - A(this, F, W, K, Oe - 1, -Oe); - } - let ne = 0, re = 1, pe = 0; - for (this[W] = 255 & F; ++ne < K && (re *= 256); ) F < 0 && pe === 0 && this[W + ne - 1] !== 0 && (pe = 1), this[W + ne] = (F / re | 0) - pe & 255; - return W + K; - }, f.prototype.writeIntBE = function(F, W, K, X) { - if (F = +F, W >>>= 0, !X) { - const Oe = Math.pow(2, 8 * K - 1); - A(this, F, W, K, Oe - 1, -Oe); - } - let ne = K - 1, re = 1, pe = 0; - for (this[W + ne] = 255 & F; --ne >= 0 && (re *= 256); ) F < 0 && pe === 0 && this[W + ne + 1] !== 0 && (pe = 1), this[W + ne] = (F / re | 0) - pe & 255; - return W + K; - }, f.prototype.writeInt8 = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 1, 127, -128), F < 0 && (F = 255 + F + 1), this[W] = 255 & F, W + 1; - }, f.prototype.writeInt16LE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 2, 32767, -32768), this[W] = 255 & F, this[W + 1] = F >>> 8, W + 2; - }, f.prototype.writeInt16BE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 2, 32767, -32768), this[W] = F >>> 8, this[W + 1] = 255 & F, W + 2; - }, f.prototype.writeInt32LE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 4, 2147483647, -2147483648), this[W] = 255 & F, this[W + 1] = F >>> 8, this[W + 2] = F >>> 16, this[W + 3] = F >>> 24, W + 4; - }, f.prototype.writeInt32BE = function(F, W, K) { - return F = +F, W >>>= 0, K || A(this, F, W, 4, 2147483647, -2147483648), F < 0 && (F = 4294967295 + F + 1), this[W] = F >>> 24, this[W + 1] = F >>> 16, this[W + 2] = F >>> 8, this[W + 3] = 255 & F, W + 4; - }, f.prototype.writeBigInt64LE = ye(function(F, W = 0) { - return j(this, F, W, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); - }), f.prototype.writeBigInt64BE = ye(function(F, W = 0) { - return V(this, F, W, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); - }), f.prototype.writeFloatLE = function(F, W, K) { - return z(this, F, W, !0, K); - }, f.prototype.writeFloatBE = function(F, W, K) { - return z(this, F, W, !1, K); - }, f.prototype.writeDoubleLE = function(F, W, K) { - return J(this, F, W, !0, K); - }, f.prototype.writeDoubleBE = function(F, W, K) { - return J(this, F, W, !1, K); - }, f.prototype.copy = function(F, W, K, X) { - if (!f.isBuffer(F)) throw new TypeError("argument should be a Buffer"); - if (K || (K = 0), X || X === 0 || (X = this.length), W >= F.length && (W = F.length), W || (W = 0), X > 0 && X < K && (X = K), X === K || F.length === 0 || this.length === 0) return 0; - if (W < 0) throw new RangeError("targetStart out of bounds"); - if (K < 0 || K >= this.length) throw new RangeError("Index out of range"); - if (X < 0) throw new RangeError("sourceEnd out of bounds"); - X > this.length && (X = this.length), F.length - W < X - K && (X = F.length - W + K); - const ne = X - K; - return this === F && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(W, K, X) : Uint8Array.prototype.set.call(F, this.subarray(K, X), W), ne; - }, f.prototype.fill = function(F, W, K, X) { - if (typeof F == "string") { - if (typeof W == "string" ? (X = W, W = 0, K = this.length) : typeof K == "string" && (X = K, K = this.length), X !== void 0 && typeof X != "string") throw new TypeError("encoding must be a string"); - if (typeof X == "string" && !f.isEncoding(X)) throw new TypeError("Unknown encoding: " + X); - if (F.length === 1) { - const re = F.charCodeAt(0); - (X === "utf8" && re < 128 || X === "latin1") && (F = re); - } - } else typeof F == "number" ? F &= 255 : typeof F == "boolean" && (F = Number(F)); - if (W < 0 || this.length < W || this.length < K) throw new RangeError("Out of range index"); - if (K <= W) return this; - let ne; - if (W >>>= 0, K = K === void 0 ? this.length : K >>> 0, F || (F = 0), typeof F == "number") for (ne = W; ne < K; ++ne) this[ne] = F; + function L(z, J, q) { + const re = z.length; + (!J || J < 0) && (J = 0), (!q || q < 0 || q > re) && (q = re); + let $ = ""; + for (let Y = J; Y < q; ++Y) $ += G[z[Y]]; + return $; + } + function R(z, J, q) { + const re = z.slice(J, q); + let $ = ""; + for (let Y = 0; Y < re.length - 1; Y += 2) $ += String.fromCharCode(re[Y] + 256 * re[Y + 1]); + return $; + } + function M(z, J, q) { + if (z % 1 != 0 || z < 0) throw new RangeError("offset is not uint"); + if (z + J > q) throw new RangeError("Trying to access beyond buffer length"); + } + function P(z, J, q, re, $, Y) { + if (!f.isBuffer(z)) throw new TypeError('"buffer" argument must be a Buffer instance'); + if (J > $ || J < Y) throw new RangeError('"value" argument is out of bounds'); + if (q + re > z.length) throw new RangeError("Index out of range"); + } + function H(z, J, q, re, $) { + X(J, re, $, z, q, 7); + let Y = Number(J & BigInt(4294967295)); + z[q++] = Y, Y >>= 8, z[q++] = Y, Y >>= 8, z[q++] = Y, Y >>= 8, z[q++] = Y; + let ce = Number(J >> BigInt(32) & BigInt(4294967295)); + return z[q++] = ce, ce >>= 8, z[q++] = ce, ce >>= 8, z[q++] = ce, ce >>= 8, z[q++] = ce, q; + } + function K(z, J, q, re, $) { + X(J, re, $, z, q, 7); + let Y = Number(J & BigInt(4294967295)); + z[q + 7] = Y, Y >>= 8, z[q + 6] = Y, Y >>= 8, z[q + 5] = Y, Y >>= 8, z[q + 4] = Y; + let ce = Number(J >> BigInt(32) & BigInt(4294967295)); + return z[q + 3] = ce, ce >>= 8, z[q + 2] = ce, ce >>= 8, z[q + 1] = ce, ce >>= 8, z[q] = ce, q + 8; + } + function V(z, J, q, re, $, Y) { + if (q + re > z.length) throw new RangeError("Index out of range"); + if (q < 0) throw new RangeError("Index out of range"); + } + function U(z, J, q, re, $) { + return J = +J, q >>>= 0, $ || V(z, 0, q, 4), o.write(z, J, q, re, 23, 4), q + 4; + } + function F(z, J, q, re, $) { + return J = +J, q >>>= 0, $ || V(z, 0, q, 8), o.write(z, J, q, re, 52, 8), q + 8; + } + f.prototype.slice = function(z, J) { + const q = this.length; + (z = ~~z) < 0 ? (z += q) < 0 && (z = 0) : z > q && (z = q), (J = J === void 0 ? q : ~~J) < 0 ? (J += q) < 0 && (J = 0) : J > q && (J = q), J < z && (J = z); + const re = this.subarray(z, J); + return Object.setPrototypeOf(re, f.prototype), re; + }, f.prototype.readUintLE = f.prototype.readUIntLE = function(z, J, q) { + z >>>= 0, J >>>= 0, q || M(z, J, this.length); + let re = this[z], $ = 1, Y = 0; + for (; ++Y < J && ($ *= 256); ) re += this[z + Y] * $; + return re; + }, f.prototype.readUintBE = f.prototype.readUIntBE = function(z, J, q) { + z >>>= 0, J >>>= 0, q || M(z, J, this.length); + let re = this[z + --J], $ = 1; + for (; J > 0 && ($ *= 256); ) re += this[z + --J] * $; + return re; + }, f.prototype.readUint8 = f.prototype.readUInt8 = function(z, J) { + return z >>>= 0, J || M(z, 1, this.length), this[z]; + }, f.prototype.readUint16LE = f.prototype.readUInt16LE = function(z, J) { + return z >>>= 0, J || M(z, 2, this.length), this[z] | this[z + 1] << 8; + }, f.prototype.readUint16BE = f.prototype.readUInt16BE = function(z, J) { + return z >>>= 0, J || M(z, 2, this.length), this[z] << 8 | this[z + 1]; + }, f.prototype.readUint32LE = f.prototype.readUInt32LE = function(z, J) { + return z >>>= 0, J || M(z, 4, this.length), (this[z] | this[z + 1] << 8 | this[z + 2] << 16) + 16777216 * this[z + 3]; + }, f.prototype.readUint32BE = f.prototype.readUInt32BE = function(z, J) { + return z >>>= 0, J || M(z, 4, this.length), 16777216 * this[z] + (this[z + 1] << 16 | this[z + 2] << 8 | this[z + 3]); + }, f.prototype.readBigUInt64LE = ie(function(z) { + Z(z >>>= 0, "offset"); + const J = this[z], q = this[z + 7]; + J !== void 0 && q !== void 0 || fe(z, this.length - 8); + const re = J + 256 * this[++z] + 65536 * this[++z] + this[++z] * 2 ** 24, $ = this[++z] + 256 * this[++z] + 65536 * this[++z] + q * 2 ** 24; + return BigInt(re) + (BigInt($) << BigInt(32)); + }), f.prototype.readBigUInt64BE = ie(function(z) { + Z(z >>>= 0, "offset"); + const J = this[z], q = this[z + 7]; + J !== void 0 && q !== void 0 || fe(z, this.length - 8); + const re = J * 2 ** 24 + 65536 * this[++z] + 256 * this[++z] + this[++z], $ = this[++z] * 2 ** 24 + 65536 * this[++z] + 256 * this[++z] + q; + return (BigInt(re) << BigInt(32)) + BigInt($); + }), f.prototype.readIntLE = function(z, J, q) { + z >>>= 0, J >>>= 0, q || M(z, J, this.length); + let re = this[z], $ = 1, Y = 0; + for (; ++Y < J && ($ *= 256); ) re += this[z + Y] * $; + return $ *= 128, re >= $ && (re -= Math.pow(2, 8 * J)), re; + }, f.prototype.readIntBE = function(z, J, q) { + z >>>= 0, J >>>= 0, q || M(z, J, this.length); + let re = J, $ = 1, Y = this[z + --re]; + for (; re > 0 && ($ *= 256); ) Y += this[z + --re] * $; + return $ *= 128, Y >= $ && (Y -= Math.pow(2, 8 * J)), Y; + }, f.prototype.readInt8 = function(z, J) { + return z >>>= 0, J || M(z, 1, this.length), 128 & this[z] ? -1 * (255 - this[z] + 1) : this[z]; + }, f.prototype.readInt16LE = function(z, J) { + z >>>= 0, J || M(z, 2, this.length); + const q = this[z] | this[z + 1] << 8; + return 32768 & q ? 4294901760 | q : q; + }, f.prototype.readInt16BE = function(z, J) { + z >>>= 0, J || M(z, 2, this.length); + const q = this[z + 1] | this[z] << 8; + return 32768 & q ? 4294901760 | q : q; + }, f.prototype.readInt32LE = function(z, J) { + return z >>>= 0, J || M(z, 4, this.length), this[z] | this[z + 1] << 8 | this[z + 2] << 16 | this[z + 3] << 24; + }, f.prototype.readInt32BE = function(z, J) { + return z >>>= 0, J || M(z, 4, this.length), this[z] << 24 | this[z + 1] << 16 | this[z + 2] << 8 | this[z + 3]; + }, f.prototype.readBigInt64LE = ie(function(z) { + Z(z >>>= 0, "offset"); + const J = this[z], q = this[z + 7]; + J !== void 0 && q !== void 0 || fe(z, this.length - 8); + const re = this[z + 4] + 256 * this[z + 5] + 65536 * this[z + 6] + (q << 24); + return (BigInt(re) << BigInt(32)) + BigInt(J + 256 * this[++z] + 65536 * this[++z] + this[++z] * 16777216); + }), f.prototype.readBigInt64BE = ie(function(z) { + Z(z >>>= 0, "offset"); + const J = this[z], q = this[z + 7]; + J !== void 0 && q !== void 0 || fe(z, this.length - 8); + const re = (J << 24) + 65536 * this[++z] + 256 * this[++z] + this[++z]; + return (BigInt(re) << BigInt(32)) + BigInt(this[++z] * 16777216 + 65536 * this[++z] + 256 * this[++z] + q); + }), f.prototype.readFloatLE = function(z, J) { + return z >>>= 0, J || M(z, 4, this.length), o.read(this, z, !0, 23, 4); + }, f.prototype.readFloatBE = function(z, J) { + return z >>>= 0, J || M(z, 4, this.length), o.read(this, z, !1, 23, 4); + }, f.prototype.readDoubleLE = function(z, J) { + return z >>>= 0, J || M(z, 8, this.length), o.read(this, z, !0, 52, 8); + }, f.prototype.readDoubleBE = function(z, J) { + return z >>>= 0, J || M(z, 8, this.length), o.read(this, z, !1, 52, 8); + }, f.prototype.writeUintLE = f.prototype.writeUIntLE = function(z, J, q, re) { + z = +z, J >>>= 0, q >>>= 0, re || P(this, z, J, q, Math.pow(2, 8 * q) - 1, 0); + let $ = 1, Y = 0; + for (this[J] = 255 & z; ++Y < q && ($ *= 256); ) this[J + Y] = z / $ & 255; + return J + q; + }, f.prototype.writeUintBE = f.prototype.writeUIntBE = function(z, J, q, re) { + z = +z, J >>>= 0, q >>>= 0, re || P(this, z, J, q, Math.pow(2, 8 * q) - 1, 0); + let $ = q - 1, Y = 1; + for (this[J + $] = 255 & z; --$ >= 0 && (Y *= 256); ) this[J + $] = z / Y & 255; + return J + q; + }, f.prototype.writeUint8 = f.prototype.writeUInt8 = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 1, 255, 0), this[J] = 255 & z, J + 1; + }, f.prototype.writeUint16LE = f.prototype.writeUInt16LE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 2, 65535, 0), this[J] = 255 & z, this[J + 1] = z >>> 8, J + 2; + }, f.prototype.writeUint16BE = f.prototype.writeUInt16BE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 2, 65535, 0), this[J] = z >>> 8, this[J + 1] = 255 & z, J + 2; + }, f.prototype.writeUint32LE = f.prototype.writeUInt32LE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 4, 4294967295, 0), this[J + 3] = z >>> 24, this[J + 2] = z >>> 16, this[J + 1] = z >>> 8, this[J] = 255 & z, J + 4; + }, f.prototype.writeUint32BE = f.prototype.writeUInt32BE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 4, 4294967295, 0), this[J] = z >>> 24, this[J + 1] = z >>> 16, this[J + 2] = z >>> 8, this[J + 3] = 255 & z, J + 4; + }, f.prototype.writeBigUInt64LE = ie(function(z, J = 0) { + return H(this, z, J, BigInt(0), BigInt("0xffffffffffffffff")); + }), f.prototype.writeBigUInt64BE = ie(function(z, J = 0) { + return K(this, z, J, BigInt(0), BigInt("0xffffffffffffffff")); + }), f.prototype.writeIntLE = function(z, J, q, re) { + if (z = +z, J >>>= 0, !re) { + const ye = Math.pow(2, 8 * q - 1); + P(this, z, J, q, ye - 1, -ye); + } + let $ = 0, Y = 1, ce = 0; + for (this[J] = 255 & z; ++$ < q && (Y *= 256); ) z < 0 && ce === 0 && this[J + $ - 1] !== 0 && (ce = 1), this[J + $] = (z / Y | 0) - ce & 255; + return J + q; + }, f.prototype.writeIntBE = function(z, J, q, re) { + if (z = +z, J >>>= 0, !re) { + const ye = Math.pow(2, 8 * q - 1); + P(this, z, J, q, ye - 1, -ye); + } + let $ = q - 1, Y = 1, ce = 0; + for (this[J + $] = 255 & z; --$ >= 0 && (Y *= 256); ) z < 0 && ce === 0 && this[J + $ + 1] !== 0 && (ce = 1), this[J + $] = (z / Y | 0) - ce & 255; + return J + q; + }, f.prototype.writeInt8 = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 1, 127, -128), z < 0 && (z = 255 + z + 1), this[J] = 255 & z, J + 1; + }, f.prototype.writeInt16LE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 2, 32767, -32768), this[J] = 255 & z, this[J + 1] = z >>> 8, J + 2; + }, f.prototype.writeInt16BE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 2, 32767, -32768), this[J] = z >>> 8, this[J + 1] = 255 & z, J + 2; + }, f.prototype.writeInt32LE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 4, 2147483647, -2147483648), this[J] = 255 & z, this[J + 1] = z >>> 8, this[J + 2] = z >>> 16, this[J + 3] = z >>> 24, J + 4; + }, f.prototype.writeInt32BE = function(z, J, q) { + return z = +z, J >>>= 0, q || P(this, z, J, 4, 2147483647, -2147483648), z < 0 && (z = 4294967295 + z + 1), this[J] = z >>> 24, this[J + 1] = z >>> 16, this[J + 2] = z >>> 8, this[J + 3] = 255 & z, J + 4; + }, f.prototype.writeBigInt64LE = ie(function(z, J = 0) { + return H(this, z, J, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); + }), f.prototype.writeBigInt64BE = ie(function(z, J = 0) { + return K(this, z, J, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); + }), f.prototype.writeFloatLE = function(z, J, q) { + return U(this, z, J, !0, q); + }, f.prototype.writeFloatBE = function(z, J, q) { + return U(this, z, J, !1, q); + }, f.prototype.writeDoubleLE = function(z, J, q) { + return F(this, z, J, !0, q); + }, f.prototype.writeDoubleBE = function(z, J, q) { + return F(this, z, J, !1, q); + }, f.prototype.copy = function(z, J, q, re) { + if (!f.isBuffer(z)) throw new TypeError("argument should be a Buffer"); + if (q || (q = 0), re || re === 0 || (re = this.length), J >= z.length && (J = z.length), J || (J = 0), re > 0 && re < q && (re = q), re === q || z.length === 0 || this.length === 0) return 0; + if (J < 0) throw new RangeError("targetStart out of bounds"); + if (q < 0 || q >= this.length) throw new RangeError("Index out of range"); + if (re < 0) throw new RangeError("sourceEnd out of bounds"); + re > this.length && (re = this.length), z.length - J < re - q && (re = z.length - J + q); + const $ = re - q; + return this === z && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(J, q, re) : Uint8Array.prototype.set.call(z, this.subarray(q, re), J), $; + }, f.prototype.fill = function(z, J, q, re) { + if (typeof z == "string") { + if (typeof J == "string" ? (re = J, J = 0, q = this.length) : typeof q == "string" && (re = q, q = this.length), re !== void 0 && typeof re != "string") throw new TypeError("encoding must be a string"); + if (typeof re == "string" && !f.isEncoding(re)) throw new TypeError("Unknown encoding: " + re); + if (z.length === 1) { + const Y = z.charCodeAt(0); + (re === "utf8" && Y < 128 || re === "latin1") && (z = Y); + } + } else typeof z == "number" ? z &= 255 : typeof z == "boolean" && (z = Number(z)); + if (J < 0 || this.length < J || this.length < q) throw new RangeError("Out of range index"); + if (q <= J) return this; + let $; + if (J >>>= 0, q = q === void 0 ? this.length : q >>> 0, z || (z = 0), typeof z == "number") for ($ = J; $ < q; ++$) this[$] = z; else { - const re = f.isBuffer(F) ? F : f.from(F, X), pe = re.length; - if (pe === 0) throw new TypeError('The value "' + F + '" is invalid for argument "value"'); - for (ne = 0; ne < K - W; ++ne) this[ne + W] = re[ne % pe]; + const Y = f.isBuffer(z) ? z : f.from(z, re), ce = Y.length; + if (ce === 0) throw new TypeError('The value "' + z + '" is invalid for argument "value"'); + for ($ = 0; $ < q - J; ++$) this[$ + J] = Y[$ % ce]; } return this; }; - const G = {}; - function Q(F, W, K) { - G[F] = class extends K { + const Q = {}; + function ne(z, J, q) { + Q[z] = class extends q { constructor() { - super(), Object.defineProperty(this, "message", { value: W.apply(this, arguments), writable: !0, configurable: !0 }), this.name = `${this.name} [${F}]`, this.stack, delete this.name; + super(), Object.defineProperty(this, "message", { value: J.apply(this, arguments), writable: !0, configurable: !0 }), this.name = `${this.name} [${z}]`, this.stack, delete this.name; } get code() { - return F; + return z; } - set code(X) { - Object.defineProperty(this, "code", { configurable: !0, enumerable: !0, value: X, writable: !0 }); + set code(re) { + Object.defineProperty(this, "code", { configurable: !0, enumerable: !0, value: re, writable: !0 }); } toString() { - return `${this.name} [${F}]: ${this.message}`; + return `${this.name} [${z}]: ${this.message}`; } }; } - function ee(F) { - let W = "", K = F.length; - const X = F[0] === "-" ? 1 : 0; - for (; K >= X + 4; K -= 3) W = `_${F.slice(K - 3, K)}${W}`; - return `${F.slice(0, K)}${W}`; - } - function Z(F, W, K, X, ne, re) { - if (F > K || F < W) { - const pe = typeof W == "bigint" ? "n" : ""; - let Oe; - throw Oe = W === 0 || W === BigInt(0) ? `>= 0${pe} and < 2${pe} ** ${8 * (re + 1)}${pe}` : `>= -(2${pe} ** ${8 * (re + 1) - 1}${pe}) and < 2 ** ${8 * (re + 1) - 1}${pe}`, new G.ERR_OUT_OF_RANGE("value", Oe, F); - } - (function(pe, Oe, xe) { - q(Oe, "offset"), pe[Oe] !== void 0 && pe[Oe + xe] !== void 0 || se(Oe, pe.length - (xe + 1)); - })(X, ne, re); - } - function q(F, W) { - if (typeof F != "number") throw new G.ERR_INVALID_ARG_TYPE(W, "number", F); - } - function se(F, W, K) { - throw Math.floor(F) !== F ? (q(F, K), new G.ERR_OUT_OF_RANGE("offset", "an integer", F)) : W < 0 ? new G.ERR_BUFFER_OUT_OF_BOUNDS() : new G.ERR_OUT_OF_RANGE("offset", `>= 0 and <= ${W}`, F); - } - Q("ERR_BUFFER_OUT_OF_BOUNDS", function(F) { - return F ? `${F} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds"; - }, RangeError), Q("ERR_INVALID_ARG_TYPE", function(F, W) { - return `The "${F}" argument must be of type number. Received type ${typeof W}`; - }, TypeError), Q("ERR_OUT_OF_RANGE", function(F, W, K) { - let X = `The value of "${F}" is out of range.`, ne = K; - return Number.isInteger(K) && Math.abs(K) > 4294967296 ? ne = ee(String(K)) : typeof K == "bigint" && (ne = String(K), (K > BigInt(2) ** BigInt(32) || K < -(BigInt(2) ** BigInt(32))) && (ne = ee(ne)), ne += "n"), X += ` It must be ${W}. Received ${ne}`, X; + function te(z) { + let J = "", q = z.length; + const re = z[0] === "-" ? 1 : 0; + for (; q >= re + 4; q -= 3) J = `_${z.slice(q - 3, q)}${J}`; + return `${z.slice(0, q)}${J}`; + } + function X(z, J, q, re, $, Y) { + if (z > q || z < J) { + const ce = typeof J == "bigint" ? "n" : ""; + let ye; + throw ye = J === 0 || J === BigInt(0) ? `>= 0${ce} and < 2${ce} ** ${8 * (Y + 1)}${ce}` : `>= -(2${ce} ** ${8 * (Y + 1) - 1}${ce}) and < 2 ** ${8 * (Y + 1) - 1}${ce}`, new Q.ERR_OUT_OF_RANGE("value", ye, z); + } + (function(ce, ye, ve) { + Z(ye, "offset"), ce[ye] !== void 0 && ce[ye + ve] !== void 0 || fe(ye, ce.length - (ve + 1)); + })(re, $, Y); + } + function Z(z, J) { + if (typeof z != "number") throw new Q.ERR_INVALID_ARG_TYPE(J, "number", z); + } + function fe(z, J, q) { + throw Math.floor(z) !== z ? (Z(z, q), new Q.ERR_OUT_OF_RANGE("offset", "an integer", z)) : J < 0 ? new Q.ERR_BUFFER_OUT_OF_BOUNDS() : new Q.ERR_OUT_OF_RANGE("offset", `>= 0 and <= ${J}`, z); + } + ne("ERR_BUFFER_OUT_OF_BOUNDS", function(z) { + return z ? `${z} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds"; + }, RangeError), ne("ERR_INVALID_ARG_TYPE", function(z, J) { + return `The "${z}" argument must be of type number. Received type ${typeof J}`; + }, TypeError), ne("ERR_OUT_OF_RANGE", function(z, J, q) { + let re = `The value of "${z}" is out of range.`, $ = q; + return Number.isInteger(q) && Math.abs(q) > 4294967296 ? $ = te(String(q)) : typeof q == "bigint" && ($ = String(q), (q > BigInt(2) ** BigInt(32) || q < -(BigInt(2) ** BigInt(32))) && ($ = te($)), $ += "n"), re += ` It must be ${J}. Received ${$}`, re; }, RangeError); - const ue = /[^+/0-9A-Za-z-_]/g; - function ce(F, W) { - let K; - W = W || 1 / 0; - const X = F.length; - let ne = null; - const re = []; - for (let pe = 0; pe < X; ++pe) { - if (K = F.charCodeAt(pe), K > 55295 && K < 57344) { - if (!ne) { - if (K > 56319) { - (W -= 3) > -1 && re.push(239, 191, 189); + const le = /[^+/0-9A-Za-z-_]/g; + function Se(z, J) { + let q; + J = J || 1 / 0; + const re = z.length; + let $ = null; + const Y = []; + for (let ce = 0; ce < re; ++ce) { + if (q = z.charCodeAt(ce), q > 55295 && q < 57344) { + if (!$) { + if (q > 56319) { + (J -= 3) > -1 && Y.push(239, 191, 189); continue; } - if (pe + 1 === X) { - (W -= 3) > -1 && re.push(239, 191, 189); + if (ce + 1 === re) { + (J -= 3) > -1 && Y.push(239, 191, 189); continue; } - ne = K; + $ = q; continue; } - if (K < 56320) { - (W -= 3) > -1 && re.push(239, 191, 189), ne = K; + if (q < 56320) { + (J -= 3) > -1 && Y.push(239, 191, 189), $ = q; continue; } - K = 65536 + (ne - 55296 << 10 | K - 56320); - } else ne && (W -= 3) > -1 && re.push(239, 191, 189); - if (ne = null, K < 128) { - if ((W -= 1) < 0) break; - re.push(K); - } else if (K < 2048) { - if ((W -= 2) < 0) break; - re.push(K >> 6 | 192, 63 & K | 128); - } else if (K < 65536) { - if ((W -= 3) < 0) break; - re.push(K >> 12 | 224, K >> 6 & 63 | 128, 63 & K | 128); + q = 65536 + ($ - 55296 << 10 | q - 56320); + } else $ && (J -= 3) > -1 && Y.push(239, 191, 189); + if ($ = null, q < 128) { + if ((J -= 1) < 0) break; + Y.push(q); + } else if (q < 2048) { + if ((J -= 2) < 0) break; + Y.push(q >> 6 | 192, 63 & q | 128); + } else if (q < 65536) { + if ((J -= 3) < 0) break; + Y.push(q >> 12 | 224, q >> 6 & 63 | 128, 63 & q | 128); } else { - if (!(K < 1114112)) throw new Error("Invalid code point"); - if ((W -= 4) < 0) break; - re.push(K >> 18 | 240, K >> 12 & 63 | 128, K >> 6 & 63 | 128, 63 & K | 128); + if (!(q < 1114112)) throw new Error("Invalid code point"); + if ((J -= 4) < 0) break; + Y.push(q >> 18 | 240, q >> 12 & 63 | 128, q >> 6 & 63 | 128, 63 & q | 128); } } - return re; + return Y; } - function ie(F) { - return r.toByteArray(function(W) { - if ((W = (W = W.split("=")[0]).trim().replace(ue, "")).length < 2) return ""; - for (; W.length % 4 != 0; ) W += "="; - return W; - }(F)); + function de(z) { + return r.toByteArray(function(J) { + if ((J = (J = J.split("=")[0]).trim().replace(le, "")).length < 2) return ""; + for (; J.length % 4 != 0; ) J += "="; + return J; + }(z)); } - function fe(F, W, K, X) { - let ne; - for (ne = 0; ne < X && !(ne + K >= W.length || ne >= F.length); ++ne) W[ne + K] = F[ne]; - return ne; + function me(z, J, q, re) { + let $; + for ($ = 0; $ < re && !($ + q >= J.length || $ >= z.length); ++$) J[$ + q] = z[$]; + return $; } - function Te(F, W) { - return F instanceof W || F != null && F.constructor != null && F.constructor.name != null && F.constructor.name === W.name; + function Oe(z, J) { + return z instanceof J || z != null && z.constructor != null && z.constructor.name != null && z.constructor.name === J.name; } - function Se(F) { - return F != F; + function Ce(z) { + return z != z; } - const te = function() { - const F = "0123456789abcdef", W = new Array(256); - for (let K = 0; K < 16; ++K) { - const X = 16 * K; - for (let ne = 0; ne < 16; ++ne) W[X + ne] = F[K] + F[ne]; + const G = function() { + const z = "0123456789abcdef", J = new Array(256); + for (let q = 0; q < 16; ++q) { + const re = 16 * q; + for (let $ = 0; $ < 16; ++$) J[re + $] = z[q] + z[$]; } - return W; + return J; }(); - function ye(F) { - return typeof BigInt > "u" ? ve : F; + function ie(z) { + return typeof BigInt > "u" ? we : z; } - function ve() { + function we() { throw new Error("BigInt not supported"); } - }, 6866: (x) => { - x.exports = { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 200: "OK", 201: "Created", 202: "Accepted", 203: "Non-Authoritative Information", 204: "No Content", 205: "Reset Content", 206: "Partial Content", 207: "Multi-Status", 208: "Already Reported", 226: "IM Used", 300: "Multiple Choices", 301: "Moved Permanently", 302: "Found", 303: "See Other", 304: "Not Modified", 305: "Use Proxy", 307: "Temporary Redirect", 308: "Permanent Redirect", 400: "Bad Request", 401: "Unauthorized", 402: "Payment Required", 403: "Forbidden", 404: "Not Found", 405: "Method Not Allowed", 406: "Not Acceptable", 407: "Proxy Authentication Required", 408: "Request Timeout", 409: "Conflict", 410: "Gone", 411: "Length Required", 412: "Precondition Failed", 413: "Payload Too Large", 414: "URI Too Long", 415: "Unsupported Media Type", 416: "Range Not Satisfiable", 417: "Expectation Failed", 418: "I'm a teapot", 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", 425: "Unordered Collection", 426: "Upgrade Required", 428: "Precondition Required", 429: "Too Many Requests", 431: "Request Header Fields Too Large", 451: "Unavailable For Legal Reasons", 500: "Internal Server Error", 501: "Not Implemented", 502: "Bad Gateway", 503: "Service Unavailable", 504: "Gateway Timeout", 505: "HTTP Version Not Supported", 506: "Variant Also Negotiates", 507: "Insufficient Storage", 508: "Loop Detected", 509: "Bandwidth Limit Exceeded", 510: "Not Extended", 511: "Network Authentication Required" }; - }, 8075: (x, n, c) => { - var r = c(453), a = c(487), i = a(r("String.prototype.indexOf")); - x.exports = function(m, t) { - var f = r(m, !!t); - return typeof f == "function" && i(m, ".prototype.") > -1 ? a(f) : f; + }, 6866(g) { + g.exports = { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 200: "OK", 201: "Created", 202: "Accepted", 203: "Non-Authoritative Information", 204: "No Content", 205: "Reset Content", 206: "Partial Content", 207: "Multi-Status", 208: "Already Reported", 226: "IM Used", 300: "Multiple Choices", 301: "Moved Permanently", 302: "Found", 303: "See Other", 304: "Not Modified", 305: "Use Proxy", 307: "Temporary Redirect", 308: "Permanent Redirect", 400: "Bad Request", 401: "Unauthorized", 402: "Payment Required", 403: "Forbidden", 404: "Not Found", 405: "Method Not Allowed", 406: "Not Acceptable", 407: "Proxy Authentication Required", 408: "Request Timeout", 409: "Conflict", 410: "Gone", 411: "Length Required", 412: "Precondition Failed", 413: "Payload Too Large", 414: "URI Too Long", 415: "Unsupported Media Type", 416: "Range Not Satisfiable", 417: "Expectation Failed", 418: "I'm a teapot", 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", 425: "Unordered Collection", 426: "Upgrade Required", 428: "Precondition Required", 429: "Too Many Requests", 431: "Request Header Fields Too Large", 451: "Unavailable For Legal Reasons", 500: "Internal Server Error", 501: "Not Implemented", 502: "Bad Gateway", 503: "Service Unavailable", 504: "Gateway Timeout", 505: "HTTP Version Not Supported", 506: "Variant Also Negotiates", 507: "Insufficient Storage", 508: "Loop Detected", 509: "Bandwidth Limit Exceeded", 510: "Not Extended", 511: "Network Authentication Required" }; + }, 3144(g, n, s) { + var r = s(6743), o = s(1002), i = s(76), p = s(7119); + g.exports = p || r.call(i, o); + }, 2205(g, n, s) { + var r = s(6743), o = s(1002), i = s(3144); + g.exports = function() { + return i(r, o, arguments); }; - }, 487: (x, n, c) => { - var r = c(6743), a = c(453), i = c(6897), m = c(9675), t = a("%Function.prototype.apply%"), f = a("%Function.prototype.call%"), b = a("%Reflect.apply%", !0) || r.call(f, t), y = c(655), u = a("%Math.max%"); - x.exports = function(l) { - if (typeof l != "function") throw new m("a function is required"); - var s = b(r, f, arguments); - return i(s, 1 + u(0, l.length - (arguments.length - 1)), !0); + }, 1002(g) { + g.exports = Function.prototype.apply; + }, 76(g) { + g.exports = Function.prototype.call; + }, 3126(g, n, s) { + var r = s(6743), o = s(9675), i = s(76), p = s(3144); + g.exports = function(a) { + if (a.length < 1 || typeof a[0] != "function") throw new o("a function is required"); + return p(r, i, a); }; - var d = function() { - return b(r, t, arguments); + }, 7119(g) { + g.exports = typeof Reflect < "u" && Reflect && Reflect.apply; + }, 487(g, n, s) { + var r = s(6897), o = s(655), i = s(3126), p = s(2205); + g.exports = function(a) { + var f = i(arguments), C = a.length - (arguments.length - 1); + return r(f, 1 + (C > 0 ? C : 0), !0); + }, o ? o(g.exports, "apply", { value: p }) : g.exports.apply = p; + }, 6556(g, n, s) { + var r = s(453), o = s(3126), i = o([r("%String.prototype.indexOf%")]); + g.exports = function(p, a) { + var f = r(p, !!a); + return typeof f == "function" && i(p, ".prototype.") > -1 ? o([f]) : f; }; - y ? y(x.exports, "apply", { value: d }) : x.exports.apply = d; - }, 41: (x, n, c) => { - var r = c(655), a = c(8068), i = c(9675), m = c(5795); - x.exports = function(t, f, b) { - if (!t || typeof t != "object" && typeof t != "function") throw new i("`obj` must be an object or a function`"); + }, 41(g, n, s) { + var r = s(655), o = s(8068), i = s(9675), p = s(5795); + g.exports = function(a, f, C) { + if (!a || typeof a != "object" && typeof a != "function") throw new i("`obj` must be an object or a function`"); if (typeof f != "string" && typeof f != "symbol") throw new i("`property` must be a string or a symbol`"); if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null) throw new i("`nonEnumerable`, if provided, must be a boolean or null"); if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) throw new i("`nonWritable`, if provided, must be a boolean or null"); if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) throw new i("`nonConfigurable`, if provided, must be a boolean or null"); if (arguments.length > 6 && typeof arguments[6] != "boolean") throw new i("`loose`, if provided, must be a boolean"); - var y = arguments.length > 3 ? arguments[3] : null, u = arguments.length > 4 ? arguments[4] : null, d = arguments.length > 5 ? arguments[5] : null, l = arguments.length > 6 && arguments[6], s = !!m && m(t, f); - if (r) r(t, f, { configurable: d === null && s ? s.configurable : !d, enumerable: y === null && s ? s.enumerable : !y, value: b, writable: u === null && s ? s.writable : !u }); + var w = arguments.length > 3 ? arguments[3] : null, m = arguments.length > 4 ? arguments[4] : null, v = arguments.length > 5 ? arguments[5] : null, l = arguments.length > 6 && arguments[6], u = !!p && p(a, f); + if (r) r(a, f, { configurable: v === null && u ? u.configurable : !v, enumerable: w === null && u ? u.enumerable : !w, value: C, writable: m === null && u ? u.writable : !m }); else { - if (!l && (y || u || d)) throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable."); - t[f] = b; + if (!l && (w || m || v)) throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable."); + a[f] = C; } }; - }, 6729: (x, n, c) => { - var r = n; - r.version = c(9255).rE, r.utils = c(7011), r.rand = c(5037), r.curve = c(894), r.curves = c(480), r.ec = c(7447), r.eddsa = c(8650); - }, 6677: (x, n, c) => { - var r = c(8490), a = c(7011), i = a.getNAF, m = a.getJSF, t = a.assert; - function f(y, u) { - this.type = y, this.p = new r(u.p, 16), this.red = u.prime ? r.red(u.prime) : r.mont(this.p), this.zero = new r(0).toRed(this.red), this.one = new r(1).toRed(this.red), this.two = new r(2).toRed(this.red), this.n = u.n && new r(u.n, 16), this.g = u.g && this.pointFromJSON(u.g, u.gRed), this._wnafT1 = new Array(4), this._wnafT2 = new Array(4), this._wnafT3 = new Array(4), this._wnafT4 = new Array(4), this._bitLength = this.n ? this.n.bitLength() : 0; - var d = this.n && this.p.div(this.n); - !d || d.cmpn(100) > 0 ? this.redN = null : (this._maxwellTrick = !0, this.redN = this.n.toRed(this.red)); - } - function b(y, u) { - this.curve = y, this.type = u, this.precomputed = null; - } - x.exports = f, f.prototype.point = function() { - throw new Error("Not implemented"); - }, f.prototype.validate = function() { - throw new Error("Not implemented"); - }, f.prototype._fixedNafMul = function(y, u) { - t(y.precomputed); - var d = y._getDoubles(), l = i(u, 1, this._bitLength), s = (1 << d.step + 1) - (d.step % 2 == 0 ? 2 : 1); - s /= 3; - var v, p, h = []; - for (v = 0; v < l.length; v += d.step) { - p = 0; - for (var O = v + d.step - 1; O >= v; O--) p = (p << 1) + l[O]; - h.push(p); - } - for (var I = this.jpoint(null, null, null), k = this.jpoint(null, null, null), R = s; R > 0; R--) { - for (v = 0; v < h.length; v++) (p = h[v]) === R ? k = k.mixedAdd(d.points[v]) : p === -R && (k = k.mixedAdd(d.points[v].neg())); - I = I.add(k); - } - return I.toP(); - }, f.prototype._wnafMul = function(y, u) { - var d = 4, l = y._getNAFPoints(d); - d = l.wnd; - for (var s = l.points, v = i(u, d, this._bitLength), p = this.jpoint(null, null, null), h = v.length - 1; h >= 0; h--) { - for (var O = 0; h >= 0 && v[h] === 0; h--) O++; - if (h >= 0 && O++, p = p.dblp(O), h < 0) break; - var I = v[h]; - t(I !== 0), p = y.type === "affine" ? I > 0 ? p.mixedAdd(s[I - 1 >> 1]) : p.mixedAdd(s[-I - 1 >> 1].neg()) : I > 0 ? p.add(s[I - 1 >> 1]) : p.add(s[-I - 1 >> 1].neg()); - } - return y.type === "affine" ? p.toP() : p; - }, f.prototype._wnafMulAdd = function(y, u, d, l, s) { - var v, p, h, O = this._wnafT1, I = this._wnafT2, k = this._wnafT3, R = 0; - for (v = 0; v < l; v++) { - var L = (h = u[v])._getNAFPoints(y); - O[v] = L.wnd, I[v] = L.points; - } - for (v = l - 1; v >= 1; v -= 2) { - var N = v - 1, B = v; - if (O[N] === 1 && O[B] === 1) { - var H = [u[N], null, null, u[B]]; - u[N].y.cmp(u[B].y) === 0 ? (H[1] = u[N].add(u[B]), H[2] = u[N].toJ().mixedAdd(u[B].neg())) : u[N].y.cmp(u[B].y.redNeg()) === 0 ? (H[1] = u[N].toJ().mixedAdd(u[B]), H[2] = u[N].add(u[B].neg())) : (H[1] = u[N].toJ().mixedAdd(u[B]), H[2] = u[N].toJ().mixedAdd(u[B].neg())); - var U = [-3, -1, -5, -7, 0, 7, 5, 1, 3], S = m(d[N], d[B]); - for (R = Math.max(S[0].length, R), k[N] = new Array(R), k[B] = new Array(R), p = 0; p < R; p++) { - var T = 0 | S[0][p], E = 0 | S[1][p]; - k[N][p] = U[3 * (T + 1) + (E + 1)], k[B][p] = 0, I[N] = H; - } - } else k[N] = i(d[N], O[N], this._bitLength), k[B] = i(d[B], O[B], this._bitLength), R = Math.max(k[N].length, R), R = Math.max(k[B].length, R); - } - var M = this.jpoint(null, null, null), _ = this._wnafT4; - for (v = R; v >= 0; v--) { - for (var w = 0; v >= 0; ) { - var A = !0; - for (p = 0; p < l; p++) _[p] = 0 | k[p][v], _[p] !== 0 && (A = !1); - if (!A) break; - w++, v--; - } - if (v >= 0 && w++, M = M.dblp(w), v < 0) break; - for (p = 0; p < l; p++) { - var j = _[p]; - j !== 0 && (j > 0 ? h = I[p][j - 1 >> 1] : j < 0 && (h = I[p][-j - 1 >> 1].neg()), M = h.type === "affine" ? M.mixedAdd(h) : M.add(h)); - } - } - for (v = 0; v < l; v++) I[v] = null; - return s ? M : M.toP(); - }, f.BasePoint = b, b.prototype.eq = function() { - throw new Error("Not implemented"); - }, b.prototype.validate = function() { - return this.curve.validate(this); - }, f.prototype.decodePoint = function(y, u) { - y = a.toArray(y, u); - var d = this.p.byteLength(); - if ((y[0] === 4 || y[0] === 6 || y[0] === 7) && y.length - 1 == 2 * d) return y[0] === 6 ? t(y[y.length - 1] % 2 == 0) : y[0] === 7 && t(y[y.length - 1] % 2 == 1), this.point(y.slice(1, 1 + d), y.slice(1 + d, 1 + 2 * d)); - if ((y[0] === 2 || y[0] === 3) && y.length - 1 === d) return this.pointFromX(y.slice(1, 1 + d), y[0] === 3); - throw new Error("Unknown point format"); - }, b.prototype.encodeCompressed = function(y) { - return this.encode(y, !0); - }, b.prototype._encode = function(y) { - var u = this.curve.p.byteLength(), d = this.getX().toArray("be", u); - return y ? [this.getY().isEven() ? 2 : 3].concat(d) : [4].concat(d, this.getY().toArray("be", u)); - }, b.prototype.encode = function(y, u) { - return a.encode(this._encode(u), y); - }, b.prototype.precompute = function(y) { - if (this.precomputed) return this; - var u = { doubles: null, naf: null, beta: null }; - return u.naf = this._getNAFPoints(8), u.doubles = this._getDoubles(4, y), u.beta = this._getBeta(), this.precomputed = u, this; - }, b.prototype._hasDoubles = function(y) { - if (!this.precomputed) return !1; - var u = this.precomputed.doubles; - return !!u && u.points.length >= Math.ceil((y.bitLength() + 1) / u.step); - }, b.prototype._getDoubles = function(y, u) { - if (this.precomputed && this.precomputed.doubles) return this.precomputed.doubles; - for (var d = [this], l = this, s = 0; s < u; s += y) { - for (var v = 0; v < y; v++) l = l.dbl(); - d.push(l); - } - return { step: y, points: d }; - }, b.prototype._getNAFPoints = function(y) { - if (this.precomputed && this.precomputed.naf) return this.precomputed.naf; - for (var u = [this], d = (1 << y) - 1, l = d === 1 ? null : this.dbl(), s = 1; s < d; s++) u[s] = u[s - 1].add(l); - return { wnd: y, points: u }; - }, b.prototype._getBeta = function() { - return null; - }, b.prototype.dblp = function(y) { - for (var u = this, d = 0; d < y; d++) u = u.dbl(); - return u; + }, 7176(g, n, s) { + var r, o = s(3126), i = s(5795); + try { + r = [].__proto__ === Array.prototype; + } catch (C) { + if (!C || typeof C != "object" || !("code" in C) || C.code !== "ERR_PROTO_ACCESS") throw C; + } + var p = !!r && i && i(Object.prototype, "__proto__"), a = Object, f = a.getPrototypeOf; + g.exports = p && typeof p.get == "function" ? o([p.get]) : typeof f == "function" && function(C) { + return f(C == null ? C : a(C)); }; - }, 1298: (x, n, c) => { - var r = c(7011), a = c(8490), i = c(6698), m = c(6677), t = r.assert; - function f(y) { - this.twisted = (0 | y.a) != 1, this.mOneA = this.twisted && (0 | y.a) == -1, this.extended = this.mOneA, m.call(this, "edwards", y), this.a = new a(y.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new a(y.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new a(y.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), t(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (0 | y.c) == 1; - } - function b(y, u, d, l, s) { - m.BasePoint.call(this, y, "projective"), u === null && d === null && l === null ? (this.x = this.curve.zero, this.y = this.curve.one, this.z = this.curve.one, this.t = this.curve.zero, this.zOne = !0) : (this.x = new a(u, 16), this.y = new a(d, 16), this.z = l ? new a(l, 16) : this.curve.one, this.t = s && new a(s, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.t && !this.t.red && (this.t = this.t.toRed(this.curve.red)), this.zOne = this.z === this.curve.one, this.curve.extended && !this.t && (this.t = this.x.redMul(this.y), this.zOne || (this.t = this.t.redMul(this.z.redInvm())))); - } - i(f, m), x.exports = f, f.prototype._mulA = function(y) { - return this.mOneA ? y.redNeg() : this.a.redMul(y); - }, f.prototype._mulC = function(y) { - return this.oneC ? y : this.c.redMul(y); - }, f.prototype.jpoint = function(y, u, d, l) { - return this.point(y, u, d, l); - }, f.prototype.pointFromX = function(y, u) { - (y = new a(y, 16)).red || (y = y.toRed(this.red)); - var d = y.redSqr(), l = this.c2.redSub(this.a.redMul(d)), s = this.one.redSub(this.c2.redMul(this.d).redMul(d)), v = l.redMul(s.redInvm()), p = v.redSqrt(); - if (p.redSqr().redSub(v).cmp(this.zero) !== 0) throw new Error("invalid point"); - var h = p.fromRed().isOdd(); - return (u && !h || !u && h) && (p = p.redNeg()), this.point(y, p); - }, f.prototype.pointFromY = function(y, u) { - (y = new a(y, 16)).red || (y = y.toRed(this.red)); - var d = y.redSqr(), l = d.redSub(this.c2), s = d.redMul(this.d).redMul(this.c2).redSub(this.a), v = l.redMul(s.redInvm()); - if (v.cmp(this.zero) === 0) { - if (u) throw new Error("invalid point"); - return this.point(this.zero, y); - } - var p = v.redSqrt(); - if (p.redSqr().redSub(v).cmp(this.zero) !== 0) throw new Error("invalid point"); - return p.fromRed().isOdd() !== u && (p = p.redNeg()), this.point(p, y); - }, f.prototype.validate = function(y) { - if (y.isInfinity()) return !0; - y.normalize(); - var u = y.x.redSqr(), d = y.y.redSqr(), l = u.redMul(this.a).redAdd(d), s = this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(d))); - return l.cmp(s) === 0; - }, i(b, m.BasePoint), f.prototype.pointFromJSON = function(y) { - return b.fromJSON(this, y); - }, f.prototype.point = function(y, u, d, l) { - return new b(this, y, u, d, l); - }, b.fromJSON = function(y, u) { - return new b(y, u[0], u[1], u[2]); - }, b.prototype.inspect = function() { - return this.isInfinity() ? "" : ""; - }, b.prototype.isInfinity = function() { - return this.x.cmpn(0) === 0 && (this.y.cmp(this.z) === 0 || this.zOne && this.y.cmp(this.curve.c) === 0); - }, b.prototype._extDbl = function() { - var y = this.x.redSqr(), u = this.y.redSqr(), d = this.z.redSqr(); - d = d.redIAdd(d); - var l = this.curve._mulA(y), s = this.x.redAdd(this.y).redSqr().redISub(y).redISub(u), v = l.redAdd(u), p = v.redSub(d), h = l.redSub(u), O = s.redMul(p), I = v.redMul(h), k = s.redMul(h), R = p.redMul(v); - return this.curve.point(O, I, R, k); - }, b.prototype._projDbl = function() { - var y, u, d, l, s, v, p = this.x.redAdd(this.y).redSqr(), h = this.x.redSqr(), O = this.y.redSqr(); - if (this.curve.twisted) { - var I = (l = this.curve._mulA(h)).redAdd(O); - this.zOne ? (y = p.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)), u = I.redMul(l.redSub(O)), d = I.redSqr().redSub(I).redSub(I)) : (s = this.z.redSqr(), v = I.redSub(s).redISub(s), y = p.redSub(h).redISub(O).redMul(v), u = I.redMul(l.redSub(O)), d = I.redMul(v)); - } else l = h.redAdd(O), s = this.curve._mulC(this.z).redSqr(), v = l.redSub(s).redSub(s), y = this.curve._mulC(p.redISub(l)).redMul(v), u = this.curve._mulC(l).redMul(h.redISub(O)), d = l.redMul(v); - return this.curve.point(y, u, d); - }, b.prototype.dbl = function() { - return this.isInfinity() ? this : this.curve.extended ? this._extDbl() : this._projDbl(); - }, b.prototype._extAdd = function(y) { - var u = this.y.redSub(this.x).redMul(y.y.redSub(y.x)), d = this.y.redAdd(this.x).redMul(y.y.redAdd(y.x)), l = this.t.redMul(this.curve.dd).redMul(y.t), s = this.z.redMul(y.z.redAdd(y.z)), v = d.redSub(u), p = s.redSub(l), h = s.redAdd(l), O = d.redAdd(u), I = v.redMul(p), k = h.redMul(O), R = v.redMul(O), L = p.redMul(h); - return this.curve.point(I, k, L, R); - }, b.prototype._projAdd = function(y) { - var u, d, l = this.z.redMul(y.z), s = l.redSqr(), v = this.x.redMul(y.x), p = this.y.redMul(y.y), h = this.curve.d.redMul(v).redMul(p), O = s.redSub(h), I = s.redAdd(h), k = this.x.redAdd(this.y).redMul(y.x.redAdd(y.y)).redISub(v).redISub(p), R = l.redMul(O).redMul(k); - return this.curve.twisted ? (u = l.redMul(I).redMul(p.redSub(this.curve._mulA(v))), d = O.redMul(I)) : (u = l.redMul(I).redMul(p.redSub(v)), d = this.curve._mulC(O).redMul(I)), this.curve.point(R, u, d); - }, b.prototype.add = function(y) { - return this.isInfinity() ? y : y.isInfinity() ? this : this.curve.extended ? this._extAdd(y) : this._projAdd(y); - }, b.prototype.mul = function(y) { - return this._hasDoubles(y) ? this.curve._fixedNafMul(this, y) : this.curve._wnafMul(this, y); - }, b.prototype.mulAdd = function(y, u, d) { - return this.curve._wnafMulAdd(1, [this, u], [y, d], 2, !1); - }, b.prototype.jmulAdd = function(y, u, d) { - return this.curve._wnafMulAdd(1, [this, u], [y, d], 2, !0); - }, b.prototype.normalize = function() { - if (this.zOne) return this; - var y = this.z.redInvm(); - return this.x = this.x.redMul(y), this.y = this.y.redMul(y), this.t && (this.t = this.t.redMul(y)), this.z = this.curve.one, this.zOne = !0, this; - }, b.prototype.neg = function() { - return this.curve.point(this.x.redNeg(), this.y, this.z, this.t && this.t.redNeg()); - }, b.prototype.getX = function() { - return this.normalize(), this.x.fromRed(); - }, b.prototype.getY = function() { - return this.normalize(), this.y.fromRed(); - }, b.prototype.eq = function(y) { - return this === y || this.getX().cmp(y.getX()) === 0 && this.getY().cmp(y.getY()) === 0; - }, b.prototype.eqXToP = function(y) { - var u = y.toRed(this.curve.red).redMul(this.z); - if (this.x.cmp(u) === 0) return !0; - for (var d = y.clone(), l = this.curve.redN.redMul(this.z); ; ) { - if (d.iadd(this.curve.n), d.cmp(this.curve.p) >= 0) return !1; - if (u.redIAdd(l), this.x.cmp(u) === 0) return !0; - } - }, b.prototype.toP = b.prototype.normalize, b.prototype.mixedAdd = b.prototype.add; - }, 894: (x, n, c) => { - var r = n; - r.base = c(6677), r.short = c(9188), r.mont = c(370), r.edwards = c(1298); - }, 370: (x, n, c) => { - var r = c(8490), a = c(6698), i = c(6677), m = c(7011); - function t(b) { - i.call(this, "mont", b), this.a = new r(b.a, 16).toRed(this.red), this.b = new r(b.b, 16).toRed(this.red), this.i4 = new r(4).toRed(this.red).redInvm(), this.two = new r(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two)); - } - function f(b, y, u) { - i.BasePoint.call(this, b, "projective"), y === null && u === null ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new r(y, 16), this.z = new r(u, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red))); - } - a(t, i), x.exports = t, t.prototype.validate = function(b) { - var y = b.normalize().x, u = y.redSqr(), d = u.redMul(y).redAdd(u.redMul(this.a)).redAdd(y); - return d.redSqrt().redSqr().cmp(d) === 0; - }, a(f, i.BasePoint), t.prototype.decodePoint = function(b, y) { - return this.point(m.toArray(b, y), 1); - }, t.prototype.point = function(b, y) { - return new f(this, b, y); - }, t.prototype.pointFromJSON = function(b) { - return f.fromJSON(this, b); - }, f.prototype.precompute = function() { - }, f.prototype._encode = function() { - return this.getX().toArray("be", this.curve.p.byteLength()); - }, f.fromJSON = function(b, y) { - return new f(b, y[0], y[1] || b.one); - }, f.prototype.inspect = function() { - return this.isInfinity() ? "" : ""; - }, f.prototype.isInfinity = function() { - return this.z.cmpn(0) === 0; - }, f.prototype.dbl = function() { - var b = this.x.redAdd(this.z).redSqr(), y = this.x.redSub(this.z).redSqr(), u = b.redSub(y), d = b.redMul(y), l = u.redMul(y.redAdd(this.curve.a24.redMul(u))); - return this.curve.point(d, l); - }, f.prototype.add = function() { - throw new Error("Not supported on Montgomery curve"); - }, f.prototype.diffAdd = function(b, y) { - var u = this.x.redAdd(this.z), d = this.x.redSub(this.z), l = b.x.redAdd(b.z), s = b.x.redSub(b.z).redMul(u), v = l.redMul(d), p = y.z.redMul(s.redAdd(v).redSqr()), h = y.x.redMul(s.redISub(v).redSqr()); - return this.curve.point(p, h); - }, f.prototype.mul = function(b) { - for (var y = b.clone(), u = this, d = this.curve.point(null, null), l = []; y.cmpn(0) !== 0; y.iushrn(1)) l.push(y.andln(1)); - for (var s = l.length - 1; s >= 0; s--) l[s] === 0 ? (u = u.diffAdd(d, this), d = d.dbl()) : (d = u.diffAdd(d, this), u = u.dbl()); - return d; - }, f.prototype.mulAdd = function() { - throw new Error("Not supported on Montgomery curve"); - }, f.prototype.jumlAdd = function() { - throw new Error("Not supported on Montgomery curve"); - }, f.prototype.eq = function(b) { - return this.getX().cmp(b.getX()) === 0; - }, f.prototype.normalize = function() { - return this.x = this.x.redMul(this.z.redInvm()), this.z = this.curve.one, this; - }, f.prototype.getX = function() { - return this.normalize(), this.x.fromRed(); + }, 655(g) { + var n = Object.defineProperty || !1; + if (n) try { + n({}, "a", { value: 1 }); + } catch { + n = !1; + } + g.exports = n; + }, 1237(g) { + g.exports = EvalError; + }, 9383(g) { + g.exports = Error; + }, 9290(g) { + g.exports = RangeError; + }, 9538(g) { + g.exports = ReferenceError; + }, 8068(g) { + g.exports = SyntaxError; + }, 9675(g) { + g.exports = TypeError; + }, 5345(g) { + g.exports = URIError; + }, 9612(g) { + g.exports = Object; + }, 7007(g) { + var n, s = typeof Reflect == "object" ? Reflect : null, r = s && typeof s.apply == "function" ? s.apply : function(d, b, _) { + return Function.prototype.apply.call(d, b, _); }; - }, 9188: (x, n, c) => { - var r = c(7011), a = c(8490), i = c(6698), m = c(6677), t = r.assert; - function f(u) { - m.call(this, "short", u), this.a = new a(u.a, 16).toRed(this.red), this.b = new a(u.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(u), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4); - } - function b(u, d, l, s) { - m.BasePoint.call(this, u, "affine"), d === null && l === null ? (this.x = null, this.y = null, this.inf = !0) : (this.x = new a(d, 16), this.y = new a(l, 16), s && (this.x.forceRed(this.curve.red), this.y.forceRed(this.curve.red)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.inf = !1); - } - function y(u, d, l, s) { - m.BasePoint.call(this, u, "jacobian"), d === null && l === null && s === null ? (this.x = this.curve.one, this.y = this.curve.one, this.z = new a(0)) : (this.x = new a(d, 16), this.y = new a(l, 16), this.z = new a(s, 16)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.zOne = this.z === this.curve.one; + n = s && typeof s.ownKeys == "function" ? s.ownKeys : Object.getOwnPropertySymbols ? function(d) { + return Object.getOwnPropertyNames(d).concat(Object.getOwnPropertySymbols(d)); + } : function(d) { + return Object.getOwnPropertyNames(d); + }; + var o = Number.isNaN || function(d) { + return d != d; + }; + function i() { + i.init.call(this); } - i(f, m), x.exports = f, f.prototype._getEndomorphism = function(u) { - if (this.zeroA && this.g && this.n && this.p.modn(3) === 1) { - var d, l; - if (u.beta) d = new a(u.beta, 16).toRed(this.red); - else { - var s = this._getEndoRoots(this.p); - d = (d = s[0].cmp(s[1]) < 0 ? s[0] : s[1]).toRed(this.red); + g.exports = i, g.exports.once = function(d, b) { + return new Promise(function(_, E) { + function B(I) { + d.removeListener(b, O), E(I); } - if (u.lambda) l = new a(u.lambda, 16); - else { - var v = this._getEndoRoots(this.n); - this.g.mul(v[0]).x.cmp(this.g.x.redMul(d)) === 0 ? l = v[0] : (l = v[1], t(this.g.mul(l).x.cmp(this.g.x.redMul(d)) === 0)); - } - return { beta: d, lambda: l, basis: u.basis ? u.basis.map(function(p) { - return { a: new a(p.a, 16), b: new a(p.b, 16) }; - }) : this._getEndoBasis(l) }; - } - }, f.prototype._getEndoRoots = function(u) { - var d = u === this.p ? this.red : a.mont(u), l = new a(2).toRed(d).redInvm(), s = l.redNeg(), v = new a(3).toRed(d).redNeg().redSqrt().redMul(l); - return [s.redAdd(v).fromRed(), s.redSub(v).fromRed()]; - }, f.prototype._getEndoBasis = function(u) { - for (var d, l, s, v, p, h, O, I, k, R = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), L = u, N = this.n.clone(), B = new a(1), H = new a(0), U = new a(0), S = new a(1), T = 0; L.cmpn(0) !== 0; ) { - var E = N.div(L); - I = N.sub(E.mul(L)), k = U.sub(E.mul(B)); - var M = S.sub(E.mul(H)); - if (!s && I.cmp(R) < 0) d = O.neg(), l = B, s = I.neg(), v = k; - else if (s && ++T == 2) break; - O = I, N = L, L = I, U = B, B = k, S = H, H = M; - } - p = I.neg(), h = k; - var _ = s.sqr().add(v.sqr()); - return p.sqr().add(h.sqr()).cmp(_) >= 0 && (p = d, h = l), s.negative && (s = s.neg(), v = v.neg()), p.negative && (p = p.neg(), h = h.neg()), [{ a: s, b: v }, { a: p, b: h }]; - }, f.prototype._endoSplit = function(u) { - var d = this.endo.basis, l = d[0], s = d[1], v = s.b.mul(u).divRound(this.n), p = l.b.neg().mul(u).divRound(this.n), h = v.mul(l.a), O = p.mul(s.a), I = v.mul(l.b), k = p.mul(s.b); - return { k1: u.sub(h).sub(O), k2: I.add(k).neg() }; - }, f.prototype.pointFromX = function(u, d) { - (u = new a(u, 16)).red || (u = u.toRed(this.red)); - var l = u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b), s = l.redSqrt(); - if (s.redSqr().redSub(l).cmp(this.zero) !== 0) throw new Error("invalid point"); - var v = s.fromRed().isOdd(); - return (d && !v || !d && v) && (s = s.redNeg()), this.point(u, s); - }, f.prototype.validate = function(u) { - if (u.inf) return !0; - var d = u.x, l = u.y, s = this.a.redMul(d), v = d.redSqr().redMul(d).redIAdd(s).redIAdd(this.b); - return l.redSqr().redISub(v).cmpn(0) === 0; - }, f.prototype._endoWnafMulAdd = function(u, d, l) { - for (var s = this._endoWnafT1, v = this._endoWnafT2, p = 0; p < u.length; p++) { - var h = this._endoSplit(d[p]), O = u[p], I = O._getBeta(); - h.k1.negative && (h.k1.ineg(), O = O.neg(!0)), h.k2.negative && (h.k2.ineg(), I = I.neg(!0)), s[2 * p] = O, s[2 * p + 1] = I, v[2 * p] = h.k1, v[2 * p + 1] = h.k2; - } - for (var k = this._wnafMulAdd(1, s, v, 2 * p, l), R = 0; R < 2 * p; R++) s[R] = null, v[R] = null; - return k; - }, i(b, m.BasePoint), f.prototype.point = function(u, d, l) { - return new b(this, u, d, l); - }, f.prototype.pointFromJSON = function(u, d) { - return b.fromJSON(this, u, d); - }, b.prototype._getBeta = function() { - if (this.curve.endo) { - var u = this.precomputed; - if (u && u.beta) return u.beta; - var d = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); - if (u) { - var l = this.curve, s = function(v) { - return l.point(v.x.redMul(l.endo.beta), v.y); - }; - u.beta = d, d.precomputed = { beta: null, naf: u.naf && { wnd: u.naf.wnd, points: u.naf.points.map(s) }, doubles: u.doubles && { step: u.doubles.step, points: u.doubles.points.map(s) } }; + function O() { + typeof d.removeListener == "function" && d.removeListener("error", B), _([].slice.call(arguments)); } - return d; - } - }, b.prototype.toJSON = function() { - return this.precomputed ? [this.x, this.y, this.precomputed && { doubles: this.precomputed.doubles && { step: this.precomputed.doubles.step, points: this.precomputed.doubles.points.slice(1) }, naf: this.precomputed.naf && { wnd: this.precomputed.naf.wnd, points: this.precomputed.naf.points.slice(1) } }] : [this.x, this.y]; - }, b.fromJSON = function(u, d, l) { - typeof d == "string" && (d = JSON.parse(d)); - var s = u.point(d[0], d[1], l); - if (!d[2]) return s; - function v(h) { - return u.point(h[0], h[1], l); - } - var p = d[2]; - return s.precomputed = { beta: null, doubles: p.doubles && { step: p.doubles.step, points: [s].concat(p.doubles.points.map(v)) }, naf: p.naf && { wnd: p.naf.wnd, points: [s].concat(p.naf.points.map(v)) } }, s; - }, b.prototype.inspect = function() { - return this.isInfinity() ? "" : ""; - }, b.prototype.isInfinity = function() { - return this.inf; - }, b.prototype.add = function(u) { - if (this.inf) return u; - if (u.inf) return this; - if (this.eq(u)) return this.dbl(); - if (this.neg().eq(u)) return this.curve.point(null, null); - if (this.x.cmp(u.x) === 0) return this.curve.point(null, null); - var d = this.y.redSub(u.y); - d.cmpn(0) !== 0 && (d = d.redMul(this.x.redSub(u.x).redInvm())); - var l = d.redSqr().redISub(this.x).redISub(u.x), s = d.redMul(this.x.redSub(l)).redISub(this.y); - return this.curve.point(l, s); - }, b.prototype.dbl = function() { - if (this.inf) return this; - var u = this.y.redAdd(this.y); - if (u.cmpn(0) === 0) return this.curve.point(null, null); - var d = this.curve.a, l = this.x.redSqr(), s = u.redInvm(), v = l.redAdd(l).redIAdd(l).redIAdd(d).redMul(s), p = v.redSqr().redISub(this.x.redAdd(this.x)), h = v.redMul(this.x.redSub(p)).redISub(this.y); - return this.curve.point(p, h); - }, b.prototype.getX = function() { - return this.x.fromRed(); - }, b.prototype.getY = function() { - return this.y.fromRed(); - }, b.prototype.mul = function(u) { - return u = new a(u, 16), this.isInfinity() ? this : this._hasDoubles(u) ? this.curve._fixedNafMul(this, u) : this.curve.endo ? this.curve._endoWnafMulAdd([this], [u]) : this.curve._wnafMul(this, u); - }, b.prototype.mulAdd = function(u, d, l) { - var s = [this, d], v = [u, l]; - return this.curve.endo ? this.curve._endoWnafMulAdd(s, v) : this.curve._wnafMulAdd(1, s, v, 2); - }, b.prototype.jmulAdd = function(u, d, l) { - var s = [this, d], v = [u, l]; - return this.curve.endo ? this.curve._endoWnafMulAdd(s, v, !0) : this.curve._wnafMulAdd(1, s, v, 2, !0); - }, b.prototype.eq = function(u) { - return this === u || this.inf === u.inf && (this.inf || this.x.cmp(u.x) === 0 && this.y.cmp(u.y) === 0); - }, b.prototype.neg = function(u) { - if (this.inf) return this; - var d = this.curve.point(this.x, this.y.redNeg()); - if (u && this.precomputed) { - var l = this.precomputed, s = function(v) { - return v.neg(); - }; - d.precomputed = { naf: l.naf && { wnd: l.naf.wnd, points: l.naf.points.map(s) }, doubles: l.doubles && { step: l.doubles.step, points: l.doubles.points.map(s) } }; + y(d, b, O, { once: !0 }), b !== "error" && function(I, x) { + typeof I.on == "function" && y(I, "error", x, { once: !0 }); + }(d, B); + }); + }, i.EventEmitter = i, i.prototype._events = void 0, i.prototype._eventsCount = 0, i.prototype._maxListeners = void 0; + var p = 10; + function a(d) { + if (typeof d != "function") throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof d); + } + function f(d) { + return d._maxListeners === void 0 ? i.defaultMaxListeners : d._maxListeners; + } + function C(d, b, _, E) { + var B, O, I, x; + if (a(_), (O = d._events) === void 0 ? (O = d._events = /* @__PURE__ */ Object.create(null), d._eventsCount = 0) : (O.newListener !== void 0 && (d.emit("newListener", b, _.listener ? _.listener : _), O = d._events), I = O[b]), I === void 0) I = O[b] = _, ++d._eventsCount; + else if (typeof I == "function" ? I = O[b] = E ? [_, I] : [I, _] : E ? I.unshift(_) : I.push(_), (B = f(d)) > 0 && I.length > B && !I.warned) { + I.warned = !0; + var A = new Error("Possible EventEmitter memory leak detected. " + I.length + " " + String(b) + " listeners added. Use emitter.setMaxListeners() to increase limit"); + A.name = "MaxListenersExceededWarning", A.emitter = d, A.type = b, A.count = I.length, x = A, console && console.warn && console.warn(x); } return d; - }, b.prototype.toJ = function() { - return this.inf ? this.curve.jpoint(null, null, null) : this.curve.jpoint(this.x, this.y, this.curve.one); - }, i(y, m.BasePoint), f.prototype.jpoint = function(u, d, l) { - return new y(this, u, d, l); - }, y.prototype.toP = function() { - if (this.isInfinity()) return this.curve.point(null, null); - var u = this.z.redInvm(), d = u.redSqr(), l = this.x.redMul(d), s = this.y.redMul(d).redMul(u); - return this.curve.point(l, s); - }, y.prototype.neg = function() { - return this.curve.jpoint(this.x, this.y.redNeg(), this.z); - }, y.prototype.add = function(u) { - if (this.isInfinity()) return u; - if (u.isInfinity()) return this; - var d = u.z.redSqr(), l = this.z.redSqr(), s = this.x.redMul(d), v = u.x.redMul(l), p = this.y.redMul(d.redMul(u.z)), h = u.y.redMul(l.redMul(this.z)), O = s.redSub(v), I = p.redSub(h); - if (O.cmpn(0) === 0) return I.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl(); - var k = O.redSqr(), R = k.redMul(O), L = s.redMul(k), N = I.redSqr().redIAdd(R).redISub(L).redISub(L), B = I.redMul(L.redISub(N)).redISub(p.redMul(R)), H = this.z.redMul(u.z).redMul(O); - return this.curve.jpoint(N, B, H); - }, y.prototype.mixedAdd = function(u) { - if (this.isInfinity()) return u.toJ(); - if (u.isInfinity()) return this; - var d = this.z.redSqr(), l = this.x, s = u.x.redMul(d), v = this.y, p = u.y.redMul(d).redMul(this.z), h = l.redSub(s), O = v.redSub(p); - if (h.cmpn(0) === 0) return O.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl(); - var I = h.redSqr(), k = I.redMul(h), R = l.redMul(I), L = O.redSqr().redIAdd(k).redISub(R).redISub(R), N = O.redMul(R.redISub(L)).redISub(v.redMul(k)), B = this.z.redMul(h); - return this.curve.jpoint(L, N, B); - }, y.prototype.dblp = function(u) { - if (u === 0) return this; - if (this.isInfinity()) return this; - if (!u) return this.dbl(); - var d; - if (this.curve.zeroA || this.curve.threeA) { - var l = this; - for (d = 0; d < u; d++) l = l.dbl(); - return l; + } + function w() { + if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments); + } + function m(d, b, _) { + var E = { fired: !1, wrapFn: void 0, target: d, type: b, listener: _ }, B = w.bind(E); + return B.listener = _, E.wrapFn = B, B; + } + function v(d, b, _) { + var E = d._events; + if (E === void 0) return []; + var B = E[b]; + return B === void 0 ? [] : typeof B == "function" ? _ ? [B.listener || B] : [B] : _ ? function(O) { + for (var I = new Array(O.length), x = 0; x < I.length; ++x) I[x] = O[x].listener || O[x]; + return I; + }(B) : u(B, B.length); + } + function l(d) { + var b = this._events; + if (b !== void 0) { + var _ = b[d]; + if (typeof _ == "function") return 1; + if (_ !== void 0) return _.length; } - var s = this.curve.a, v = this.curve.tinv, p = this.x, h = this.y, O = this.z, I = O.redSqr().redSqr(), k = h.redAdd(h); - for (d = 0; d < u; d++) { - var R = p.redSqr(), L = k.redSqr(), N = L.redSqr(), B = R.redAdd(R).redIAdd(R).redIAdd(s.redMul(I)), H = p.redMul(L), U = B.redSqr().redISub(H.redAdd(H)), S = H.redISub(U), T = B.redMul(S); - T = T.redIAdd(T).redISub(N); - var E = k.redMul(O); - d + 1 < u && (I = I.redMul(N)), p = U, O = E, k = T; - } - return this.curve.jpoint(p, k.redMul(v), O); - }, y.prototype.dbl = function() { - return this.isInfinity() ? this : this.curve.zeroA ? this._zeroDbl() : this.curve.threeA ? this._threeDbl() : this._dbl(); - }, y.prototype._zeroDbl = function() { - var u, d, l; - if (this.zOne) { - var s = this.x.redSqr(), v = this.y.redSqr(), p = v.redSqr(), h = this.x.redAdd(v).redSqr().redISub(s).redISub(p); - h = h.redIAdd(h); - var O = s.redAdd(s).redIAdd(s), I = O.redSqr().redISub(h).redISub(h), k = p.redIAdd(p); - k = (k = k.redIAdd(k)).redIAdd(k), u = I, d = O.redMul(h.redISub(I)).redISub(k), l = this.y.redAdd(this.y); - } else { - var R = this.x.redSqr(), L = this.y.redSqr(), N = L.redSqr(), B = this.x.redAdd(L).redSqr().redISub(R).redISub(N); - B = B.redIAdd(B); - var H = R.redAdd(R).redIAdd(R), U = H.redSqr(), S = N.redIAdd(N); - S = (S = S.redIAdd(S)).redIAdd(S), u = U.redISub(B).redISub(B), d = H.redMul(B.redISub(u)).redISub(S), l = (l = this.y.redMul(this.z)).redIAdd(l); - } - return this.curve.jpoint(u, d, l); - }, y.prototype._threeDbl = function() { - var u, d, l; - if (this.zOne) { - var s = this.x.redSqr(), v = this.y.redSqr(), p = v.redSqr(), h = this.x.redAdd(v).redSqr().redISub(s).redISub(p); - h = h.redIAdd(h); - var O = s.redAdd(s).redIAdd(s).redIAdd(this.curve.a), I = O.redSqr().redISub(h).redISub(h); - u = I; - var k = p.redIAdd(p); - k = (k = k.redIAdd(k)).redIAdd(k), d = O.redMul(h.redISub(I)).redISub(k), l = this.y.redAdd(this.y); - } else { - var R = this.z.redSqr(), L = this.y.redSqr(), N = this.x.redMul(L), B = this.x.redSub(R).redMul(this.x.redAdd(R)); - B = B.redAdd(B).redIAdd(B); - var H = N.redIAdd(N), U = (H = H.redIAdd(H)).redAdd(H); - u = B.redSqr().redISub(U), l = this.y.redAdd(this.z).redSqr().redISub(L).redISub(R); - var S = L.redSqr(); - S = (S = (S = S.redIAdd(S)).redIAdd(S)).redIAdd(S), d = B.redMul(H.redISub(u)).redISub(S); - } - return this.curve.jpoint(u, d, l); - }, y.prototype._dbl = function() { - var u = this.curve.a, d = this.x, l = this.y, s = this.z, v = s.redSqr().redSqr(), p = d.redSqr(), h = l.redSqr(), O = p.redAdd(p).redIAdd(p).redIAdd(u.redMul(v)), I = d.redAdd(d), k = (I = I.redIAdd(I)).redMul(h), R = O.redSqr().redISub(k.redAdd(k)), L = k.redISub(R), N = h.redSqr(); - N = (N = (N = N.redIAdd(N)).redIAdd(N)).redIAdd(N); - var B = O.redMul(L).redISub(N), H = l.redAdd(l).redMul(s); - return this.curve.jpoint(R, B, H); - }, y.prototype.trpl = function() { - if (!this.curve.zeroA) return this.dbl().add(this); - var u = this.x.redSqr(), d = this.y.redSqr(), l = this.z.redSqr(), s = d.redSqr(), v = u.redAdd(u).redIAdd(u), p = v.redSqr(), h = this.x.redAdd(d).redSqr().redISub(u).redISub(s), O = (h = (h = (h = h.redIAdd(h)).redAdd(h).redIAdd(h)).redISub(p)).redSqr(), I = s.redIAdd(s); - I = (I = (I = I.redIAdd(I)).redIAdd(I)).redIAdd(I); - var k = v.redIAdd(h).redSqr().redISub(p).redISub(O).redISub(I), R = d.redMul(k); - R = (R = R.redIAdd(R)).redIAdd(R); - var L = this.x.redMul(O).redISub(R); - L = (L = L.redIAdd(L)).redIAdd(L); - var N = this.y.redMul(k.redMul(I.redISub(k)).redISub(h.redMul(O))); - N = (N = (N = N.redIAdd(N)).redIAdd(N)).redIAdd(N); - var B = this.z.redAdd(h).redSqr().redISub(l).redISub(O); - return this.curve.jpoint(L, N, B); - }, y.prototype.mul = function(u, d) { - return u = new a(u, d), this.curve._wnafMul(this, u); - }, y.prototype.eq = function(u) { - if (u.type === "affine") return this.eq(u.toJ()); - if (this === u) return !0; - var d = this.z.redSqr(), l = u.z.redSqr(); - if (this.x.redMul(l).redISub(u.x.redMul(d)).cmpn(0) !== 0) return !1; - var s = d.redMul(this.z), v = l.redMul(u.z); - return this.y.redMul(v).redISub(u.y.redMul(s)).cmpn(0) === 0; - }, y.prototype.eqXToP = function(u) { - var d = this.z.redSqr(), l = u.toRed(this.curve.red).redMul(d); - if (this.x.cmp(l) === 0) return !0; - for (var s = u.clone(), v = this.curve.redN.redMul(d); ; ) { - if (s.iadd(this.curve.n), s.cmp(this.curve.p) >= 0) return !1; - if (l.redIAdd(v), this.x.cmp(l) === 0) return !0; - } - }, y.prototype.inspect = function() { - return this.isInfinity() ? "" : ""; - }, y.prototype.isInfinity = function() { - return this.z.cmpn(0) === 0; - }; - }, 480: (x, n, c) => { - var r, a = n, i = c(7952), m = c(894), t = c(7011).assert; - function f(y) { - y.type === "short" ? this.curve = new m.short(y) : y.type === "edwards" ? this.curve = new m.edwards(y) : this.curve = new m.mont(y), this.g = this.curve.g, this.n = this.curve.n, this.hash = y.hash, t(this.g.validate(), "Invalid curve"), t(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O"); - } - function b(y, u) { - Object.defineProperty(a, y, { configurable: !0, enumerable: !0, get: function() { - var d = new f(u); - return Object.defineProperty(a, y, { configurable: !0, enumerable: !0, value: d }), d; - } }); + return 0; } - a.PresetCurve = f, b("p192", { type: "short", prime: "p192", p: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff", a: "ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc", b: "64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1", n: "ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831", hash: i.sha256, gRed: !1, g: ["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012", "07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"] }), b("p224", { type: "short", prime: "p224", p: "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001", a: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe", b: "b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4", n: "ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d", hash: i.sha256, gRed: !1, g: ["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21", "bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"] }), b("p256", { type: "short", prime: null, p: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff", a: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc", b: "5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b", n: "ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551", hash: i.sha256, gRed: !1, g: ["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296", "4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"] }), b("p384", { type: "short", prime: null, p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff", a: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc", b: "b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef", n: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973", hash: i.sha384, gRed: !1, g: ["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7", "3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"] }), b("p521", { type: "short", prime: null, p: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff", a: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc", b: "00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00", n: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409", hash: i.sha512, gRed: !1, g: ["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66", "00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"] }), b("curve25519", { type: "mont", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "76d06", b: "1", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: i.sha256, gRed: !1, g: ["9"] }), b("ed25519", { type: "edwards", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "-1", c: "1", d: "52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: i.sha256, gRed: !1, g: ["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a", "6666666666666666666666666666666666666666666666666666666666666658"] }); - try { - r = c(4011); - } catch { - r = void 0; + function u(d, b) { + for (var _ = new Array(b), E = 0; E < b; ++E) _[E] = d[E]; + return _; } - b("secp256k1", { type: "short", prime: "k256", p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f", a: "0", b: "7", n: "ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141", h: "1", hash: i.sha256, beta: "7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", lambda: "5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72", basis: [{ a: "3086d221a7d46bcde86c90e49284eb15", b: "-e4437ed6010e88286f547fa90abfe4c3" }, { a: "114ca50f7a8e2f3f657c1108d9d44cfd8", b: "3086d221a7d46bcde86c90e49284eb15" }], gRed: !1, g: ["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", r] }); - }, 7447: (x, n, c) => { - var r = c(8490), a = c(2723), i = c(7011), m = c(480), t = c(5037), f = i.assert, b = c(1200), y = c(8545); - function u(d) { - if (!(this instanceof u)) return new u(d); - typeof d == "string" && (f(Object.prototype.hasOwnProperty.call(m, d), "Unknown curve " + d), d = m[d]), d instanceof m.PresetCurve && (d = { curve: d }), this.curve = d.curve.curve, this.n = this.curve.n, this.nh = this.n.ushrn(1), this.g = this.curve.g, this.g = d.curve.g, this.g.precompute(d.curve.n.bitLength() + 1), this.hash = d.hash || d.curve.hash; - } - x.exports = u, u.prototype.keyPair = function(d) { - return new b(this, d); - }, u.prototype.keyFromPrivate = function(d, l) { - return b.fromPrivate(this, d, l); - }, u.prototype.keyFromPublic = function(d, l) { - return b.fromPublic(this, d, l); - }, u.prototype.genKeyPair = function(d) { - d || (d = {}); - for (var l = new a({ hash: this.hash, pers: d.pers, persEnc: d.persEnc || "utf8", entropy: d.entropy || t(this.hash.hmacStrength), entropyEnc: d.entropy && d.entropyEnc || "utf8", nonce: this.n.toArray() }), s = this.n.byteLength(), v = this.n.sub(new r(2)); ; ) { - var p = new r(l.generate(s)); - if (!(p.cmp(v) > 0)) return p.iaddn(1), this.keyFromPrivate(p); - } - }, u.prototype._truncateToN = function(d, l, s) { - var v; - if (r.isBN(d) || typeof d == "number") v = (d = new r(d, 16)).byteLength(); - else if (typeof d == "object") v = d.length, d = new r(d, 16); + function y(d, b, _, E) { + if (typeof d.on == "function") E.once ? d.once(b, _) : d.on(b, _); else { - var p = d.toString(); - v = p.length + 1 >>> 1, d = new r(p, 16); - } - typeof s != "number" && (s = 8 * v); - var h = s - this.n.bitLength(); - return h > 0 && (d = d.ushrn(h)), !l && d.cmp(this.n) >= 0 ? d.sub(this.n) : d; - }, u.prototype.sign = function(d, l, s, v) { - if (typeof s == "object" && (v = s, s = null), v || (v = {}), typeof d != "string" && typeof d != "number" && !r.isBN(d)) { - f(typeof d == "object" && d && typeof d.length == "number", "Expected message to be an array-like, a hex string, or a BN instance"), f(d.length >>> 0 === d.length); - for (var p = 0; p < d.length; p++) f((255 & d[p]) === d[p]); - } - l = this.keyFromPrivate(l, s), d = this._truncateToN(d, !1, v.msgBitLength), f(!d.isNeg(), "Can not sign a negative message"); - var h = this.n.byteLength(), O = l.getPrivate().toArray("be", h), I = d.toArray("be", h); - f(new r(I).eq(d), "Can not sign message"); - for (var k = new a({ hash: this.hash, entropy: O, nonce: I, pers: v.pers, persEnc: v.persEnc || "utf8" }), R = this.n.sub(new r(1)), L = 0; ; L++) { - var N = v.k ? v.k(L) : new r(k.generate(this.n.byteLength())); - if (!((N = this._truncateToN(N, !0)).cmpn(1) <= 0 || N.cmp(R) >= 0)) { - var B = this.g.mul(N); - if (!B.isInfinity()) { - var H = B.getX(), U = H.umod(this.n); - if (U.cmpn(0) !== 0) { - var S = N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(d)); - if ((S = S.umod(this.n)).cmpn(0) !== 0) { - var T = (B.getY().isOdd() ? 1 : 0) | (H.cmp(U) !== 0 ? 2 : 0); - return v.canonical && S.cmp(this.nh) > 0 && (S = this.n.sub(S), T ^= 1), new y({ r: U, s: S, recoveryParam: T }); - } - } - } - } + if (typeof d.addEventListener != "function") throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof d); + d.addEventListener(b, function B(O) { + E.once && d.removeEventListener(b, B), _(O); + }); } - }, u.prototype.verify = function(d, l, s, v, p) { - p || (p = {}), d = this._truncateToN(d, !1, p.msgBitLength), s = this.keyFromPublic(s, v); - var h = (l = new y(l, "hex")).r, O = l.s; - if (h.cmpn(1) < 0 || h.cmp(this.n) >= 0 || O.cmpn(1) < 0 || O.cmp(this.n) >= 0) return !1; - var I, k = O.invm(this.n), R = k.mul(d).umod(this.n), L = k.mul(h).umod(this.n); - return this.curve._maxwellTrick ? !(I = this.g.jmulAdd(R, s.getPublic(), L)).isInfinity() && I.eqXToP(h) : !(I = this.g.mulAdd(R, s.getPublic(), L)).isInfinity() && I.getX().umod(this.n).cmp(h) === 0; - }, u.prototype.recoverPubKey = function(d, l, s, v) { - f((3 & s) === s, "The recovery param is more than two bits"), l = new y(l, v); - var p = this.n, h = new r(d), O = l.r, I = l.s, k = 1 & s, R = s >> 1; - if (O.cmp(this.curve.p.umod(this.curve.n)) >= 0 && R) throw new Error("Unable to find sencond key candinate"); - O = R ? this.curve.pointFromX(O.add(this.curve.n), k) : this.curve.pointFromX(O, k); - var L = l.r.invm(p), N = p.sub(h).mul(L).umod(p), B = I.mul(L).umod(p); - return this.g.mulAdd(N, O, B); - }, u.prototype.getKeyRecoveryParam = function(d, l, s, v) { - if ((l = new y(l, v)).recoveryParam !== null) return l.recoveryParam; - for (var p = 0; p < 4; p++) { - var h; - try { - h = this.recoverPubKey(d, l, p); - } catch { - continue; - } - if (h.eq(s)) return p; + } + Object.defineProperty(i, "defaultMaxListeners", { enumerable: !0, get: function() { + return p; + }, set: function(d) { + if (typeof d != "number" || d < 0 || o(d)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + d + "."); + p = d; + } }), i.init = function() { + this._events !== void 0 && this._events !== Object.getPrototypeOf(this)._events || (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0; + }, i.prototype.setMaxListeners = function(d) { + if (typeof d != "number" || d < 0 || o(d)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + d + "."); + return this._maxListeners = d, this; + }, i.prototype.getMaxListeners = function() { + return f(this); + }, i.prototype.emit = function(d) { + for (var b = [], _ = 1; _ < arguments.length; _++) b.push(arguments[_]); + var E = d === "error", B = this._events; + if (B !== void 0) E = E && B.error === void 0; + else if (!E) return !1; + if (E) { + var O; + if (b.length > 0 && (O = b[0]), O instanceof Error) throw O; + var I = new Error("Unhandled error." + (O ? " (" + O.message + ")" : "")); + throw I.context = O, I; } - throw new Error("Unable to find valid recovery factor"); - }; - }, 1200: (x, n, c) => { - var r = c(8490), a = c(7011).assert; - function i(m, t) { - this.ec = m, this.priv = null, this.pub = null, t.priv && this._importPrivate(t.priv, t.privEnc), t.pub && this._importPublic(t.pub, t.pubEnc); - } - x.exports = i, i.fromPublic = function(m, t, f) { - return t instanceof i ? t : new i(m, { pub: t, pubEnc: f }); - }, i.fromPrivate = function(m, t, f) { - return t instanceof i ? t : new i(m, { priv: t, privEnc: f }); - }, i.prototype.validate = function() { - var m = this.getPublic(); - return m.isInfinity() ? { result: !1, reason: "Invalid public key" } : m.validate() ? m.mul(this.ec.curve.n).isInfinity() ? { result: !0, reason: null } : { result: !1, reason: "Public key * N != O" } : { result: !1, reason: "Public key is not a point" }; - }, i.prototype.getPublic = function(m, t) { - return typeof m == "string" && (t = m, m = null), this.pub || (this.pub = this.ec.g.mul(this.priv)), t ? this.pub.encode(t, m) : this.pub; - }, i.prototype.getPrivate = function(m) { - return m === "hex" ? this.priv.toString(16, 2) : this.priv; - }, i.prototype._importPrivate = function(m, t) { - this.priv = new r(m, t || 16), this.priv = this.priv.umod(this.ec.curve.n); - }, i.prototype._importPublic = function(m, t) { - if (m.x || m.y) return this.ec.curve.type === "mont" ? a(m.x, "Need x coordinate") : this.ec.curve.type !== "short" && this.ec.curve.type !== "edwards" || a(m.x && m.y, "Need both x and y coordinate"), void (this.pub = this.ec.curve.point(m.x, m.y)); - this.pub = this.ec.curve.decodePoint(m, t); - }, i.prototype.derive = function(m) { - return m.validate() || a(m.validate(), "public point not validated"), m.mul(this.priv).getX(); - }, i.prototype.sign = function(m, t, f) { - return this.ec.sign(m, this, t, f); - }, i.prototype.verify = function(m, t, f) { - return this.ec.verify(m, t, this, void 0, f); - }, i.prototype.inspect = function() { - return ""; - }; - }, 8545: (x, n, c) => { - var r = c(8490), a = c(7011), i = a.assert; - function m(u, d) { - if (u instanceof m) return u; - this._importDER(u, d) || (i(u.r && u.s, "Signature without r or s"), this.r = new r(u.r, 16), this.s = new r(u.s, 16), u.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = u.recoveryParam); - } - function t() { - this.place = 0; - } - function f(u, d) { - var l = u[d.place++]; - if (!(128 & l)) return l; - var s = 15 & l; - if (s === 0 || s > 4 || u[d.place] === 0) return !1; - for (var v = 0, p = 0, h = d.place; p < s; p++, h++) v <<= 8, v |= u[h], v >>>= 0; - return !(v <= 127) && (d.place = h, v); - } - function b(u) { - for (var d = 0, l = u.length - 1; !u[d] && !(128 & u[d + 1]) && d < l; ) d++; - return d === 0 ? u : u.slice(d); - } - function y(u, d) { - if (d < 128) u.push(d); + var x = B[d]; + if (x === void 0) return !1; + if (typeof x == "function") r(x, this, b); else { - var l = 1 + (Math.log(d) / Math.LN2 >>> 3); - for (u.push(128 | l); --l; ) u.push(d >>> (l << 3) & 255); - u.push(d); - } - } - x.exports = m, m.prototype._importDER = function(u, d) { - u = a.toArray(u, d); - var l = new t(); - if (u[l.place++] !== 48) return !1; - var s = f(u, l); - if (s === !1 || s + l.place !== u.length || u[l.place++] !== 2) return !1; - var v = f(u, l); - if (v === !1 || 128 & u[l.place]) return !1; - var p = u.slice(l.place, v + l.place); - if (l.place += v, u[l.place++] !== 2) return !1; - var h = f(u, l); - if (h === !1 || u.length !== h + l.place || 128 & u[l.place]) return !1; - var O = u.slice(l.place, h + l.place); - if (p[0] === 0) { - if (!(128 & p[1])) return !1; - p = p.slice(1); - } - if (O[0] === 0) { - if (!(128 & O[1])) return !1; - O = O.slice(1); - } - return this.r = new r(p), this.s = new r(O), this.recoveryParam = null, !0; - }, m.prototype.toDER = function(u) { - var d = this.r.toArray(), l = this.s.toArray(); - for (128 & d[0] && (d = [0].concat(d)), 128 & l[0] && (l = [0].concat(l)), d = b(d), l = b(l); !(l[0] || 128 & l[1]); ) l = l.slice(1); - var s = [2]; - y(s, d.length), (s = s.concat(d)).push(2), y(s, l.length); - var v = s.concat(l), p = [48]; - return y(p, v.length), p = p.concat(v), a.encode(p, u); - }; - }, 8650: (x, n, c) => { - var r = c(7952), a = c(480), i = c(7011), m = i.assert, t = i.parseBytes, f = c(6661), b = c(220); - function y(u) { - if (m(u === "ed25519", "only tested with ed25519 so far"), !(this instanceof y)) return new y(u); - u = a[u].curve, this.curve = u, this.g = u.g, this.g.precompute(u.n.bitLength() + 1), this.pointClass = u.point().constructor, this.encodingLength = Math.ceil(u.n.bitLength() / 8), this.hash = r.sha512; - } - x.exports = y, y.prototype.sign = function(u, d) { - u = t(u); - var l = this.keyFromSecret(d), s = this.hashInt(l.messagePrefix(), u), v = this.g.mul(s), p = this.encodePoint(v), h = this.hashInt(p, l.pubBytes(), u).mul(l.priv()), O = s.add(h).umod(this.curve.n); - return this.makeSignature({ R: v, S: O, Rencoded: p }); - }, y.prototype.verify = function(u, d, l) { - if (u = t(u), (d = this.makeSignature(d)).S().gte(d.eddsa.curve.n) || d.S().isNeg()) return !1; - var s = this.keyFromPublic(l), v = this.hashInt(d.Rencoded(), s.pubBytes(), u), p = this.g.mul(d.S()); - return d.R().add(s.pub().mul(v)).eq(p); - }, y.prototype.hashInt = function() { - for (var u = this.hash(), d = 0; d < arguments.length; d++) u.update(arguments[d]); - return i.intFromLE(u.digest()).umod(this.curve.n); - }, y.prototype.keyFromPublic = function(u) { - return f.fromPublic(this, u); - }, y.prototype.keyFromSecret = function(u) { - return f.fromSecret(this, u); - }, y.prototype.makeSignature = function(u) { - return u instanceof b ? u : new b(this, u); - }, y.prototype.encodePoint = function(u) { - var d = u.getY().toArray("le", this.encodingLength); - return d[this.encodingLength - 1] |= u.getX().isOdd() ? 128 : 0, d; - }, y.prototype.decodePoint = function(u) { - var d = (u = i.parseBytes(u)).length - 1, l = u.slice(0, d).concat(-129 & u[d]), s = !!(128 & u[d]), v = i.intFromLE(l); - return this.curve.pointFromY(v, s); - }, y.prototype.encodeInt = function(u) { - return u.toArray("le", this.encodingLength); - }, y.prototype.decodeInt = function(u) { - return i.intFromLE(u); - }, y.prototype.isPoint = function(u) { - return u instanceof this.pointClass; - }; - }, 6661: (x, n, c) => { - var r = c(7011), a = r.assert, i = r.parseBytes, m = r.cachedProperty; - function t(f, b) { - this.eddsa = f, this._secret = i(b.secret), f.isPoint(b.pub) ? this._pub = b.pub : this._pubBytes = i(b.pub); - } - t.fromPublic = function(f, b) { - return b instanceof t ? b : new t(f, { pub: b }); - }, t.fromSecret = function(f, b) { - return b instanceof t ? b : new t(f, { secret: b }); - }, t.prototype.secret = function() { - return this._secret; - }, m(t, "pubBytes", function() { - return this.eddsa.encodePoint(this.pub()); - }), m(t, "pub", function() { - return this._pubBytes ? this.eddsa.decodePoint(this._pubBytes) : this.eddsa.g.mul(this.priv()); - }), m(t, "privBytes", function() { - var f = this.eddsa, b = this.hash(), y = f.encodingLength - 1, u = b.slice(0, f.encodingLength); - return u[0] &= 248, u[y] &= 127, u[y] |= 64, u; - }), m(t, "priv", function() { - return this.eddsa.decodeInt(this.privBytes()); - }), m(t, "hash", function() { - return this.eddsa.hash().update(this.secret()).digest(); - }), m(t, "messagePrefix", function() { - return this.hash().slice(this.eddsa.encodingLength); - }), t.prototype.sign = function(f) { - return a(this._secret, "KeyPair can only verify"), this.eddsa.sign(f, this); - }, t.prototype.verify = function(f, b) { - return this.eddsa.verify(f, b, this); - }, t.prototype.getSecret = function(f) { - return a(this._secret, "KeyPair is public only"), r.encode(this.secret(), f); - }, t.prototype.getPublic = function(f) { - return r.encode(this.pubBytes(), f); - }, x.exports = t; - }, 220: (x, n, c) => { - var r = c(8490), a = c(7011), i = a.assert, m = a.cachedProperty, t = a.parseBytes; - function f(b, y) { - this.eddsa = b, typeof y != "object" && (y = t(y)), Array.isArray(y) && (i(y.length === 2 * b.encodingLength, "Signature has invalid size"), y = { R: y.slice(0, b.encodingLength), S: y.slice(b.encodingLength) }), i(y.R && y.S, "Signature without R or S"), b.isPoint(y.R) && (this._R = y.R), y.S instanceof r && (this._S = y.S), this._Rencoded = Array.isArray(y.R) ? y.R : y.Rencoded, this._Sencoded = Array.isArray(y.S) ? y.S : y.Sencoded; - } - m(f, "S", function() { - return this.eddsa.decodeInt(this.Sencoded()); - }), m(f, "R", function() { - return this.eddsa.decodePoint(this.Rencoded()); - }), m(f, "Rencoded", function() { - return this.eddsa.encodePoint(this.R()); - }), m(f, "Sencoded", function() { - return this.eddsa.encodeInt(this.S()); - }), f.prototype.toBytes = function() { - return this.Rencoded().concat(this.Sencoded()); - }, f.prototype.toHex = function() { - return a.encode(this.toBytes(), "hex").toUpperCase(); - }, x.exports = f; - }, 4011: (x) => { - x.exports = { doubles: { step: 4, points: [["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a", "f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"], ["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508", "11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"], ["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739", "d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"], ["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640", "4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"], ["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c", "4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"], ["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda", "96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"], ["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa", "5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"], ["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0", "cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"], ["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d", "9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"], ["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d", "e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"], ["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1", "9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"], ["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0", "5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"], ["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047", "10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"], ["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862", "283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"], ["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7", "7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"], ["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd", "56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"], ["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83", "7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"], ["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a", "53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"], ["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8", "bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"], ["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d", "4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"], ["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725", "7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"], ["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754", "4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"], ["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c", "17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"], ["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6", "6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"], ["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39", "c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"], ["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891", "893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"], ["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b", "febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"], ["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03", "2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"], ["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d", "eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"], ["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070", "7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"], ["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4", "e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"], ["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da", "662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"], ["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11", "1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"], ["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e", "efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"], ["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41", "2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"], ["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef", "67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"], ["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8", "db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"], ["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d", "648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"], ["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96", "35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"], ["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd", "ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"], ["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5", "9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"], ["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266", "40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"], ["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71", "34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"], ["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac", "c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"], ["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751", "1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"], ["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e", "493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"], ["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241", "c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"], ["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3", "be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"], ["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f", "4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"], ["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19", "aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"], ["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be", "b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"], ["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9", "6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"], ["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2", "8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"], ["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13", "7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"], ["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c", "ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"], ["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba", "2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"], ["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151", "e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"], ["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073", "d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"], ["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458", "38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"], ["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b", "69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"], ["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366", "d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"], ["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa", "40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"], ["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0", "620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"], ["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787", "7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"], ["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e", "ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]] }, naf: { wnd: 7, points: [["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9", "388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"], ["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4", "d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"], ["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc", "6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"], ["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe", "cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"], ["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb", "d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"], ["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8", "ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"], ["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e", "581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"], ["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34", "4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"], ["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c", "85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"], ["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5", "321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"], ["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f", "2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"], ["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714", "73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"], ["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729", "a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"], ["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db", "2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"], ["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4", "e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"], ["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5", "b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"], ["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479", "2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"], ["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d", "80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"], ["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f", "1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"], ["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb", "d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"], ["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9", "eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"], ["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963", "758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"], ["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74", "958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"], ["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530", "e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"], ["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b", "5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"], ["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247", "cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"], ["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1", "cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"], ["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120", "4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"], ["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435", "91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"], ["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18", "673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"], ["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8", "59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"], ["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb", "3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"], ["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f", "55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"], ["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143", "efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"], ["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba", "e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"], ["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45", "f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"], ["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a", "744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"], ["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e", "c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"], ["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8", "e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"], ["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c", "30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"], ["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519", "e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"], ["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab", "100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"], ["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca", "ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"], ["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf", "8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"], ["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610", "68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"], ["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4", "f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"], ["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c", "d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"], ["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940", "edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"], ["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980", "a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"], ["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3", "66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"], ["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf", "9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"], ["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63", "4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"], ["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448", "fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"], ["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf", "5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"], ["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5", "8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"], ["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6", "8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"], ["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5", "5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"], ["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99", "f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"], ["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51", "f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"], ["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5", "42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"], ["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5", "204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"], ["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997", "4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"], ["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881", "73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"], ["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5", "39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"], ["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66", "d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"], ["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726", "ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"], ["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede", "6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"], ["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94", "60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"], ["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31", "3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"], ["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51", "b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"], ["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252", "ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"], ["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5", "cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"], ["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b", "6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"], ["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4", "322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"], ["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f", "6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"], ["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889", "2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"], ["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246", "b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"], ["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984", "998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"], ["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a", "b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"], ["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030", "bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"], ["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197", "6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"], ["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593", "c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"], ["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef", "21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"], ["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38", "60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"], ["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a", "49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"], ["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111", "5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"], ["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502", "7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"], ["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea", "be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"], ["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26", "8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"], ["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986", "39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"], ["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e", "62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"], ["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4", "25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"], ["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda", "ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"], ["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859", "cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"], ["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f", "f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"], ["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c", "6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"], ["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942", "fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"], ["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a", "1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"], ["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80", "5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"], ["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d", "438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"], ["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1", "cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"], ["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63", "c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"], ["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352", "6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"], ["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193", "ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"], ["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00", "9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"], ["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58", "ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"], ["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7", "d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"], ["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8", "c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"], ["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e", "67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"], ["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d", "cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"], ["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b", "299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"], ["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f", "f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"], ["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6", "462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"], ["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297", "62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"], ["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a", "7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"], ["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c", "ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"], ["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52", "4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"], ["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb", "bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"], ["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065", "bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"], ["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917", "603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"], ["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9", "cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"], ["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3", "553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"], ["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57", "712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"], ["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66", "ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"], ["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8", "9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"], ["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721", "9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"], ["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180", "4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]] } }; - }, 7011: (x, n, c) => { - var r = n, a = c(8490), i = c(3349), m = c(4367); - r.assert = i, r.toArray = m.toArray, r.zero2 = m.zero2, r.toHex = m.toHex, r.encode = m.encode, r.getNAF = function(t, f, b) { - var y, u = new Array(Math.max(t.bitLength(), b) + 1); - for (y = 0; y < u.length; y += 1) u[y] = 0; - var d = 1 << f + 1, l = t.clone(); - for (y = 0; y < u.length; y++) { - var s, v = l.andln(d - 1); - l.isOdd() ? (s = v > (d >> 1) - 1 ? (d >> 1) - v : v, l.isubn(s)) : s = 0, u[y] = s, l.iushrn(1); + var A = x.length, N = u(x, A); + for (_ = 0; _ < A; ++_) r(N[_], this, b); } - return u; - }, r.getJSF = function(t, f) { - var b = [[], []]; - t = t.clone(), f = f.clone(); - for (var y, u = 0, d = 0; t.cmpn(-u) > 0 || f.cmpn(-d) > 0; ) { - var l, s, v = t.andln(3) + u & 3, p = f.andln(3) + d & 3; - v === 3 && (v = -1), p === 3 && (p = -1), l = 1 & v ? (y = t.andln(7) + u & 7) != 3 && y !== 5 || p !== 2 ? v : -v : 0, b[0].push(l), s = 1 & p ? (y = f.andln(7) + d & 7) != 3 && y !== 5 || v !== 2 ? p : -p : 0, b[1].push(s), 2 * u === l + 1 && (u = 1 - u), 2 * d === s + 1 && (d = 1 - d), t.iushrn(1), f.iushrn(1); - } - return b; - }, r.cachedProperty = function(t, f, b) { - var y = "_" + f; - t.prototype[f] = function() { - return this[y] !== void 0 ? this[y] : this[y] = b.call(this); - }; - }, r.parseBytes = function(t) { - return typeof t == "string" ? r.toArray(t, "hex") : t; - }, r.intFromLE = function(t) { - return new a(t, "hex", "le"); - }; - }, 8490: function(x, n, c) { - (function(r, a) { - function i(S, T) { - if (!S) throw new Error(T || "Assertion failed"); - } - function m(S, T) { - S.super_ = T; - var E = function() { - }; - E.prototype = T.prototype, S.prototype = new E(), S.prototype.constructor = S; - } - function t(S, T, E) { - if (t.isBN(S)) return S; - this.negative = 0, this.words = null, this.length = 0, this.red = null, S !== null && (T !== "le" && T !== "be" || (E = T, T = 10), this._init(S || 0, T || 10, E || "be")); - } - var f; - typeof r == "object" ? r.exports = t : a.BN = t, t.BN = t, t.wordSize = 26; - try { - f = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : c(9368).Buffer; - } catch { - } - function b(S, T) { - var E = S.charCodeAt(T); - return E >= 65 && E <= 70 ? E - 55 : E >= 97 && E <= 102 ? E - 87 : E - 48 & 15; - } - function y(S, T, E) { - var M = b(S, E); - return E - 1 >= T && (M |= b(S, E - 1) << 4), M; - } - function u(S, T, E, M) { - for (var _ = 0, w = Math.min(S.length, E), A = T; A < w; A++) { - var j = S.charCodeAt(A) - 48; - _ *= M, _ += j >= 49 ? j - 49 + 10 : j >= 17 ? j - 17 + 10 : j; - } - return _; - } - t.isBN = function(S) { - return S instanceof t || S !== null && typeof S == "object" && S.constructor.wordSize === t.wordSize && Array.isArray(S.words); - }, t.max = function(S, T) { - return S.cmp(T) > 0 ? S : T; - }, t.min = function(S, T) { - return S.cmp(T) < 0 ? S : T; - }, t.prototype._init = function(S, T, E) { - if (typeof S == "number") return this._initNumber(S, T, E); - if (typeof S == "object") return this._initArray(S, T, E); - T === "hex" && (T = 16), i(T === (0 | T) && T >= 2 && T <= 36); - var M = 0; - (S = S.toString().replace(/\s+/g, ""))[0] === "-" && (M++, this.negative = 1), M < S.length && (T === 16 ? this._parseHex(S, M, E) : (this._parseBase(S, T, M), E === "le" && this._initArray(this.toArray(), T, E))); - }, t.prototype._initNumber = function(S, T, E) { - S < 0 && (this.negative = 1, S = -S), S < 67108864 ? (this.words = [67108863 & S], this.length = 1) : S < 4503599627370496 ? (this.words = [67108863 & S, S / 67108864 & 67108863], this.length = 2) : (i(S < 9007199254740992), this.words = [67108863 & S, S / 67108864 & 67108863, 1], this.length = 3), E === "le" && this._initArray(this.toArray(), T, E); - }, t.prototype._initArray = function(S, T, E) { - if (i(typeof S.length == "number"), S.length <= 0) return this.words = [0], this.length = 1, this; - this.length = Math.ceil(S.length / 3), this.words = new Array(this.length); - for (var M = 0; M < this.length; M++) this.words[M] = 0; - var _, w, A = 0; - if (E === "be") for (M = S.length - 1, _ = 0; M >= 0; M -= 3) w = S[M] | S[M - 1] << 8 | S[M - 2] << 16, this.words[_] |= w << A & 67108863, this.words[_ + 1] = w >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, _++); - else if (E === "le") for (M = 0, _ = 0; M < S.length; M += 3) w = S[M] | S[M + 1] << 8 | S[M + 2] << 16, this.words[_] |= w << A & 67108863, this.words[_ + 1] = w >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, _++); - return this.strip(); - }, t.prototype._parseHex = function(S, T, E) { - this.length = Math.ceil((S.length - T) / 6), this.words = new Array(this.length); - for (var M = 0; M < this.length; M++) this.words[M] = 0; - var _, w = 0, A = 0; - if (E === "be") for (M = S.length - 1; M >= T; M -= 2) _ = y(S, T, M) << w, this.words[A] |= 67108863 & _, w >= 18 ? (w -= 18, A += 1, this.words[A] |= _ >>> 26) : w += 8; - else for (M = (S.length - T) % 2 == 0 ? T + 1 : T; M < S.length; M += 2) _ = y(S, T, M) << w, this.words[A] |= 67108863 & _, w >= 18 ? (w -= 18, A += 1, this.words[A] |= _ >>> 26) : w += 8; - this.strip(); - }, t.prototype._parseBase = function(S, T, E) { - this.words = [0], this.length = 1; - for (var M = 0, _ = 1; _ <= 67108863; _ *= T) M++; - M--, _ = _ / T | 0; - for (var w = S.length - E, A = w % M, j = Math.min(w, w - A) + E, V = 0, D = E; D < j; D += M) V = u(S, D, D + M, T), this.imuln(_), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); - if (A !== 0) { - var z = 1; - for (V = u(S, D, S.length, T), D = 0; D < A; D++) z *= T; - this.imuln(z), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); - } - this.strip(); - }, t.prototype.copy = function(S) { - S.words = new Array(this.length); - for (var T = 0; T < this.length; T++) S.words[T] = this.words[T]; - S.length = this.length, S.negative = this.negative, S.red = this.red; - }, t.prototype.clone = function() { - var S = new t(null); - return this.copy(S), S; - }, t.prototype._expand = function(S) { - for (; this.length < S; ) this.words[this.length++] = 0; - return this; - }, t.prototype.strip = function() { - for (; this.length > 1 && this.words[this.length - 1] === 0; ) this.length--; - return this._normSign(); - }, t.prototype._normSign = function() { - return this.length === 1 && this.words[0] === 0 && (this.negative = 0), this; - }, t.prototype.inspect = function() { - return (this.red ? ""; - }; - var d = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], l = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], s = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; - function v(S, T, E) { - E.negative = T.negative ^ S.negative; - var M = S.length + T.length | 0; - E.length = M, M = M - 1 | 0; - var _ = 0 | S.words[0], w = 0 | T.words[0], A = _ * w, j = 67108863 & A, V = A / 67108864 | 0; - E.words[0] = j; - for (var D = 1; D < M; D++) { - for (var z = V >>> 26, J = 67108863 & V, G = Math.min(D, T.length - 1), Q = Math.max(0, D - S.length + 1); Q <= G; Q++) { - var ee = D - Q | 0; - z += (A = (_ = 0 | S.words[ee]) * (w = 0 | T.words[Q]) + J) / 67108864 | 0, J = 67108863 & A; - } - E.words[D] = 0 | J, V = 0 | z; - } - return V !== 0 ? E.words[D] = 0 | V : E.length--, E.strip(); - } - t.prototype.toString = function(S, T) { - var E; - if (T = 0 | T || 1, (S = S || 10) === 16 || S === "hex") { - E = ""; - for (var M = 0, _ = 0, w = 0; w < this.length; w++) { - var A = this.words[w], j = (16777215 & (A << M | _)).toString(16); - _ = A >>> 24 - M & 16777215, (M += 2) >= 26 && (M -= 26, w--), E = _ !== 0 || w !== this.length - 1 ? d[6 - j.length] + j + E : j + E; - } - for (_ !== 0 && (E = _.toString(16) + E); E.length % T != 0; ) E = "0" + E; - return this.negative !== 0 && (E = "-" + E), E; - } - if (S === (0 | S) && S >= 2 && S <= 36) { - var V = l[S], D = s[S]; - E = ""; - var z = this.clone(); - for (z.negative = 0; !z.isZero(); ) { - var J = z.modn(D).toString(S); - E = (z = z.idivn(D)).isZero() ? J + E : d[V - J.length] + J + E; - } - for (this.isZero() && (E = "0" + E); E.length % T != 0; ) E = "0" + E; - return this.negative !== 0 && (E = "-" + E), E; - } - i(!1, "Base should be between 2 and 36"); - }, t.prototype.toNumber = function() { - var S = this.words[0]; - return this.length === 2 ? S += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? S += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && i(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -S : S; - }, t.prototype.toJSON = function() { - return this.toString(16); - }, t.prototype.toBuffer = function(S, T) { - return i(f !== void 0), this.toArrayLike(f, S, T); - }, t.prototype.toArray = function(S, T) { - return this.toArrayLike(Array, S, T); - }, t.prototype.toArrayLike = function(S, T, E) { - var M = this.byteLength(), _ = E || Math.max(1, M); - i(M <= _, "byte array longer than desired length"), i(_ > 0, "Requested array length <= 0"), this.strip(); - var w, A, j = T === "le", V = new S(_), D = this.clone(); - if (j) { - for (A = 0; !D.isZero(); A++) w = D.andln(255), D.iushrn(8), V[A] = w; - for (; A < _; A++) V[A] = 0; - } else { - for (A = 0; A < _ - M; A++) V[A] = 0; - for (A = 0; !D.isZero(); A++) w = D.andln(255), D.iushrn(8), V[_ - A - 1] = w; - } - return V; - }, Math.clz32 ? t.prototype._countBits = function(S) { - return 32 - Math.clz32(S); - } : t.prototype._countBits = function(S) { - var T = S, E = 0; - return T >= 4096 && (E += 13, T >>>= 13), T >= 64 && (E += 7, T >>>= 7), T >= 8 && (E += 4, T >>>= 4), T >= 2 && (E += 2, T >>>= 2), E + T; - }, t.prototype._zeroBits = function(S) { - if (S === 0) return 26; - var T = S, E = 0; - return 8191 & T || (E += 13, T >>>= 13), 127 & T || (E += 7, T >>>= 7), 15 & T || (E += 4, T >>>= 4), 3 & T || (E += 2, T >>>= 2), 1 & T || E++, E; - }, t.prototype.bitLength = function() { - var S = this.words[this.length - 1], T = this._countBits(S); - return 26 * (this.length - 1) + T; - }, t.prototype.zeroBits = function() { - if (this.isZero()) return 0; - for (var S = 0, T = 0; T < this.length; T++) { - var E = this._zeroBits(this.words[T]); - if (S += E, E !== 26) break; - } - return S; - }, t.prototype.byteLength = function() { - return Math.ceil(this.bitLength() / 8); - }, t.prototype.toTwos = function(S) { - return this.negative !== 0 ? this.abs().inotn(S).iaddn(1) : this.clone(); - }, t.prototype.fromTwos = function(S) { - return this.testn(S - 1) ? this.notn(S).iaddn(1).ineg() : this.clone(); - }, t.prototype.isNeg = function() { - return this.negative !== 0; - }, t.prototype.neg = function() { - return this.clone().ineg(); - }, t.prototype.ineg = function() { - return this.isZero() || (this.negative ^= 1), this; - }, t.prototype.iuor = function(S) { - for (; this.length < S.length; ) this.words[this.length++] = 0; - for (var T = 0; T < S.length; T++) this.words[T] = this.words[T] | S.words[T]; - return this.strip(); - }, t.prototype.ior = function(S) { - return i(!(this.negative | S.negative)), this.iuor(S); - }, t.prototype.or = function(S) { - return this.length > S.length ? this.clone().ior(S) : S.clone().ior(this); - }, t.prototype.uor = function(S) { - return this.length > S.length ? this.clone().iuor(S) : S.clone().iuor(this); - }, t.prototype.iuand = function(S) { - var T; - T = this.length > S.length ? S : this; - for (var E = 0; E < T.length; E++) this.words[E] = this.words[E] & S.words[E]; - return this.length = T.length, this.strip(); - }, t.prototype.iand = function(S) { - return i(!(this.negative | S.negative)), this.iuand(S); - }, t.prototype.and = function(S) { - return this.length > S.length ? this.clone().iand(S) : S.clone().iand(this); - }, t.prototype.uand = function(S) { - return this.length > S.length ? this.clone().iuand(S) : S.clone().iuand(this); - }, t.prototype.iuxor = function(S) { - var T, E; - this.length > S.length ? (T = this, E = S) : (T = S, E = this); - for (var M = 0; M < E.length; M++) this.words[M] = T.words[M] ^ E.words[M]; - if (this !== T) for (; M < T.length; M++) this.words[M] = T.words[M]; - return this.length = T.length, this.strip(); - }, t.prototype.ixor = function(S) { - return i(!(this.negative | S.negative)), this.iuxor(S); - }, t.prototype.xor = function(S) { - return this.length > S.length ? this.clone().ixor(S) : S.clone().ixor(this); - }, t.prototype.uxor = function(S) { - return this.length > S.length ? this.clone().iuxor(S) : S.clone().iuxor(this); - }, t.prototype.inotn = function(S) { - i(typeof S == "number" && S >= 0); - var T = 0 | Math.ceil(S / 26), E = S % 26; - this._expand(T), E > 0 && T--; - for (var M = 0; M < T; M++) this.words[M] = 67108863 & ~this.words[M]; - return E > 0 && (this.words[M] = ~this.words[M] & 67108863 >> 26 - E), this.strip(); - }, t.prototype.notn = function(S) { - return this.clone().inotn(S); - }, t.prototype.setn = function(S, T) { - i(typeof S == "number" && S >= 0); - var E = S / 26 | 0, M = S % 26; - return this._expand(E + 1), this.words[E] = T ? this.words[E] | 1 << M : this.words[E] & ~(1 << M), this.strip(); - }, t.prototype.iadd = function(S) { - var T, E, M; - if (this.negative !== 0 && S.negative === 0) return this.negative = 0, T = this.isub(S), this.negative ^= 1, this._normSign(); - if (this.negative === 0 && S.negative !== 0) return S.negative = 0, T = this.isub(S), S.negative = 1, T._normSign(); - this.length > S.length ? (E = this, M = S) : (E = S, M = this); - for (var _ = 0, w = 0; w < M.length; w++) T = (0 | E.words[w]) + (0 | M.words[w]) + _, this.words[w] = 67108863 & T, _ = T >>> 26; - for (; _ !== 0 && w < E.length; w++) T = (0 | E.words[w]) + _, this.words[w] = 67108863 & T, _ = T >>> 26; - if (this.length = E.length, _ !== 0) this.words[this.length] = _, this.length++; - else if (E !== this) for (; w < E.length; w++) this.words[w] = E.words[w]; - return this; - }, t.prototype.add = function(S) { - var T; - return S.negative !== 0 && this.negative === 0 ? (S.negative = 0, T = this.sub(S), S.negative ^= 1, T) : S.negative === 0 && this.negative !== 0 ? (this.negative = 0, T = S.sub(this), this.negative = 1, T) : this.length > S.length ? this.clone().iadd(S) : S.clone().iadd(this); - }, t.prototype.isub = function(S) { - if (S.negative !== 0) { - S.negative = 0; - var T = this.iadd(S); - return S.negative = 1, T._normSign(); - } - if (this.negative !== 0) return this.negative = 0, this.iadd(S), this.negative = 1, this._normSign(); - var E, M, _ = this.cmp(S); - if (_ === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; - _ > 0 ? (E = this, M = S) : (E = S, M = this); - for (var w = 0, A = 0; A < M.length; A++) w = (T = (0 | E.words[A]) - (0 | M.words[A]) + w) >> 26, this.words[A] = 67108863 & T; - for (; w !== 0 && A < E.length; A++) w = (T = (0 | E.words[A]) + w) >> 26, this.words[A] = 67108863 & T; - if (w === 0 && A < E.length && E !== this) for (; A < E.length; A++) this.words[A] = E.words[A]; - return this.length = Math.max(this.length, A), E !== this && (this.negative = 1), this.strip(); - }, t.prototype.sub = function(S) { - return this.clone().isub(S); - }; - var p = function(S, T, E) { - var M, _, w, A = S.words, j = T.words, V = E.words, D = 0, z = 0 | A[0], J = 8191 & z, G = z >>> 13, Q = 0 | A[1], ee = 8191 & Q, Z = Q >>> 13, q = 0 | A[2], se = 8191 & q, ue = q >>> 13, ce = 0 | A[3], ie = 8191 & ce, fe = ce >>> 13, Te = 0 | A[4], Se = 8191 & Te, te = Te >>> 13, ye = 0 | A[5], ve = 8191 & ye, F = ye >>> 13, W = 0 | A[6], K = 8191 & W, X = W >>> 13, ne = 0 | A[7], re = 8191 & ne, pe = ne >>> 13, Oe = 0 | A[8], xe = 8191 & Oe, Re = Oe >>> 13, De = 0 | A[9], Le = 8191 & De, Ve = De >>> 13, Ze = 0 | j[0], Be = 8191 & Ze, de = Ze >>> 13, oe = 0 | j[1], le = 8191 & oe, me = oe >>> 13, Ce = 0 | j[2], we = 8191 & Ce, Ie = Ce >>> 13, ke = 0 | j[3], Ne = 8191 & ke, He = ke >>> 13, qe = 0 | j[4], Ue = 8191 & qe, $e = qe >>> 13, ct = 0 | j[5], We = 8191 & ct, it = ct >>> 13, bt = 0 | j[6], Xe = 8191 & bt, ut = bt >>> 13, Mt = 0 | j[7], Ye = 8191 & Mt, at = Mt >>> 13, Tt = 0 | j[8], tt = 8191 & Tt, mt = Tt >>> 13, Lt = 0 | j[9], et = 8191 & Lt, lt = Lt >>> 13; - E.negative = S.negative ^ T.negative, E.length = 19; - var xt = (D + (M = Math.imul(J, Be)) | 0) + ((8191 & (_ = (_ = Math.imul(J, de)) + Math.imul(G, Be) | 0)) << 13) | 0; - D = ((w = Math.imul(G, de)) + (_ >>> 13) | 0) + (xt >>> 26) | 0, xt &= 67108863, M = Math.imul(ee, Be), _ = (_ = Math.imul(ee, de)) + Math.imul(Z, Be) | 0, w = Math.imul(Z, de); - var Rt = (D + (M = M + Math.imul(J, le) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, me) | 0) + Math.imul(G, le) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, me) | 0) + (_ >>> 13) | 0) + (Rt >>> 26) | 0, Rt &= 67108863, M = Math.imul(se, Be), _ = (_ = Math.imul(se, de)) + Math.imul(ue, Be) | 0, w = Math.imul(ue, de), M = M + Math.imul(ee, le) | 0, _ = (_ = _ + Math.imul(ee, me) | 0) + Math.imul(Z, le) | 0, w = w + Math.imul(Z, me) | 0; - var Cr = (D + (M = M + Math.imul(J, we) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, Ie) | 0) + Math.imul(G, we) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, Ie) | 0) + (_ >>> 13) | 0) + (Cr >>> 26) | 0, Cr &= 67108863, M = Math.imul(ie, Be), _ = (_ = Math.imul(ie, de)) + Math.imul(fe, Be) | 0, w = Math.imul(fe, de), M = M + Math.imul(se, le) | 0, _ = (_ = _ + Math.imul(se, me) | 0) + Math.imul(ue, le) | 0, w = w + Math.imul(ue, me) | 0, M = M + Math.imul(ee, we) | 0, _ = (_ = _ + Math.imul(ee, Ie) | 0) + Math.imul(Z, we) | 0, w = w + Math.imul(Z, Ie) | 0; - var _r = (D + (M = M + Math.imul(J, Ne) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, He) | 0) + Math.imul(G, Ne) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, He) | 0) + (_ >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, M = Math.imul(Se, Be), _ = (_ = Math.imul(Se, de)) + Math.imul(te, Be) | 0, w = Math.imul(te, de), M = M + Math.imul(ie, le) | 0, _ = (_ = _ + Math.imul(ie, me) | 0) + Math.imul(fe, le) | 0, w = w + Math.imul(fe, me) | 0, M = M + Math.imul(se, we) | 0, _ = (_ = _ + Math.imul(se, Ie) | 0) + Math.imul(ue, we) | 0, w = w + Math.imul(ue, Ie) | 0, M = M + Math.imul(ee, Ne) | 0, _ = (_ = _ + Math.imul(ee, He) | 0) + Math.imul(Z, Ne) | 0, w = w + Math.imul(Z, He) | 0; - var Nr = (D + (M = M + Math.imul(J, Ue) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, $e) | 0) + Math.imul(G, Ue) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, $e) | 0) + (_ >>> 13) | 0) + (Nr >>> 26) | 0, Nr &= 67108863, M = Math.imul(ve, Be), _ = (_ = Math.imul(ve, de)) + Math.imul(F, Be) | 0, w = Math.imul(F, de), M = M + Math.imul(Se, le) | 0, _ = (_ = _ + Math.imul(Se, me) | 0) + Math.imul(te, le) | 0, w = w + Math.imul(te, me) | 0, M = M + Math.imul(ie, we) | 0, _ = (_ = _ + Math.imul(ie, Ie) | 0) + Math.imul(fe, we) | 0, w = w + Math.imul(fe, Ie) | 0, M = M + Math.imul(se, Ne) | 0, _ = (_ = _ + Math.imul(se, He) | 0) + Math.imul(ue, Ne) | 0, w = w + Math.imul(ue, He) | 0, M = M + Math.imul(ee, Ue) | 0, _ = (_ = _ + Math.imul(ee, $e) | 0) + Math.imul(Z, Ue) | 0, w = w + Math.imul(Z, $e) | 0; - var pr = (D + (M = M + Math.imul(J, We) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, it) | 0) + Math.imul(G, We) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, it) | 0) + (_ >>> 13) | 0) + (pr >>> 26) | 0, pr &= 67108863, M = Math.imul(K, Be), _ = (_ = Math.imul(K, de)) + Math.imul(X, Be) | 0, w = Math.imul(X, de), M = M + Math.imul(ve, le) | 0, _ = (_ = _ + Math.imul(ve, me) | 0) + Math.imul(F, le) | 0, w = w + Math.imul(F, me) | 0, M = M + Math.imul(Se, we) | 0, _ = (_ = _ + Math.imul(Se, Ie) | 0) + Math.imul(te, we) | 0, w = w + Math.imul(te, Ie) | 0, M = M + Math.imul(ie, Ne) | 0, _ = (_ = _ + Math.imul(ie, He) | 0) + Math.imul(fe, Ne) | 0, w = w + Math.imul(fe, He) | 0, M = M + Math.imul(se, Ue) | 0, _ = (_ = _ + Math.imul(se, $e) | 0) + Math.imul(ue, Ue) | 0, w = w + Math.imul(ue, $e) | 0, M = M + Math.imul(ee, We) | 0, _ = (_ = _ + Math.imul(ee, it) | 0) + Math.imul(Z, We) | 0, w = w + Math.imul(Z, it) | 0; - var nr = (D + (M = M + Math.imul(J, Xe) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, ut) | 0) + Math.imul(G, Xe) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, ut) | 0) + (_ >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, M = Math.imul(re, Be), _ = (_ = Math.imul(re, de)) + Math.imul(pe, Be) | 0, w = Math.imul(pe, de), M = M + Math.imul(K, le) | 0, _ = (_ = _ + Math.imul(K, me) | 0) + Math.imul(X, le) | 0, w = w + Math.imul(X, me) | 0, M = M + Math.imul(ve, we) | 0, _ = (_ = _ + Math.imul(ve, Ie) | 0) + Math.imul(F, we) | 0, w = w + Math.imul(F, Ie) | 0, M = M + Math.imul(Se, Ne) | 0, _ = (_ = _ + Math.imul(Se, He) | 0) + Math.imul(te, Ne) | 0, w = w + Math.imul(te, He) | 0, M = M + Math.imul(ie, Ue) | 0, _ = (_ = _ + Math.imul(ie, $e) | 0) + Math.imul(fe, Ue) | 0, w = w + Math.imul(fe, $e) | 0, M = M + Math.imul(se, We) | 0, _ = (_ = _ + Math.imul(se, it) | 0) + Math.imul(ue, We) | 0, w = w + Math.imul(ue, it) | 0, M = M + Math.imul(ee, Xe) | 0, _ = (_ = _ + Math.imul(ee, ut) | 0) + Math.imul(Z, Xe) | 0, w = w + Math.imul(Z, ut) | 0; - var Sr = (D + (M = M + Math.imul(J, Ye) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, at) | 0) + Math.imul(G, Ye) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, at) | 0) + (_ >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, M = Math.imul(xe, Be), _ = (_ = Math.imul(xe, de)) + Math.imul(Re, Be) | 0, w = Math.imul(Re, de), M = M + Math.imul(re, le) | 0, _ = (_ = _ + Math.imul(re, me) | 0) + Math.imul(pe, le) | 0, w = w + Math.imul(pe, me) | 0, M = M + Math.imul(K, we) | 0, _ = (_ = _ + Math.imul(K, Ie) | 0) + Math.imul(X, we) | 0, w = w + Math.imul(X, Ie) | 0, M = M + Math.imul(ve, Ne) | 0, _ = (_ = _ + Math.imul(ve, He) | 0) + Math.imul(F, Ne) | 0, w = w + Math.imul(F, He) | 0, M = M + Math.imul(Se, Ue) | 0, _ = (_ = _ + Math.imul(Se, $e) | 0) + Math.imul(te, Ue) | 0, w = w + Math.imul(te, $e) | 0, M = M + Math.imul(ie, We) | 0, _ = (_ = _ + Math.imul(ie, it) | 0) + Math.imul(fe, We) | 0, w = w + Math.imul(fe, it) | 0, M = M + Math.imul(se, Xe) | 0, _ = (_ = _ + Math.imul(se, ut) | 0) + Math.imul(ue, Xe) | 0, w = w + Math.imul(ue, ut) | 0, M = M + Math.imul(ee, Ye) | 0, _ = (_ = _ + Math.imul(ee, at) | 0) + Math.imul(Z, Ye) | 0, w = w + Math.imul(Z, at) | 0; - var Mr = (D + (M = M + Math.imul(J, tt) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, mt) | 0) + Math.imul(G, tt) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, mt) | 0) + (_ >>> 13) | 0) + (Mr >>> 26) | 0, Mr &= 67108863, M = Math.imul(Le, Be), _ = (_ = Math.imul(Le, de)) + Math.imul(Ve, Be) | 0, w = Math.imul(Ve, de), M = M + Math.imul(xe, le) | 0, _ = (_ = _ + Math.imul(xe, me) | 0) + Math.imul(Re, le) | 0, w = w + Math.imul(Re, me) | 0, M = M + Math.imul(re, we) | 0, _ = (_ = _ + Math.imul(re, Ie) | 0) + Math.imul(pe, we) | 0, w = w + Math.imul(pe, Ie) | 0, M = M + Math.imul(K, Ne) | 0, _ = (_ = _ + Math.imul(K, He) | 0) + Math.imul(X, Ne) | 0, w = w + Math.imul(X, He) | 0, M = M + Math.imul(ve, Ue) | 0, _ = (_ = _ + Math.imul(ve, $e) | 0) + Math.imul(F, Ue) | 0, w = w + Math.imul(F, $e) | 0, M = M + Math.imul(Se, We) | 0, _ = (_ = _ + Math.imul(Se, it) | 0) + Math.imul(te, We) | 0, w = w + Math.imul(te, it) | 0, M = M + Math.imul(ie, Xe) | 0, _ = (_ = _ + Math.imul(ie, ut) | 0) + Math.imul(fe, Xe) | 0, w = w + Math.imul(fe, ut) | 0, M = M + Math.imul(se, Ye) | 0, _ = (_ = _ + Math.imul(se, at) | 0) + Math.imul(ue, Ye) | 0, w = w + Math.imul(ue, at) | 0, M = M + Math.imul(ee, tt) | 0, _ = (_ = _ + Math.imul(ee, mt) | 0) + Math.imul(Z, tt) | 0, w = w + Math.imul(Z, mt) | 0; - var xr = (D + (M = M + Math.imul(J, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(J, lt) | 0) + Math.imul(G, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, lt) | 0) + (_ >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, M = Math.imul(Le, le), _ = (_ = Math.imul(Le, me)) + Math.imul(Ve, le) | 0, w = Math.imul(Ve, me), M = M + Math.imul(xe, we) | 0, _ = (_ = _ + Math.imul(xe, Ie) | 0) + Math.imul(Re, we) | 0, w = w + Math.imul(Re, Ie) | 0, M = M + Math.imul(re, Ne) | 0, _ = (_ = _ + Math.imul(re, He) | 0) + Math.imul(pe, Ne) | 0, w = w + Math.imul(pe, He) | 0, M = M + Math.imul(K, Ue) | 0, _ = (_ = _ + Math.imul(K, $e) | 0) + Math.imul(X, Ue) | 0, w = w + Math.imul(X, $e) | 0, M = M + Math.imul(ve, We) | 0, _ = (_ = _ + Math.imul(ve, it) | 0) + Math.imul(F, We) | 0, w = w + Math.imul(F, it) | 0, M = M + Math.imul(Se, Xe) | 0, _ = (_ = _ + Math.imul(Se, ut) | 0) + Math.imul(te, Xe) | 0, w = w + Math.imul(te, ut) | 0, M = M + Math.imul(ie, Ye) | 0, _ = (_ = _ + Math.imul(ie, at) | 0) + Math.imul(fe, Ye) | 0, w = w + Math.imul(fe, at) | 0, M = M + Math.imul(se, tt) | 0, _ = (_ = _ + Math.imul(se, mt) | 0) + Math.imul(ue, tt) | 0, w = w + Math.imul(ue, mt) | 0; - var Lr = (D + (M = M + Math.imul(ee, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(ee, lt) | 0) + Math.imul(Z, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Z, lt) | 0) + (_ >>> 13) | 0) + (Lr >>> 26) | 0, Lr &= 67108863, M = Math.imul(Le, we), _ = (_ = Math.imul(Le, Ie)) + Math.imul(Ve, we) | 0, w = Math.imul(Ve, Ie), M = M + Math.imul(xe, Ne) | 0, _ = (_ = _ + Math.imul(xe, He) | 0) + Math.imul(Re, Ne) | 0, w = w + Math.imul(Re, He) | 0, M = M + Math.imul(re, Ue) | 0, _ = (_ = _ + Math.imul(re, $e) | 0) + Math.imul(pe, Ue) | 0, w = w + Math.imul(pe, $e) | 0, M = M + Math.imul(K, We) | 0, _ = (_ = _ + Math.imul(K, it) | 0) + Math.imul(X, We) | 0, w = w + Math.imul(X, it) | 0, M = M + Math.imul(ve, Xe) | 0, _ = (_ = _ + Math.imul(ve, ut) | 0) + Math.imul(F, Xe) | 0, w = w + Math.imul(F, ut) | 0, M = M + Math.imul(Se, Ye) | 0, _ = (_ = _ + Math.imul(Se, at) | 0) + Math.imul(te, Ye) | 0, w = w + Math.imul(te, at) | 0, M = M + Math.imul(ie, tt) | 0, _ = (_ = _ + Math.imul(ie, mt) | 0) + Math.imul(fe, tt) | 0, w = w + Math.imul(fe, mt) | 0; - var Er = (D + (M = M + Math.imul(se, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(se, lt) | 0) + Math.imul(ue, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(ue, lt) | 0) + (_ >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, M = Math.imul(Le, Ne), _ = (_ = Math.imul(Le, He)) + Math.imul(Ve, Ne) | 0, w = Math.imul(Ve, He), M = M + Math.imul(xe, Ue) | 0, _ = (_ = _ + Math.imul(xe, $e) | 0) + Math.imul(Re, Ue) | 0, w = w + Math.imul(Re, $e) | 0, M = M + Math.imul(re, We) | 0, _ = (_ = _ + Math.imul(re, it) | 0) + Math.imul(pe, We) | 0, w = w + Math.imul(pe, it) | 0, M = M + Math.imul(K, Xe) | 0, _ = (_ = _ + Math.imul(K, ut) | 0) + Math.imul(X, Xe) | 0, w = w + Math.imul(X, ut) | 0, M = M + Math.imul(ve, Ye) | 0, _ = (_ = _ + Math.imul(ve, at) | 0) + Math.imul(F, Ye) | 0, w = w + Math.imul(F, at) | 0, M = M + Math.imul(Se, tt) | 0, _ = (_ = _ + Math.imul(Se, mt) | 0) + Math.imul(te, tt) | 0, w = w + Math.imul(te, mt) | 0; - var mr = (D + (M = M + Math.imul(ie, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(ie, lt) | 0) + Math.imul(fe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(fe, lt) | 0) + (_ >>> 13) | 0) + (mr >>> 26) | 0, mr &= 67108863, M = Math.imul(Le, Ue), _ = (_ = Math.imul(Le, $e)) + Math.imul(Ve, Ue) | 0, w = Math.imul(Ve, $e), M = M + Math.imul(xe, We) | 0, _ = (_ = _ + Math.imul(xe, it) | 0) + Math.imul(Re, We) | 0, w = w + Math.imul(Re, it) | 0, M = M + Math.imul(re, Xe) | 0, _ = (_ = _ + Math.imul(re, ut) | 0) + Math.imul(pe, Xe) | 0, w = w + Math.imul(pe, ut) | 0, M = M + Math.imul(K, Ye) | 0, _ = (_ = _ + Math.imul(K, at) | 0) + Math.imul(X, Ye) | 0, w = w + Math.imul(X, at) | 0, M = M + Math.imul(ve, tt) | 0, _ = (_ = _ + Math.imul(ve, mt) | 0) + Math.imul(F, tt) | 0, w = w + Math.imul(F, mt) | 0; - var Pr = (D + (M = M + Math.imul(Se, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(Se, lt) | 0) + Math.imul(te, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(te, lt) | 0) + (_ >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, M = Math.imul(Le, We), _ = (_ = Math.imul(Le, it)) + Math.imul(Ve, We) | 0, w = Math.imul(Ve, it), M = M + Math.imul(xe, Xe) | 0, _ = (_ = _ + Math.imul(xe, ut) | 0) + Math.imul(Re, Xe) | 0, w = w + Math.imul(Re, ut) | 0, M = M + Math.imul(re, Ye) | 0, _ = (_ = _ + Math.imul(re, at) | 0) + Math.imul(pe, Ye) | 0, w = w + Math.imul(pe, at) | 0, M = M + Math.imul(K, tt) | 0, _ = (_ = _ + Math.imul(K, mt) | 0) + Math.imul(X, tt) | 0, w = w + Math.imul(X, mt) | 0; - var or = (D + (M = M + Math.imul(ve, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(ve, lt) | 0) + Math.imul(F, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(F, lt) | 0) + (_ >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, M = Math.imul(Le, Xe), _ = (_ = Math.imul(Le, ut)) + Math.imul(Ve, Xe) | 0, w = Math.imul(Ve, ut), M = M + Math.imul(xe, Ye) | 0, _ = (_ = _ + Math.imul(xe, at) | 0) + Math.imul(Re, Ye) | 0, w = w + Math.imul(Re, at) | 0, M = M + Math.imul(re, tt) | 0, _ = (_ = _ + Math.imul(re, mt) | 0) + Math.imul(pe, tt) | 0, w = w + Math.imul(pe, mt) | 0; - var Ar = (D + (M = M + Math.imul(K, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(K, lt) | 0) + Math.imul(X, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(X, lt) | 0) + (_ >>> 13) | 0) + (Ar >>> 26) | 0, Ar &= 67108863, M = Math.imul(Le, Ye), _ = (_ = Math.imul(Le, at)) + Math.imul(Ve, Ye) | 0, w = Math.imul(Ve, at), M = M + Math.imul(xe, tt) | 0, _ = (_ = _ + Math.imul(xe, mt) | 0) + Math.imul(Re, tt) | 0, w = w + Math.imul(Re, mt) | 0; - var ir = (D + (M = M + Math.imul(re, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(re, lt) | 0) + Math.imul(pe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(pe, lt) | 0) + (_ >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, M = Math.imul(Le, tt), _ = (_ = Math.imul(Le, mt)) + Math.imul(Ve, tt) | 0, w = Math.imul(Ve, mt); - var $t = (D + (M = M + Math.imul(xe, et) | 0) | 0) + ((8191 & (_ = (_ = _ + Math.imul(xe, lt) | 0) + Math.imul(Re, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Re, lt) | 0) + (_ >>> 13) | 0) + ($t >>> 26) | 0, $t &= 67108863; - var ar = (D + (M = Math.imul(Le, et)) | 0) + ((8191 & (_ = (_ = Math.imul(Le, lt)) + Math.imul(Ve, et) | 0)) << 13) | 0; - return D = ((w = Math.imul(Ve, lt)) + (_ >>> 13) | 0) + (ar >>> 26) | 0, ar &= 67108863, V[0] = xt, V[1] = Rt, V[2] = Cr, V[3] = _r, V[4] = Nr, V[5] = pr, V[6] = nr, V[7] = Sr, V[8] = Mr, V[9] = xr, V[10] = Lr, V[11] = Er, V[12] = mr, V[13] = Pr, V[14] = or, V[15] = Ar, V[16] = ir, V[17] = $t, V[18] = ar, D !== 0 && (V[19] = D, E.length++), E; - }; - function h(S, T, E) { - return new O().mulp(S, T, E); - } - function O(S, T) { - this.x = S, this.y = T; - } - Math.imul || (p = v), t.prototype.mulTo = function(S, T) { - var E, M = this.length + S.length; - return E = this.length === 10 && S.length === 10 ? p(this, S, T) : M < 63 ? v(this, S, T) : M < 1024 ? function(_, w, A) { - A.negative = w.negative ^ _.negative, A.length = _.length + w.length; - for (var j = 0, V = 0, D = 0; D < A.length - 1; D++) { - var z = V; - V = 0; - for (var J = 67108863 & j, G = Math.min(D, w.length - 1), Q = Math.max(0, D - _.length + 1); Q <= G; Q++) { - var ee = D - Q, Z = (0 | _.words[ee]) * (0 | w.words[Q]), q = 67108863 & Z; - J = 67108863 & (q = q + J | 0), V += (z = (z = z + (Z / 67108864 | 0) | 0) + (q >>> 26) | 0) >>> 26, z &= 67108863; - } - A.words[D] = J, j = z, z = V; - } - return j !== 0 ? A.words[D] = j : A.length--, A.strip(); - }(this, S, T) : h(this, S, T), E; - }, O.prototype.makeRBT = function(S) { - for (var T = new Array(S), E = t.prototype._countBits(S) - 1, M = 0; M < S; M++) T[M] = this.revBin(M, E, S); - return T; - }, O.prototype.revBin = function(S, T, E) { - if (S === 0 || S === E - 1) return S; - for (var M = 0, _ = 0; _ < T; _++) M |= (1 & S) << T - _ - 1, S >>= 1; - return M; - }, O.prototype.permute = function(S, T, E, M, _, w) { - for (var A = 0; A < w; A++) M[A] = T[S[A]], _[A] = E[S[A]]; - }, O.prototype.transform = function(S, T, E, M, _, w) { - this.permute(w, S, T, E, M, _); - for (var A = 1; A < _; A <<= 1) for (var j = A << 1, V = Math.cos(2 * Math.PI / j), D = Math.sin(2 * Math.PI / j), z = 0; z < _; z += j) for (var J = V, G = D, Q = 0; Q < A; Q++) { - var ee = E[z + Q], Z = M[z + Q], q = E[z + Q + A], se = M[z + Q + A], ue = J * q - G * se; - se = J * se + G * q, q = ue, E[z + Q] = ee + q, M[z + Q] = Z + se, E[z + Q + A] = ee - q, M[z + Q + A] = Z - se, Q !== j && (ue = V * J - D * G, G = V * G + D * J, J = ue); - } - }, O.prototype.guessLen13b = function(S, T) { - var E = 1 | Math.max(T, S), M = 1 & E, _ = 0; - for (E = E / 2 | 0; E; E >>>= 1) _++; - return 1 << _ + 1 + M; - }, O.prototype.conjugate = function(S, T, E) { - if (!(E <= 1)) for (var M = 0; M < E / 2; M++) { - var _ = S[M]; - S[M] = S[E - M - 1], S[E - M - 1] = _, _ = T[M], T[M] = -T[E - M - 1], T[E - M - 1] = -_; - } - }, O.prototype.normalize13b = function(S, T) { - for (var E = 0, M = 0; M < T / 2; M++) { - var _ = 8192 * Math.round(S[2 * M + 1] / T) + Math.round(S[2 * M] / T) + E; - S[M] = 67108863 & _, E = _ < 67108864 ? 0 : _ / 67108864 | 0; - } - return S; - }, O.prototype.convert13b = function(S, T, E, M) { - for (var _ = 0, w = 0; w < T; w++) _ += 0 | S[w], E[2 * w] = 8191 & _, _ >>>= 13, E[2 * w + 1] = 8191 & _, _ >>>= 13; - for (w = 2 * T; w < M; ++w) E[w] = 0; - i(_ === 0), i(!(-8192 & _)); - }, O.prototype.stub = function(S) { - for (var T = new Array(S), E = 0; E < S; E++) T[E] = 0; - return T; - }, O.prototype.mulp = function(S, T, E) { - var M = 2 * this.guessLen13b(S.length, T.length), _ = this.makeRBT(M), w = this.stub(M), A = new Array(M), j = new Array(M), V = new Array(M), D = new Array(M), z = new Array(M), J = new Array(M), G = E.words; - G.length = M, this.convert13b(S.words, S.length, A, M), this.convert13b(T.words, T.length, D, M), this.transform(A, w, j, V, M, _), this.transform(D, w, z, J, M, _); - for (var Q = 0; Q < M; Q++) { - var ee = j[Q] * z[Q] - V[Q] * J[Q]; - V[Q] = j[Q] * J[Q] + V[Q] * z[Q], j[Q] = ee; - } - return this.conjugate(j, V, M), this.transform(j, V, G, w, M, _), this.conjugate(G, w, M), this.normalize13b(G, M), E.negative = S.negative ^ T.negative, E.length = S.length + T.length, E.strip(); - }, t.prototype.mul = function(S) { - var T = new t(null); - return T.words = new Array(this.length + S.length), this.mulTo(S, T); - }, t.prototype.mulf = function(S) { - var T = new t(null); - return T.words = new Array(this.length + S.length), h(this, S, T); - }, t.prototype.imul = function(S) { - return this.clone().mulTo(S, this); - }, t.prototype.imuln = function(S) { - i(typeof S == "number"), i(S < 67108864); - for (var T = 0, E = 0; E < this.length; E++) { - var M = (0 | this.words[E]) * S, _ = (67108863 & M) + (67108863 & T); - T >>= 26, T += M / 67108864 | 0, T += _ >>> 26, this.words[E] = 67108863 & _; - } - return T !== 0 && (this.words[E] = T, this.length++), this; - }, t.prototype.muln = function(S) { - return this.clone().imuln(S); - }, t.prototype.sqr = function() { - return this.mul(this); - }, t.prototype.isqr = function() { - return this.imul(this.clone()); - }, t.prototype.pow = function(S) { - var T = function(w) { - for (var A = new Array(w.bitLength()), j = 0; j < A.length; j++) { - var V = j / 26 | 0, D = j % 26; - A[j] = (w.words[V] & 1 << D) >>> D; - } - return A; - }(S); - if (T.length === 0) return new t(1); - for (var E = this, M = 0; M < T.length && T[M] === 0; M++, E = E.sqr()) ; - if (++M < T.length) for (var _ = E.sqr(); M < T.length; M++, _ = _.sqr()) T[M] !== 0 && (E = E.mul(_)); - return E; - }, t.prototype.iushln = function(S) { - i(typeof S == "number" && S >= 0); - var T, E = S % 26, M = (S - E) / 26, _ = 67108863 >>> 26 - E << 26 - E; - if (E !== 0) { - var w = 0; - for (T = 0; T < this.length; T++) { - var A = this.words[T] & _, j = (0 | this.words[T]) - A << E; - this.words[T] = j | w, w = A >>> 26 - E; - } - w && (this.words[T] = w, this.length++); - } - if (M !== 0) { - for (T = this.length - 1; T >= 0; T--) this.words[T + M] = this.words[T]; - for (T = 0; T < M; T++) this.words[T] = 0; - this.length += M; - } - return this.strip(); - }, t.prototype.ishln = function(S) { - return i(this.negative === 0), this.iushln(S); - }, t.prototype.iushrn = function(S, T, E) { - var M; - i(typeof S == "number" && S >= 0), M = T ? (T - T % 26) / 26 : 0; - var _ = S % 26, w = Math.min((S - _) / 26, this.length), A = 67108863 ^ 67108863 >>> _ << _, j = E; - if (M -= w, M = Math.max(0, M), j) { - for (var V = 0; V < w; V++) j.words[V] = this.words[V]; - j.length = w; - } - if (w !== 0) if (this.length > w) for (this.length -= w, V = 0; V < this.length; V++) this.words[V] = this.words[V + w]; - else this.words[0] = 0, this.length = 1; - var D = 0; - for (V = this.length - 1; V >= 0 && (D !== 0 || V >= M); V--) { - var z = 0 | this.words[V]; - this.words[V] = D << 26 - _ | z >>> _, D = z & A; - } - return j && D !== 0 && (j.words[j.length++] = D), this.length === 0 && (this.words[0] = 0, this.length = 1), this.strip(); - }, t.prototype.ishrn = function(S, T, E) { - return i(this.negative === 0), this.iushrn(S, T, E); - }, t.prototype.shln = function(S) { - return this.clone().ishln(S); - }, t.prototype.ushln = function(S) { - return this.clone().iushln(S); - }, t.prototype.shrn = function(S) { - return this.clone().ishrn(S); - }, t.prototype.ushrn = function(S) { - return this.clone().iushrn(S); - }, t.prototype.testn = function(S) { - i(typeof S == "number" && S >= 0); - var T = S % 26, E = (S - T) / 26, M = 1 << T; - return !(this.length <= E || !(this.words[E] & M)); - }, t.prototype.imaskn = function(S) { - i(typeof S == "number" && S >= 0); - var T = S % 26, E = (S - T) / 26; - if (i(this.negative === 0, "imaskn works only with positive numbers"), this.length <= E) return this; - if (T !== 0 && E++, this.length = Math.min(E, this.length), T !== 0) { - var M = 67108863 ^ 67108863 >>> T << T; - this.words[this.length - 1] &= M; - } - return this.strip(); - }, t.prototype.maskn = function(S) { - return this.clone().imaskn(S); - }, t.prototype.iaddn = function(S) { - return i(typeof S == "number"), i(S < 67108864), S < 0 ? this.isubn(-S) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) < S ? (this.words[0] = S - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(S), this.negative = 1, this) : this._iaddn(S); - }, t.prototype._iaddn = function(S) { - this.words[0] += S; - for (var T = 0; T < this.length && this.words[T] >= 67108864; T++) this.words[T] -= 67108864, T === this.length - 1 ? this.words[T + 1] = 1 : this.words[T + 1]++; - return this.length = Math.max(this.length, T + 1), this; - }, t.prototype.isubn = function(S) { - if (i(typeof S == "number"), i(S < 67108864), S < 0) return this.iaddn(-S); - if (this.negative !== 0) return this.negative = 0, this.iaddn(S), this.negative = 1, this; - if (this.words[0] -= S, this.length === 1 && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; - else for (var T = 0; T < this.length && this.words[T] < 0; T++) this.words[T] += 67108864, this.words[T + 1] -= 1; - return this.strip(); - }, t.prototype.addn = function(S) { - return this.clone().iaddn(S); - }, t.prototype.subn = function(S) { - return this.clone().isubn(S); - }, t.prototype.iabs = function() { - return this.negative = 0, this; - }, t.prototype.abs = function() { - return this.clone().iabs(); - }, t.prototype._ishlnsubmul = function(S, T, E) { - var M, _, w = S.length + E; - this._expand(w); - var A = 0; - for (M = 0; M < S.length; M++) { - _ = (0 | this.words[M + E]) + A; - var j = (0 | S.words[M]) * T; - A = ((_ -= 67108863 & j) >> 26) - (j / 67108864 | 0), this.words[M + E] = 67108863 & _; - } - for (; M < this.length - E; M++) A = (_ = (0 | this.words[M + E]) + A) >> 26, this.words[M + E] = 67108863 & _; - if (A === 0) return this.strip(); - for (i(A === -1), A = 0, M = 0; M < this.length; M++) A = (_ = -(0 | this.words[M]) + A) >> 26, this.words[M] = 67108863 & _; - return this.negative = 1, this.strip(); - }, t.prototype._wordDiv = function(S, T) { - var E = (this.length, S.length), M = this.clone(), _ = S, w = 0 | _.words[_.length - 1]; - (E = 26 - this._countBits(w)) != 0 && (_ = _.ushln(E), M.iushln(E), w = 0 | _.words[_.length - 1]); - var A, j = M.length - _.length; - if (T !== "mod") { - (A = new t(null)).length = j + 1, A.words = new Array(A.length); - for (var V = 0; V < A.length; V++) A.words[V] = 0; - } - var D = M.clone()._ishlnsubmul(_, 1, j); - D.negative === 0 && (M = D, A && (A.words[j] = 1)); - for (var z = j - 1; z >= 0; z--) { - var J = 67108864 * (0 | M.words[_.length + z]) + (0 | M.words[_.length + z - 1]); - for (J = Math.min(J / w | 0, 67108863), M._ishlnsubmul(_, J, z); M.negative !== 0; ) J--, M.negative = 0, M._ishlnsubmul(_, 1, z), M.isZero() || (M.negative ^= 1); - A && (A.words[z] = J); - } - return A && A.strip(), M.strip(), T !== "div" && E !== 0 && M.iushrn(E), { div: A || null, mod: M }; - }, t.prototype.divmod = function(S, T, E) { - return i(!S.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && S.negative === 0 ? (w = this.neg().divmod(S, T), T !== "mod" && (M = w.div.neg()), T !== "div" && (_ = w.mod.neg(), E && _.negative !== 0 && _.iadd(S)), { div: M, mod: _ }) : this.negative === 0 && S.negative !== 0 ? (w = this.divmod(S.neg(), T), T !== "mod" && (M = w.div.neg()), { div: M, mod: w.mod }) : this.negative & S.negative ? (w = this.neg().divmod(S.neg(), T), T !== "div" && (_ = w.mod.neg(), E && _.negative !== 0 && _.isub(S)), { div: w.div, mod: _ }) : S.length > this.length || this.cmp(S) < 0 ? { div: new t(0), mod: this } : S.length === 1 ? T === "div" ? { div: this.divn(S.words[0]), mod: null } : T === "mod" ? { div: null, mod: new t(this.modn(S.words[0])) } : { div: this.divn(S.words[0]), mod: new t(this.modn(S.words[0])) } : this._wordDiv(S, T); - var M, _, w; - }, t.prototype.div = function(S) { - return this.divmod(S, "div", !1).div; - }, t.prototype.mod = function(S) { - return this.divmod(S, "mod", !1).mod; - }, t.prototype.umod = function(S) { - return this.divmod(S, "mod", !0).mod; - }, t.prototype.divRound = function(S) { - var T = this.divmod(S); - if (T.mod.isZero()) return T.div; - var E = T.div.negative !== 0 ? T.mod.isub(S) : T.mod, M = S.ushrn(1), _ = S.andln(1), w = E.cmp(M); - return w < 0 || _ === 1 && w === 0 ? T.div : T.div.negative !== 0 ? T.div.isubn(1) : T.div.iaddn(1); - }, t.prototype.modn = function(S) { - i(S <= 67108863); - for (var T = 67108864 % S, E = 0, M = this.length - 1; M >= 0; M--) E = (T * E + (0 | this.words[M])) % S; - return E; - }, t.prototype.idivn = function(S) { - i(S <= 67108863); - for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = (0 | this.words[E]) + 67108864 * T; - this.words[E] = M / S | 0, T = M % S; - } - return this.strip(); - }, t.prototype.divn = function(S) { - return this.clone().idivn(S); - }, t.prototype.egcd = function(S) { - i(S.negative === 0), i(!S.isZero()); - var T = this, E = S.clone(); - T = T.negative !== 0 ? T.umod(S) : T.clone(); - for (var M = new t(1), _ = new t(0), w = new t(0), A = new t(1), j = 0; T.isEven() && E.isEven(); ) T.iushrn(1), E.iushrn(1), ++j; - for (var V = E.clone(), D = T.clone(); !T.isZero(); ) { - for (var z = 0, J = 1; !(T.words[0] & J) && z < 26; ++z, J <<= 1) ; - if (z > 0) for (T.iushrn(z); z-- > 0; ) (M.isOdd() || _.isOdd()) && (M.iadd(V), _.isub(D)), M.iushrn(1), _.iushrn(1); - for (var G = 0, Q = 1; !(E.words[0] & Q) && G < 26; ++G, Q <<= 1) ; - if (G > 0) for (E.iushrn(G); G-- > 0; ) (w.isOdd() || A.isOdd()) && (w.iadd(V), A.isub(D)), w.iushrn(1), A.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), M.isub(w), _.isub(A)) : (E.isub(T), w.isub(M), A.isub(_)); - } - return { a: w, b: A, gcd: E.iushln(j) }; - }, t.prototype._invmp = function(S) { - i(S.negative === 0), i(!S.isZero()); - var T = this, E = S.clone(); - T = T.negative !== 0 ? T.umod(S) : T.clone(); - for (var M, _ = new t(1), w = new t(0), A = E.clone(); T.cmpn(1) > 0 && E.cmpn(1) > 0; ) { - for (var j = 0, V = 1; !(T.words[0] & V) && j < 26; ++j, V <<= 1) ; - if (j > 0) for (T.iushrn(j); j-- > 0; ) _.isOdd() && _.iadd(A), _.iushrn(1); - for (var D = 0, z = 1; !(E.words[0] & z) && D < 26; ++D, z <<= 1) ; - if (D > 0) for (E.iushrn(D); D-- > 0; ) w.isOdd() && w.iadd(A), w.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), _.isub(w)) : (E.isub(T), w.isub(_)); - } - return (M = T.cmpn(1) === 0 ? _ : w).cmpn(0) < 0 && M.iadd(S), M; - }, t.prototype.gcd = function(S) { - if (this.isZero()) return S.abs(); - if (S.isZero()) return this.abs(); - var T = this.clone(), E = S.clone(); - T.negative = 0, E.negative = 0; - for (var M = 0; T.isEven() && E.isEven(); M++) T.iushrn(1), E.iushrn(1); - for (; ; ) { - for (; T.isEven(); ) T.iushrn(1); - for (; E.isEven(); ) E.iushrn(1); - var _ = T.cmp(E); - if (_ < 0) { - var w = T; - T = E, E = w; - } else if (_ === 0 || E.cmpn(1) === 0) break; - T.isub(E); - } - return E.iushln(M); - }, t.prototype.invm = function(S) { - return this.egcd(S).a.umod(S); - }, t.prototype.isEven = function() { - return !(1 & this.words[0]); - }, t.prototype.isOdd = function() { - return !(1 & ~this.words[0]); - }, t.prototype.andln = function(S) { - return this.words[0] & S; - }, t.prototype.bincn = function(S) { - i(typeof S == "number"); - var T = S % 26, E = (S - T) / 26, M = 1 << T; - if (this.length <= E) return this._expand(E + 1), this.words[E] |= M, this; - for (var _ = M, w = E; _ !== 0 && w < this.length; w++) { - var A = 0 | this.words[w]; - _ = (A += _) >>> 26, A &= 67108863, this.words[w] = A; - } - return _ !== 0 && (this.words[w] = _, this.length++), this; - }, t.prototype.isZero = function() { - return this.length === 1 && this.words[0] === 0; - }, t.prototype.cmpn = function(S) { - var T, E = S < 0; - if (this.negative !== 0 && !E) return -1; - if (this.negative === 0 && E) return 1; - if (this.strip(), this.length > 1) T = 1; - else { - E && (S = -S), i(S <= 67108863, "Number is too big"); - var M = 0 | this.words[0]; - T = M === S ? 0 : M < S ? -1 : 1; - } - return this.negative !== 0 ? 0 | -T : T; - }, t.prototype.cmp = function(S) { - if (this.negative !== 0 && S.negative === 0) return -1; - if (this.negative === 0 && S.negative !== 0) return 1; - var T = this.ucmp(S); - return this.negative !== 0 ? 0 | -T : T; - }, t.prototype.ucmp = function(S) { - if (this.length > S.length) return 1; - if (this.length < S.length) return -1; - for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = 0 | this.words[E], _ = 0 | S.words[E]; - if (M !== _) { - M < _ ? T = -1 : M > _ && (T = 1); - break; - } - } - return T; - }, t.prototype.gtn = function(S) { - return this.cmpn(S) === 1; - }, t.prototype.gt = function(S) { - return this.cmp(S) === 1; - }, t.prototype.gten = function(S) { - return this.cmpn(S) >= 0; - }, t.prototype.gte = function(S) { - return this.cmp(S) >= 0; - }, t.prototype.ltn = function(S) { - return this.cmpn(S) === -1; - }, t.prototype.lt = function(S) { - return this.cmp(S) === -1; - }, t.prototype.lten = function(S) { - return this.cmpn(S) <= 0; - }, t.prototype.lte = function(S) { - return this.cmp(S) <= 0; - }, t.prototype.eqn = function(S) { - return this.cmpn(S) === 0; - }, t.prototype.eq = function(S) { - return this.cmp(S) === 0; - }, t.red = function(S) { - return new H(S); - }, t.prototype.toRed = function(S) { - return i(!this.red, "Already a number in reduction context"), i(this.negative === 0, "red works only with positives"), S.convertTo(this)._forceRed(S); - }, t.prototype.fromRed = function() { - return i(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); - }, t.prototype._forceRed = function(S) { - return this.red = S, this; - }, t.prototype.forceRed = function(S) { - return i(!this.red, "Already a number in reduction context"), this._forceRed(S); - }, t.prototype.redAdd = function(S) { - return i(this.red, "redAdd works only with red numbers"), this.red.add(this, S); - }, t.prototype.redIAdd = function(S) { - return i(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, S); - }, t.prototype.redSub = function(S) { - return i(this.red, "redSub works only with red numbers"), this.red.sub(this, S); - }, t.prototype.redISub = function(S) { - return i(this.red, "redISub works only with red numbers"), this.red.isub(this, S); - }, t.prototype.redShl = function(S) { - return i(this.red, "redShl works only with red numbers"), this.red.shl(this, S); - }, t.prototype.redMul = function(S) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, S), this.red.mul(this, S); - }, t.prototype.redIMul = function(S) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, S), this.red.imul(this, S); - }, t.prototype.redSqr = function() { - return i(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); - }, t.prototype.redISqr = function() { - return i(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); - }, t.prototype.redSqrt = function() { - return i(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); - }, t.prototype.redInvm = function() { - return i(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); - }, t.prototype.redNeg = function() { - return i(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); - }, t.prototype.redPow = function(S) { - return i(this.red && !S.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, S); - }; - var I = { k256: null, p224: null, p192: null, p25519: null }; - function k(S, T) { - this.name = S, this.p = new t(T, 16), this.n = this.p.bitLength(), this.k = new t(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); - } - function R() { - k.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); - } - function L() { - k.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); - } - function N() { - k.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); - } - function B() { - k.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); - } - function H(S) { - if (typeof S == "string") { - var T = t._prime(S); - this.m = T.p, this.prime = T; - } else i(S.gtn(1), "modulus must be greater than 1"), this.m = S, this.prime = null; - } - function U(S) { - H.call(this, S), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); - } - k.prototype._tmp = function() { - var S = new t(null); - return S.words = new Array(Math.ceil(this.n / 13)), S; - }, k.prototype.ireduce = function(S) { - var T, E = S; - do - this.split(E, this.tmp), T = (E = (E = this.imulK(E)).iadd(this.tmp)).bitLength(); - while (T > this.n); - var M = T < this.n ? -1 : E.ucmp(this.p); - return M === 0 ? (E.words[0] = 0, E.length = 1) : M > 0 ? E.isub(this.p) : E.strip !== void 0 ? E.strip() : E._strip(), E; - }, k.prototype.split = function(S, T) { - S.iushrn(this.n, 0, T); - }, k.prototype.imulK = function(S) { - return S.imul(this.k); - }, m(R, k), R.prototype.split = function(S, T) { - for (var E = 4194303, M = Math.min(S.length, 9), _ = 0; _ < M; _++) T.words[_] = S.words[_]; - if (T.length = M, S.length <= 9) return S.words[0] = 0, void (S.length = 1); - var w = S.words[9]; - for (T.words[T.length++] = w & E, _ = 10; _ < S.length; _++) { - var A = 0 | S.words[_]; - S.words[_ - 10] = (A & E) << 4 | w >>> 22, w = A; - } - w >>>= 22, S.words[_ - 10] = w, w === 0 && S.length > 10 ? S.length -= 10 : S.length -= 9; - }, R.prototype.imulK = function(S) { - S.words[S.length] = 0, S.words[S.length + 1] = 0, S.length += 2; - for (var T = 0, E = 0; E < S.length; E++) { - var M = 0 | S.words[E]; - T += 977 * M, S.words[E] = 67108863 & T, T = 64 * M + (T / 67108864 | 0); - } - return S.words[S.length - 1] === 0 && (S.length--, S.words[S.length - 1] === 0 && S.length--), S; - }, m(L, k), m(N, k), m(B, k), B.prototype.imulK = function(S) { - for (var T = 0, E = 0; E < S.length; E++) { - var M = 19 * (0 | S.words[E]) + T, _ = 67108863 & M; - M >>>= 26, S.words[E] = _, T = M; - } - return T !== 0 && (S.words[S.length++] = T), S; - }, t._prime = function(S) { - if (I[S]) return I[S]; - var T; - if (S === "k256") T = new R(); - else if (S === "p224") T = new L(); - else if (S === "p192") T = new N(); - else { - if (S !== "p25519") throw new Error("Unknown prime " + S); - T = new B(); - } - return I[S] = T, T; - }, H.prototype._verify1 = function(S) { - i(S.negative === 0, "red works only with positives"), i(S.red, "red works only with red numbers"); - }, H.prototype._verify2 = function(S, T) { - i(!(S.negative | T.negative), "red works only with positives"), i(S.red && S.red === T.red, "red works only with red numbers"); - }, H.prototype.imod = function(S) { - return this.prime ? this.prime.ireduce(S)._forceRed(this) : S.umod(this.m)._forceRed(this); - }, H.prototype.neg = function(S) { - return S.isZero() ? S.clone() : this.m.sub(S)._forceRed(this); - }, H.prototype.add = function(S, T) { - this._verify2(S, T); - var E = S.add(T); - return E.cmp(this.m) >= 0 && E.isub(this.m), E._forceRed(this); - }, H.prototype.iadd = function(S, T) { - this._verify2(S, T); - var E = S.iadd(T); - return E.cmp(this.m) >= 0 && E.isub(this.m), E; - }, H.prototype.sub = function(S, T) { - this._verify2(S, T); - var E = S.sub(T); - return E.cmpn(0) < 0 && E.iadd(this.m), E._forceRed(this); - }, H.prototype.isub = function(S, T) { - this._verify2(S, T); - var E = S.isub(T); - return E.cmpn(0) < 0 && E.iadd(this.m), E; - }, H.prototype.shl = function(S, T) { - return this._verify1(S), this.imod(S.ushln(T)); - }, H.prototype.imul = function(S, T) { - return this._verify2(S, T), this.imod(S.imul(T)); - }, H.prototype.mul = function(S, T) { - return this._verify2(S, T), this.imod(S.mul(T)); - }, H.prototype.isqr = function(S) { - return this.imul(S, S.clone()); - }, H.prototype.sqr = function(S) { - return this.mul(S, S); - }, H.prototype.sqrt = function(S) { - if (S.isZero()) return S.clone(); - var T = this.m.andln(3); - if (i(T % 2 == 1), T === 3) { - var E = this.m.add(new t(1)).iushrn(2); - return this.pow(S, E); - } - for (var M = this.m.subn(1), _ = 0; !M.isZero() && M.andln(1) === 0; ) _++, M.iushrn(1); - i(!M.isZero()); - var w = new t(1).toRed(this), A = w.redNeg(), j = this.m.subn(1).iushrn(1), V = this.m.bitLength(); - for (V = new t(2 * V * V).toRed(this); this.pow(V, j).cmp(A) !== 0; ) V.redIAdd(A); - for (var D = this.pow(V, M), z = this.pow(S, M.addn(1).iushrn(1)), J = this.pow(S, M), G = _; J.cmp(w) !== 0; ) { - for (var Q = J, ee = 0; Q.cmp(w) !== 0; ee++) Q = Q.redSqr(); - i(ee < G); - var Z = this.pow(D, new t(1).iushln(G - ee - 1)); - z = z.redMul(Z), D = Z.redSqr(), J = J.redMul(D), G = ee; - } - return z; - }, H.prototype.invm = function(S) { - var T = S._invmp(this.m); - return T.negative !== 0 ? (T.negative = 0, this.imod(T).redNeg()) : this.imod(T); - }, H.prototype.pow = function(S, T) { - if (T.isZero()) return new t(1).toRed(this); - if (T.cmpn(1) === 0) return S.clone(); - var E = new Array(16); - E[0] = new t(1).toRed(this), E[1] = S; - for (var M = 2; M < E.length; M++) E[M] = this.mul(E[M - 1], S); - var _ = E[0], w = 0, A = 0, j = T.bitLength() % 26; - for (j === 0 && (j = 26), M = T.length - 1; M >= 0; M--) { - for (var V = T.words[M], D = j - 1; D >= 0; D--) { - var z = V >> D & 1; - _ !== E[0] && (_ = this.sqr(_)), z !== 0 || w !== 0 ? (w <<= 1, w |= z, (++A == 4 || M === 0 && D === 0) && (_ = this.mul(_, E[w]), A = 0, w = 0)) : A = 0; - } - j = 26; - } - return _; - }, H.prototype.convertTo = function(S) { - var T = S.umod(this.m); - return T === S ? T.clone() : T; - }, H.prototype.convertFrom = function(S) { - var T = S.clone(); - return T.red = null, T; - }, t.mont = function(S) { - return new U(S); - }, m(U, H), U.prototype.convertTo = function(S) { - return this.imod(S.ushln(this.shift)); - }, U.prototype.convertFrom = function(S) { - var T = this.imod(S.mul(this.rinv)); - return T.red = null, T; - }, U.prototype.imul = function(S, T) { - if (S.isZero() || T.isZero()) return S.words[0] = 0, S.length = 1, S; - var E = S.imul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), _ = E.isub(M).iushrn(this.shift), w = _; - return _.cmp(this.m) >= 0 ? w = _.isub(this.m) : _.cmpn(0) < 0 && (w = _.iadd(this.m)), w._forceRed(this); - }, U.prototype.mul = function(S, T) { - if (S.isZero() || T.isZero()) return new t(0)._forceRed(this); - var E = S.mul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), _ = E.isub(M).iushrn(this.shift), w = _; - return _.cmp(this.m) >= 0 ? w = _.isub(this.m) : _.cmpn(0) < 0 && (w = _.iadd(this.m)), w._forceRed(this); - }, U.prototype.invm = function(S) { - return this.imod(S._invmp(this.m).mul(this.r2))._forceRed(this); - }; - })(x = c.nmd(x), this); - }, 655: (x, n, c) => { - var r = c(453)("%Object.defineProperty%", !0) || !1; - if (r) try { - r({}, "a", { value: 1 }); - } catch { - r = !1; - } - x.exports = r; - }, 1237: (x) => { - x.exports = EvalError; - }, 9383: (x) => { - x.exports = Error; - }, 9290: (x) => { - x.exports = RangeError; - }, 9538: (x) => { - x.exports = ReferenceError; - }, 8068: (x) => { - x.exports = SyntaxError; - }, 9675: (x) => { - x.exports = TypeError; - }, 5345: (x) => { - x.exports = URIError; - }, 7007: (x) => { - var n, c = typeof Reflect == "object" ? Reflect : null, r = c && typeof c.apply == "function" ? c.apply : function(p, h, O) { - return Function.prototype.apply.call(p, h, O); - }; - n = c && typeof c.ownKeys == "function" ? c.ownKeys : Object.getOwnPropertySymbols ? function(p) { - return Object.getOwnPropertyNames(p).concat(Object.getOwnPropertySymbols(p)); - } : function(p) { - return Object.getOwnPropertyNames(p); - }; - var a = Number.isNaN || function(p) { - return p != p; - }; - function i() { - i.init.call(this); - } - x.exports = i, x.exports.once = function(p, h) { - return new Promise(function(O, I) { - function k(L) { - p.removeListener(h, R), I(L); - } - function R() { - typeof p.removeListener == "function" && p.removeListener("error", k), O([].slice.call(arguments)); - } - v(p, h, R, { once: !0 }), h !== "error" && function(L, N) { - typeof L.on == "function" && v(L, "error", N, { once: !0 }); - }(p, k); - }); - }, i.EventEmitter = i, i.prototype._events = void 0, i.prototype._eventsCount = 0, i.prototype._maxListeners = void 0; - var m = 10; - function t(p) { - if (typeof p != "function") throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof p); - } - function f(p) { - return p._maxListeners === void 0 ? i.defaultMaxListeners : p._maxListeners; - } - function b(p, h, O, I) { - var k, R, L, N; - if (t(O), (R = p._events) === void 0 ? (R = p._events = /* @__PURE__ */ Object.create(null), p._eventsCount = 0) : (R.newListener !== void 0 && (p.emit("newListener", h, O.listener ? O.listener : O), R = p._events), L = R[h]), L === void 0) L = R[h] = O, ++p._eventsCount; - else if (typeof L == "function" ? L = R[h] = I ? [O, L] : [L, O] : I ? L.unshift(O) : L.push(O), (k = f(p)) > 0 && L.length > k && !L.warned) { - L.warned = !0; - var B = new Error("Possible EventEmitter memory leak detected. " + L.length + " " + String(h) + " listeners added. Use emitter.setMaxListeners() to increase limit"); - B.name = "MaxListenersExceededWarning", B.emitter = p, B.type = h, B.count = L.length, N = B, console && console.warn && console.warn(N); - } - return p; - } - function y() { - if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments); - } - function u(p, h, O) { - var I = { fired: !1, wrapFn: void 0, target: p, type: h, listener: O }, k = y.bind(I); - return k.listener = O, I.wrapFn = k, k; - } - function d(p, h, O) { - var I = p._events; - if (I === void 0) return []; - var k = I[h]; - return k === void 0 ? [] : typeof k == "function" ? O ? [k.listener || k] : [k] : O ? function(R) { - for (var L = new Array(R.length), N = 0; N < L.length; ++N) L[N] = R[N].listener || R[N]; - return L; - }(k) : s(k, k.length); - } - function l(p) { - var h = this._events; - if (h !== void 0) { - var O = h[p]; - if (typeof O == "function") return 1; - if (O !== void 0) return O.length; - } - return 0; - } - function s(p, h) { - for (var O = new Array(h), I = 0; I < h; ++I) O[I] = p[I]; - return O; - } - function v(p, h, O, I) { - if (typeof p.on == "function") I.once ? p.once(h, O) : p.on(h, O); - else { - if (typeof p.addEventListener != "function") throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof p); - p.addEventListener(h, function k(R) { - I.once && p.removeEventListener(h, k), O(R); - }); - } - } - Object.defineProperty(i, "defaultMaxListeners", { enumerable: !0, get: function() { - return m; - }, set: function(p) { - if (typeof p != "number" || p < 0 || a(p)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + p + "."); - m = p; - } }), i.init = function() { - this._events !== void 0 && this._events !== Object.getPrototypeOf(this)._events || (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0; - }, i.prototype.setMaxListeners = function(p) { - if (typeof p != "number" || p < 0 || a(p)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + p + "."); - return this._maxListeners = p, this; - }, i.prototype.getMaxListeners = function() { - return f(this); - }, i.prototype.emit = function(p) { - for (var h = [], O = 1; O < arguments.length; O++) h.push(arguments[O]); - var I = p === "error", k = this._events; - if (k !== void 0) I = I && k.error === void 0; - else if (!I) return !1; - if (I) { - var R; - if (h.length > 0 && (R = h[0]), R instanceof Error) throw R; - var L = new Error("Unhandled error." + (R ? " (" + R.message + ")" : "")); - throw L.context = R, L; - } - var N = k[p]; - if (N === void 0) return !1; - if (typeof N == "function") r(N, this, h); - else { - var B = N.length, H = s(N, B); - for (O = 0; O < B; ++O) r(H[O], this, h); - } - return !0; - }, i.prototype.addListener = function(p, h) { - return b(this, p, h, !1); - }, i.prototype.on = i.prototype.addListener, i.prototype.prependListener = function(p, h) { - return b(this, p, h, !0); - }, i.prototype.once = function(p, h) { - return t(h), this.on(p, u(this, p, h)), this; - }, i.prototype.prependOnceListener = function(p, h) { - return t(h), this.prependListener(p, u(this, p, h)), this; - }, i.prototype.removeListener = function(p, h) { - var O, I, k, R, L; - if (t(h), (I = this._events) === void 0) return this; - if ((O = I[p]) === void 0) return this; - if (O === h || O.listener === h) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete I[p], I.removeListener && this.emit("removeListener", p, O.listener || h)); - else if (typeof O != "function") { - for (k = -1, R = O.length - 1; R >= 0; R--) if (O[R] === h || O[R].listener === h) { - L = O[R].listener, k = R; - break; - } - if (k < 0) return this; - k === 0 ? O.shift() : function(N, B) { - for (; B + 1 < N.length; B++) N[B] = N[B + 1]; - N.pop(); - }(O, k), O.length === 1 && (I[p] = O[0]), I.removeListener !== void 0 && this.emit("removeListener", p, L || h); + return !0; + }, i.prototype.addListener = function(d, b) { + return C(this, d, b, !1); + }, i.prototype.on = i.prototype.addListener, i.prototype.prependListener = function(d, b) { + return C(this, d, b, !0); + }, i.prototype.once = function(d, b) { + return a(b), this.on(d, m(this, d, b)), this; + }, i.prototype.prependOnceListener = function(d, b) { + return a(b), this.prependListener(d, m(this, d, b)), this; + }, i.prototype.removeListener = function(d, b) { + var _, E, B, O, I; + if (a(b), (E = this._events) === void 0) return this; + if ((_ = E[d]) === void 0) return this; + if (_ === b || _.listener === b) --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete E[d], E.removeListener && this.emit("removeListener", d, _.listener || b)); + else if (typeof _ != "function") { + for (B = -1, O = _.length - 1; O >= 0; O--) if (_[O] === b || _[O].listener === b) { + I = _[O].listener, B = O; + break; + } + if (B < 0) return this; + B === 0 ? _.shift() : function(x, A) { + for (; A + 1 < x.length; A++) x[A] = x[A + 1]; + x.pop(); + }(_, B), _.length === 1 && (E[d] = _[0]), E.removeListener !== void 0 && this.emit("removeListener", d, I || b); } return this; - }, i.prototype.off = i.prototype.removeListener, i.prototype.removeAllListeners = function(p) { - var h, O, I; - if ((O = this._events) === void 0) return this; - if (O.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : O[p] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete O[p]), this; + }, i.prototype.off = i.prototype.removeListener, i.prototype.removeAllListeners = function(d) { + var b, _, E; + if ((_ = this._events) === void 0) return this; + if (_.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : _[d] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete _[d]), this; if (arguments.length === 0) { - var k, R = Object.keys(O); - for (I = 0; I < R.length; ++I) (k = R[I]) !== "removeListener" && this.removeAllListeners(k); + var B, O = Object.keys(_); + for (E = 0; E < O.length; ++E) (B = O[E]) !== "removeListener" && this.removeAllListeners(B); return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this; } - if (typeof (h = O[p]) == "function") this.removeListener(p, h); - else if (h !== void 0) for (I = h.length - 1; I >= 0; I--) this.removeListener(p, h[I]); + if (typeof (b = _[d]) == "function") this.removeListener(d, b); + else if (b !== void 0) for (E = b.length - 1; E >= 0; E--) this.removeListener(d, b[E]); return this; - }, i.prototype.listeners = function(p) { - return d(this, p, !0); - }, i.prototype.rawListeners = function(p) { - return d(this, p, !1); - }, i.listenerCount = function(p, h) { - return typeof p.listenerCount == "function" ? p.listenerCount(h) : l.call(p, h); + }, i.prototype.listeners = function(d) { + return v(this, d, !0); + }, i.prototype.rawListeners = function(d) { + return v(this, d, !1); + }, i.listenerCount = function(d, b) { + return typeof d.listenerCount == "function" ? d.listenerCount(b) : l.call(d, b); }, i.prototype.listenerCount = l, i.prototype.eventNames = function() { return this._eventsCount > 0 ? n(this._events) : []; }; - }, 1731: (x, n, c) => { - var r = c(5606), a = c(8287).Buffer, i = c(8835).parse, m = c(7007), t = c(1083), f = c(1568), b = c(537), y = ["pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "secureProtocol", "servername", "checkServerIdentity"], u = [239, 187, 191], d = 262144, l = /^(cookie|authorization)$/i; - function s(h, O) { - var I = s.CONNECTING, k = O && O.headers, R = !1; + }, 1731(g, n, s) { + var r = s(5606), o = s(8287).Buffer, i = s(8835).parse, p = s(7007), a = s(1083), f = s(1568), C = s(537), w = ["pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "secureProtocol", "servername", "checkServerIdentity"], m = [239, 187, 191], v = 262144, l = /^(cookie|authorization)$/i; + function u(b, _) { + var E = u.CONNECTING, B = _ && _.headers, O = !1; Object.defineProperty(this, "readyState", { get: function() { - return I; + return E; } }), Object.defineProperty(this, "url", { get: function() { - return h; + return b; } }); - var L, N = this; - function B(A) { - I !== s.CLOSED && (I = s.CONNECTING, _("error", new v("error", { message: A })), E && (h = E, E = null, R = !1), setTimeout(function() { - I !== s.CONNECTING || N.connectionInProgress || (N.connectionInProgress = !0, M()); - }, N.reconnectInterval)); - } - N.reconnectInterval = 1e3, N.connectionInProgress = !1; - var H = ""; - k && k["Last-Event-ID"] && (H = k["Last-Event-ID"], delete k["Last-Event-ID"]); - var U = !1, S = "", T = "", E = null; - function M() { - var A = i(h), j = A.protocol === "https:"; - if (A.headers = { "Cache-Control": "no-cache", Accept: "text/event-stream" }, H && (A.headers["Last-Event-ID"] = H), k) { - var V = R ? function(ee) { - var Z = {}; - for (var q in ee) l.test(q) || (Z[q] = ee[q]); - return Z; - }(k) : k; - for (var D in V) { - var z = V[D]; - z && (A.headers[D] = z); + var I, x = this; + function A(P) { + E !== u.CLOSED && (E = u.CONNECTING, R("error", new y("error", { message: P })), T && (b = T, T = null, O = !1), setTimeout(function() { + E !== u.CONNECTING || x.connectionInProgress || (x.connectionInProgress = !0, L()); + }, x.reconnectInterval)); + } + x.reconnectInterval = 1e3, x.connectionInProgress = !1; + var N = ""; + B && B["Last-Event-ID"] && (N = B["Last-Event-ID"], delete B["Last-Event-ID"]); + var k = !1, j = "", D = "", T = null; + function L() { + var P = i(b), H = P.protocol === "https:"; + if (P.headers = { "Cache-Control": "no-cache", Accept: "text/event-stream" }, N && (P.headers["Last-Event-ID"] = N), B) { + var K = O ? function(te) { + var X = {}; + for (var Z in te) l.test(Z) || (X[Z] = te[Z]); + return X; + }(B) : B; + for (var V in K) { + var U = K[V]; + U && (P.headers[V] = U); } } - if (A.rejectUnauthorized = !(O && !O.rejectUnauthorized), O && O.createConnection !== void 0 && (A.createConnection = O.createConnection), O && O.proxy) { - var J = i(O.proxy); - j = J.protocol === "https:", A.protocol = j ? "https:" : "http:", A.path = h, A.headers.Host = A.host, A.hostname = J.hostname, A.host = J.host, A.port = J.port; + if (P.rejectUnauthorized = !(_ && !_.rejectUnauthorized), _ && _.createConnection !== void 0 && (P.createConnection = _.createConnection), _ && _.proxy) { + var F = i(_.proxy); + H = F.protocol === "https:", P.protocol = H ? "https:" : "http:", P.path = b, P.headers.Host = P.host, P.hostname = F.hostname, P.host = F.host, P.port = F.port; } - if (O && O.https) { - for (var G in O.https) if (y.indexOf(G) !== -1) { - var Q = O.https[G]; - Q !== void 0 && (A[G] = Q); + if (_ && _.https) { + for (var Q in _.https) if (w.indexOf(Q) !== -1) { + var ne = _.https[Q]; + ne !== void 0 && (P[Q] = ne); } } - O && O.withCredentials !== void 0 && (A.withCredentials = O.withCredentials), L = (j ? t : f).request(A, function(ee) { - if (N.connectionInProgress = !1, ee.statusCode === 500 || ee.statusCode === 502 || ee.statusCode === 503 || ee.statusCode === 504) return _("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })), void B(); - if (ee.statusCode === 301 || ee.statusCode === 302 || ee.statusCode === 307) { - var Z = ee.headers.location; - if (!Z) return void _("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })); - var q = new URL(h).origin, se = new URL(Z).origin; - return R = q !== se, ee.statusCode === 307 && (E = h), h = Z, void r.nextTick(M); + _ && _.withCredentials !== void 0 && (P.withCredentials = _.withCredentials), I = (H ? a : f).request(P, function(te) { + if (x.connectionInProgress = !1, te.statusCode === 500 || te.statusCode === 502 || te.statusCode === 503 || te.statusCode === 504) return R("error", new y("error", { status: te.statusCode, message: te.statusMessage })), void A(); + if (te.statusCode === 301 || te.statusCode === 302 || te.statusCode === 307) { + var X = te.headers.location; + if (!X) return void R("error", new y("error", { status: te.statusCode, message: te.statusMessage })); + var Z = new URL(b).origin, fe = new URL(X).origin; + return O = Z !== fe, te.statusCode === 307 && (T = b), b = X, void r.nextTick(L); } - if (ee.statusCode !== 200) return _("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })), N.close(); - var ue, ce; - I = s.OPEN, ee.on("close", function() { - ee.removeAllListeners("close"), ee.removeAllListeners("end"), B(); - }), ee.on("end", function() { - ee.removeAllListeners("close"), ee.removeAllListeners("end"), B(); - }), _("open", new v("open")); - var ie = 0, fe = -1, Te = 0, Se = 0; - ee.on("data", function(te) { - ue ? (te.length > ue.length - Se && ((Te = 2 * ue.length + te.length) > d && (Te = ue.length + te.length + d), ce = a.alloc(Te), ue.copy(ce, 0, 0, Se), ue = ce), te.copy(ue, Se), Se += te.length) : (function(ne) { - return u.every(function(re, pe) { - return ne[pe] === re; + if (te.statusCode !== 200) return R("error", new y("error", { status: te.statusCode, message: te.statusMessage })), x.close(); + var le, Se; + E = u.OPEN, te.on("close", function() { + te.removeAllListeners("close"), te.removeAllListeners("end"), A(); + }), te.on("end", function() { + te.removeAllListeners("close"), te.removeAllListeners("end"), A(); + }), R("open", new y("open")); + var de = 0, me = -1, Oe = 0, Ce = 0; + te.on("data", function(G) { + le ? (G.length > le.length - Ce && ((Oe = 2 * le.length + G.length) > v && (Oe = le.length + G.length + v), Se = o.alloc(Oe), le.copy(Se, 0, 0, Ce), le = Se), G.copy(le, Ce), Ce += G.length) : (function($) { + return m.every(function(Y, ce) { + return $[ce] === Y; }); - }(ue = te) && (ue = ue.slice(u.length)), Se = ue.length); - for (var ye = 0, ve = Se; ye < ve; ) { - U && (ue[ye] === 10 && ++ye, U = !1); - for (var F, W = -1, K = fe, X = ie; W < 0 && X < ve; ++X) (F = ue[X]) === 58 ? K < 0 && (K = X - ye) : F === 13 ? (U = !0, W = X - ye) : F === 10 && (W = X - ye); - if (W < 0) { - ie = ve - ye, fe = K; + }(le = G) && (le = le.slice(m.length)), Ce = le.length); + for (var ie = 0, we = Ce; ie < we; ) { + k && (le[ie] === 10 && ++ie, k = !1); + for (var z, J = -1, q = me, re = de; J < 0 && re < we; ++re) (z = le[re]) === 58 ? q < 0 && (q = re - ie) : z === 13 ? (k = !0, J = re - ie) : z === 10 && (J = re - ie); + if (J < 0) { + de = we - ie, me = q; break; } - ie = 0, fe = -1, w(ue, ye, K, W), ye += W + 1; + de = 0, me = -1, M(le, ie, q, J), ie += J + 1; } - ye === ve ? (ue = void 0, Se = 0) : ye > 0 && (ue = ue.slice(ye, Se), Se = ue.length); + ie === we ? (le = void 0, Ce = 0) : ie > 0 && (le = le.slice(ie, Ce), Ce = le.length); }); - }), L.on("error", function(ee) { - N.connectionInProgress = !1, B(ee.message); - }), L.setNoDelay && L.setNoDelay(!0), L.end(); + }), I.on("error", function(te) { + x.connectionInProgress = !1, A(te.message); + }), I.setNoDelay && I.setNoDelay(!0), I.end(); } - function _() { - N.listeners(arguments[0]).length > 0 && N.emit.apply(N, arguments); + function R() { + x.listeners(arguments[0]).length > 0 && x.emit.apply(x, arguments); } - function w(A, j, V, D) { - if (D === 0) { - if (S.length > 0) { - var z = T || "message"; - _(z, new p(z, { data: S.slice(0, -1), lastEventId: H, origin: new URL(h).origin })), S = ""; + function M(P, H, K, V) { + if (V === 0) { + if (j.length > 0) { + var U = D || "message"; + R(U, new d(U, { data: j.slice(0, -1), lastEventId: N, origin: new URL(b).origin })), j = ""; } - T = void 0; - } else if (V > 0) { - var J, G = V < 0, Q = A.slice(j, j + (G ? D : V)).toString(); - j += J = G ? D : A[j + V + 1] !== 32 ? V + 1 : V + 2; - var ee = D - J, Z = A.slice(j, j + ee).toString(); - if (Q === "data") S += Z + ` + D = void 0; + } else if (K > 0) { + var F, Q = K < 0, ne = P.slice(H, H + (Q ? V : K)).toString(); + H += F = Q ? V : P[H + K + 1] !== 32 ? K + 1 : K + 2; + var te = V - F, X = P.slice(H, H + te).toString(); + if (ne === "data") j += X + ` `; - else if (Q === "event") T = Z; - else if (Q === "id") H = Z; - else if (Q === "retry") { - var q = parseInt(Z, 10); - Number.isNaN(q) || (N.reconnectInterval = q); + else if (ne === "event") D = X; + else if (ne === "id") N = X; + else if (ne === "retry") { + var Z = parseInt(X, 10); + Number.isNaN(Z) || (x.reconnectInterval = Z); } } } - M(), this._close = function() { - I !== s.CLOSED && (I = s.CLOSED, L.abort && L.abort(), L.xhr && L.xhr.abort && L.xhr.abort()); + L(), this._close = function() { + E !== u.CLOSED && (E = u.CLOSED, I.abort && I.abort(), I.xhr && I.xhr.abort && I.xhr.abort()); }; } - function v(h, O) { - if (Object.defineProperty(this, "type", { writable: !1, value: h, enumerable: !0 }), O) for (var I in O) O.hasOwnProperty(I) && Object.defineProperty(this, I, { writable: !1, value: O[I], enumerable: !0 }); + function y(b, _) { + if (Object.defineProperty(this, "type", { writable: !1, value: b, enumerable: !0 }), _) for (var E in _) _.hasOwnProperty(E) && Object.defineProperty(this, E, { writable: !1, value: _[E], enumerable: !0 }); } - function p(h, O) { - for (var I in Object.defineProperty(this, "type", { writable: !1, value: h, enumerable: !0 }), O) O.hasOwnProperty(I) && Object.defineProperty(this, I, { writable: !1, value: O[I], enumerable: !0 }); + function d(b, _) { + for (var E in Object.defineProperty(this, "type", { writable: !1, value: b, enumerable: !0 }), _) _.hasOwnProperty(E) && Object.defineProperty(this, E, { writable: !1, value: _[E], enumerable: !0 }); } - x.exports = s, b.inherits(s, m.EventEmitter), s.prototype.constructor = s, ["open", "error", "message"].forEach(function(h) { - Object.defineProperty(s.prototype, "on" + h, { get: function() { - var O = this.listeners(h)[0]; - return O ? O._listener ? O._listener : O : void 0; - }, set: function(O) { - this.removeAllListeners(h), this.addEventListener(h, O); + g.exports = u, C.inherits(u, p.EventEmitter), u.prototype.constructor = u, ["open", "error", "message"].forEach(function(b) { + Object.defineProperty(u.prototype, "on" + b, { get: function() { + var _ = this.listeners(b)[0]; + return _ ? _._listener ? _._listener : _ : void 0; + }, set: function(_) { + this.removeAllListeners(b), this.addEventListener(b, _); } }); - }), Object.defineProperty(s, "CONNECTING", { enumerable: !0, value: 0 }), Object.defineProperty(s, "OPEN", { enumerable: !0, value: 1 }), Object.defineProperty(s, "CLOSED", { enumerable: !0, value: 2 }), s.prototype.CONNECTING = 0, s.prototype.OPEN = 1, s.prototype.CLOSED = 2, s.prototype.close = function() { + }), Object.defineProperty(u, "CONNECTING", { enumerable: !0, value: 0 }), Object.defineProperty(u, "OPEN", { enumerable: !0, value: 1 }), Object.defineProperty(u, "CLOSED", { enumerable: !0, value: 2 }), u.prototype.CONNECTING = 0, u.prototype.OPEN = 1, u.prototype.CLOSED = 2, u.prototype.close = function() { this._close(); - }, s.prototype.addEventListener = function(h, O) { - typeof O == "function" && (O._listener = O, this.on(h, O)); - }, s.prototype.dispatchEvent = function(h) { - if (!h.type) throw new Error("UNSPECIFIED_EVENT_TYPE_ERR"); - this.emit(h.type, h.detail); - }, s.prototype.removeEventListener = function(h, O) { - typeof O == "function" && (O._listener = void 0, this.removeListener(h, O)); + }, u.prototype.addEventListener = function(b, _) { + typeof _ == "function" && (_._listener = _, this.on(b, _)); + }, u.prototype.dispatchEvent = function(b) { + if (!b.type) throw new Error("UNSPECIFIED_EVENT_TYPE_ERR"); + this.emit(b.type, b.detail); + }, u.prototype.removeEventListener = function(b, _) { + typeof _ == "function" && (_._listener = void 0, this.removeListener(b, _)); }; - }, 2682: (x, n, c) => { - var r = c(9600), a = Object.prototype.toString, i = Object.prototype.hasOwnProperty; - x.exports = function(m, t, f) { - if (!r(t)) throw new TypeError("iterator must be a function"); - var b; - arguments.length >= 3 && (b = f), a.call(m) === "[object Array]" ? function(y, u, d) { - for (var l = 0, s = y.length; l < s; l++) i.call(y, l) && (d == null ? u(y[l], l, y) : u.call(d, y[l], l, y)); - }(m, t, b) : typeof m == "string" ? function(y, u, d) { - for (var l = 0, s = y.length; l < s; l++) d == null ? u(y.charAt(l), l, y) : u.call(d, y.charAt(l), l, y); - }(m, t, b) : function(y, u, d) { - for (var l in y) i.call(y, l) && (d == null ? u(y[l], l, y) : u.call(d, y[l], l, y)); - }(m, t, b); + }, 2682(g, n, s) { + var r = s(9600), o = Object.prototype.toString, i = Object.prototype.hasOwnProperty; + g.exports = function(p, a, f) { + if (!r(a)) throw new TypeError("iterator must be a function"); + var C, w; + arguments.length >= 3 && (C = f), w = p, o.call(w) === "[object Array]" ? function(m, v, l) { + for (var u = 0, y = m.length; u < y; u++) i.call(m, u) && (l == null ? v(m[u], u, m) : v.call(l, m[u], u, m)); + }(p, a, C) : typeof p == "string" ? function(m, v, l) { + for (var u = 0, y = m.length; u < y; u++) l == null ? v(m.charAt(u), u, m) : v.call(l, m.charAt(u), u, m); + }(p, a, C) : function(m, v, l) { + for (var u in m) i.call(m, u) && (l == null ? v(m[u], u, m) : v.call(l, m[u], u, m)); + }(p, a, C); }; - }, 9353: (x) => { - var n = Object.prototype.toString, c = Math.max, r = function(a, i) { - for (var m = [], t = 0; t < a.length; t += 1) m[t] = a[t]; - for (var f = 0; f < i.length; f += 1) m[f + a.length] = i[f]; - return m; + }, 9353(g) { + var n = Object.prototype.toString, s = Math.max, r = function(o, i) { + for (var p = [], a = 0; a < o.length; a += 1) p[a] = o[a]; + for (var f = 0; f < i.length; f += 1) p[f + o.length] = i[f]; + return p; }; - x.exports = function(a) { + g.exports = function(o) { var i = this; if (typeof i != "function" || n.apply(i) !== "[object Function]") throw new TypeError("Function.prototype.bind called on incompatible " + i); - for (var m, t = function(d) { - for (var l = [], s = 1, v = 0; s < d.length; s += 1, v += 1) l[v] = d[s]; + for (var p, a = function(v) { + for (var l = [], u = 1, y = 0; u < v.length; u += 1, y += 1) l[y] = v[u]; return l; - }(arguments), f = c(0, i.length - t.length), b = [], y = 0; y < f; y++) b[y] = "$" + y; - if (m = Function("binder", "return function (" + function(d) { - for (var l = "", s = 0; s < d.length; s += 1) l += d[s], s + 1 < d.length && (l += ","); + }(arguments), f = s(0, i.length - a.length), C = [], w = 0; w < f; w++) C[w] = "$" + w; + if (p = Function("binder", "return function (" + function(v) { + for (var l = "", u = 0; u < v.length; u += 1) l += v[u], u + 1 < v.length && (l += ","); return l; - }(b) + "){ return binder.apply(this,arguments); }")(function() { - if (this instanceof m) { - var d = i.apply(this, r(t, arguments)); - return Object(d) === d ? d : this; + }(C) + "){ return binder.apply(this,arguments); }")(function() { + if (this instanceof p) { + var v = i.apply(this, r(a, arguments)); + return Object(v) === v ? v : this; } - return i.apply(a, r(t, arguments)); + return i.apply(o, r(a, arguments)); }), i.prototype) { - var u = function() { + var m = function() { }; - u.prototype = i.prototype, m.prototype = new u(), u.prototype = null; + m.prototype = i.prototype, p.prototype = new m(), m.prototype = null; } - return m; + return p; }; - }, 6743: (x, n, c) => { - var r = c(9353); - x.exports = Function.prototype.bind || r; - }, 453: (x, n, c) => { - var r, a = c(9383), i = c(1237), m = c(9290), t = c(9538), f = c(8068), b = c(9675), y = c(5345), u = Function, d = function(V) { + }, 6743(g, n, s) { + var r = s(9353); + g.exports = Function.prototype.bind || r; + }, 4233(g) { + const n = (function* () { + }).constructor; + g.exports = () => n; + }, 453(g, n, s) { + var r, o = s(9612), i = s(9383), p = s(1237), a = s(9290), f = s(9538), C = s(8068), w = s(9675), m = s(5345), v = s(1514), l = s(8968), u = s(6188), y = s(8002), d = s(5880), b = s(414), _ = s(3093), E = Function, B = function(de) { try { - return u('"use strict"; return (' + V + ").constructor;")(); + return E('"use strict"; return (' + de + ").constructor;")(); } catch { } - }, l = Object.getOwnPropertyDescriptor; - if (l) try { - l({}, ""); - } catch { - l = null; - } - var s = function() { - throw new b(); - }, v = l ? function() { + }, O = s(5795), I = s(655), x = function() { + throw new w(); + }, A = O ? function() { try { - return s; + return x; } catch { try { - return l(arguments, "callee").get; + return O(arguments, "callee").get; } catch { - return s; + return x; } } - }() : s, p = c(4039)(), h = c(24)(), O = Object.getPrototypeOf || (h ? function(V) { - return V.__proto__; - } : null), I = {}, k = typeof Uint8Array < "u" && O ? O(Uint8Array) : r, R = { __proto__: null, "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, "%Array%": Array, "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, "%ArrayIteratorPrototype%": p && O ? O([][Symbol.iterator]()) : r, "%AsyncFromSyncIteratorPrototype%": r, "%AsyncFunction%": I, "%AsyncGenerator%": I, "%AsyncGeneratorFunction%": I, "%AsyncIteratorPrototype%": I, "%Atomics%": typeof Atomics > "u" ? r : Atomics, "%BigInt%": typeof BigInt > "u" ? r : BigInt, "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, "%Boolean%": Boolean, "%DataView%": typeof DataView > "u" ? r : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": a, "%eval%": eval, "%EvalError%": i, "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, "%Function%": u, "%GeneratorFunction%": I, "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": p && O ? O(O([][Symbol.iterator]())) : r, "%JSON%": typeof JSON == "object" ? JSON : r, "%Map%": typeof Map > "u" ? r : Map, "%MapIteratorPrototype%": typeof Map < "u" && p && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : r, "%Math%": Math, "%Number%": Number, "%Object%": Object, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": typeof Promise > "u" ? r : Promise, "%Proxy%": typeof Proxy > "u" ? r : Proxy, "%RangeError%": m, "%ReferenceError%": t, "%Reflect%": typeof Reflect > "u" ? r : Reflect, "%RegExp%": RegExp, "%Set%": typeof Set > "u" ? r : Set, "%SetIteratorPrototype%": typeof Set < "u" && p && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : r, "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": p && O ? O(""[Symbol.iterator]()) : r, "%Symbol%": p ? Symbol : r, "%SyntaxError%": f, "%ThrowTypeError%": v, "%TypedArray%": k, "%TypeError%": b, "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, "%URIError%": y, "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet }; - if (O) try { + }() : x, N = s(4039)(), k = s(3628), j = s(1064), D = s(8648), T = s(1002), L = s(76), R = {}, M = typeof Uint8Array < "u" && k ? k(Uint8Array) : r, P = { __proto__: null, "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError, "%Array%": Array, "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, "%ArrayIteratorPrototype%": N && k ? k([][Symbol.iterator]()) : r, "%AsyncFromSyncIteratorPrototype%": r, "%AsyncFunction%": R, "%AsyncGenerator%": R, "%AsyncGeneratorFunction%": R, "%AsyncIteratorPrototype%": R, "%Atomics%": typeof Atomics > "u" ? r : Atomics, "%BigInt%": typeof BigInt > "u" ? r : BigInt, "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array, "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array, "%Boolean%": Boolean, "%DataView%": typeof DataView > "u" ? r : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": i, "%eval%": eval, "%EvalError%": p, "%Float16Array%": typeof Float16Array > "u" ? r : Float16Array, "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, "%Function%": E, "%GeneratorFunction%": R, "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": N && k ? k(k([][Symbol.iterator]())) : r, "%JSON%": typeof JSON == "object" ? JSON : r, "%Map%": typeof Map > "u" ? r : Map, "%MapIteratorPrototype%": typeof Map < "u" && N && k ? k((/* @__PURE__ */ new Map())[Symbol.iterator]()) : r, "%Math%": Math, "%Number%": Number, "%Object%": o, "%Object.getOwnPropertyDescriptor%": O, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": typeof Promise > "u" ? r : Promise, "%Proxy%": typeof Proxy > "u" ? r : Proxy, "%RangeError%": a, "%ReferenceError%": f, "%Reflect%": typeof Reflect > "u" ? r : Reflect, "%RegExp%": RegExp, "%Set%": typeof Set > "u" ? r : Set, "%SetIteratorPrototype%": typeof Set < "u" && N && k ? k((/* @__PURE__ */ new Set())[Symbol.iterator]()) : r, "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": N && k ? k(""[Symbol.iterator]()) : r, "%Symbol%": N ? Symbol : r, "%SyntaxError%": C, "%ThrowTypeError%": A, "%TypedArray%": M, "%TypeError%": w, "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, "%URIError%": m, "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, "%Function.prototype.call%": L, "%Function.prototype.apply%": T, "%Object.defineProperty%": I, "%Object.getPrototypeOf%": j, "%Math.abs%": v, "%Math.floor%": l, "%Math.max%": u, "%Math.min%": y, "%Math.pow%": d, "%Math.round%": b, "%Math.sign%": _, "%Reflect.getPrototypeOf%": D }; + if (k) try { null.error; - } catch (V) { - var L = O(O(V)); - R["%Error.prototype%"] = L; - } - var N = function V(D) { - var z; - if (D === "%AsyncFunction%") z = d("async function () {}"); - else if (D === "%GeneratorFunction%") z = d("function* () {}"); - else if (D === "%AsyncGeneratorFunction%") z = d("async function* () {}"); - else if (D === "%AsyncGenerator%") { - var J = V("%AsyncGeneratorFunction%"); - J && (z = J.prototype); - } else if (D === "%AsyncIteratorPrototype%") { - var G = V("%AsyncGenerator%"); - G && O && (z = O(G.prototype)); - } - return R[D] = z, z; - }, B = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, H = c(6743), U = c(9957), S = H.call(Function.call, Array.prototype.concat), T = H.call(Function.apply, Array.prototype.splice), E = H.call(Function.call, String.prototype.replace), M = H.call(Function.call, String.prototype.slice), _ = H.call(Function.call, RegExp.prototype.exec), w = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, A = /\\(\\)?/g, j = function(V, D) { - var z, J = V; - if (U(B, J) && (J = "%" + (z = B[J])[0] + "%"), U(R, J)) { - var G = R[J]; - if (G === I && (G = N(J)), G === void 0 && !D) throw new b("intrinsic " + V + " exists, but is not available. Please file an issue!"); - return { alias: z, name: J, value: G }; - } - throw new f("intrinsic " + V + " does not exist!"); + } catch (de) { + var H = k(k(de)); + P["%Error.prototype%"] = H; + } + var K = function de(me) { + var Oe; + if (me === "%AsyncFunction%") Oe = B("async function () {}"); + else if (me === "%GeneratorFunction%") Oe = B("function* () {}"); + else if (me === "%AsyncGeneratorFunction%") Oe = B("async function* () {}"); + else if (me === "%AsyncGenerator%") { + var Ce = de("%AsyncGeneratorFunction%"); + Ce && (Oe = Ce.prototype); + } else if (me === "%AsyncIteratorPrototype%") { + var G = de("%AsyncGenerator%"); + G && k && (Oe = k(G.prototype)); + } + return P[me] = Oe, Oe; + }, V = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, U = s(6743), F = s(9957), Q = U.call(L, Array.prototype.concat), ne = U.call(T, Array.prototype.splice), te = U.call(L, String.prototype.replace), X = U.call(L, String.prototype.slice), Z = U.call(L, RegExp.prototype.exec), fe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, le = /\\(\\)?/g, Se = function(de, me) { + var Oe, Ce = de; + if (F(V, Ce) && (Ce = "%" + (Oe = V[Ce])[0] + "%"), F(P, Ce)) { + var G = P[Ce]; + if (G === R && (G = K(Ce)), G === void 0 && !me) throw new w("intrinsic " + de + " exists, but is not available. Please file an issue!"); + return { alias: Oe, name: Ce, value: G }; + } + throw new C("intrinsic " + de + " does not exist!"); }; - x.exports = function(V, D) { - if (typeof V != "string" || V.length === 0) throw new b("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof D != "boolean") throw new b('"allowMissing" argument must be a boolean'); - if (_(/^%?[^%]*%?$/, V) === null) throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var z = function(Se) { - var te = M(Se, 0, 1), ye = M(Se, -1); - if (te === "%" && ye !== "%") throw new f("invalid intrinsic syntax, expected closing `%`"); - if (ye === "%" && te !== "%") throw new f("invalid intrinsic syntax, expected opening `%`"); - var ve = []; - return E(Se, w, function(F, W, K, X) { - ve[ve.length] = K ? E(X, A, "$1") : W || F; - }), ve; - }(V), J = z.length > 0 ? z[0] : "", G = j("%" + J + "%", D), Q = G.name, ee = G.value, Z = !1, q = G.alias; - q && (J = q[0], T(z, S([0, 1], q))); - for (var se = 1, ue = !0; se < z.length; se += 1) { - var ce = z[se], ie = M(ce, 0, 1), fe = M(ce, -1); - if ((ie === '"' || ie === "'" || ie === "`" || fe === '"' || fe === "'" || fe === "`") && ie !== fe) throw new f("property names with quotes must have matching quotes"); - if (ce !== "constructor" && ue || (Z = !0), U(R, Q = "%" + (J += "." + ce) + "%")) ee = R[Q]; - else if (ee != null) { - if (!(ce in ee)) { - if (!D) throw new b("base intrinsic for " + V + " exists, but the property is not available."); + g.exports = function(de, me) { + if (typeof de != "string" || de.length === 0) throw new w("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof me != "boolean") throw new w('"allowMissing" argument must be a boolean'); + if (Z(/^%?[^%]*%?$/, de) === null) throw new C("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var Oe = function(ve) { + var Ee = X(ve, 0, 1), Ie = X(ve, -1); + if (Ee === "%" && Ie !== "%") throw new C("invalid intrinsic syntax, expected closing `%`"); + if (Ie === "%" && Ee !== "%") throw new C("invalid intrinsic syntax, expected opening `%`"); + var be = []; + return te(ve, fe, function(Ne, He, ae, oe) { + be[be.length] = ae ? te(oe, le, "$1") : He || Ne; + }), be; + }(de), Ce = Oe.length > 0 ? Oe[0] : "", G = Se("%" + Ce + "%", me), ie = G.name, we = G.value, z = !1, J = G.alias; + J && (Ce = J[0], ne(Oe, Q([0, 1], J))); + for (var q = 1, re = !0; q < Oe.length; q += 1) { + var $ = Oe[q], Y = X($, 0, 1), ce = X($, -1); + if ((Y === '"' || Y === "'" || Y === "`" || ce === '"' || ce === "'" || ce === "`") && Y !== ce) throw new C("property names with quotes must have matching quotes"); + if ($ !== "constructor" && re || (z = !0), F(P, ie = "%" + (Ce += "." + $) + "%")) we = P[ie]; + else if (we != null) { + if (!($ in we)) { + if (!me) throw new w("base intrinsic for " + de + " exists, but the property is not available."); return; } - if (l && se + 1 >= z.length) { - var Te = l(ee, ce); - ee = (ue = !!Te) && "get" in Te && !("originalValue" in Te.get) ? Te.get : ee[ce]; - } else ue = U(ee, ce), ee = ee[ce]; - ue && !Z && (R[Q] = ee); + if (O && q + 1 >= Oe.length) { + var ye = O(we, $); + we = (re = !!ye) && "get" in ye && !("originalValue" in ye.get) ? ye.get : we[$]; + } else re = F(we, $), we = we[$]; + re && !z && (P[ie] = we); } } - return ee; + return we; }; - }, 5795: (x, n, c) => { - var r = c(453)("%Object.getOwnPropertyDescriptor%", !0); + }, 1064(g, n, s) { + var r = s(9612); + g.exports = r.getPrototypeOf || null; + }, 8648(g) { + g.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null; + }, 3628(g, n, s) { + var r = s(8648), o = s(1064), i = s(7176); + g.exports = r ? function(p) { + return r(p); + } : o ? function(p) { + if (!p || typeof p != "object" && typeof p != "function") throw new TypeError("getProto: not an object"); + return o(p); + } : i ? function(p) { + return i(p); + } : null; + }, 6549(g) { + g.exports = Object.getOwnPropertyDescriptor; + }, 5795(g, n, s) { + var r = s(6549); if (r) try { r([], "length"); } catch { r = null; } - x.exports = r; - }, 592: (x, n, c) => { - var r = c(655), a = function() { + g.exports = r; + }, 592(g, n, s) { + var r = s(655), o = function() { return !!r; }; - a.hasArrayLengthDefineBug = function() { + o.hasArrayLengthDefineBug = function() { if (!r) return null; try { return r([], "length", { value: 1 }).length !== 1; } catch { return !0; } - }, x.exports = a; - }, 24: (x) => { - var n = { foo: {} }, c = Object; - x.exports = function() { - return { __proto__: n }.foo === n.foo && !({ __proto__: null } instanceof c); + }, g.exports = o; + }, 4039(g, n, s) { + var r = typeof Symbol < "u" && Symbol, o = s(1333); + g.exports = function() { + return typeof r == "function" && typeof Symbol == "function" && typeof r("foo") == "symbol" && typeof Symbol("bar") == "symbol" && o(); }; - }, 4039: (x, n, c) => { - var r = typeof Symbol < "u" && Symbol, a = c(1333); - x.exports = function() { - return typeof r == "function" && typeof Symbol == "function" && typeof r("foo") == "symbol" && typeof Symbol("bar") == "symbol" && a(); - }; - }, 1333: (x) => { - x.exports = function() { + }, 1333(g) { + g.exports = function() { if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1; if (typeof Symbol.iterator == "symbol") return !0; - var n = {}, c = Symbol("test"), r = Object(c); - if (typeof c == "string" || Object.prototype.toString.call(c) !== "[object Symbol]" || Object.prototype.toString.call(r) !== "[object Symbol]") return !1; - for (c in n[c] = 42, n) return !1; + var n = {}, s = Symbol("test"), r = Object(s); + if (typeof s == "string" || Object.prototype.toString.call(s) !== "[object Symbol]" || Object.prototype.toString.call(r) !== "[object Symbol]") return !1; + for (var o in n[s] = 42, n) return !1; if (typeof Object.keys == "function" && Object.keys(n).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(n).length !== 0) return !1; - var a = Object.getOwnPropertySymbols(n); - if (a.length !== 1 || a[0] !== c || !Object.prototype.propertyIsEnumerable.call(n, c)) return !1; + var i = Object.getOwnPropertySymbols(n); + if (i.length !== 1 || i[0] !== s || !Object.prototype.propertyIsEnumerable.call(n, s)) return !1; if (typeof Object.getOwnPropertyDescriptor == "function") { - var i = Object.getOwnPropertyDescriptor(n, c); - if (i.value !== 42 || i.enumerable !== !0) return !1; + var p = Object.getOwnPropertyDescriptor(n, s); + if (p.value !== 42 || p.enumerable !== !0) return !1; } return !0; }; - }, 9092: (x, n, c) => { - var r = c(1333); - x.exports = function() { + }, 9092(g, n, s) { + var r = s(1333); + g.exports = function() { return r() && !!Symbol.toStringTag; }; - }, 7952: (x, n, c) => { - var r = n; - r.utils = c(7426), r.common = c(6166), r.sha = c(6229), r.ripemd = c(6784), r.hmac = c(8948), r.sha1 = r.sha.sha1, r.sha256 = r.sha.sha256, r.sha224 = r.sha.sha224, r.sha384 = r.sha.sha384, r.sha512 = r.sha.sha512, r.ripemd160 = r.ripemd.ripemd160; - }, 6166: (x, n, c) => { - var r = c(7426), a = c(3349); - function i() { - this.pending = null, this.pendingTotal = 0, this.blockSize = this.constructor.blockSize, this.outSize = this.constructor.outSize, this.hmacStrength = this.constructor.hmacStrength, this.padLength = this.constructor.padLength / 8, this.endian = "big", this._delta8 = this.blockSize / 8, this._delta32 = this.blockSize / 32; - } - n.BlockHash = i, i.prototype.update = function(m, t) { - if (m = r.toArray(m, t), this.pending ? this.pending = this.pending.concat(m) : this.pending = m, this.pendingTotal += m.length, this.pending.length >= this._delta8) { - var f = (m = this.pending).length % this._delta8; - this.pending = m.slice(m.length - f, m.length), this.pending.length === 0 && (this.pending = null), m = r.join32(m, 0, m.length - f, this.endian); - for (var b = 0; b < m.length; b += this._delta32) this._update(m, b, b + this._delta32); - } - return this; - }, i.prototype.digest = function(m) { - return this.update(this._pad()), a(this.pending === null), this._digest(m); - }, i.prototype._pad = function() { - var m = this.pendingTotal, t = this._delta8, f = t - (m + this.padLength) % t, b = new Array(f + this.padLength); - b[0] = 128; - for (var y = 1; y < f; y++) b[y] = 0; - if (m <<= 3, this.endian === "big") { - for (var u = 8; u < this.padLength; u++) b[y++] = 0; - b[y++] = 0, b[y++] = 0, b[y++] = 0, b[y++] = 0, b[y++] = m >>> 24 & 255, b[y++] = m >>> 16 & 255, b[y++] = m >>> 8 & 255, b[y++] = 255 & m; - } else for (b[y++] = 255 & m, b[y++] = m >>> 8 & 255, b[y++] = m >>> 16 & 255, b[y++] = m >>> 24 & 255, b[y++] = 0, b[y++] = 0, b[y++] = 0, b[y++] = 0, u = 8; u < this.padLength; u++) b[y++] = 0; - return b; - }; - }, 8948: (x, n, c) => { - var r = c(7426), a = c(3349); - function i(m, t, f) { - if (!(this instanceof i)) return new i(m, t, f); - this.Hash = m, this.blockSize = m.blockSize / 8, this.outSize = m.outSize / 8, this.inner = null, this.outer = null, this._init(r.toArray(t, f)); - } - x.exports = i, i.prototype._init = function(m) { - m.length > this.blockSize && (m = new this.Hash().update(m).digest()), a(m.length <= this.blockSize); - for (var t = m.length; t < this.blockSize; t++) m.push(0); - for (t = 0; t < m.length; t++) m[t] ^= 54; - for (this.inner = new this.Hash().update(m), t = 0; t < m.length; t++) m[t] ^= 106; - this.outer = new this.Hash().update(m); - }, i.prototype.update = function(m, t) { - return this.inner.update(m, t), this; - }, i.prototype.digest = function(m) { - return this.outer.update(this.inner.digest()), this.outer.digest(m); - }; - }, 6784: (x, n, c) => { - var r = c(7426), a = c(6166), i = r.rotl32, m = r.sum32, t = r.sum32_3, f = r.sum32_4, b = a.BlockHash; - function y() { - if (!(this instanceof y)) return new y(); - b.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little"; - } - function u(O, I, k, R) { - return O <= 15 ? I ^ k ^ R : O <= 31 ? I & k | ~I & R : O <= 47 ? (I | ~k) ^ R : O <= 63 ? I & R | k & ~R : I ^ (k | ~R); - } - function d(O) { - return O <= 15 ? 0 : O <= 31 ? 1518500249 : O <= 47 ? 1859775393 : O <= 63 ? 2400959708 : 2840853838; - } - function l(O) { - return O <= 15 ? 1352829926 : O <= 31 ? 1548603684 : O <= 47 ? 1836072691 : O <= 63 ? 2053994217 : 0; - } - r.inherits(y, b), n.ripemd160 = y, y.blockSize = 512, y.outSize = 160, y.hmacStrength = 192, y.padLength = 64, y.prototype._update = function(O, I) { - for (var k = this.h[0], R = this.h[1], L = this.h[2], N = this.h[3], B = this.h[4], H = k, U = R, S = L, T = N, E = B, M = 0; M < 80; M++) { - var _ = m(i(f(k, u(M, R, L, N), O[s[M] + I], d(M)), p[M]), B); - k = B, B = N, N = i(L, 10), L = R, R = _, _ = m(i(f(H, u(79 - M, U, S, T), O[v[M] + I], l(M)), h[M]), E), H = E, E = T, T = i(S, 10), S = U, U = _; - } - _ = t(this.h[1], L, T), this.h[1] = t(this.h[2], N, E), this.h[2] = t(this.h[3], B, H), this.h[3] = t(this.h[4], k, U), this.h[4] = t(this.h[0], R, S), this.h[0] = _; - }, y.prototype._digest = function(O) { - return O === "hex" ? r.toHex32(this.h, "little") : r.split32(this.h, "little"); - }; - var s = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13], v = [5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11], p = [11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6], h = [8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]; - }, 6229: (x, n, c) => { - n.sha1 = c(3917), n.sha224 = c(7714), n.sha256 = c(2287), n.sha384 = c(1911), n.sha512 = c(7766); - }, 3917: (x, n, c) => { - var r = c(7426), a = c(6166), i = c(6225), m = r.rotl32, t = r.sum32, f = r.sum32_5, b = i.ft_1, y = a.BlockHash, u = [1518500249, 1859775393, 2400959708, 3395469782]; - function d() { - if (!(this instanceof d)) return new d(); - y.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.W = new Array(80); - } - r.inherits(d, y), x.exports = d, d.blockSize = 512, d.outSize = 160, d.hmacStrength = 80, d.padLength = 64, d.prototype._update = function(l, s) { - for (var v = this.W, p = 0; p < 16; p++) v[p] = l[s + p]; - for (; p < v.length; p++) v[p] = m(v[p - 3] ^ v[p - 8] ^ v[p - 14] ^ v[p - 16], 1); - var h = this.h[0], O = this.h[1], I = this.h[2], k = this.h[3], R = this.h[4]; - for (p = 0; p < v.length; p++) { - var L = ~~(p / 20), N = f(m(h, 5), b(L, O, I, k), R, v[p], u[L]); - R = k, k = I, I = m(O, 30), O = h, h = N; - } - this.h[0] = t(this.h[0], h), this.h[1] = t(this.h[1], O), this.h[2] = t(this.h[2], I), this.h[3] = t(this.h[3], k), this.h[4] = t(this.h[4], R); - }, d.prototype._digest = function(l) { - return l === "hex" ? r.toHex32(this.h, "big") : r.split32(this.h, "big"); - }; - }, 7714: (x, n, c) => { - var r = c(7426), a = c(2287); - function i() { - if (!(this instanceof i)) return new i(); - a.call(this), this.h = [3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428]; - } - r.inherits(i, a), x.exports = i, i.blockSize = 512, i.outSize = 224, i.hmacStrength = 192, i.padLength = 64, i.prototype._digest = function(m) { - return m === "hex" ? r.toHex32(this.h.slice(0, 7), "big") : r.split32(this.h.slice(0, 7), "big"); - }; - }, 2287: (x, n, c) => { - var r = c(7426), a = c(6166), i = c(6225), m = c(3349), t = r.sum32, f = r.sum32_4, b = r.sum32_5, y = i.ch32, u = i.maj32, d = i.s0_256, l = i.s1_256, s = i.g0_256, v = i.g1_256, p = a.BlockHash, h = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]; - function O() { - if (!(this instanceof O)) return new O(); - p.call(this), this.h = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225], this.k = h, this.W = new Array(64); - } - r.inherits(O, p), x.exports = O, O.blockSize = 512, O.outSize = 256, O.hmacStrength = 192, O.padLength = 64, O.prototype._update = function(I, k) { - for (var R = this.W, L = 0; L < 16; L++) R[L] = I[k + L]; - for (; L < R.length; L++) R[L] = f(v(R[L - 2]), R[L - 7], s(R[L - 15]), R[L - 16]); - var N = this.h[0], B = this.h[1], H = this.h[2], U = this.h[3], S = this.h[4], T = this.h[5], E = this.h[6], M = this.h[7]; - for (m(this.k.length === R.length), L = 0; L < R.length; L++) { - var _ = b(M, l(S), y(S, T, E), this.k[L], R[L]), w = t(d(N), u(N, B, H)); - M = E, E = T, T = S, S = t(U, _), U = H, H = B, B = N, N = t(_, w); - } - this.h[0] = t(this.h[0], N), this.h[1] = t(this.h[1], B), this.h[2] = t(this.h[2], H), this.h[3] = t(this.h[3], U), this.h[4] = t(this.h[4], S), this.h[5] = t(this.h[5], T), this.h[6] = t(this.h[6], E), this.h[7] = t(this.h[7], M); - }, O.prototype._digest = function(I) { - return I === "hex" ? r.toHex32(this.h, "big") : r.split32(this.h, "big"); - }; - }, 1911: (x, n, c) => { - var r = c(7426), a = c(7766); - function i() { - if (!(this instanceof i)) return new i(); - a.call(this), this.h = [3418070365, 3238371032, 1654270250, 914150663, 2438529370, 812702999, 355462360, 4144912697, 1731405415, 4290775857, 2394180231, 1750603025, 3675008525, 1694076839, 1203062813, 3204075428]; - } - r.inherits(i, a), x.exports = i, i.blockSize = 1024, i.outSize = 384, i.hmacStrength = 192, i.padLength = 128, i.prototype._digest = function(m) { - return m === "hex" ? r.toHex32(this.h.slice(0, 12), "big") : r.split32(this.h.slice(0, 12), "big"); - }; - }, 7766: (x, n, c) => { - var r = c(7426), a = c(6166), i = c(3349), m = r.rotr64_hi, t = r.rotr64_lo, f = r.shr64_hi, b = r.shr64_lo, y = r.sum64, u = r.sum64_hi, d = r.sum64_lo, l = r.sum64_4_hi, s = r.sum64_4_lo, v = r.sum64_5_hi, p = r.sum64_5_lo, h = a.BlockHash, O = [1116352408, 3609767458, 1899447441, 602891725, 3049323471, 3964484399, 3921009573, 2173295548, 961987163, 4081628472, 1508970993, 3053834265, 2453635748, 2937671579, 2870763221, 3664609560, 3624381080, 2734883394, 310598401, 1164996542, 607225278, 1323610764, 1426881987, 3590304994, 1925078388, 4068182383, 2162078206, 991336113, 2614888103, 633803317, 3248222580, 3479774868, 3835390401, 2666613458, 4022224774, 944711139, 264347078, 2341262773, 604807628, 2007800933, 770255983, 1495990901, 1249150122, 1856431235, 1555081692, 3175218132, 1996064986, 2198950837, 2554220882, 3999719339, 2821834349, 766784016, 2952996808, 2566594879, 3210313671, 3203337956, 3336571891, 1034457026, 3584528711, 2466948901, 113926993, 3758326383, 338241895, 168717936, 666307205, 1188179964, 773529912, 1546045734, 1294757372, 1522805485, 1396182291, 2643833823, 1695183700, 2343527390, 1986661051, 1014477480, 2177026350, 1206759142, 2456956037, 344077627, 2730485921, 1290863460, 2820302411, 3158454273, 3259730800, 3505952657, 3345764771, 106217008, 3516065817, 3606008344, 3600352804, 1432725776, 4094571909, 1467031594, 275423344, 851169720, 430227734, 3100823752, 506948616, 1363258195, 659060556, 3750685593, 883997877, 3785050280, 958139571, 3318307427, 1322822218, 3812723403, 1537002063, 2003034995, 1747873779, 3602036899, 1955562222, 1575990012, 2024104815, 1125592928, 2227730452, 2716904306, 2361852424, 442776044, 2428436474, 593698344, 2756734187, 3733110249, 3204031479, 2999351573, 3329325298, 3815920427, 3391569614, 3928383900, 3515267271, 566280711, 3940187606, 3454069534, 4118630271, 4000239992, 116418474, 1914138554, 174292421, 2731055270, 289380356, 3203993006, 460393269, 320620315, 685471733, 587496836, 852142971, 1086792851, 1017036298, 365543100, 1126000580, 2618297676, 1288033470, 3409855158, 1501505948, 4234509866, 1607167915, 987167468, 1816402316, 1246189591]; - function I() { - if (!(this instanceof I)) return new I(); - h.call(this), this.h = [1779033703, 4089235720, 3144134277, 2227873595, 1013904242, 4271175723, 2773480762, 1595750129, 1359893119, 2917565137, 2600822924, 725511199, 528734635, 4215389547, 1541459225, 327033209], this.k = O, this.W = new Array(160); - } - function k(M, _, w, A, j) { - var V = M & w ^ ~M & j; - return V < 0 && (V += 4294967296), V; - } - function R(M, _, w, A, j, V) { - var D = _ & A ^ ~_ & V; - return D < 0 && (D += 4294967296), D; - } - function L(M, _, w, A, j) { - var V = M & w ^ M & j ^ w & j; - return V < 0 && (V += 4294967296), V; - } - function N(M, _, w, A, j, V) { - var D = _ & A ^ _ & V ^ A & V; - return D < 0 && (D += 4294967296), D; - } - function B(M, _) { - var w = m(M, _, 28) ^ m(_, M, 2) ^ m(_, M, 7); - return w < 0 && (w += 4294967296), w; - } - function H(M, _) { - var w = t(M, _, 28) ^ t(_, M, 2) ^ t(_, M, 7); - return w < 0 && (w += 4294967296), w; - } - function U(M, _) { - var w = t(M, _, 14) ^ t(M, _, 18) ^ t(_, M, 9); - return w < 0 && (w += 4294967296), w; - } - function S(M, _) { - var w = m(M, _, 1) ^ m(M, _, 8) ^ f(M, _, 7); - return w < 0 && (w += 4294967296), w; - } - function T(M, _) { - var w = t(M, _, 1) ^ t(M, _, 8) ^ b(M, _, 7); - return w < 0 && (w += 4294967296), w; - } - function E(M, _) { - var w = t(M, _, 19) ^ t(_, M, 29) ^ b(M, _, 6); - return w < 0 && (w += 4294967296), w; - } - r.inherits(I, h), x.exports = I, I.blockSize = 1024, I.outSize = 512, I.hmacStrength = 192, I.padLength = 128, I.prototype._prepareBlock = function(M, _) { - for (var w = this.W, A = 0; A < 32; A++) w[A] = M[_ + A]; - for (; A < w.length; A += 2) { - var j = (Z = w[A - 4], q = w[A - 3], se = void 0, (se = m(Z, q, 19) ^ m(q, Z, 29) ^ f(Z, q, 6)) < 0 && (se += 4294967296), se), V = E(w[A - 4], w[A - 3]), D = w[A - 14], z = w[A - 13], J = S(w[A - 30], w[A - 29]), G = T(w[A - 30], w[A - 29]), Q = w[A - 32], ee = w[A - 31]; - w[A] = l(j, V, D, z, J, G, Q, ee), w[A + 1] = s(j, V, D, z, J, G, Q, ee); - } - var Z, q, se; - }, I.prototype._update = function(M, _) { - this._prepareBlock(M, _); - var w, A, j, V = this.W, D = this.h[0], z = this.h[1], J = this.h[2], G = this.h[3], Q = this.h[4], ee = this.h[5], Z = this.h[6], q = this.h[7], se = this.h[8], ue = this.h[9], ce = this.h[10], ie = this.h[11], fe = this.h[12], Te = this.h[13], Se = this.h[14], te = this.h[15]; - i(this.k.length === V.length); - for (var ye = 0; ye < V.length; ye += 2) { - var ve = Se, F = te, W = (j = void 0, (j = m(w = se, A = ue, 14) ^ m(w, A, 18) ^ m(A, w, 9)) < 0 && (j += 4294967296), j), K = U(se, ue), X = k(se, 0, ce, 0, fe), ne = R(0, ue, 0, ie, 0, Te), re = this.k[ye], pe = this.k[ye + 1], Oe = V[ye], xe = V[ye + 1], Re = v(ve, F, W, K, X, ne, re, pe, Oe, xe), De = p(ve, F, W, K, X, ne, re, pe, Oe, xe); - ve = B(D, z), F = H(D, z), W = L(D, 0, J, 0, Q), K = N(0, z, 0, G, 0, ee); - var Le = u(ve, F, W, K), Ve = d(ve, F, W, K); - Se = fe, te = Te, fe = ce, Te = ie, ce = se, ie = ue, se = u(Z, q, Re, De), ue = d(q, q, Re, De), Z = Q, q = ee, Q = J, ee = G, J = D, G = z, D = u(Re, De, Le, Ve), z = d(Re, De, Le, Ve); - } - y(this.h, 0, D, z), y(this.h, 2, J, G), y(this.h, 4, Q, ee), y(this.h, 6, Z, q), y(this.h, 8, se, ue), y(this.h, 10, ce, ie), y(this.h, 12, fe, Te), y(this.h, 14, Se, te); - }, I.prototype._digest = function(M) { - return M === "hex" ? r.toHex32(this.h, "big") : r.split32(this.h, "big"); - }; - }, 6225: (x, n, c) => { - var r = c(7426).rotr32; - function a(t, f, b) { - return t & f ^ ~t & b; - } - function i(t, f, b) { - return t & f ^ t & b ^ f & b; - } - function m(t, f, b) { - return t ^ f ^ b; - } - n.ft_1 = function(t, f, b, y) { - return t === 0 ? a(f, b, y) : t === 1 || t === 3 ? m(f, b, y) : t === 2 ? i(f, b, y) : void 0; - }, n.ch32 = a, n.maj32 = i, n.p32 = m, n.s0_256 = function(t) { - return r(t, 2) ^ r(t, 13) ^ r(t, 22); - }, n.s1_256 = function(t) { - return r(t, 6) ^ r(t, 11) ^ r(t, 25); - }, n.g0_256 = function(t) { - return r(t, 7) ^ r(t, 18) ^ t >>> 3; - }, n.g1_256 = function(t) { - return r(t, 17) ^ r(t, 19) ^ t >>> 10; - }; - }, 7426: (x, n, c) => { - var r = c(3349), a = c(6698); - function i(b, y) { - return (64512 & b.charCodeAt(y)) == 55296 && !(y < 0 || y + 1 >= b.length) && (64512 & b.charCodeAt(y + 1)) == 56320; - } - function m(b) { - return (b >>> 24 | b >>> 8 & 65280 | b << 8 & 16711680 | (255 & b) << 24) >>> 0; - } - function t(b) { - return b.length === 1 ? "0" + b : b; - } - function f(b) { - return b.length === 7 ? "0" + b : b.length === 6 ? "00" + b : b.length === 5 ? "000" + b : b.length === 4 ? "0000" + b : b.length === 3 ? "00000" + b : b.length === 2 ? "000000" + b : b.length === 1 ? "0000000" + b : b; - } - n.inherits = a, n.toArray = function(b, y) { - if (Array.isArray(b)) return b.slice(); - if (!b) return []; - var u = []; - if (typeof b == "string") if (y) { - if (y === "hex") for ((b = b.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (b = "0" + b), l = 0; l < b.length; l += 2) u.push(parseInt(b[l] + b[l + 1], 16)); - } else for (var d = 0, l = 0; l < b.length; l++) { - var s = b.charCodeAt(l); - s < 128 ? u[d++] = s : s < 2048 ? (u[d++] = s >> 6 | 192, u[d++] = 63 & s | 128) : i(b, l) ? (s = 65536 + ((1023 & s) << 10) + (1023 & b.charCodeAt(++l)), u[d++] = s >> 18 | 240, u[d++] = s >> 12 & 63 | 128, u[d++] = s >> 6 & 63 | 128, u[d++] = 63 & s | 128) : (u[d++] = s >> 12 | 224, u[d++] = s >> 6 & 63 | 128, u[d++] = 63 & s | 128); - } - else for (l = 0; l < b.length; l++) u[l] = 0 | b[l]; - return u; - }, n.toHex = function(b) { - for (var y = "", u = 0; u < b.length; u++) y += t(b[u].toString(16)); - return y; - }, n.htonl = m, n.toHex32 = function(b, y) { - for (var u = "", d = 0; d < b.length; d++) { - var l = b[d]; - y === "little" && (l = m(l)), u += f(l.toString(16)); - } - return u; - }, n.zero2 = t, n.zero8 = f, n.join32 = function(b, y, u, d) { - var l = u - y; - r(l % 4 == 0); - for (var s = new Array(l / 4), v = 0, p = y; v < s.length; v++, p += 4) { - var h; - h = d === "big" ? b[p] << 24 | b[p + 1] << 16 | b[p + 2] << 8 | b[p + 3] : b[p + 3] << 24 | b[p + 2] << 16 | b[p + 1] << 8 | b[p], s[v] = h >>> 0; - } - return s; - }, n.split32 = function(b, y) { - for (var u = new Array(4 * b.length), d = 0, l = 0; d < b.length; d++, l += 4) { - var s = b[d]; - y === "big" ? (u[l] = s >>> 24, u[l + 1] = s >>> 16 & 255, u[l + 2] = s >>> 8 & 255, u[l + 3] = 255 & s) : (u[l + 3] = s >>> 24, u[l + 2] = s >>> 16 & 255, u[l + 1] = s >>> 8 & 255, u[l] = 255 & s); - } - return u; - }, n.rotr32 = function(b, y) { - return b >>> y | b << 32 - y; - }, n.rotl32 = function(b, y) { - return b << y | b >>> 32 - y; - }, n.sum32 = function(b, y) { - return b + y >>> 0; - }, n.sum32_3 = function(b, y, u) { - return b + y + u >>> 0; - }, n.sum32_4 = function(b, y, u, d) { - return b + y + u + d >>> 0; - }, n.sum32_5 = function(b, y, u, d, l) { - return b + y + u + d + l >>> 0; - }, n.sum64 = function(b, y, u, d) { - var l = b[y], s = d + b[y + 1] >>> 0, v = (s < d ? 1 : 0) + u + l; - b[y] = v >>> 0, b[y + 1] = s; - }, n.sum64_hi = function(b, y, u, d) { - return (y + d >>> 0 < y ? 1 : 0) + b + u >>> 0; - }, n.sum64_lo = function(b, y, u, d) { - return y + d >>> 0; - }, n.sum64_4_hi = function(b, y, u, d, l, s, v, p) { - var h = 0, O = y; - return h += (O = O + d >>> 0) < y ? 1 : 0, h += (O = O + s >>> 0) < s ? 1 : 0, b + u + l + v + (h += (O = O + p >>> 0) < p ? 1 : 0) >>> 0; - }, n.sum64_4_lo = function(b, y, u, d, l, s, v, p) { - return y + d + s + p >>> 0; - }, n.sum64_5_hi = function(b, y, u, d, l, s, v, p, h, O) { - var I = 0, k = y; - return I += (k = k + d >>> 0) < y ? 1 : 0, I += (k = k + s >>> 0) < s ? 1 : 0, I += (k = k + p >>> 0) < p ? 1 : 0, b + u + l + v + h + (I += (k = k + O >>> 0) < O ? 1 : 0) >>> 0; - }, n.sum64_5_lo = function(b, y, u, d, l, s, v, p, h, O) { - return y + d + s + p + O >>> 0; - }, n.rotr64_hi = function(b, y, u) { - return (y << 32 - u | b >>> u) >>> 0; - }, n.rotr64_lo = function(b, y, u) { - return (b << 32 - u | y >>> u) >>> 0; - }, n.shr64_hi = function(b, y, u) { - return b >>> u; - }, n.shr64_lo = function(b, y, u) { - return (b << 32 - u | y >>> u) >>> 0; - }; - }, 9957: (x, n, c) => { - var r = Function.prototype.call, a = Object.prototype.hasOwnProperty, i = c(6743); - x.exports = i.call(r, a); - }, 2723: (x, n, c) => { - var r = c(7952), a = c(4367), i = c(3349); - function m(t) { - if (!(this instanceof m)) return new m(t); - this.hash = t.hash, this.predResist = !!t.predResist, this.outLen = this.hash.outSize, this.minEntropy = t.minEntropy || this.hash.hmacStrength, this._reseed = null, this.reseedInterval = null, this.K = null, this.V = null; - var f = a.toArray(t.entropy, t.entropyEnc || "hex"), b = a.toArray(t.nonce, t.nonceEnc || "hex"), y = a.toArray(t.pers, t.persEnc || "hex"); - i(f.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._init(f, b, y); - } - x.exports = m, m.prototype._init = function(t, f, b) { - var y = t.concat(f).concat(b); - this.K = new Array(this.outLen / 8), this.V = new Array(this.outLen / 8); - for (var u = 0; u < this.V.length; u++) this.K[u] = 0, this.V[u] = 1; - this._update(y), this._reseed = 1, this.reseedInterval = 281474976710656; - }, m.prototype._hmac = function() { - return new r.hmac(this.hash, this.K); - }, m.prototype._update = function(t) { - var f = this._hmac().update(this.V).update([0]); - t && (f = f.update(t)), this.K = f.digest(), this.V = this._hmac().update(this.V).digest(), t && (this.K = this._hmac().update(this.V).update([1]).update(t).digest(), this.V = this._hmac().update(this.V).digest()); - }, m.prototype.reseed = function(t, f, b, y) { - typeof f != "string" && (y = b, b = f, f = null), t = a.toArray(t, f), b = a.toArray(b, y), i(t.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._update(t.concat(b || [])), this._reseed = 1; - }, m.prototype.generate = function(t, f, b, y) { - if (this._reseed > this.reseedInterval) throw new Error("Reseed is required"); - typeof f != "string" && (y = b, b = f, f = null), b && (b = a.toArray(b, y || "hex"), this._update(b)); - for (var u = []; u.length < t; ) this.V = this._hmac().update(this.V).digest(), u = u.concat(this.V); - var d = u.slice(0, t); - return this._update(b), this._reseed++, a.encode(d, f); - }; - }, 1083: (x, n, c) => { - var r = c(1568), a = c(8835), i = x.exports; - for (var m in r) r.hasOwnProperty(m) && (i[m] = r[m]); - function t(f) { - if (typeof f == "string" && (f = a.parse(f)), f.protocol || (f.protocol = "https:"), f.protocol !== "https:") throw new Error('Protocol "' + f.protocol + '" not supported. Expected "https:"'); + }, 9957(g, n, s) { + var r = Function.prototype.call, o = Object.prototype.hasOwnProperty, i = s(6743); + g.exports = i.call(r, o); + }, 1083(g, n, s) { + var r = s(1568), o = s(8835), i = g.exports; + for (var p in r) r.hasOwnProperty(p) && (i[p] = r[p]); + function a(f) { + if (typeof f == "string" && (f = o.parse(f)), f.protocol || (f.protocol = "https:"), f.protocol !== "https:") throw new Error('Protocol "' + f.protocol + '" not supported. Expected "https:"'); return f; } - i.request = function(f, b) { - return f = t(f), r.request.call(this, f, b); - }, i.get = function(f, b) { - return f = t(f), r.get.call(this, f, b); + i.request = function(f, C) { + return f = a(f), r.request.call(this, f, C); + }, i.get = function(f, C) { + return f = a(f), r.get.call(this, f, C); }; - }, 6123: (x, n, c) => { + }, 6123(g, n, s) { var r; (function() { - var a = { y: function(h) { - return h === 1 ? "χρόνος" : "χρόνια"; - }, mo: function(h) { - return h === 1 ? "μήνας" : "μήνες"; - }, w: function(h) { - return h === 1 ? "εβδομάδα" : "εβδομάδες"; - }, d: function(h) { - return h === 1 ? "μέρα" : "μέρες"; - }, h: function(h) { - return h === 1 ? "ώρα" : "ώρες"; - }, m: function(h) { - return h === 1 ? "λεπτό" : "λεπτά"; - }, s: function(h) { - return h === 1 ? "δευτερόλεπτο" : "δευτερόλεπτα"; - }, ms: function(h) { - return h === 1 ? "χιλιοστό του δευτερολέπτου" : "χιλιοστά του δευτερολέπτου"; - }, decimal: "," }, i = { ar: { y: function(h) { - return h === 1 ? "سنة" : "سنوات"; - }, mo: function(h) { - return h === 1 ? "شهر" : "أشهر"; - }, w: function(h) { - return h === 1 ? "أسبوع" : "أسابيع"; - }, d: function(h) { - return h === 1 ? "يوم" : "أيام"; - }, h: function(h) { - return h === 1 ? "ساعة" : "ساعات"; - }, m: function(h) { - return h > 2 && h < 11 ? "دقائق" : "دقيقة"; - }, s: function(h) { - return h === 1 ? "ثانية" : "ثواني"; - }, ms: function(h) { - return h === 1 ? "جزء من الثانية" : "أجزاء من الثانية"; - }, decimal: "," }, bg: { y: function(h) { - return ["години", "година", "години"][u(h)]; - }, mo: function(h) { - return ["месеца", "месец", "месеца"][u(h)]; - }, w: function(h) { - return ["седмици", "седмица", "седмици"][u(h)]; - }, d: function(h) { - return ["дни", "ден", "дни"][u(h)]; - }, h: function(h) { - return ["часа", "час", "часа"][u(h)]; - }, m: function(h) { - return ["минути", "минута", "минути"][u(h)]; - }, s: function(h) { - return ["секунди", "секунда", "секунди"][u(h)]; - }, ms: function(h) { - return ["милисекунди", "милисекунда", "милисекунди"][u(h)]; - }, decimal: "," }, ca: { y: function(h) { - return "any" + (h === 1 ? "" : "s"); - }, mo: function(h) { - return "mes" + (h === 1 ? "" : "os"); - }, w: function(h) { - return "setman" + (h === 1 ? "a" : "es"); - }, d: function(h) { - return "di" + (h === 1 ? "a" : "es"); - }, h: function(h) { - return "hor" + (h === 1 ? "a" : "es"); - }, m: function(h) { - return "minut" + (h === 1 ? "" : "s"); - }, s: function(h) { - return "segon" + (h === 1 ? "" : "s"); - }, ms: function(h) { - return "milisegon" + (h === 1 ? "" : "s"); - }, decimal: "," }, cs: { y: function(h) { - return ["rok", "roku", "roky", "let"][d(h)]; - }, mo: function(h) { - return ["měsíc", "měsíce", "měsíce", "měsíců"][d(h)]; - }, w: function(h) { - return ["týden", "týdne", "týdny", "týdnů"][d(h)]; - }, d: function(h) { - return ["den", "dne", "dny", "dní"][d(h)]; - }, h: function(h) { - return ["hodina", "hodiny", "hodiny", "hodin"][d(h)]; - }, m: function(h) { - return ["minuta", "minuty", "minuty", "minut"][d(h)]; - }, s: function(h) { - return ["sekunda", "sekundy", "sekundy", "sekund"][d(h)]; - }, ms: function(h) { - return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][d(h)]; - }, decimal: "," }, da: { y: "år", mo: function(h) { - return "måned" + (h === 1 ? "" : "er"); - }, w: function(h) { - return "uge" + (h === 1 ? "" : "r"); - }, d: function(h) { - return "dag" + (h === 1 ? "" : "e"); - }, h: function(h) { - return "time" + (h === 1 ? "" : "r"); - }, m: function(h) { - return "minut" + (h === 1 ? "" : "ter"); - }, s: function(h) { - return "sekund" + (h === 1 ? "" : "er"); - }, ms: function(h) { - return "millisekund" + (h === 1 ? "" : "er"); - }, decimal: "," }, de: { y: function(h) { - return "Jahr" + (h === 1 ? "" : "e"); - }, mo: function(h) { - return "Monat" + (h === 1 ? "" : "e"); - }, w: function(h) { - return "Woche" + (h === 1 ? "" : "n"); - }, d: function(h) { - return "Tag" + (h === 1 ? "" : "e"); - }, h: function(h) { - return "Stunde" + (h === 1 ? "" : "n"); - }, m: function(h) { - return "Minute" + (h === 1 ? "" : "n"); - }, s: function(h) { - return "Sekunde" + (h === 1 ? "" : "n"); - }, ms: function(h) { - return "Millisekunde" + (h === 1 ? "" : "n"); - }, decimal: "," }, el: a, en: { y: function(h) { - return "year" + (h === 1 ? "" : "s"); - }, mo: function(h) { - return "month" + (h === 1 ? "" : "s"); - }, w: function(h) { - return "week" + (h === 1 ? "" : "s"); - }, d: function(h) { - return "day" + (h === 1 ? "" : "s"); - }, h: function(h) { - return "hour" + (h === 1 ? "" : "s"); - }, m: function(h) { - return "minute" + (h === 1 ? "" : "s"); - }, s: function(h) { - return "second" + (h === 1 ? "" : "s"); - }, ms: function(h) { - return "millisecond" + (h === 1 ? "" : "s"); - }, decimal: "." }, es: { y: function(h) { - return "año" + (h === 1 ? "" : "s"); - }, mo: function(h) { - return "mes" + (h === 1 ? "" : "es"); - }, w: function(h) { - return "semana" + (h === 1 ? "" : "s"); - }, d: function(h) { - return "día" + (h === 1 ? "" : "s"); - }, h: function(h) { - return "hora" + (h === 1 ? "" : "s"); - }, m: function(h) { - return "minuto" + (h === 1 ? "" : "s"); - }, s: function(h) { - return "segundo" + (h === 1 ? "" : "s"); - }, ms: function(h) { - return "milisegundo" + (h === 1 ? "" : "s"); - }, decimal: "," }, et: { y: function(h) { - return "aasta" + (h === 1 ? "" : "t"); - }, mo: function(h) { - return "kuu" + (h === 1 ? "" : "d"); - }, w: function(h) { - return "nädal" + (h === 1 ? "" : "at"); - }, d: function(h) { - return "päev" + (h === 1 ? "" : "a"); - }, h: function(h) { - return "tund" + (h === 1 ? "" : "i"); - }, m: function(h) { - return "minut" + (h === 1 ? "" : "it"); - }, s: function(h) { - return "sekund" + (h === 1 ? "" : "it"); - }, ms: function(h) { - return "millisekund" + (h === 1 ? "" : "it"); - }, decimal: "," }, fa: { y: "سال", mo: "ماه", w: "هفته", d: "روز", h: "ساعت", m: "دقیقه", s: "ثانیه", ms: "میلی ثانیه", decimal: "." }, fi: { y: function(h) { - return h === 1 ? "vuosi" : "vuotta"; - }, mo: function(h) { - return h === 1 ? "kuukausi" : "kuukautta"; - }, w: function(h) { - return "viikko" + (h === 1 ? "" : "a"); - }, d: function(h) { - return "päivä" + (h === 1 ? "" : "ä"); - }, h: function(h) { - return "tunti" + (h === 1 ? "" : "a"); - }, m: function(h) { - return "minuutti" + (h === 1 ? "" : "a"); - }, s: function(h) { - return "sekunti" + (h === 1 ? "" : "a"); - }, ms: function(h) { - return "millisekunti" + (h === 1 ? "" : "a"); - }, decimal: "," }, fo: { y: "ár", mo: function(h) { - return h === 1 ? "mánaður" : "mánaðir"; - }, w: function(h) { - return h === 1 ? "vika" : "vikur"; - }, d: function(h) { - return h === 1 ? "dagur" : "dagar"; - }, h: function(h) { - return h === 1 ? "tími" : "tímar"; - }, m: function(h) { - return h === 1 ? "minuttur" : "minuttir"; - }, s: "sekund", ms: "millisekund", decimal: "," }, fr: { y: function(h) { - return "an" + (h >= 2 ? "s" : ""); - }, mo: "mois", w: function(h) { - return "semaine" + (h >= 2 ? "s" : ""); - }, d: function(h) { - return "jour" + (h >= 2 ? "s" : ""); - }, h: function(h) { - return "heure" + (h >= 2 ? "s" : ""); - }, m: function(h) { - return "minute" + (h >= 2 ? "s" : ""); - }, s: function(h) { - return "seconde" + (h >= 2 ? "s" : ""); - }, ms: function(h) { - return "milliseconde" + (h >= 2 ? "s" : ""); - }, decimal: "," }, gr: a, he: { y: function(h) { - return h === 1 ? "שנה" : "שנים"; - }, mo: function(h) { - return h === 1 ? "חודש" : "חודשים"; - }, w: function(h) { - return h === 1 ? "שבוע" : "שבועות"; - }, d: function(h) { - return h === 1 ? "יום" : "ימים"; - }, h: function(h) { - return h === 1 ? "שעה" : "שעות"; - }, m: function(h) { - return h === 1 ? "דקה" : "דקות"; - }, s: function(h) { - return h === 1 ? "שניה" : "שניות"; - }, ms: function(h) { - return h === 1 ? "מילישנייה" : "מילישניות"; - }, decimal: "." }, hr: { y: function(h) { - return h % 10 == 2 || h % 10 == 3 || h % 10 == 4 ? "godine" : "godina"; - }, mo: function(h) { - return h === 1 ? "mjesec" : h === 2 || h === 3 || h === 4 ? "mjeseca" : "mjeseci"; - }, w: function(h) { - return h % 10 == 1 && h !== 11 ? "tjedan" : "tjedna"; - }, d: function(h) { - return h === 1 ? "dan" : "dana"; - }, h: function(h) { - return h === 1 ? "sat" : h === 2 || h === 3 || h === 4 ? "sata" : "sati"; - }, m: function(h) { - var O = h % 10; - return O !== 2 && O !== 3 && O !== 4 || !(h < 10 || h > 14) ? "minuta" : "minute"; - }, s: function(h) { - var O = h % 10; - return O === 5 || Math.floor(h) === h && h >= 10 && h <= 19 ? "sekundi" : O === 1 ? "sekunda" : O === 2 || O === 3 || O === 4 ? "sekunde" : "sekundi"; - }, ms: function(h) { - return h === 1 ? "milisekunda" : h % 10 == 2 || h % 10 == 3 || h % 10 == 4 ? "milisekunde" : "milisekundi"; - }, decimal: "," }, hi: { y: "साल", mo: function(h) { - return h === 1 ? "महीना" : "महीने"; - }, w: function(h) { - return h === 1 ? "हफ़्ता" : "हफ्ते"; - }, d: "दिन", h: function(h) { - return h === 1 ? "घंटा" : "घंटे"; - }, m: "मिनट", s: "सेकंड", ms: "मिलीसेकंड", decimal: "." }, hu: { y: "év", mo: "hónap", w: "hét", d: "nap", h: "óra", m: "perc", s: "másodperc", ms: "ezredmásodperc", decimal: "," }, id: { y: "tahun", mo: "bulan", w: "minggu", d: "hari", h: "jam", m: "menit", s: "detik", ms: "milidetik", decimal: "." }, is: { y: "ár", mo: function(h) { - return "mánuð" + (h === 1 ? "ur" : "ir"); - }, w: function(h) { - return "vik" + (h === 1 ? "a" : "ur"); - }, d: function(h) { - return "dag" + (h === 1 ? "ur" : "ar"); - }, h: function(h) { - return "klukkutím" + (h === 1 ? "i" : "ar"); - }, m: function(h) { - return "mínút" + (h === 1 ? "a" : "ur"); - }, s: function(h) { - return "sekúnd" + (h === 1 ? "a" : "ur"); - }, ms: function(h) { - return "millisekúnd" + (h === 1 ? "a" : "ur"); - }, decimal: "." }, it: { y: function(h) { - return "ann" + (h === 1 ? "o" : "i"); - }, mo: function(h) { - return "mes" + (h === 1 ? "e" : "i"); - }, w: function(h) { - return "settiman" + (h === 1 ? "a" : "e"); - }, d: function(h) { - return "giorn" + (h === 1 ? "o" : "i"); - }, h: function(h) { - return "or" + (h === 1 ? "a" : "e"); - }, m: function(h) { - return "minut" + (h === 1 ? "o" : "i"); - }, s: function(h) { - return "second" + (h === 1 ? "o" : "i"); - }, ms: function(h) { - return "millisecond" + (h === 1 ? "o" : "i"); - }, decimal: "," }, ja: { y: "年", mo: "月", w: "週", d: "日", h: "時間", m: "分", s: "秒", ms: "ミリ秒", decimal: "." }, ko: { y: "년", mo: "개월", w: "주일", d: "일", h: "시간", m: "분", s: "초", ms: "밀리 초", decimal: "." }, lo: { y: "ປີ", mo: "ເດືອນ", w: "ອາທິດ", d: "ມື້", h: "ຊົ່ວໂມງ", m: "ນາທີ", s: "ວິນາທີ", ms: "ມິນລິວິນາທີ", decimal: "," }, lt: { y: function(h) { - return h % 10 == 0 || h % 100 >= 10 && h % 100 <= 20 ? "metų" : "metai"; - }, mo: function(h) { - return ["mėnuo", "mėnesiai", "mėnesių"][l(h)]; - }, w: function(h) { - return ["savaitė", "savaitės", "savaičių"][l(h)]; - }, d: function(h) { - return ["diena", "dienos", "dienų"][l(h)]; - }, h: function(h) { - return ["valanda", "valandos", "valandų"][l(h)]; - }, m: function(h) { - return ["minutė", "minutės", "minučių"][l(h)]; - }, s: function(h) { - return ["sekundė", "sekundės", "sekundžių"][l(h)]; - }, ms: function(h) { - return ["milisekundė", "milisekundės", "milisekundžių"][l(h)]; - }, decimal: "," }, lv: { y: function(h) { - return s(h) ? "gads" : "gadi"; - }, mo: function(h) { - return s(h) ? "mēnesis" : "mēneši"; - }, w: function(h) { - return s(h) ? "nedēļa" : "nedēļas"; - }, d: function(h) { - return s(h) ? "diena" : "dienas"; - }, h: function(h) { - return s(h) ? "stunda" : "stundas"; - }, m: function(h) { - return s(h) ? "minūte" : "minūtes"; - }, s: function(h) { - return s(h) ? "sekunde" : "sekundes"; - }, ms: function(h) { - return s(h) ? "milisekunde" : "milisekundes"; - }, decimal: "," }, ms: { y: "tahun", mo: "bulan", w: "minggu", d: "hari", h: "jam", m: "minit", s: "saat", ms: "milisaat", decimal: "." }, nl: { y: "jaar", mo: function(h) { - return h === 1 ? "maand" : "maanden"; - }, w: function(h) { - return h === 1 ? "week" : "weken"; - }, d: function(h) { - return h === 1 ? "dag" : "dagen"; - }, h: "uur", m: function(h) { - return h === 1 ? "minuut" : "minuten"; - }, s: function(h) { - return h === 1 ? "seconde" : "seconden"; - }, ms: function(h) { - return h === 1 ? "milliseconde" : "milliseconden"; - }, decimal: "," }, no: { y: "år", mo: function(h) { - return "måned" + (h === 1 ? "" : "er"); - }, w: function(h) { - return "uke" + (h === 1 ? "" : "r"); - }, d: function(h) { - return "dag" + (h === 1 ? "" : "er"); - }, h: function(h) { - return "time" + (h === 1 ? "" : "r"); - }, m: function(h) { - return "minutt" + (h === 1 ? "" : "er"); - }, s: function(h) { - return "sekund" + (h === 1 ? "" : "er"); - }, ms: function(h) { - return "millisekund" + (h === 1 ? "" : "er"); - }, decimal: "," }, pl: { y: function(h) { - return ["rok", "roku", "lata", "lat"][y(h)]; - }, mo: function(h) { - return ["miesiąc", "miesiąca", "miesiące", "miesięcy"][y(h)]; - }, w: function(h) { - return ["tydzień", "tygodnia", "tygodnie", "tygodni"][y(h)]; - }, d: function(h) { - return ["dzień", "dnia", "dni", "dni"][y(h)]; - }, h: function(h) { - return ["godzina", "godziny", "godziny", "godzin"][y(h)]; - }, m: function(h) { - return ["minuta", "minuty", "minuty", "minut"][y(h)]; - }, s: function(h) { - return ["sekunda", "sekundy", "sekundy", "sekund"][y(h)]; - }, ms: function(h) { - return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][y(h)]; - }, decimal: "," }, pt: { y: function(h) { - return "ano" + (h === 1 ? "" : "s"); - }, mo: function(h) { - return h === 1 ? "mês" : "meses"; - }, w: function(h) { - return "semana" + (h === 1 ? "" : "s"); - }, d: function(h) { - return "dia" + (h === 1 ? "" : "s"); - }, h: function(h) { - return "hora" + (h === 1 ? "" : "s"); - }, m: function(h) { - return "minuto" + (h === 1 ? "" : "s"); - }, s: function(h) { - return "segundo" + (h === 1 ? "" : "s"); - }, ms: function(h) { - return "milissegundo" + (h === 1 ? "" : "s"); - }, decimal: "," }, ro: { y: function(h) { - return h === 1 ? "an" : "ani"; - }, mo: function(h) { - return h === 1 ? "lună" : "luni"; - }, w: function(h) { - return h === 1 ? "săptămână" : "săptămâni"; - }, d: function(h) { - return h === 1 ? "zi" : "zile"; - }, h: function(h) { - return h === 1 ? "oră" : "ore"; - }, m: function(h) { - return h === 1 ? "minut" : "minute"; - }, s: function(h) { - return h === 1 ? "secundă" : "secunde"; - }, ms: function(h) { - return h === 1 ? "milisecundă" : "milisecunde"; - }, decimal: "," }, ru: { y: function(h) { - return ["лет", "год", "года"][u(h)]; - }, mo: function(h) { - return ["месяцев", "месяц", "месяца"][u(h)]; - }, w: function(h) { - return ["недель", "неделя", "недели"][u(h)]; - }, d: function(h) { - return ["дней", "день", "дня"][u(h)]; - }, h: function(h) { - return ["часов", "час", "часа"][u(h)]; - }, m: function(h) { - return ["минут", "минута", "минуты"][u(h)]; - }, s: function(h) { - return ["секунд", "секунда", "секунды"][u(h)]; - }, ms: function(h) { - return ["миллисекунд", "миллисекунда", "миллисекунды"][u(h)]; - }, decimal: "," }, uk: { y: function(h) { - return ["років", "рік", "роки"][u(h)]; - }, mo: function(h) { - return ["місяців", "місяць", "місяці"][u(h)]; - }, w: function(h) { - return ["тижнів", "тиждень", "тижні"][u(h)]; - }, d: function(h) { - return ["днів", "день", "дні"][u(h)]; - }, h: function(h) { - return ["годин", "година", "години"][u(h)]; - }, m: function(h) { - return ["хвилин", "хвилина", "хвилини"][u(h)]; - }, s: function(h) { - return ["секунд", "секунда", "секунди"][u(h)]; - }, ms: function(h) { - return ["мілісекунд", "мілісекунда", "мілісекунди"][u(h)]; - }, decimal: "," }, ur: { y: "سال", mo: function(h) { - return h === 1 ? "مہینہ" : "مہینے"; - }, w: function(h) { - return h === 1 ? "ہفتہ" : "ہفتے"; - }, d: "دن", h: function(h) { - return h === 1 ? "گھنٹہ" : "گھنٹے"; - }, m: "منٹ", s: "سیکنڈ", ms: "ملی سیکنڈ", decimal: "." }, sk: { y: function(h) { - return ["rok", "roky", "roky", "rokov"][d(h)]; - }, mo: function(h) { - return ["mesiac", "mesiace", "mesiace", "mesiacov"][d(h)]; - }, w: function(h) { - return ["týždeň", "týždne", "týždne", "týždňov"][d(h)]; - }, d: function(h) { - return ["deň", "dni", "dni", "dní"][d(h)]; - }, h: function(h) { - return ["hodina", "hodiny", "hodiny", "hodín"][d(h)]; - }, m: function(h) { - return ["minúta", "minúty", "minúty", "minút"][d(h)]; - }, s: function(h) { - return ["sekunda", "sekundy", "sekundy", "sekúnd"][d(h)]; - }, ms: function(h) { - return ["milisekunda", "milisekundy", "milisekundy", "milisekúnd"][d(h)]; - }, decimal: "," }, sl: { y: function(h) { - return h % 10 == 1 ? "leto" : h % 100 == 2 ? "leti" : h % 100 == 3 || h % 100 == 4 || Math.floor(h) !== h && h % 100 <= 5 ? "leta" : "let"; - }, mo: function(h) { - return h % 10 == 1 ? "mesec" : h % 100 == 2 || Math.floor(h) !== h && h % 100 <= 5 ? "meseca" : h % 10 == 3 || h % 10 == 4 ? "mesece" : "mesecev"; - }, w: function(h) { - return h % 10 == 1 ? "teden" : h % 10 == 2 || Math.floor(h) !== h && h % 100 <= 4 ? "tedna" : h % 10 == 3 || h % 10 == 4 ? "tedne" : "tednov"; - }, d: function(h) { - return h % 100 == 1 ? "dan" : "dni"; - }, h: function(h) { - return h % 10 == 1 ? "ura" : h % 100 == 2 ? "uri" : h % 10 == 3 || h % 10 == 4 || Math.floor(h) !== h ? "ure" : "ur"; - }, m: function(h) { - return h % 10 == 1 ? "minuta" : h % 10 == 2 ? "minuti" : h % 10 == 3 || h % 10 == 4 || Math.floor(h) !== h && h % 100 <= 4 ? "minute" : "minut"; - }, s: function(h) { - return h % 10 == 1 ? "sekunda" : h % 100 == 2 ? "sekundi" : h % 100 == 3 || h % 100 == 4 || Math.floor(h) !== h ? "sekunde" : "sekund"; - }, ms: function(h) { - return h % 10 == 1 ? "milisekunda" : h % 100 == 2 ? "milisekundi" : h % 100 == 3 || h % 100 == 4 || Math.floor(h) !== h ? "milisekunde" : "milisekund"; - }, decimal: "," }, sv: { y: "år", mo: function(h) { - return "månad" + (h === 1 ? "" : "er"); - }, w: function(h) { - return "veck" + (h === 1 ? "a" : "or"); - }, d: function(h) { - return "dag" + (h === 1 ? "" : "ar"); - }, h: function(h) { - return "timm" + (h === 1 ? "e" : "ar"); - }, m: function(h) { - return "minut" + (h === 1 ? "" : "er"); - }, s: function(h) { - return "sekund" + (h === 1 ? "" : "er"); - }, ms: function(h) { - return "millisekund" + (h === 1 ? "" : "er"); - }, decimal: "," }, sw: { y: function(h) { - return h === 1 ? "mwaka" : "miaka"; - }, mo: function(h) { - return h === 1 ? "mwezi" : "miezi"; - }, w: "wiki", d: function(h) { - return h === 1 ? "siku" : "masiku"; - }, h: function(h) { - return h === 1 ? "saa" : "masaa"; - }, m: "dakika", s: "sekunde", ms: "milisekunde", decimal: "." }, tr: { y: "yıl", mo: "ay", w: "hafta", d: "gün", h: "saat", m: "dakika", s: "saniye", ms: "milisaniye", decimal: "," }, th: { y: "ปี", mo: "เดือน", w: "สัปดาห์", d: "วัน", h: "ชั่วโมง", m: "นาที", s: "วินาที", ms: "มิลลิวินาที", decimal: "." }, vi: { y: "năm", mo: "tháng", w: "tuần", d: "ngày", h: "giờ", m: "phút", s: "giây", ms: "mili giây", decimal: "," }, zh_CN: { y: "年", mo: "个月", w: "周", d: "天", h: "小时", m: "分钟", s: "秒", ms: "毫秒", decimal: "." }, zh_TW: { y: "年", mo: "個月", w: "周", d: "天", h: "小時", m: "分鐘", s: "秒", ms: "毫秒", decimal: "." } }; - function m(h) { - var O = function(I, k) { - return function(R, L) { - var N, B, H; - R = Math.abs(R); - var U, S, T, E = function(z) { - var J = [z.language]; - if (p(z, "fallbacks")) { - if (!v(z.fallbacks) || !z.fallbacks.length) throw new Error("fallbacks must be an array with at least one element"); - J = J.concat(z.fallbacks); - } - for (var G = 0; G < J.length; G++) { - var Q = J[G]; - if (p(z.languages, Q)) return z.languages[Q]; - if (p(i, Q)) return i[Q]; - } - throw new Error("No language found."); - }(L), M = []; - for (N = 0, B = L.units.length; N < B; N++) { - if (U = L.units[N], S = L.unitMeasures[U], N + 1 === B) if (p(L, "maxDecimalPoints")) { - var _ = Math.pow(10, L.maxDecimalPoints), w = R / S; - T = parseFloat((Math.floor(_ * w) / _).toFixed(L.maxDecimalPoints)); - } else T = R / S; - else T = Math.floor(R / S); - M.push({ unitCount: T, unitName: U }), R -= T * S; - } - var A, j, V = 0; - for (N = 0; N < M.length; N++) if (M[N].unitCount) { - V = N; - break; - } - if (L.round) for (N = M.length - 1; N >= 0 && ((H = M[N]).unitCount = Math.round(H.unitCount), N !== 0); N--) j = M[N - 1], A = L.unitMeasures[j.unitName] / L.unitMeasures[H.unitName], (H.unitCount % A == 0 || L.largest && L.largest - 1 < N - V) && (j.unitCount += H.unitCount / A, H.unitCount = 0); - var D = []; - for (N = 0, M.length; N < B && ((H = M[N]).unitCount && D.push(f(H.unitCount, H.unitName, E, L)), D.length !== L.largest); N++) ; - return D.length ? L.conjunction && D.length !== 1 ? D.length === 2 ? D.join(L.conjunction) : D.length > 2 ? D.slice(0, -1).join(L.delimiter) + (L.serialComma ? "," : "") + L.conjunction + D.slice(-1) : void 0 : D.join(L.delimiter) : f(0, L.units[L.units.length - 1], E, L); - }(I, b({}, O, k || {})); + var o = Object.assign || function(x) { + for (var A, N = 1; N < arguments.length; N++) for (var k in A = arguments[N]) E(A, k) && (x[k] = A[k]); + return x; + }, i = Array.isArray || function(x) { + return Object.prototype.toString.call(x) === "[object Array]"; + }, p = w(["χρόνος", "χρόνια"], ["μήνας", "μήνες"], ["εβδομάδα", "εβδομάδες"], ["μέρα", "μέρες"], ["ώρα", "ώρες"], ["λεπτό", "λεπτά"], ["δευτερόλεπτο", "δευτερόλεπτα"], ["χιλιοστό του δευτερολέπτου", "χιλιοστά του δευτερολέπτου"], ","), a = { af: w(["jaar", "jaar"], ["maand", "maande"], ["week", "weke"], ["dag", "dae"], ["uur", "ure"], ["minuut", "minute"], ["sekonde", "sekondes"], ["millisekonde", "millisekondes"], ","), am: f("ዓመት", "ወር", "ሳምንት", "ቀን", "ሰዓት", "ደቂቃ", "ሰከንድ", "ሚሊሰከንድ"), ar: o(f(function(x) { + return ["سنة", "سنتان", "سنوات"][u(x)]; + }, function(x) { + return ["شهر", "شهران", "أشهر"][u(x)]; + }, function(x) { + return ["أسبوع", "أسبوعين", "أسابيع"][u(x)]; + }, function(x) { + return ["يوم", "يومين", "أيام"][u(x)]; + }, function(x) { + return ["ساعة", "ساعتين", "ساعات"][u(x)]; + }, function(x) { + return ["دقيقة", "دقيقتان", "دقائق"][u(x)]; + }, function(x) { + return ["ثانية", "ثانيتان", "ثواني"][u(x)]; + }, function(x) { + return ["جزء من الثانية", "جزآن من الثانية", "أجزاء من الثانية"][u(x)]; + }, ","), { delimiter: " ﻭ ", _hideCountIf2: !0, _digitReplacements: ["۰", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"] }), bg: l(["години", "година", "години"], ["месеца", "месец", "месеца"], ["седмици", "седмица", "седмици"], ["дни", "ден", "дни"], ["часа", "час", "часа"], ["минути", "минута", "минути"], ["секунди", "секунда", "секунди"], ["милисекунди", "милисекунда", "милисекунди"]), bn: f("বছর", "মাস", "সপ্তাহ", "দিন", "ঘন্টা", "মিনিট", "সেকেন্ড", "মিলিসেকেন্ড"), ca: w(["any", "anys"], ["mes", "mesos"], ["setmana", "setmanes"], ["dia", "dies"], ["hora", "hores"], ["minut", "minuts"], ["segon", "segons"], ["milisegon", "milisegons"], ","), ckb: f("ساڵ", "مانگ", "هەفتە", "ڕۆژ", "کاژێر", "خولەک", "چرکە", "میلی چرکە", "."), cs: f(function(x) { + return ["rok", "roku", "roky", "let"][d(x)]; + }, function(x) { + return ["měsíc", "měsíce", "měsíce", "měsíců"][d(x)]; + }, function(x) { + return ["týden", "týdne", "týdny", "týdnů"][d(x)]; + }, function(x) { + return ["den", "dne", "dny", "dní"][d(x)]; + }, function(x) { + return ["hodina", "hodiny", "hodiny", "hodin"][d(x)]; + }, function(x) { + return ["minuta", "minuty", "minuty", "minut"][d(x)]; + }, function(x) { + return ["sekunda", "sekundy", "sekundy", "sekund"][d(x)]; + }, function(x) { + return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][d(x)]; + }, ","), cy: f("flwyddyn", "mis", "wythnos", "diwrnod", "awr", "munud", "eiliad", "milieiliad"), da: w(["år", "år"], ["måned", "måneder"], ["uge", "uger"], ["dag", "dage"], ["time", "timer"], ["minut", "minutter"], ["sekund", "sekunder"], ["millisekund", "millisekunder"], ","), de: w(["Jahr", "Jahre"], ["Monat", "Monate"], ["Woche", "Wochen"], ["Tag", "Tage"], ["Stunde", "Stunden"], ["Minute", "Minuten"], ["Sekunde", "Sekunden"], ["Millisekunde", "Millisekunden"], ","), el: p, en: w(["year", "years"], ["month", "months"], ["week", "weeks"], ["day", "days"], ["hour", "hours"], ["minute", "minutes"], ["second", "seconds"], ["millisecond", "milliseconds"]), eo: w(["jaro", "jaroj"], ["monato", "monatoj"], ["semajno", "semajnoj"], ["tago", "tagoj"], ["horo", "horoj"], ["minuto", "minutoj"], ["sekundo", "sekundoj"], ["milisekundo", "milisekundoj"], ","), es: w(["año", "años"], ["mes", "meses"], ["semana", "semanas"], ["día", "días"], ["hora", "horas"], ["minuto", "minutos"], ["segundo", "segundos"], ["milisegundo", "milisegundos"], ","), et: w(["aasta", "aastat"], ["kuu", "kuud"], ["nädal", "nädalat"], ["päev", "päeva"], ["tund", "tundi"], ["minut", "minutit"], ["sekund", "sekundit"], ["millisekund", "millisekundit"], ","), eu: f("urte", "hilabete", "aste", "egun", "ordu", "minutu", "segundo", "milisegundo", ","), fa: f("سال", "ماه", "هفته", "روز", "ساعت", "دقیقه", "ثانیه", "میلی ثانیه"), fi: w(["vuosi", "vuotta"], ["kuukausi", "kuukautta"], ["viikko", "viikkoa"], ["päivä", "päivää"], ["tunti", "tuntia"], ["minuutti", "minuuttia"], ["sekunti", "sekuntia"], ["millisekunti", "millisekuntia"], ","), fo: w(["ár", "ár"], ["mánaður", "mánaðir"], ["vika", "vikur"], ["dagur", "dagar"], ["tími", "tímar"], ["minuttur", "minuttir"], ["sekund", "sekund"], ["millisekund", "millisekund"], ","), fr: f(function(x) { + return "an" + (x >= 2 ? "s" : ""); + }, "mois", function(x) { + return "semaine" + (x >= 2 ? "s" : ""); + }, function(x) { + return "jour" + (x >= 2 ? "s" : ""); + }, function(x) { + return "heure" + (x >= 2 ? "s" : ""); + }, function(x) { + return "minute" + (x >= 2 ? "s" : ""); + }, function(x) { + return "seconde" + (x >= 2 ? "s" : ""); + }, function(x) { + return "milliseconde" + (x >= 2 ? "s" : ""); + }, ","), gr: p, he: w(["שנה", "שנים"], ["חודש", "חודשים"], ["שבוע", "שבועות"], ["יום", "ימים"], ["שעה", "שעות"], ["דקה", "דקות"], ["שניה", "שניות"], ["מילישנייה", "מילישניות"]), hr: f(function(x) { + return x % 10 == 2 || x % 10 == 3 || x % 10 == 4 ? "godine" : "godina"; + }, function(x) { + return x === 1 ? "mjesec" : x === 2 || x === 3 || x === 4 ? "mjeseca" : "mjeseci"; + }, function(x) { + return x % 10 == 1 && x !== 11 ? "tjedan" : "tjedna"; + }, C(["dan", "dana"]), function(x) { + return x === 1 ? "sat" : x === 2 || x === 3 || x === 4 ? "sata" : "sati"; + }, function(x) { + var A = x % 10; + return A !== 2 && A !== 3 && A !== 4 || !(x < 10 || x > 14) ? "minuta" : "minute"; + }, function(x) { + var A = x % 10; + return A === 5 || Math.floor(x) === x && x >= 10 && x <= 19 ? "sekundi" : A === 1 ? "sekunda" : A === 2 || A === 3 || A === 4 ? "sekunde" : "sekundi"; + }, function(x) { + return x === 1 ? "milisekunda" : x % 10 == 2 || x % 10 == 3 || x % 10 == 4 ? "milisekunde" : "milisekundi"; + }, ","), hi: f("साल", C(["महीना", "महीने"]), C(["हफ़्ता", "हफ्ते"]), "दिन", C(["घंटा", "घंटे"]), "मिनट", "सेकंड", "मिलीसेकंड"), hu: f("év", "hónap", "hét", "nap", "óra", "perc", "másodperc", "ezredmásodperc", ","), id: f("tahun", "bulan", "minggu", "hari", "jam", "menit", "detik", "milidetik"), is: w(["ár", "ár"], ["mánuður", "mánuðir"], ["vika", "vikur"], ["dagur", "dagar"], ["klukkutími", "klukkutímar"], ["mínúta", "mínútur"], ["sekúnda", "sekúndur"], ["millisekúnda", "millisekúndur"]), it: w(["anno", "anni"], ["mese", "mesi"], ["settimana", "settimane"], ["giorno", "giorni"], ["ora", "ore"], ["minuto", "minuti"], ["secondo", "secondi"], ["millisecondo", "millisecondi"], ","), ja: f("年", "ヶ月", "週間", "日", "時間", "分", "秒", "ミリ秒"), km: f("ឆ្នាំ", "ខែ", "សប្តាហ៍", "ថ្ងៃ", "ម៉ោង", "នាទី", "វិនាទី", "មិល្លីវិនាទី"), kn: w(["ವರ್ಷ", "ವರ್ಷಗಳು"], ["ತಿಂಗಳು", "ತಿಂಗಳುಗಳು"], ["ವಾರ", "ವಾರಗಳು"], ["ದಿನ", "ದಿನಗಳು"], ["ಗಂಟೆ", "ಗಂಟೆಗಳು"], ["ನಿಮಿಷ", "ನಿಮಿಷಗಳು"], ["ಸೆಕೆಂಡ್", "ಸೆಕೆಂಡುಗಳು"], ["ಮಿಲಿಸೆಕೆಂಡ್", "ಮಿಲಿಸೆಕೆಂಡುಗಳು"]), ko: f("년", "개월", "주일", "일", "시간", "분", "초", "밀리 초"), ku: f("sal", "meh", "hefte", "roj", "seet", "deqe", "saniye", "mîlîçirk", ","), lo: f("ປີ", "ເດືອນ", "ອາທິດ", "ມື້", "ຊົ່ວໂມງ", "ນາທີ", "ວິນາທີ", "ມິນລິວິນາທີ", ","), lt: f(function(x) { + return x % 10 == 0 || x % 100 >= 10 && x % 100 <= 20 ? "metų" : "metai"; + }, function(x) { + return ["mėnuo", "mėnesiai", "mėnesių"][b(x)]; + }, function(x) { + return ["savaitė", "savaitės", "savaičių"][b(x)]; + }, function(x) { + return ["diena", "dienos", "dienų"][b(x)]; + }, function(x) { + return ["valanda", "valandos", "valandų"][b(x)]; + }, function(x) { + return ["minutė", "minutės", "minučių"][b(x)]; + }, function(x) { + return ["sekundė", "sekundės", "sekundžių"][b(x)]; + }, function(x) { + return ["milisekundė", "milisekundės", "milisekundžių"][b(x)]; + }, ","), lv: f(function(x) { + return _(x) ? "gads" : "gadi"; + }, function(x) { + return _(x) ? "mēnesis" : "mēneši"; + }, function(x) { + return _(x) ? "nedēļa" : "nedēļas"; + }, function(x) { + return _(x) ? "diena" : "dienas"; + }, function(x) { + return _(x) ? "stunda" : "stundas"; + }, function(x) { + return _(x) ? "minūte" : "minūtes"; + }, function(x) { + return _(x) ? "sekunde" : "sekundes"; + }, function(x) { + return _(x) ? "milisekunde" : "milisekundes"; + }, ","), mk: w(["година", "години"], ["месец", "месеци"], ["недела", "недели"], ["ден", "дена"], ["час", "часа"], ["минута", "минути"], ["секунда", "секунди"], ["милисекунда", "милисекунди"], ","), mn: f("жил", "сар", "долоо хоног", "өдөр", "цаг", "минут", "секунд", "миллисекунд"), mr: f(C(["वर्ष", "वर्षे"]), C(["महिना", "महिने"]), C(["आठवडा", "आठवडे"]), "दिवस", "तास", C(["मिनिट", "मिनिटे"]), "सेकंद", "मिलिसेकंद"), ms: f("tahun", "bulan", "minggu", "hari", "jam", "minit", "saat", "milisaat"), nl: w(["jaar", "jaar"], ["maand", "maanden"], ["week", "weken"], ["dag", "dagen"], ["uur", "uur"], ["minuut", "minuten"], ["seconde", "seconden"], ["milliseconde", "milliseconden"], ","), no: w(["år", "år"], ["måned", "måneder"], ["uke", "uker"], ["dag", "dager"], ["time", "timer"], ["minutt", "minutter"], ["sekund", "sekunder"], ["millisekund", "millisekunder"], ","), pl: f(function(x) { + return ["rok", "roku", "lata", "lat"][y(x)]; + }, function(x) { + return ["miesiąc", "miesiąca", "miesiące", "miesięcy"][y(x)]; + }, function(x) { + return ["tydzień", "tygodnia", "tygodnie", "tygodni"][y(x)]; + }, function(x) { + return ["dzień", "dnia", "dni", "dni"][y(x)]; + }, function(x) { + return ["godzina", "godziny", "godziny", "godzin"][y(x)]; + }, function(x) { + return ["minuta", "minuty", "minuty", "minut"][y(x)]; + }, function(x) { + return ["sekunda", "sekundy", "sekundy", "sekund"][y(x)]; + }, function(x) { + return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][y(x)]; + }, ","), pt: w(["ano", "anos"], ["mês", "meses"], ["semana", "semanas"], ["dia", "dias"], ["hora", "horas"], ["minuto", "minutos"], ["segundo", "segundos"], ["milissegundo", "milissegundos"], ","), ro: f(m("an", "ani", "de ani"), m("lună", "luni", "de luni"), m("săptămână", "săptămâni", "de săptămâni"), m("zi", "zile", "de zile"), m("oră", "ore", "de ore"), m("minut", "minute", "de minute"), m("secundă", "secunde", "de secunde"), m("milisecundă", "milisecunde", "de milisecunde"), ","), ru: l(["лет", "год", "года"], ["месяцев", "месяц", "месяца"], ["недель", "неделя", "недели"], ["дней", "день", "дня"], ["часов", "час", "часа"], ["минут", "минута", "минуты"], ["секунд", "секунда", "секунды"], ["миллисекунд", "миллисекунда", "миллисекунды"]), sq: f(C(["vit", "vjet"]), "muaj", "javë", "ditë", "orë", function(x) { + return "minut" + (x === 1 ? "ë" : "a"); + }, function(x) { + return "sekond" + (x === 1 ? "ë" : "a"); + }, function(x) { + return "milisekond" + (x === 1 ? "ë" : "a"); + }, ","), sr: l(["години", "година", "године"], ["месеци", "месец", "месеца"], ["недељи", "недеља", "недеље"], ["дани", "дан", "дана"], ["сати", "сат", "сата"], ["минута", "минут", "минута"], ["секунди", "секунда", "секунде"], ["милисекунди", "милисекунда", "милисекунде"]), sr_Latn: l(["godini", "godina", "godine"], ["meseci", "mesec", "meseca"], ["nedelji", "nedelja", "nedelje"], ["dani", "dan", "dana"], ["sati", "sat", "sata"], ["minuta", "minut", "minuta"], ["sekundi", "sekunda", "sekunde"], ["milisekundi", "milisekunda", "milisekunde"]), ta: w(["வருடம்", "ஆண்டுகள்"], ["மாதம்", "மாதங்கள்"], ["வாரம்", "வாரங்கள்"], ["நாள்", "நாட்கள்"], ["மணி", "மணிநேரம்"], ["நிமிடம்", "நிமிடங்கள்"], ["வினாடி", "வினாடிகள்"], ["மில்லி விநாடி", "மில்லி விநாடிகள்"]), te: w(["సంవత్సరం", "సంవత్సరాల"], ["నెల", "నెలల"], ["వారం", "వారాలు"], ["రోజు", "రోజులు"], ["గంట", "గంటలు"], ["నిమిషం", "నిమిషాలు"], ["సెకను", "సెకన్లు"], ["మిల్లీసెకన్", "మిల్లీసెకన్లు"]), uk: l(["років", "рік", "роки"], ["місяців", "місяць", "місяці"], ["тижнів", "тиждень", "тижні"], ["днів", "день", "дні"], ["годин", "година", "години"], ["хвилин", "хвилина", "хвилини"], ["секунд", "секунда", "секунди"], ["мілісекунд", "мілісекунда", "мілісекунди"]), ur: f("سال", C(["مہینہ", "مہینے"]), C(["ہفتہ", "ہفتے"]), "دن", C(["گھنٹہ", "گھنٹے"]), "منٹ", "سیکنڈ", "ملی سیکنڈ"), sk: f(function(x) { + return ["rok", "roky", "roky", "rokov"][d(x)]; + }, function(x) { + return ["mesiac", "mesiace", "mesiace", "mesiacov"][d(x)]; + }, function(x) { + return ["týždeň", "týždne", "týždne", "týždňov"][d(x)]; + }, function(x) { + return ["deň", "dni", "dni", "dní"][d(x)]; + }, function(x) { + return ["hodina", "hodiny", "hodiny", "hodín"][d(x)]; + }, function(x) { + return ["minúta", "minúty", "minúty", "minút"][d(x)]; + }, function(x) { + return ["sekunda", "sekundy", "sekundy", "sekúnd"][d(x)]; + }, function(x) { + return ["milisekunda", "milisekundy", "milisekundy", "milisekúnd"][d(x)]; + }, ","), sl: f(function(x) { + return x % 10 == 1 ? "leto" : x % 100 == 2 ? "leti" : x % 100 == 3 || x % 100 == 4 || Math.floor(x) !== x && x % 100 <= 5 ? "leta" : "let"; + }, function(x) { + return x % 10 == 1 ? "mesec" : x % 100 == 2 || Math.floor(x) !== x && x % 100 <= 5 ? "meseca" : x % 10 == 3 || x % 10 == 4 ? "mesece" : "mesecev"; + }, function(x) { + return x % 10 == 1 ? "teden" : x % 10 == 2 || Math.floor(x) !== x && x % 100 <= 4 ? "tedna" : x % 10 == 3 || x % 10 == 4 ? "tedne" : "tednov"; + }, function(x) { + return x % 100 == 1 ? "dan" : "dni"; + }, function(x) { + return x % 10 == 1 ? "ura" : x % 100 == 2 ? "uri" : x % 10 == 3 || x % 10 == 4 || Math.floor(x) !== x ? "ure" : "ur"; + }, function(x) { + return x % 10 == 1 ? "minuta" : x % 10 == 2 ? "minuti" : x % 10 == 3 || x % 10 == 4 || Math.floor(x) !== x && x % 100 <= 4 ? "minute" : "minut"; + }, function(x) { + return x % 10 == 1 ? "sekunda" : x % 100 == 2 ? "sekundi" : x % 100 == 3 || x % 100 == 4 || Math.floor(x) !== x ? "sekunde" : "sekund"; + }, function(x) { + return x % 10 == 1 ? "milisekunda" : x % 100 == 2 ? "milisekundi" : x % 100 == 3 || x % 100 == 4 || Math.floor(x) !== x ? "milisekunde" : "milisekund"; + }, ","), sv: w(["år", "år"], ["månad", "månader"], ["vecka", "veckor"], ["dag", "dagar"], ["timme", "timmar"], ["minut", "minuter"], ["sekund", "sekunder"], ["millisekund", "millisekunder"], ","), sw: o(w(["mwaka", "miaka"], ["mwezi", "miezi"], ["wiki", "wiki"], ["siku", "masiku"], ["saa", "masaa"], ["dakika", "dakika"], ["sekunde", "sekunde"], ["milisekunde", "milisekunde"]), { _numberFirst: !0 }), tr: f("yıl", "ay", "hafta", "gün", "saat", "dakika", "saniye", "milisaniye", ","), th: f("ปี", "เดือน", "สัปดาห์", "วัน", "ชั่วโมง", "นาที", "วินาที", "มิลลิวินาที"), uz: f("yil", "oy", "hafta", "kun", "soat", "minut", "sekund", "millisekund"), uz_CYR: f("йил", "ой", "ҳафта", "кун", "соат", "минут", "секунд", "миллисекунд"), vi: f("năm", "tháng", "tuần", "ngày", "giờ", "phút", "giây", "mili giây", ","), zh_CN: f("年", "个月", "周", "天", "小时", "分钟", "秒", "毫秒"), zh_TW: f("年", "個月", "周", "天", "小時", "分鐘", "秒", "毫秒") }; + function f(x, A, N, k, j, D, T, L, R) { + var M = { y: x, mo: A, w: N, d: k, h: j, m: D, s: T, ms: L }; + return R && (M.decimal = R), M; + } + function C(x) { + return function(A) { + return A === 1 ? x[0] : x[1]; }; - return b(O, { language: "en", delimiter: ", ", spacer: " ", conjunction: "", serialComma: !0, units: ["y", "mo", "w", "d", "h", "m", "s"], languages: {}, round: !1, unitMeasures: { y: 315576e5, mo: 26298e5, w: 6048e5, d: 864e5, h: 36e5, m: 6e4, s: 1e3, ms: 1 } }, h); } - var t = m({}); - function f(h, O, I, k) { - var R; - R = p(k, "decimal") ? k.decimal : p(I, "decimal") ? I.decimal : "."; - var L, N = h.toString().replace(".", R), B = I[O]; - return L = typeof B == "function" ? B(h) : B, N + k.spacer + L; + function w(x, A, N, k, j, D, T, L, R) { + return f(C(x), C(A), C(N), C(k), C(j), C(D), C(T), C(L), R); + } + function m(x, A, N) { + return function(k) { + if (k === 1) return x; + if (Math.floor(k) !== k || k === 0) return A; + var j = k % 100; + return j >= 1 && j <= 19 ? A : N; + }; } - function b(h) { - for (var O, I = 1; I < arguments.length; I++) for (var k in O = arguments[I]) p(O, k) && (h[k] = O[k]); - return h; + function v(x) { + return function(A) { + return Math.floor(A) !== A ? x[2] : A % 100 >= 5 && A % 100 <= 20 || A % 10 >= 5 && A % 10 <= 9 || A % 10 == 0 ? x[0] : A % 10 == 1 ? x[1] : A > 1 ? x[2] : x[1]; + }; } - function y(h) { - return h === 1 ? 0 : Math.floor(h) !== h ? 1 : h % 10 >= 2 && h % 10 <= 4 && !(h % 100 > 10 && h % 100 < 20) ? 2 : 3; + function l(x, A, N, k, j, D, T, L) { + return f(v(x), v(A), v(N), v(k), v(j), v(D), v(T), v(L), ","); } - function u(h) { - return Math.floor(h) !== h ? 2 : h % 100 >= 5 && h % 100 <= 20 || h % 10 >= 5 && h % 10 <= 9 || h % 10 == 0 ? 0 : h % 10 == 1 ? 1 : h > 1 ? 2 : 0; + function u(x) { + return x === 2 ? 1 : x > 2 && x < 11 ? 2 : 0; } - function d(h) { - return h === 1 ? 0 : Math.floor(h) !== h ? 1 : h % 10 >= 2 && h % 10 <= 4 && h % 100 < 10 ? 2 : 3; + function y(x) { + return x === 1 ? 0 : Math.floor(x) !== x ? 1 : x % 10 >= 2 && x % 10 <= 4 && !(x % 100 > 10 && x % 100 < 20) ? 2 : 3; } - function l(h) { - return h === 1 || h % 10 == 1 && h % 100 > 20 ? 0 : Math.floor(h) !== h || h % 10 >= 2 && h % 100 > 20 || h % 10 >= 2 && h % 100 < 10 ? 1 : 2; + function d(x) { + return x === 1 ? 0 : Math.floor(x) !== x ? 1 : x % 10 >= 2 && x % 10 <= 4 && x % 100 < 10 ? 2 : 3; } - function s(h) { - return h % 10 == 1 && h % 100 != 11; + function b(x) { + return x === 1 || x % 10 == 1 && x % 100 > 20 ? 0 : Math.floor(x) !== x || x % 10 >= 2 && x % 100 > 20 || x % 10 >= 2 && x % 100 < 10 ? 1 : 2; } - var v = Array.isArray || function(h) { - return Object.prototype.toString.call(h) === "[object Array]"; - }; - function p(h, O) { - return Object.prototype.hasOwnProperty.call(h, O); - } - t.getSupportedLanguages = function() { - var h = []; - for (var O in i) p(i, O) && O !== "gr" && h.push(O); - return h; - }, t.humanizer = m, (r = (function() { - return t; - }).call(n, c, n, x)) === void 0 || (x.exports = r); + function _(x) { + return x % 10 == 1 && x % 100 != 11; + } + function E(x, A) { + return Object.prototype.hasOwnProperty.call(x, A); + } + function B(x, A, N) { + var k, j, D, T = x.unitName, L = x.unitCount, R = N.spacer, M = N.maxDecimalPoints; + k = E(N, "decimal") ? N.decimal : E(A, "decimal") ? A.decimal : ".", "digitReplacements" in N ? j = N.digitReplacements : "_digitReplacements" in A && (j = A._digitReplacements); + var P = (M === void 0 ? L : Math.floor(L * Math.pow(10, M)) / Math.pow(10, M)).toString(); + if (A._hideCountIf2 && L === 2) D = "", R = ""; + else if (j) { + D = ""; + for (var H = 0; H < P.length; H++) { + var K = P[H]; + D += K === "." ? k : j[K]; + } + } else D = P.replace(".", k); + var V, U = A[T]; + return V = typeof U == "function" ? U(L) : U, A._numberFirst ? V + R + D : D + R + V; + } + function O(x) { + var A = function(N, k) { + N = Math.abs(N); + var j = o({}, A, k || {}), D = function(T, L) { + var R, M, P, H, K = L.units, V = L.unitMeasures, U = "largest" in L ? L.largest : 1 / 0; + if (!K.length) return []; + var F = {}; + for (H = T, M = 0; M < K.length; M++) { + var Q = V[R = K[M]]; + P = M === K.length - 1 ? H / Q : Math.floor(H / Q), F[R] = P, H -= P * Q; + } + if (L.round) { + var ne = U; + for (M = 0; M < K.length; M++) if ((P = F[R = K[M]]) !== 0 && --ne === 0) { + for (var te = M + 1; te < K.length; te++) { + var X = K[te], Z = F[X]; + F[R] += Z * V[X] / V[R], F[X] = 0; + } + break; + } + for (M = K.length - 1; M >= 0; M--) if ((P = F[R = K[M]]) !== 0) { + var fe = Math.round(P); + if (F[R] = fe, M === 0) break; + var le = K[M - 1], Se = V[le], de = Math.floor(fe * V[R] / Se); + if (!de) break; + F[le] += de, F[R] = 0; + } + } + var me = []; + for (M = 0; M < K.length && me.length < U; M++) (P = F[R = K[M]]) && me.push({ unitName: R, unitCount: P }); + return me; + }(N, j); + return function(T, L) { + var R = function(F) { + var Q = [F.language]; + if (E(F, "fallbacks")) { + if (!i(F.fallbacks) || !F.fallbacks.length) throw new Error("fallbacks must be an array with at least one element"); + Q = Q.concat(F.fallbacks); + } + for (var ne = 0; ne < Q.length; ne++) { + var te = Q[ne]; + if (E(F.languages, te)) return F.languages[te]; + if (E(a, te)) return a[te]; + } + throw new Error("No language found."); + }(L); + if (!T.length) { + var M = L.units; + return B({ unitName: M[M.length - 1], unitCount: 0 }, R, L); + } + var P, H = L.conjunction, K = L.serialComma; + P = E(L, "delimiter") ? L.delimiter : E(R, "delimiter") ? R.delimiter : ", "; + for (var V = [], U = 0; U < T.length; U++) V.push(B(T[U], R, L)); + return H && T.length !== 1 ? T.length === 2 ? V.join(H) : V.slice(0, -1).join(P) + (K ? "," : "") + H + V.slice(-1) : V.join(P); + }(D, j); + }; + return o(A, { language: "en", spacer: " ", conjunction: "", serialComma: !0, units: ["y", "mo", "w", "d", "h", "m", "s"], languages: {}, round: !1, unitMeasures: { y: 315576e5, mo: 26298e5, w: 6048e5, d: 864e5, h: 36e5, m: 6e4, s: 1e3, ms: 1 } }, x); + } + var I = o(O({}), { getSupportedLanguages: function() { + var x = []; + for (var A in a) E(a, A) && A !== "gr" && x.push(A); + return x; + }, humanizer: O }); + (r = (function() { + return I; + }).call(n, s, n, g)) === void 0 || (g.exports = r); })(); - }, 251: (x, n) => { - n.read = function(c, r, a, i, m) { - var t, f, b = 8 * m - i - 1, y = (1 << b) - 1, u = y >> 1, d = -7, l = a ? m - 1 : 0, s = a ? -1 : 1, v = c[r + l]; - for (l += s, t = v & (1 << -d) - 1, v >>= -d, d += b; d > 0; t = 256 * t + c[r + l], l += s, d -= 8) ; - for (f = t & (1 << -d) - 1, t >>= -d, d += i; d > 0; f = 256 * f + c[r + l], l += s, d -= 8) ; - if (t === 0) t = 1 - u; + }, 251(g, n) { + n.read = function(s, r, o, i, p) { + var a, f, C = 8 * p - i - 1, w = (1 << C) - 1, m = w >> 1, v = -7, l = o ? p - 1 : 0, u = o ? -1 : 1, y = s[r + l]; + for (l += u, a = y & (1 << -v) - 1, y >>= -v, v += C; v > 0; a = 256 * a + s[r + l], l += u, v -= 8) ; + for (f = a & (1 << -v) - 1, a >>= -v, v += i; v > 0; f = 256 * f + s[r + l], l += u, v -= 8) ; + if (a === 0) a = 1 - m; else { - if (t === y) return f ? NaN : 1 / 0 * (v ? -1 : 1); - f += Math.pow(2, i), t -= u; - } - return (v ? -1 : 1) * f * Math.pow(2, t - i); - }, n.write = function(c, r, a, i, m, t) { - var f, b, y, u = 8 * t - m - 1, d = (1 << u) - 1, l = d >> 1, s = m === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = i ? 0 : t - 1, p = i ? 1 : -1, h = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0; - for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (b = isNaN(r) ? 1 : 0, f = d) : (f = Math.floor(Math.log(r) / Math.LN2), r * (y = Math.pow(2, -f)) < 1 && (f--, y *= 2), (r += f + l >= 1 ? s / y : s * Math.pow(2, 1 - l)) * y >= 2 && (f++, y /= 2), f + l >= d ? (b = 0, f = d) : f + l >= 1 ? (b = (r * y - 1) * Math.pow(2, m), f += l) : (b = r * Math.pow(2, l - 1) * Math.pow(2, m), f = 0)); m >= 8; c[a + v] = 255 & b, v += p, b /= 256, m -= 8) ; - for (f = f << m | b, u += m; u > 0; c[a + v] = 255 & f, v += p, f /= 256, u -= 8) ; - c[a + v - p] |= 128 * h; + if (a === w) return f ? NaN : 1 / 0 * (y ? -1 : 1); + f += Math.pow(2, i), a -= m; + } + return (y ? -1 : 1) * f * Math.pow(2, a - i); + }, n.write = function(s, r, o, i, p, a) { + var f, C, w, m = 8 * a - p - 1, v = (1 << m) - 1, l = v >> 1, u = p === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, y = i ? 0 : a - 1, d = i ? 1 : -1, b = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0; + for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (C = isNaN(r) ? 1 : 0, f = v) : (f = Math.floor(Math.log(r) / Math.LN2), r * (w = Math.pow(2, -f)) < 1 && (f--, w *= 2), (r += f + l >= 1 ? u / w : u * Math.pow(2, 1 - l)) * w >= 2 && (f++, w /= 2), f + l >= v ? (C = 0, f = v) : f + l >= 1 ? (C = (r * w - 1) * Math.pow(2, p), f += l) : (C = r * Math.pow(2, l - 1) * Math.pow(2, p), f = 0)); p >= 8; s[o + y] = 255 & C, y += d, C /= 256, p -= 8) ; + for (f = f << p | C, m += p; m > 0; s[o + y] = 255 & f, y += d, f /= 256, m -= 8) ; + s[o + y - d] |= 128 * b; }; - }, 6698: (x) => { - typeof Object.create == "function" ? x.exports = function(n, c) { - c && (n.super_ = c, n.prototype = Object.create(c.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } })); - } : x.exports = function(n, c) { - if (c) { - n.super_ = c; + }, 6698(g) { + typeof Object.create == "function" ? g.exports = function(n, s) { + s && (n.super_ = s, n.prototype = Object.create(s.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } })); + } : g.exports = function(n, s) { + if (s) { + n.super_ = s; var r = function() { }; - r.prototype = c.prototype, n.prototype = new r(), n.prototype.constructor = n; + r.prototype = s.prototype, n.prototype = new r(), n.prototype.constructor = n; } }; - }, 7244: (x, n, c) => { - var r = c(9092)(), a = c(8075)("Object.prototype.toString"), i = function(f) { - return !(r && f && typeof f == "object" && Symbol.toStringTag in f) && a(f) === "[object Arguments]"; - }, m = function(f) { - return !!i(f) || f !== null && typeof f == "object" && typeof f.length == "number" && f.length >= 0 && a(f) !== "[object Array]" && a(f.callee) === "[object Function]"; - }, t = function() { + }, 7244(g, n, s) { + var r = s(9092)(), o = s(6556)("Object.prototype.toString"), i = function(f) { + return !(r && f && typeof f == "object" && Symbol.toStringTag in f) && o(f) === "[object Arguments]"; + }, p = function(f) { + return !!i(f) || f !== null && typeof f == "object" && "length" in f && typeof f.length == "number" && f.length >= 0 && o(f) !== "[object Array]" && "callee" in f && o(f.callee) === "[object Function]"; + }, a = function() { return i(arguments); }(); - i.isLegacyArguments = m, x.exports = t ? i : m; - }, 9600: (x) => { - var n, c, r = Function.prototype.toString, a = typeof Reflect == "object" && Reflect !== null && Reflect.apply; - if (typeof a == "function" && typeof Object.defineProperty == "function") try { + i.isLegacyArguments = p, g.exports = a ? i : p; + }, 9600(g) { + var n, s, r = Function.prototype.toString, o = typeof Reflect == "object" && Reflect !== null && Reflect.apply; + if (typeof o == "function" && typeof Object.defineProperty == "function") try { n = Object.defineProperty({}, "length", { get: function() { - throw c; - } }), c = {}, a(function() { + throw s; + } }), s = {}, o(function() { throw 42; }, null, n); } catch (l) { - l !== c && (a = null); + l !== s && (o = null); } - else a = null; - var i = /^\s*class\b/, m = function(l) { + else o = null; + var i = /^\s*class\b/, p = function(l) { try { - var s = r.call(l); - return i.test(s); + var u = r.call(l); + return i.test(u); } catch { return !1; } - }, t = function(l) { + }, a = function(l) { try { - return !m(l) && (r.call(l), !0); + return !p(l) && (r.call(l), !0); } catch { return !1; } - }, f = Object.prototype.toString, b = typeof Symbol == "function" && !!Symbol.toStringTag, y = !(0 in [,]), u = function() { + }, f = Object.prototype.toString, C = typeof Symbol == "function" && !!Symbol.toStringTag, w = !(0 in [,]), m = function() { return !1; }; if (typeof document == "object") { - var d = document.all; - f.call(d) === f.call(document.all) && (u = function(l) { - if ((y || !l) && (l === void 0 || typeof l == "object")) try { - var s = f.call(l); - return (s === "[object HTMLAllCollection]" || s === "[object HTML document.all class]" || s === "[object HTMLCollection]" || s === "[object Object]") && l("") == null; + var v = document.all; + f.call(v) === f.call(document.all) && (m = function(l) { + if ((w || !l) && (l === void 0 || typeof l == "object")) try { + var u = f.call(l); + return (u === "[object HTMLAllCollection]" || u === "[object HTML document.all class]" || u === "[object HTMLCollection]" || u === "[object Object]") && l("") == null; } catch { } return !1; }); } - x.exports = a ? function(l) { - if (u(l)) return !0; + g.exports = o ? function(l) { + if (m(l)) return !0; if (!l || typeof l != "function" && typeof l != "object") return !1; try { - a(l, null, n); - } catch (s) { - if (s !== c) return !1; + o(l, null, n); + } catch (u) { + if (u !== s) return !1; } - return !m(l) && t(l); + return !p(l) && a(l); } : function(l) { - if (u(l)) return !0; + if (m(l)) return !0; if (!l || typeof l != "function" && typeof l != "object") return !1; - if (b) return t(l); - if (m(l)) return !1; - var s = f.call(l); - return !(s !== "[object Function]" && s !== "[object GeneratorFunction]" && !/^\[object HTML/.test(s)) && t(l); + if (C) return a(l); + if (p(l)) return !1; + var u = f.call(l); + return !(u !== "[object Function]" && u !== "[object GeneratorFunction]" && !/^\[object HTML/.test(u)) && a(l); }; - }, 8184: (x, n, c) => { - var r, a = Object.prototype.toString, i = Function.prototype.toString, m = /^\s*(?:function)?\*/, t = c(9092)(), f = Object.getPrototypeOf; - x.exports = function(b) { - if (typeof b != "function") return !1; - if (m.test(i.call(b))) return !0; - if (!t) return a.call(b) === "[object GeneratorFunction]"; - if (!f) return !1; - if (r === void 0) { - var y = function() { - if (!t) return !1; - try { - return Function("return function*() {}")(); - } catch { - } - }(); - r = !!y && f(y); - } - return f(b) === r; + }, 8184(g, n, s) { + var r = s(6556), o = s(9721)(/^\s*(?:function)?\*/), i = s(9092)(), p = s(3628), a = r("Object.prototype.toString"), f = r("Function.prototype.toString"), C = s(4233); + g.exports = function(w) { + if (typeof w != "function") return !1; + if (o(f(w))) return !0; + if (!i) return a(w) === "[object GeneratorFunction]"; + if (!p) return !1; + var m = C(); + return m && p(w) === m.prototype; }; - }, 5680: (x, n, c) => { - var r = c(2682), a = c(9209), i = c(8075), m = i("Object.prototype.toString"), t = c(9092)(), f = c(5795), b = typeof globalThis > "u" ? c.g : globalThis, y = a(), u = i("Array.prototype.indexOf", !0) || function(v, p) { - for (var h = 0; h < v.length; h += 1) if (v[h] === p) return h; - return -1; - }, d = i("String.prototype.slice"), l = {}, s = Object.getPrototypeOf; - t && f && s && r(y, function(v) { - var p = new b[v](); - if (Symbol.toStringTag in p) { - var h = s(p), O = f(h, Symbol.toStringTag); - if (!O) { - var I = s(h); - O = f(I, Symbol.toStringTag); - } - l[v] = O.get; - } - }), x.exports = function(v) { - if (!v || typeof v != "object") return !1; - if (!t || !(Symbol.toStringTag in v)) { - var p = d(m(v), 8, -1); - return u(y, p) > -1; - } - return !!f && function(h) { - var O = !1; - return r(l, function(I, k) { - if (!O) try { - O = I.call(h) === k; - } catch { - } - }), O; - }(v); + }, 4035(g, n, s) { + var r, o = s(6556), i = s(9092)(), p = s(9957), a = s(5795); + if (i) { + var f = o("RegExp.prototype.exec"), C = {}, w = function() { + throw C; + }, m = { toString: w, valueOf: w }; + typeof Symbol.toPrimitive == "symbol" && (m[Symbol.toPrimitive] = w), r = function(l) { + if (!l || typeof l != "object") return !1; + var u = a(l, "lastIndex"); + if (!u || !p(u, "value")) return !1; + try { + f(l, m); + } catch (y) { + return y === C; + } + }; + } else { + var v = o("Object.prototype.toString"); + r = function(l) { + return !(!l || typeof l != "object" && typeof l != "function") && v(l) === "[object RegExp]"; + }; + } + g.exports = r; + }, 5680(g, n, s) { + var r = s(5767); + g.exports = function(o) { + return !!r(o); }; - }, 5187: (x) => { - x.exports = function(n) { - return n === null; + }, 1514(g) { + g.exports = Math.abs; + }, 8968(g) { + g.exports = Math.floor; + }, 4459(g) { + g.exports = Number.isNaN || function(n) { + return n != n; }; - }, 3349: (x) => { - function n(c, r) { - if (!c) throw new Error(r || "Assertion failed"); - } - x.exports = n, n.equal = function(c, r, a) { - if (c != r) throw new Error(a || "Assertion failed: " + c + " != " + r); + }, 6188(g) { + g.exports = Math.max; + }, 8002(g) { + g.exports = Math.min; + }, 5880(g) { + g.exports = Math.pow; + }, 414(g) { + g.exports = Math.round; + }, 3093(g, n, s) { + var r = s(4459); + g.exports = function(o) { + return r(o) || o === 0 ? o : o < 0 ? -1 : 1; }; - }, 4367: (x, n) => { - var c = n; - function r(i) { - return i.length === 1 ? "0" + i : i; + }, 3349(g) { + function n(s, r) { + if (!s) throw new Error(r || "Assertion failed"); } - function a(i) { - for (var m = "", t = 0; t < i.length; t++) m += r(i[t].toString(16)); - return m; - } - c.toArray = function(i, m) { - if (Array.isArray(i)) return i.slice(); - if (!i) return []; - var t = []; - if (typeof i != "string") { - for (var f = 0; f < i.length; f++) t[f] = 0 | i[f]; - return t; - } - if (m === "hex") for ((i = i.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (i = "0" + i), f = 0; f < i.length; f += 2) t.push(parseInt(i[f] + i[f + 1], 16)); - else for (f = 0; f < i.length; f++) { - var b = i.charCodeAt(f), y = b >> 8, u = 255 & b; - y ? t.push(y, u) : t.push(u); - } - return t; - }, c.zero2 = r, c.toHex = a, c.encode = function(i, m) { - return m === "hex" ? a(i) : i; + g.exports = n, n.equal = function(s, r, o) { + if (s != r) throw new Error(o || "Assertion failed: " + s + " != " + r); }; - }, 5606: (x) => { - var n, c, r = x.exports = {}; - function a() { - throw new Error("setTimeout has not been defined"); - } - function i() { - throw new Error("clearTimeout has not been defined"); - } - function m(v) { - if (n === setTimeout) return setTimeout(v, 0); - if ((n === a || !n) && setTimeout) return n = setTimeout, setTimeout(v, 0); + }, 8859(g, n, s) { + var r = typeof Map == "function" && Map.prototype, o = Object.getOwnPropertyDescriptor && r ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, i = r && o && typeof o.get == "function" ? o.get : null, p = r && Map.prototype.forEach, a = typeof Set == "function" && Set.prototype, f = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, C = a && f && typeof f.get == "function" ? f.get : null, w = a && Set.prototype.forEach, m = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap.prototype.has : null, v = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet.prototype.has : null, l = typeof WeakRef == "function" && WeakRef.prototype ? WeakRef.prototype.deref : null, u = Boolean.prototype.valueOf, y = Object.prototype.toString, d = Function.prototype.toString, b = String.prototype.match, _ = String.prototype.slice, E = String.prototype.replace, B = String.prototype.toUpperCase, O = String.prototype.toLowerCase, I = RegExp.prototype.test, x = Array.prototype.concat, A = Array.prototype.join, N = Array.prototype.slice, k = Math.floor, j = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, D = Object.getOwnPropertySymbols, T = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, L = typeof Symbol == "function" && typeof Symbol.iterator == "object", R = typeof Symbol == "function" && Symbol.toStringTag ? Symbol.toStringTag : null, M = Object.prototype.propertyIsEnumerable, P = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(re) { + return re.__proto__; + } : null); + function H(re, $) { + if (re === 1 / 0 || re === -1 / 0 || re != re || re && re > -1e3 && re < 1e3 || I.call(/e/, $)) return $; + var Y = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof re == "number") { + var ce = re < 0 ? -k(-re) : k(re); + if (ce !== re) { + var ye = String(ce), ve = _.call($, ye.length + 1); + return E.call(ye, Y, "$&_") + "." + E.call(E.call(ve, /([0-9]{3})/g, "$&_"), /_$/, ""); + } + } + return E.call($, Y, "$&_"); + } + var K = s(2634), V = K.custom, U = le(V) ? V : null, F = { __proto__: null, double: '"', single: "'" }, Q = { __proto__: null, double: /(["\\])/g, single: /(['\\])/g }; + function ne(re, $, Y) { + var ce = Y.quoteStyle || $, ye = F[ce]; + return ye + re + ye; + } + function te(re) { + return E.call(String(re), /"/g, """); + } + function X(re) { + return !R || !(typeof re == "object" && (R in re || re[R] !== void 0)); + } + function Z(re) { + return me(re) === "[object Array]" && X(re); + } + function fe(re) { + return me(re) === "[object RegExp]" && X(re); + } + function le(re) { + if (L) return re && typeof re == "object" && re instanceof Symbol; + if (typeof re == "symbol") return !0; + if (!re || typeof re != "object" || !T) return !1; try { - return n(v, 0); + return T.call(re), !0; } catch { - try { - return n.call(null, v, 0); + } + return !1; + } + g.exports = function re($, Y, ce, ye) { + var ve = Y || {}; + if (de(ve, "quoteStyle") && !de(F, ve.quoteStyle)) throw new TypeError('option "quoteStyle" must be "single" or "double"'); + if (de(ve, "maxStringLength") && (typeof ve.maxStringLength == "number" ? ve.maxStringLength < 0 && ve.maxStringLength !== 1 / 0 : ve.maxStringLength !== null)) throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + var Ee = !de(ve, "customInspect") || ve.customInspect; + if (typeof Ee != "boolean" && Ee !== "symbol") throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`"); + if (de(ve, "indent") && ve.indent !== null && ve.indent !== " " && !(parseInt(ve.indent, 10) === ve.indent && ve.indent > 0)) throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + if (de(ve, "numericSeparator") && typeof ve.numericSeparator != "boolean") throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + var Ie = ve.numericSeparator; + if ($ === void 0) return "undefined"; + if ($ === null) return "null"; + if (typeof $ == "boolean") return $ ? "true" : "false"; + if (typeof $ == "string") return Ce($, ve); + if (typeof $ == "number") { + if ($ === 0) return 1 / 0 / $ > 0 ? "0" : "-0"; + var be = String($); + return Ie ? H($, be) : be; + } + if (typeof $ == "bigint") { + var Ne = String($) + "n"; + return Ie ? H($, Ne) : Ne; + } + var He = ve.depth === void 0 ? 5 : ve.depth; + if (ce === void 0 && (ce = 0), ce >= He && He > 0 && typeof $ == "object") return Z($) ? "[Array]" : "[Object]"; + var ae, oe = function(Fe, mt) { + var ht; + if (Fe.indent === " ") ht = " "; + else { + if (!(typeof Fe.indent == "number" && Fe.indent > 0)) return null; + ht = A.call(Array(Fe.indent + 1), " "); + } + return { base: ht, prev: A.call(Array(mt + 1), ht) }; + }(ve, ce); + if (ye === void 0) ye = []; + else if (Oe(ye, $) >= 0) return "[Circular]"; + function ue(Fe, mt, ht) { + if (mt && (ye = N.call(ye)).push(mt), ht) { + var Mt = { depth: ve.depth }; + return de(ve, "quoteStyle") && (Mt.quoteStyle = ve.quoteStyle), re(Fe, Mt, ce + 1, ye); + } + return re(Fe, ve, ce + 1, ye); + } + if (typeof $ == "function" && !fe($)) { + var he = function(Fe) { + if (Fe.name) return Fe.name; + var mt = b.call(d.call(Fe), /^function\s*([\w$]+)/); + return mt ? mt[1] : null; + }($), _e = q($, ue); + return "[Function" + (he ? ": " + he : " (anonymous)") + "]" + (_e.length > 0 ? " { " + A.call(_e, ", ") + " }" : ""); + } + if (le($)) { + var Te = L ? E.call(String($), /^(Symbol\(.*\))_[^)]*$/, "$1") : T.call($); + return typeof $ != "object" || L ? Te : ie(Te); + } + if ((ae = $) && typeof ae == "object" && (typeof HTMLElement < "u" && ae instanceof HTMLElement || typeof ae.nodeName == "string" && typeof ae.getAttribute == "function")) { + for (var Re = "<" + O.call(String($.nodeName)), Ue = $.attributes || [], De = 0; De < Ue.length; De++) Re += " " + Ue[De].name + "=" + ne(te(Ue[De].value), "double", ve); + return Re += ">", $.childNodes && $.childNodes.length && (Re += "..."), Re + "" + O.call(String($.nodeName)) + ">"; + } + if (Z($)) { + if ($.length === 0) return "[]"; + var ze = q($, ue); + return oe && !function(Fe) { + for (var mt = 0; mt < Fe.length; mt++) if (Oe(Fe[mt], ` +`) >= 0) return !1; + return !0; + }(ze) ? "[" + J(ze, oe) + "]" : "[ " + A.call(ze, ", ") + " ]"; + } + if (function(Fe) { + return me(Fe) === "[object Error]" && X(Fe); + }($)) { + var Xe = q($, ue); + return "cause" in Error.prototype || !("cause" in $) || M.call($, "cause") ? Xe.length === 0 ? "[" + String($) + "]" : "{ [" + String($) + "] " + A.call(Xe, ", ") + " }" : "{ [" + String($) + "] " + A.call(x.call("[cause]: " + ue($.cause), Xe), ", ") + " }"; + } + if (typeof $ == "object" && Ee) { + if (U && typeof $[U] == "function" && K) return K($, { depth: He - ce }); + if (Ee !== "symbol" && typeof $.inspect == "function") return $.inspect(); + } + if (function(Fe) { + if (!i || !Fe || typeof Fe != "object") return !1; + try { + i.call(Fe); + try { + C.call(Fe); + } catch { + return !0; + } + return Fe instanceof Map; + } catch { + } + return !1; + }($)) { + var qe = []; + return p && p.call($, function(Fe, mt) { + qe.push(ue(mt, $, !0) + " => " + ue(Fe, $)); + }), z("Map", i.call($), qe, oe); + } + if (function(Fe) { + if (!C || !Fe || typeof Fe != "object") return !1; + try { + C.call(Fe); + try { + i.call(Fe); + } catch { + return !0; + } + return Fe instanceof Set; + } catch { + } + return !1; + }($)) { + var Ye = []; + return w && w.call($, function(Fe) { + Ye.push(ue(Fe, $)); + }), z("Set", C.call($), Ye, oe); + } + if (function(Fe) { + if (!m || !Fe || typeof Fe != "object") return !1; + try { + m.call(Fe, m); + try { + v.call(Fe, v); + } catch { + return !0; + } + return Fe instanceof WeakMap; + } catch { + } + return !1; + }($)) return we("WeakMap"); + if (function(Fe) { + if (!v || !Fe || typeof Fe != "object") return !1; + try { + v.call(Fe, v); + try { + m.call(Fe, m); + } catch { + return !0; + } + return Fe instanceof WeakSet; + } catch { + } + return !1; + }($)) return we("WeakSet"); + if (function(Fe) { + if (!l || !Fe || typeof Fe != "object") return !1; + try { + return l.call(Fe), !0; + } catch { + } + return !1; + }($)) return we("WeakRef"); + if (function(Fe) { + return me(Fe) === "[object Number]" && X(Fe); + }($)) return ie(ue(Number($))); + if (function(Fe) { + if (!Fe || typeof Fe != "object" || !j) return !1; + try { + return j.call(Fe), !0; + } catch { + } + return !1; + }($)) return ie(ue(j.call($))); + if (function(Fe) { + return me(Fe) === "[object Boolean]" && X(Fe); + }($)) return ie(u.call($)); + if (function(Fe) { + return me(Fe) === "[object String]" && X(Fe); + }($)) return ie(ue(String($))); + if (typeof window < "u" && $ === window) return "{ [object Window] }"; + if (typeof globalThis < "u" && $ === globalThis || s.g !== void 0 && $ === s.g) return "{ [object globalThis] }"; + if (!function(Fe) { + return me(Fe) === "[object Date]" && X(Fe); + }($) && !fe($)) { + var ct = q($, ue), ot = P ? P($) === Object.prototype : $ instanceof Object || $.constructor === Object, dt = $ instanceof Object ? "" : "null prototype", $t = !ot && R && Object($) === $ && R in $ ? _.call(me($), 8, -1) : dt ? "Object" : "", gt = (ot || typeof $.constructor != "function" ? "" : $.constructor.name ? $.constructor.name + " " : "") + ($t || dt ? "[" + A.call(x.call([], $t || [], dt || []), ": ") + "] " : ""); + return ct.length === 0 ? gt + "{}" : oe ? gt + "{" + J(ct, oe) + "}" : gt + "{ " + A.call(ct, ", ") + " }"; + } + return String($); + }; + var Se = Object.prototype.hasOwnProperty || function(re) { + return re in this; + }; + function de(re, $) { + return Se.call(re, $); + } + function me(re) { + return y.call(re); + } + function Oe(re, $) { + if (re.indexOf) return re.indexOf($); + for (var Y = 0, ce = re.length; Y < ce; Y++) if (re[Y] === $) return Y; + return -1; + } + function Ce(re, $) { + if (re.length > $.maxStringLength) { + var Y = re.length - $.maxStringLength, ce = "... " + Y + " more character" + (Y > 1 ? "s" : ""); + return Ce(_.call(re, 0, $.maxStringLength), $) + ce; + } + var ye = Q[$.quoteStyle || "single"]; + return ye.lastIndex = 0, ne(E.call(E.call(re, ye, "\\$1"), /[\x00-\x1f]/g, G), "single", $); + } + function G(re) { + var $ = re.charCodeAt(0), Y = { 8: "b", 9: "t", 10: "n", 12: "f", 13: "r" }[$]; + return Y ? "\\" + Y : "\\x" + ($ < 16 ? "0" : "") + B.call($.toString(16)); + } + function ie(re) { + return "Object(" + re + ")"; + } + function we(re) { + return re + " { ? }"; + } + function z(re, $, Y, ce) { + return re + " (" + $ + ") {" + (ce ? J(Y, ce) : A.call(Y, ", ")) + "}"; + } + function J(re, $) { + if (re.length === 0) return ""; + var Y = ` +` + $.prev + $.base; + return Y + A.call(re, "," + Y) + ` +` + $.prev; + } + function q(re, $) { + var Y = Z(re), ce = []; + if (Y) { + ce.length = re.length; + for (var ye = 0; ye < re.length; ye++) ce[ye] = de(re, ye) ? $(re[ye], re) : ""; + } + var ve, Ee = typeof D == "function" ? D(re) : []; + if (L) { + ve = {}; + for (var Ie = 0; Ie < Ee.length; Ie++) ve["$" + Ee[Ie]] = Ee[Ie]; + } + for (var be in re) de(re, be) && (Y && String(Number(be)) === be && be < re.length || L && ve["$" + be] instanceof Symbol || (I.call(/[^\w$]/, be) ? ce.push($(be, re) + ": " + $(re[be], re)) : ce.push(be + ": " + $(re[be], re)))); + if (typeof D == "function") for (var Ne = 0; Ne < Ee.length; Ne++) M.call(re, Ee[Ne]) && ce.push("[" + $(Ee[Ne]) + "]: " + $(re[Ee[Ne]], re)); + return ce; + } + }, 6578(g) { + g.exports = ["Float16Array", "Float32Array", "Float64Array", "Int8Array", "Int16Array", "Int32Array", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "BigInt64Array", "BigUint64Array"]; + }, 5606(g) { + var n, s, r = g.exports = {}; + function o() { + throw new Error("setTimeout has not been defined"); + } + function i() { + throw new Error("clearTimeout has not been defined"); + } + function p(y) { + if (n === setTimeout) return setTimeout(y, 0); + if ((n === o || !n) && setTimeout) return n = setTimeout, setTimeout(y, 0); + try { + return n(y, 0); + } catch { + try { + return n.call(null, y, 0); } catch { - return n.call(this, v, 0); + return n.call(this, y, 0); } } } (function() { try { - n = typeof setTimeout == "function" ? setTimeout : a; + n = typeof setTimeout == "function" ? setTimeout : o; } catch { - n = a; + n = o; } try { - c = typeof clearTimeout == "function" ? clearTimeout : i; + s = typeof clearTimeout == "function" ? clearTimeout : i; } catch { - c = i; + s = i; } })(); - var t, f = [], b = !1, y = -1; - function u() { - b && t && (b = !1, t.length ? f = t.concat(f) : y = -1, f.length && d()); - } - function d() { - if (!b) { - var v = m(u); - b = !0; - for (var p = f.length; p; ) { - for (t = f, f = []; ++y < p; ) t && t[y].run(); - y = -1, p = f.length; - } - t = null, b = !1, function(h) { - if (c === clearTimeout) return clearTimeout(h); - if ((c === i || !c) && clearTimeout) return c = clearTimeout, clearTimeout(h); + var a, f = [], C = !1, w = -1; + function m() { + C && a && (C = !1, a.length ? f = a.concat(f) : w = -1, f.length && v()); + } + function v() { + if (!C) { + var y = p(m); + C = !0; + for (var d = f.length; d; ) { + for (a = f, f = []; ++w < d; ) a && a[w].run(); + w = -1, d = f.length; + } + a = null, C = !1, function(b) { + if (s === clearTimeout) return clearTimeout(b); + if ((s === i || !s) && clearTimeout) return s = clearTimeout, clearTimeout(b); try { - return c(h); + return s(b); } catch { try { - return c.call(null, h); + return s.call(null, b); } catch { - return c.call(this, h); + return s.call(this, b); } } - }(v); + }(y); } } - function l(v, p) { - this.fun = v, this.array = p; + function l(y, d) { + this.fun = y, this.array = d; } - function s() { + function u() { } - r.nextTick = function(v) { - var p = new Array(arguments.length - 1); - if (arguments.length > 1) for (var h = 1; h < arguments.length; h++) p[h - 1] = arguments[h]; - f.push(new l(v, p)), f.length !== 1 || b || m(d); + r.nextTick = function(y) { + var d = new Array(arguments.length - 1); + if (arguments.length > 1) for (var b = 1; b < arguments.length; b++) d[b - 1] = arguments[b]; + f.push(new l(y, d)), f.length !== 1 || C || p(v); }, l.prototype.run = function() { this.fun.apply(null, this.array); - }, r.title = "browser", r.browser = !0, r.env = {}, r.argv = [], r.version = "", r.versions = {}, r.on = s, r.addListener = s, r.once = s, r.off = s, r.removeListener = s, r.removeAllListeners = s, r.emit = s, r.prependListener = s, r.prependOnceListener = s, r.listeners = function(v) { + }, r.title = "browser", r.browser = !0, r.env = {}, r.argv = [], r.version = "", r.versions = {}, r.on = u, r.addListener = u, r.once = u, r.off = u, r.removeListener = u, r.removeAllListeners = u, r.emit = u, r.prependListener = u, r.prependOnceListener = u, r.listeners = function(y) { return []; - }, r.binding = function(v) { + }, r.binding = function(y) { throw new Error("process.binding is not supported"); }, r.cwd = function() { return "/"; - }, r.chdir = function(v) { + }, r.chdir = function(y) { throw new Error("process.chdir is not supported"); }, r.umask = function() { return 0; }; - }, 1630: (x) => { - function n(c, r) { - return Object.prototype.hasOwnProperty.call(c, r); - } - x.exports = function(c, r, a, i) { - r = r || "&", a = a || "="; - var m = {}; - if (typeof c != "string" || c.length === 0) return m; - var t = /\+/g; - c = c.split(r); - var f = 1e3; - i && typeof i.maxKeys == "number" && (f = i.maxKeys); - var b = c.length; - f > 0 && b > f && (b = f); - for (var y = 0; y < b; ++y) { - var u, d, l, s, v = c[y].replace(t, "%20"), p = v.indexOf(a); - p >= 0 ? (u = v.substr(0, p), d = v.substr(p + 1)) : (u = v, d = ""), l = decodeURIComponent(u), s = decodeURIComponent(d), n(m, l) ? Array.isArray(m[l]) ? m[l].push(s) : m[l] = [m[l], s] : m[l] = s; + }, 9655(g, n, s) { + var r; + g = s.nmd(g), function() { + n && n.nodeType, g && g.nodeType; + var o = typeof s.g == "object" && s.g; + o.global !== o && o.window !== o && o.self; + var i, p = 2147483647, a = 36, f = /^xn--/, C = /[^\x20-\x7E]/, w = /[\x2E\u3002\uFF0E\uFF61]/g, m = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, v = Math.floor, l = String.fromCharCode; + function u(A) { + throw new RangeError(m[A]); + } + function y(A, N) { + for (var k = A.length, j = []; k--; ) j[k] = N(A[k]); + return j; + } + function d(A, N) { + var k = A.split("@"), j = ""; + return k.length > 1 && (j = k[0] + "@", A = k[1]), j + y((A = A.replace(w, ".")).split("."), N).join("."); + } + function b(A) { + for (var N, k, j = [], D = 0, T = A.length; D < T; ) (N = A.charCodeAt(D++)) >= 55296 && N <= 56319 && D < T ? (64512 & (k = A.charCodeAt(D++))) == 56320 ? j.push(((1023 & N) << 10) + (1023 & k) + 65536) : (j.push(N), D--) : j.push(N); + return j; + } + function _(A) { + return y(A, function(N) { + var k = ""; + return N > 65535 && (k += l((N -= 65536) >>> 10 & 1023 | 55296), N = 56320 | 1023 & N), k + l(N); + }).join(""); + } + function E(A) { + return A - 48 < 10 ? A - 22 : A - 65 < 26 ? A - 65 : A - 97 < 26 ? A - 97 : a; + } + function B(A, N) { + return A + 22 + 75 * (A < 26) - ((N != 0) << 5); + } + function O(A, N, k) { + var j = 0; + for (A = k ? v(A / 700) : A >> 1, A += v(A / N); A > 455; j += a) A = v(A / 35); + return v(j + 36 * A / (A + 38)); + } + function I(A) { + var N, k, j, D, T, L, R, M, P, H, K = [], V = A.length, U = 0, F = 128, Q = 72; + for ((k = A.lastIndexOf("-")) < 0 && (k = 0), j = 0; j < k; ++j) A.charCodeAt(j) >= 128 && u("not-basic"), K.push(A.charCodeAt(j)); + for (D = k > 0 ? k + 1 : 0; D < V; ) { + for (T = U, L = 1, R = a; D >= V && u("invalid-input"), ((M = E(A.charCodeAt(D++))) >= a || M > v((p - U) / L)) && u("overflow"), U += M * L, !(M < (P = R <= Q ? 1 : R >= Q + 26 ? 26 : R - Q)); R += a) L > v(p / (H = a - P)) && u("overflow"), L *= H; + Q = O(U - T, N = K.length + 1, T == 0), v(U / N) > p - F && u("overflow"), F += v(U / N), U %= N, K.splice(U++, 0, F); + } + return _(K); + } + function x(A) { + var N, k, j, D, T, L, R, M, P, H, K, V, U, F, Q, ne = []; + for (V = (A = b(A)).length, N = 128, k = 0, T = 72, L = 0; L < V; ++L) (K = A[L]) < 128 && ne.push(l(K)); + for (j = D = ne.length, D && ne.push("-"); j < V; ) { + for (R = p, L = 0; L < V; ++L) (K = A[L]) >= N && K < R && (R = K); + for (R - N > v((p - k) / (U = j + 1)) && u("overflow"), k += (R - N) * U, N = R, L = 0; L < V; ++L) if ((K = A[L]) < N && ++k > p && u("overflow"), K == N) { + for (M = k, P = a; !(M < (H = P <= T ? 1 : P >= T + 26 ? 26 : P - T)); P += a) Q = M - H, F = a - H, ne.push(l(B(H + Q % F, 0))), M = v(Q / F); + ne.push(l(B(M, 0))), T = O(k, U, j == D), k = 0, ++j; + } + ++k, ++N; + } + return ne.join(""); + } + i = { version: "1.4.1", ucs2: { decode: b, encode: _ }, decode: I, encode: x, toASCII: function(A) { + return d(A, function(N) { + return C.test(N) ? "xn--" + x(N) : N; + }); + }, toUnicode: function(A) { + return d(A, function(N) { + return f.test(N) ? I(N.slice(4).toLowerCase()) : N; + }); + } }, (r = (function() { + return i; + }).call(n, s, n, g)) === void 0 || (g.exports = r); + }(); + }, 4765(g) { + var n = String.prototype.replace, s = /%20/g, r = "RFC3986"; + g.exports = { default: r, formatters: { RFC1738: function(o) { + return n.call(o, s, "+"); + }, RFC3986: function(o) { + return String(o); + } }, RFC1738: "RFC1738", RFC3986: r }; + }, 5373(g, n, s) { + var r = s(8636), o = s(2642), i = s(4765); + g.exports = { formats: i, parse: o, stringify: r }; + }, 2642(g, n, s) { + var r = s(5339), o = Object.prototype.hasOwnProperty, i = Array.isArray, p = { allowDots: !1, allowEmptyArrays: !1, allowPrototypes: !1, allowSparse: !1, arrayLimit: 20, charset: "utf-8", charsetSentinel: !1, comma: !1, decodeDotInKeys: !1, decoder: r.decode, delimiter: "&", depth: 5, duplicates: "combine", ignoreQueryPrefix: !1, interpretNumericEntities: !1, parameterLimit: 1e3, parseArrays: !0, plainObjects: !1, strictDepth: !1, strictNullHandling: !1, throwOnLimitExceeded: !1 }, a = function(w) { + return w.replace(/(\d+);/g, function(m, v) { + return String.fromCharCode(parseInt(v, 10)); + }); + }, f = function(w, m, v) { + if (w && typeof w == "string" && m.comma && w.indexOf(",") > -1) return w.split(","); + if (m.throwOnLimitExceeded && v >= m.arrayLimit) throw new RangeError("Array limit exceeded. Only " + m.arrayLimit + " element" + (m.arrayLimit === 1 ? "" : "s") + " allowed in an array."); + return w; + }, C = function(w, m, v, l) { + if (w) { + var u = function(y, d) { + var b = d.allowDots ? y.replace(/\.([^.[]+)/g, "[$1]") : y; + if (d.depth <= 0) + return !d.plainObjects && o.call(Object.prototype, b) && !d.allowPrototypes ? void 0 : [b]; + var _ = /(\[[^[\]]*])/g, E = /(\[[^[\]]*])/.exec(b), B = E ? b.slice(0, E.index) : b, O = []; + if (B) { + if (!d.plainObjects && o.call(Object.prototype, B) && !d.allowPrototypes) return; + O[O.length] = B; + } + for (var I = 0; (E = _.exec(b)) !== null && I < d.depth; ) { + I += 1; + var x = E[1].slice(1, -1); + if (!d.plainObjects && o.call(Object.prototype, x) && !d.allowPrototypes) return; + O[O.length] = E[1]; + } + if (E) { + if (d.strictDepth === !0) throw new RangeError("Input depth exceeded depth option of " + d.depth + " and strictDepth is true"); + O[O.length] = "[" + b.slice(E.index) + "]"; + } + return O; + }(w, v); + if (u) return function(y, d, b, _) { + var E = 0; + if (y.length > 0 && y[y.length - 1] === "[]") { + var B = y.slice(0, -1).join(""); + E = Array.isArray(d) && d[B] ? d[B].length : 0; + } + for (var O = _ ? d : f(d, b, E), I = y.length - 1; I >= 0; --I) { + var x, A = y[I]; + if (A === "[]" && b.parseArrays) x = r.isOverflow(O) ? O : b.allowEmptyArrays && (O === "" || b.strictNullHandling && O === null) ? [] : r.combine([], O, b.arrayLimit, b.plainObjects); + else { + x = b.plainObjects ? { __proto__: null } : {}; + var N = A.charAt(0) === "[" && A.charAt(A.length - 1) === "]" ? A.slice(1, -1) : A, k = b.decodeDotInKeys ? N.replace(/%2E/g, ".") : N, j = parseInt(k, 10), D = !isNaN(j) && A !== k && String(j) === k && j >= 0 && b.parseArrays; + if (b.parseArrays || k !== "") if (D && j < b.arrayLimit) (x = [])[j] = O; + else { + if (D && b.throwOnLimitExceeded) throw new RangeError("Array limit exceeded. Only " + b.arrayLimit + " element" + (b.arrayLimit === 1 ? "" : "s") + " allowed in an array."); + D ? (x[j] = O, r.markOverflow(x, j)) : k !== "__proto__" && (x[k] = O); + } + else x = { 0: O }; + } + O = x; + } + return O; + }(u, m, v, l); } - return m; }; - }, 9106: (x) => { - var n = function(c) { - switch (typeof c) { - case "string": - return c; - case "boolean": - return c ? "true" : "false"; - case "number": - return isFinite(c) ? c : ""; - default: - return ""; + g.exports = function(w, m) { + var v = function(E) { + if (!E) return p; + if (E.allowEmptyArrays !== void 0 && typeof E.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided"); + if (E.decodeDotInKeys !== void 0 && typeof E.decodeDotInKeys != "boolean") throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided"); + if (E.decoder !== null && E.decoder !== void 0 && typeof E.decoder != "function") throw new TypeError("Decoder has to be a function."); + if (E.charset !== void 0 && E.charset !== "utf-8" && E.charset !== "iso-8859-1") throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined"); + if (E.throwOnLimitExceeded !== void 0 && typeof E.throwOnLimitExceeded != "boolean") throw new TypeError("`throwOnLimitExceeded` option must be a boolean"); + var B = E.charset === void 0 ? p.charset : E.charset, O = E.duplicates === void 0 ? p.duplicates : E.duplicates; + if (O !== "combine" && O !== "first" && O !== "last") throw new TypeError("The duplicates option must be either combine, first, or last"); + return { allowDots: E.allowDots === void 0 ? E.decodeDotInKeys === !0 || p.allowDots : !!E.allowDots, allowEmptyArrays: typeof E.allowEmptyArrays == "boolean" ? !!E.allowEmptyArrays : p.allowEmptyArrays, allowPrototypes: typeof E.allowPrototypes == "boolean" ? E.allowPrototypes : p.allowPrototypes, allowSparse: typeof E.allowSparse == "boolean" ? E.allowSparse : p.allowSparse, arrayLimit: typeof E.arrayLimit == "number" ? E.arrayLimit : p.arrayLimit, charset: B, charsetSentinel: typeof E.charsetSentinel == "boolean" ? E.charsetSentinel : p.charsetSentinel, comma: typeof E.comma == "boolean" ? E.comma : p.comma, decodeDotInKeys: typeof E.decodeDotInKeys == "boolean" ? E.decodeDotInKeys : p.decodeDotInKeys, decoder: typeof E.decoder == "function" ? E.decoder : p.decoder, delimiter: typeof E.delimiter == "string" || r.isRegExp(E.delimiter) ? E.delimiter : p.delimiter, depth: typeof E.depth == "number" || E.depth === !1 ? +E.depth : p.depth, duplicates: O, ignoreQueryPrefix: E.ignoreQueryPrefix === !0, interpretNumericEntities: typeof E.interpretNumericEntities == "boolean" ? E.interpretNumericEntities : p.interpretNumericEntities, parameterLimit: typeof E.parameterLimit == "number" ? E.parameterLimit : p.parameterLimit, parseArrays: E.parseArrays !== !1, plainObjects: typeof E.plainObjects == "boolean" ? E.plainObjects : p.plainObjects, strictDepth: typeof E.strictDepth == "boolean" ? !!E.strictDepth : p.strictDepth, strictNullHandling: typeof E.strictNullHandling == "boolean" ? E.strictNullHandling : p.strictNullHandling, throwOnLimitExceeded: typeof E.throwOnLimitExceeded == "boolean" && E.throwOnLimitExceeded }; + }(m); + if (w === "" || w == null) return v.plainObjects ? { __proto__: null } : {}; + for (var l = typeof w == "string" ? function(E, B) { + var O = { __proto__: null }, I = B.ignoreQueryPrefix ? E.replace(/^\?/, "") : E; + I = I.replace(/%5B/gi, "[").replace(/%5D/gi, "]"); + var x = B.parameterLimit === 1 / 0 ? void 0 : B.parameterLimit, A = I.split(B.delimiter, B.throwOnLimitExceeded ? x + 1 : x); + if (B.throwOnLimitExceeded && A.length > x) throw new RangeError("Parameter limit exceeded. Only " + x + " parameter" + (x === 1 ? "" : "s") + " allowed."); + var N, k = -1, j = B.charset; + if (B.charsetSentinel) for (N = 0; N < A.length; ++N) A[N].indexOf("utf8=") === 0 && (A[N] === "utf8=%E2%9C%93" ? j = "utf-8" : A[N] === "utf8=%26%2310003%3B" && (j = "iso-8859-1"), k = N, N = A.length); + for (N = 0; N < A.length; ++N) if (N !== k) { + var D, T, L = A[N], R = L.indexOf("]="), M = R === -1 ? L.indexOf("=") : R + 1; + if (M === -1 ? (D = B.decoder(L, p.decoder, j, "key"), T = B.strictNullHandling ? null : "") : (D = B.decoder(L.slice(0, M), p.decoder, j, "key")) !== null && (T = r.maybeMap(f(L.slice(M + 1), B, i(O[D]) ? O[D].length : 0), function(H) { + return B.decoder(H, p.decoder, j, "value"); + })), T && B.interpretNumericEntities && j === "iso-8859-1" && (T = a(String(T))), L.indexOf("[]=") > -1 && (T = i(T) ? [T] : T), B.comma && i(T) && T.length > B.arrayLimit) { + if (B.throwOnLimitExceeded) throw new RangeError("Array limit exceeded. Only " + B.arrayLimit + " element" + (B.arrayLimit === 1 ? "" : "s") + " allowed in an array."); + T = r.combine([], T, B.arrayLimit, B.plainObjects); + } + if (D !== null) { + var P = o.call(O, D); + P && B.duplicates === "combine" ? O[D] = r.combine(O[D], T, B.arrayLimit, B.plainObjects) : P && B.duplicates !== "last" || (O[D] = T); + } + } + return O; + }(w, v) : w, u = v.plainObjects ? { __proto__: null } : {}, y = Object.keys(l), d = 0; d < y.length; ++d) { + var b = y[d], _ = C(b, l[b], v, typeof w == "string"); + u = r.merge(u, _, v); + } + return v.allowSparse === !0 ? u : r.compact(u); + }; + }, 8636(g, n, s) { + var r = s(920), o = s(5339), i = s(4765), p = Object.prototype.hasOwnProperty, a = { brackets: function(d) { + return d + "[]"; + }, comma: "comma", indices: function(d, b) { + return d + "[" + b + "]"; + }, repeat: function(d) { + return d; + } }, f = Array.isArray, C = Array.prototype.push, w = function(d, b) { + C.apply(d, f(b) ? b : [b]); + }, m = Date.prototype.toISOString, v = i.default, l = { addQueryPrefix: !1, allowDots: !1, allowEmptyArrays: !1, arrayFormat: "indices", charset: "utf-8", charsetSentinel: !1, commaRoundTrip: !1, delimiter: "&", encode: !0, encodeDotInKeys: !1, encoder: o.encode, encodeValuesOnly: !1, filter: void 0, format: v, formatter: i.formatters[v], indices: !1, serializeDate: function(d) { + return m.call(d); + }, skipNulls: !1, strictNullHandling: !1 }, u = {}, y = function d(b, _, E, B, O, I, x, A, N, k, j, D, T, L, R, M, P, H) { + for (var K, V = b, U = H, F = 0, Q = !1; (U = U.get(u)) !== void 0 && !Q; ) { + var ne = U.get(b); + if (F += 1, ne !== void 0) { + if (ne === F) throw new RangeError("Cyclic object value"); + Q = !0; + } + U.get(u) === void 0 && (F = 0); + } + if (typeof k == "function" ? V = k(_, V) : V instanceof Date ? V = T(V) : E === "comma" && f(V) && (V = o.maybeMap(V, function(ie) { + return ie instanceof Date ? T(ie) : ie; + })), V === null) { + if (I) return N && !M ? N(_, l.encoder, P, "key", L) : _; + V = ""; + } + if (typeof (K = V) == "string" || typeof K == "number" || typeof K == "boolean" || typeof K == "symbol" || typeof K == "bigint" || o.isBuffer(V)) return N ? [R(M ? _ : N(_, l.encoder, P, "key", L)) + "=" + R(N(V, l.encoder, P, "value", L))] : [R(_) + "=" + R(String(V))]; + var te, X = []; + if (V === void 0) return X; + if (E === "comma" && f(V)) M && N && (V = o.maybeMap(V, N)), te = [{ value: V.length > 0 ? V.join(",") || null : void 0 }]; + else if (f(k)) te = k; + else { + var Z = Object.keys(V); + te = j ? Z.sort(j) : Z; + } + var fe = A ? String(_).replace(/\./g, "%2E") : String(_), le = B && f(V) && V.length === 1 ? fe + "[]" : fe; + if (O && f(V) && V.length === 0) return le + "[]"; + for (var Se = 0; Se < te.length; ++Se) { + var de = te[Se], me = typeof de == "object" && de && de.value !== void 0 ? de.value : V[de]; + if (!x || me !== null) { + var Oe = D && A ? String(de).replace(/\./g, "%2E") : String(de), Ce = f(V) ? typeof E == "function" ? E(le, Oe) : le : le + (D ? "." + Oe : "[" + Oe + "]"); + H.set(b, F); + var G = r(); + G.set(u, H), w(X, d(me, Ce, E, B, O, I, x, A, E === "comma" && M && f(V) ? null : N, k, j, D, T, L, R, M, P, G)); + } + } + return X; + }; + g.exports = function(d, b) { + var _, E = d, B = function(L) { + if (!L) return l; + if (L.allowEmptyArrays !== void 0 && typeof L.allowEmptyArrays != "boolean") throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided"); + if (L.encodeDotInKeys !== void 0 && typeof L.encodeDotInKeys != "boolean") throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided"); + if (L.encoder !== null && L.encoder !== void 0 && typeof L.encoder != "function") throw new TypeError("Encoder has to be a function."); + var R = L.charset || l.charset; + if (L.charset !== void 0 && L.charset !== "utf-8" && L.charset !== "iso-8859-1") throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined"); + var M = i.default; + if (L.format !== void 0) { + if (!p.call(i.formatters, L.format)) throw new TypeError("Unknown format option provided."); + M = L.format; + } + var P, H = i.formatters[M], K = l.filter; + if ((typeof L.filter == "function" || f(L.filter)) && (K = L.filter), P = L.arrayFormat in a ? L.arrayFormat : "indices" in L ? L.indices ? "indices" : "repeat" : l.arrayFormat, "commaRoundTrip" in L && typeof L.commaRoundTrip != "boolean") throw new TypeError("`commaRoundTrip` must be a boolean, or absent"); + var V = L.allowDots === void 0 ? L.encodeDotInKeys === !0 || l.allowDots : !!L.allowDots; + return { addQueryPrefix: typeof L.addQueryPrefix == "boolean" ? L.addQueryPrefix : l.addQueryPrefix, allowDots: V, allowEmptyArrays: typeof L.allowEmptyArrays == "boolean" ? !!L.allowEmptyArrays : l.allowEmptyArrays, arrayFormat: P, charset: R, charsetSentinel: typeof L.charsetSentinel == "boolean" ? L.charsetSentinel : l.charsetSentinel, commaRoundTrip: !!L.commaRoundTrip, delimiter: L.delimiter === void 0 ? l.delimiter : L.delimiter, encode: typeof L.encode == "boolean" ? L.encode : l.encode, encodeDotInKeys: typeof L.encodeDotInKeys == "boolean" ? L.encodeDotInKeys : l.encodeDotInKeys, encoder: typeof L.encoder == "function" ? L.encoder : l.encoder, encodeValuesOnly: typeof L.encodeValuesOnly == "boolean" ? L.encodeValuesOnly : l.encodeValuesOnly, filter: K, format: M, formatter: H, serializeDate: typeof L.serializeDate == "function" ? L.serializeDate : l.serializeDate, skipNulls: typeof L.skipNulls == "boolean" ? L.skipNulls : l.skipNulls, sort: typeof L.sort == "function" ? L.sort : null, strictNullHandling: typeof L.strictNullHandling == "boolean" ? L.strictNullHandling : l.strictNullHandling }; + }(b); + typeof B.filter == "function" ? E = (0, B.filter)("", E) : f(B.filter) && (_ = B.filter); + var O = []; + if (typeof E != "object" || E === null) return ""; + var I = a[B.arrayFormat], x = I === "comma" && B.commaRoundTrip; + _ || (_ = Object.keys(E)), B.sort && _.sort(B.sort); + for (var A = r(), N = 0; N < _.length; ++N) { + var k = _[N], j = E[k]; + B.skipNulls && j === null || w(O, y(j, k, I, x, B.allowEmptyArrays, B.strictNullHandling, B.skipNulls, B.encodeDotInKeys, B.encode ? B.encoder : null, B.filter, B.sort, B.allowDots, B.serializeDate, B.format, B.formatter, B.encodeValuesOnly, B.charset, A)); + } + var D = O.join(B.delimiter), T = B.addQueryPrefix === !0 ? "?" : ""; + return B.charsetSentinel && (B.charset === "iso-8859-1" ? T += "utf8=%26%2310003%3B&" : T += "utf8=%E2%9C%93&"), D.length > 0 ? T + D : ""; + }; + }, 5339(g, n, s) { + var r = s(4765), o = s(920), i = Object.prototype.hasOwnProperty, p = Array.isArray, a = o(), f = function(y, d) { + return a.set(y, d), y; + }, C = function(y) { + return a.has(y); + }, w = function(y) { + return a.get(y); + }, m = function(y, d) { + a.set(y, d); + }, v = function() { + for (var y = [], d = 0; d < 256; ++d) y[y.length] = "%" + ((d < 16 ? "0" : "") + d.toString(16)).toUpperCase(); + return y; + }(), l = function(y, d) { + for (var b = d && d.plainObjects ? { __proto__: null } : {}, _ = 0; _ < y.length; ++_) y[_] !== void 0 && (b[_] = y[_]); + return b; + }, u = 1024; + g.exports = { arrayToObject: l, assign: function(y, d) { + return Object.keys(d).reduce(function(b, _) { + return b[_] = d[_], b; + }, y); + }, combine: function(y, d, b, _) { + if (C(y)) { + var E = w(y) + 1; + return y[E] = d, m(y, E), y; + } + var B = [].concat(y, d); + return B.length > b ? f(l(B, { plainObjects: _ }), B.length - 1) : B; + }, compact: function(y) { + for (var d = [{ obj: { o: y }, prop: "o" }], b = [], _ = 0; _ < d.length; ++_) for (var E = d[_], B = E.obj[E.prop], O = Object.keys(B), I = 0; I < O.length; ++I) { + var x = O[I], A = B[x]; + typeof A == "object" && A !== null && b.indexOf(A) === -1 && (d[d.length] = { obj: B, prop: x }, b[b.length] = A); + } + return function(N) { + for (; N.length > 1; ) { + var k = N.pop(), j = k.obj[k.prop]; + if (p(j)) { + for (var D = [], T = 0; T < j.length; ++T) j[T] !== void 0 && (D[D.length] = j[T]); + k.obj[k.prop] = D; + } + } + }(d), y; + }, decode: function(y, d, b) { + var _ = y.replace(/\+/g, " "); + if (b === "iso-8859-1") return _.replace(/%[0-9a-f]{2}/gi, unescape); + try { + return decodeURIComponent(_); + } catch { + return _; + } + }, encode: function(y, d, b, _, E) { + if (y.length === 0) return y; + var B = y; + if (typeof y == "symbol" ? B = Symbol.prototype.toString.call(y) : typeof y != "string" && (B = String(y)), b === "iso-8859-1") return escape(B).replace(/%u[0-9a-f]{4}/gi, function(j) { + return "%26%23" + parseInt(j.slice(2), 16) + "%3B"; + }); + for (var O = "", I = 0; I < B.length; I += u) { + for (var x = B.length >= u ? B.slice(I, I + u) : B, A = [], N = 0; N < x.length; ++N) { + var k = x.charCodeAt(N); + k === 45 || k === 46 || k === 95 || k === 126 || k >= 48 && k <= 57 || k >= 65 && k <= 90 || k >= 97 && k <= 122 || E === r.RFC1738 && (k === 40 || k === 41) ? A[A.length] = x.charAt(N) : k < 128 ? A[A.length] = v[k] : k < 2048 ? A[A.length] = v[192 | k >> 6] + v[128 | 63 & k] : k < 55296 || k >= 57344 ? A[A.length] = v[224 | k >> 12] + v[128 | k >> 6 & 63] + v[128 | 63 & k] : (N += 1, k = 65536 + ((1023 & k) << 10 | 1023 & x.charCodeAt(N)), A[A.length] = v[240 | k >> 18] + v[128 | k >> 12 & 63] + v[128 | k >> 6 & 63] + v[128 | 63 & k]); + } + O += A.join(""); + } + return O; + }, isBuffer: function(y) { + return !(!y || typeof y != "object" || !(y.constructor && y.constructor.isBuffer && y.constructor.isBuffer(y))); + }, isOverflow: C, isRegExp: function(y) { + return Object.prototype.toString.call(y) === "[object RegExp]"; + }, markOverflow: f, maybeMap: function(y, d) { + if (p(y)) { + for (var b = [], _ = 0; _ < y.length; _ += 1) b[b.length] = d(y[_]); + return b; + } + return d(y); + }, merge: function y(d, b, _) { + if (!b) return d; + if (typeof b != "object" && typeof b != "function") { + if (p(d)) { + var E = d.length; + if (_ && typeof _.arrayLimit == "number" && E > _.arrayLimit) return f(l(d.concat(b), _), E); + d[E] = b; + } else { + if (!d || typeof d != "object") return [d, b]; + if (C(d)) { + var B = w(d) + 1; + d[B] = b, m(d, B); + } else (_ && (_.plainObjects || _.allowPrototypes) || !i.call(Object.prototype, b)) && (d[b] = !0); + } + return d; + } + if (!d || typeof d != "object") { + if (C(b)) { + for (var O = Object.keys(b), I = _ && _.plainObjects ? { __proto__: null, 0: d } : { 0: d }, x = 0; x < O.length; x++) I[parseInt(O[x], 10) + 1] = b[O[x]]; + return f(I, w(b) + 1); + } + var A = [d].concat(b); + return _ && typeof _.arrayLimit == "number" && A.length > _.arrayLimit ? f(l(A, _), A.length - 1) : A; + } + var N = d; + return p(d) && !p(b) && (N = l(d, _)), p(d) && p(b) ? (b.forEach(function(k, j) { + if (i.call(d, j)) { + var D = d[j]; + D && typeof D == "object" && k && typeof k == "object" ? d[j] = y(D, k, _) : d[d.length] = k; + } else d[j] = k; + }), d) : Object.keys(b).reduce(function(k, j) { + var D = b[j]; + if (i.call(k, j) ? k[j] = y(k[j], D, _) : k[j] = D, C(b) && !C(k) && f(k, w(b)), C(k)) { + var T = parseInt(j, 10); + String(T) === j && T >= 0 && T > w(k) && m(k, T); + } + return k; + }, N); + } }; + }, 9721(g, n, s) { + var r = s(6556), o = s(4035), i = r("RegExp.prototype.exec"), p = s(9675); + g.exports = function(a) { + if (!o(a)) throw new p("`regex` must be a RegExp"); + return function(f) { + return i(a, f) !== null; + }; + }; + }, 4774(g, n, s) { + var r, o = s(5606), i = s(8287), p = i.Buffer, a = {}; + for (r in i) i.hasOwnProperty(r) && r !== "SlowBuffer" && r !== "Buffer" && (a[r] = i[r]); + var f = a.Buffer = {}; + for (r in p) p.hasOwnProperty(r) && r !== "allocUnsafe" && r !== "allocUnsafeSlow" && (f[r] = p[r]); + if (a.Buffer.prototype = p.prototype, f.from && f.from !== Uint8Array.from || (f.from = function(C, w, m) { + if (typeof C == "number") throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof C); + if (C && C.length === void 0) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof C); + return p(C, w, m); + }), f.alloc || (f.alloc = function(C, w, m) { + if (typeof C != "number") throw new TypeError('The "size" argument must be of type number. Received type ' + typeof C); + if (C < 0 || C >= 2147483648) throw new RangeError('The value "' + C + '" is invalid for option "size"'); + var v = p(C); + return w && w.length !== 0 ? typeof m == "string" ? v.fill(w, m) : v.fill(w) : v.fill(0), v; + }), !a.kStringMaxLength) try { + a.kStringMaxLength = o.binding("buffer").kStringMaxLength; + } catch { + } + a.constants || (a.constants = { MAX_LENGTH: a.kMaxLength }, a.kStringMaxLength && (a.constants.MAX_STRING_LENGTH = a.kStringMaxLength)), g.exports = a; + }, 6897(g, n, s) { + var r = s(453), o = s(41), i = s(592)(), p = s(5795), a = s(9675), f = r("%Math.floor%"); + g.exports = function(C, w) { + if (typeof C != "function") throw new a("`fn` is not a function"); + if (typeof w != "number" || w < 0 || w > 4294967295 || f(w) !== w) throw new a("`length` must be a positive 32-bit integer"); + var m = arguments.length > 2 && !!arguments[2], v = !0, l = !0; + if ("length" in C && p) { + var u = p(C, "length"); + u && !u.configurable && (v = !1), u && !u.writable && (l = !1); + } + return (v || l || !m) && (i ? o(C, "length", w, !0, !0) : o(C, "length", w)), C; + }; + }, 4803(g, n, s) { + var r = s(8859), o = s(9675), i = function(p, a, f) { + for (var C, w = p; (C = w.next) != null; w = C) if (C.key === a) return w.next = C.next, f || (C.next = p.next, p.next = C), C; + }; + g.exports = function() { + var p, a = { assert: function(f) { + if (!a.has(f)) throw new o("Side channel does not contain " + r(f)); + }, delete: function(f) { + var C = p && p.next, w = function(m, v) { + if (m) return i(m, v, !0); + }(p, f); + return w && C && C === w && (p = void 0), !!w; + }, get: function(f) { + return function(C, w) { + if (C) { + var m = i(C, w); + return m && m.value; + } + }(p, f); + }, has: function(f) { + return function(C, w) { + return !!C && !!i(C, w); + }(p, f); + }, set: function(f, C) { + p || (p = { next: void 0 }), function(w, m, v) { + var l = i(w, m); + l ? l.value = v : w.next = { key: m, next: w.next, value: v }; + }(p, f, C); + } }; + return a; + }; + }, 507(g, n, s) { + var r = s(453), o = s(6556), i = s(8859), p = s(9675), a = r("%Map%", !0), f = o("Map.prototype.get", !0), C = o("Map.prototype.set", !0), w = o("Map.prototype.has", !0), m = o("Map.prototype.delete", !0), v = o("Map.prototype.size", !0); + g.exports = !!a && function() { + var l, u = { assert: function(y) { + if (!u.has(y)) throw new p("Side channel does not contain " + i(y)); + }, delete: function(y) { + if (l) { + var d = m(l, y); + return v(l) === 0 && (l = void 0), d; + } + return !1; + }, get: function(y) { + if (l) return f(l, y); + }, has: function(y) { + return !!l && w(l, y); + }, set: function(y, d) { + l || (l = new a()), C(l, y, d); + } }; + return u; + }; + }, 2271(g, n, s) { + var r = s(453), o = s(6556), i = s(8859), p = s(507), a = s(9675), f = r("%WeakMap%", !0), C = o("WeakMap.prototype.get", !0), w = o("WeakMap.prototype.set", !0), m = o("WeakMap.prototype.has", !0), v = o("WeakMap.prototype.delete", !0); + g.exports = f ? function() { + var l, u, y = { assert: function(d) { + if (!y.has(d)) throw new a("Side channel does not contain " + i(d)); + }, delete: function(d) { + if (f && d && (typeof d == "object" || typeof d == "function")) { + if (l) return v(l, d); + } else if (p && u) return u.delete(d); + return !1; + }, get: function(d) { + return f && d && (typeof d == "object" || typeof d == "function") && l ? C(l, d) : u && u.get(d); + }, has: function(d) { + return f && d && (typeof d == "object" || typeof d == "function") && l ? m(l, d) : !!u && u.has(d); + }, set: function(d, b) { + f && d && (typeof d == "object" || typeof d == "function") ? (l || (l = new f()), w(l, d, b)) : p && (u || (u = p()), u.set(d, b)); + } }; + return y; + } : p; + }, 920(g, n, s) { + var r = s(9675), o = s(8859), i = s(4803), p = s(507), a = s(2271) || p || i; + g.exports = function() { + var f, C = { assert: function(w) { + if (!C.has(w)) throw new r("Side channel does not contain " + o(w)); + }, delete: function(w) { + return !!f && f.delete(w); + }, get: function(w) { + return f && f.get(w); + }, has: function(w) { + return !!f && f.has(w); + }, set: function(w, m) { + f || (f = a()), f.set(w, m); + } }; + return C; + }; + }, 1568(g, n, s) { + var r = s(5537), o = s(6917), i = s(7510), p = s(6866), a = s(8835), f = n; + f.request = function(C, w) { + C = typeof C == "string" ? a.parse(C) : i(C); + var m = s.g.location.protocol.search(/^https?:$/) === -1 ? "http:" : "", v = C.protocol || m, l = C.hostname || C.host, u = C.port, y = C.path || "/"; + l && l.indexOf(":") !== -1 && (l = "[" + l + "]"), C.url = (l ? v + "//" + l : "") + (u ? ":" + u : "") + y, C.method = (C.method || "GET").toUpperCase(), C.headers = C.headers || {}; + var d = new r(C); + return w && d.on("response", w), d; + }, f.get = function(C, w) { + var m = f.request(C, w); + return m.end(), m; + }, f.ClientRequest = r, f.IncomingMessage = o.IncomingMessage, f.Agent = function() { + }, f.Agent.defaultMaxSockets = 4, f.globalAgent = new f.Agent(), f.STATUS_CODES = p, f.METHODS = ["CHECKOUT", "CONNECT", "COPY", "DELETE", "GET", "HEAD", "LOCK", "M-SEARCH", "MERGE", "MKACTIVITY", "MKCOL", "MOVE", "NOTIFY", "OPTIONS", "PATCH", "POST", "PROPFIND", "PROPPATCH", "PURGE", "PUT", "REPORT", "SEARCH", "SUBSCRIBE", "TRACE", "UNLOCK", "UNSUBSCRIBE"]; + }, 6688(g, n, s) { + var r; + function o() { + if (r !== void 0) return r; + if (s.g.XMLHttpRequest) { + r = new s.g.XMLHttpRequest(); + try { + r.open("GET", s.g.XDomainRequest ? "/" : "https://example.com"); + } catch { + r = null; + } + } else r = null; + return r; + } + function i(a) { + var f = o(); + if (!f) return !1; + try { + return f.responseType = a, f.responseType === a; + } catch { + } + return !1; + } + function p(a) { + return typeof a == "function"; + } + n.fetch = p(s.g.fetch) && p(s.g.ReadableStream), n.writableStream = p(s.g.WritableStream), n.abortController = p(s.g.AbortController), n.arraybuffer = n.fetch || i("arraybuffer"), n.msstream = !n.fetch && i("ms-stream"), n.mozchunkedarraybuffer = !n.fetch && i("moz-chunked-arraybuffer"), n.overrideMimeType = n.fetch || !!o() && p(o().overrideMimeType), r = null; + }, 5537(g, n, s) { + var r = s(8287).Buffer, o = s(5606), i = s(6688), p = s(6698), a = s(6917), f = s(3242), C = a.IncomingMessage, w = a.readyStates, m = g.exports = function(l) { + var u, y = this; + f.Writable.call(y), y._opts = l, y._body = [], y._headers = {}, l.auth && y.setHeader("Authorization", "Basic " + r.from(l.auth).toString("base64")), Object.keys(l.headers).forEach(function(b) { + y.setHeader(b, l.headers[b]); + }); + var d = !0; + if (l.mode === "disable-fetch" || "requestTimeout" in l && !i.abortController) d = !1, u = !0; + else if (l.mode === "prefer-streaming") u = !1; + else if (l.mode === "allow-wrong-content-type") u = !i.overrideMimeType; + else { + if (l.mode && l.mode !== "default" && l.mode !== "prefer-fast") throw new Error("Invalid value for opts.mode"); + u = !0; + } + y._mode = function(b, _) { + return i.fetch && _ ? "fetch" : i.mozchunkedarraybuffer ? "moz-chunked-arraybuffer" : i.msstream ? "ms-stream" : i.arraybuffer && b ? "arraybuffer" : "text"; + }(u, d), y._fetchTimer = null, y._socketTimeout = null, y._socketTimer = null, y.on("finish", function() { + y._onFinish(); + }); + }; + p(m, f.Writable), m.prototype.setHeader = function(l, u) { + var y = l.toLowerCase(); + v.indexOf(y) === -1 && (this._headers[y] = { name: l, value: u }); + }, m.prototype.getHeader = function(l) { + var u = this._headers[l.toLowerCase()]; + return u ? u.value : null; + }, m.prototype.removeHeader = function(l) { + delete this._headers[l.toLowerCase()]; + }, m.prototype._onFinish = function() { + var l = this; + if (!l._destroyed) { + var u = l._opts; + "timeout" in u && u.timeout !== 0 && l.setTimeout(u.timeout); + var y = l._headers, d = null; + u.method !== "GET" && u.method !== "HEAD" && (d = new Blob(l._body, { type: (y["content-type"] || {}).value || "" })); + var b = []; + if (Object.keys(y).forEach(function(O) { + var I = y[O].name, x = y[O].value; + Array.isArray(x) ? x.forEach(function(A) { + b.push([I, A]); + }) : b.push([I, x]); + }), l._mode === "fetch") { + var _ = null; + if (i.abortController) { + var E = new AbortController(); + _ = E.signal, l._fetchAbortController = E, "requestTimeout" in u && u.requestTimeout !== 0 && (l._fetchTimer = s.g.setTimeout(function() { + l.emit("requestTimeout"), l._fetchAbortController && l._fetchAbortController.abort(); + }, u.requestTimeout)); + } + s.g.fetch(l._opts.url, { method: l._opts.method, headers: b, body: d || void 0, mode: "cors", credentials: u.withCredentials ? "include" : "same-origin", signal: _ }).then(function(O) { + l._fetchResponse = O, l._resetTimers(!1), l._connect(); + }, function(O) { + l._resetTimers(!0), l._destroyed || l.emit("error", O); + }); + } else { + var B = l._xhr = new s.g.XMLHttpRequest(); + try { + B.open(l._opts.method, l._opts.url, !0); + } catch (O) { + return void o.nextTick(function() { + l.emit("error", O); + }); + } + "responseType" in B && (B.responseType = l._mode), "withCredentials" in B && (B.withCredentials = !!u.withCredentials), l._mode === "text" && "overrideMimeType" in B && B.overrideMimeType("text/plain; charset=x-user-defined"), "requestTimeout" in u && (B.timeout = u.requestTimeout, B.ontimeout = function() { + l.emit("requestTimeout"); + }), b.forEach(function(O) { + B.setRequestHeader(O[0], O[1]); + }), l._response = null, B.onreadystatechange = function() { + switch (B.readyState) { + case w.LOADING: + case w.DONE: + l._onXHRProgress(); + } + }, l._mode === "moz-chunked-arraybuffer" && (B.onprogress = function() { + l._onXHRProgress(); + }), B.onerror = function() { + l._destroyed || (l._resetTimers(!0), l.emit("error", new Error("XHR error"))); + }; + try { + B.send(d); + } catch (O) { + return void o.nextTick(function() { + l.emit("error", O); + }); + } + } + } + }, m.prototype._onXHRProgress = function() { + var l = this; + l._resetTimers(!1), function(u) { + try { + var y = u.status; + return y !== null && y !== 0; + } catch { + return !1; + } + }(l._xhr) && !l._destroyed && (l._response || l._connect(), l._response._onXHRProgress(l._resetTimers.bind(l))); + }, m.prototype._connect = function() { + var l = this; + l._destroyed || (l._response = new C(l._xhr, l._fetchResponse, l._mode, l._resetTimers.bind(l)), l._response.on("error", function(u) { + l.emit("error", u); + }), l.emit("response", l._response)); + }, m.prototype._write = function(l, u, y) { + this._body.push(l), y(); + }, m.prototype._resetTimers = function(l) { + var u = this; + s.g.clearTimeout(u._socketTimer), u._socketTimer = null, l ? (s.g.clearTimeout(u._fetchTimer), u._fetchTimer = null) : u._socketTimeout && (u._socketTimer = s.g.setTimeout(function() { + u.emit("timeout"); + }, u._socketTimeout)); + }, m.prototype.abort = m.prototype.destroy = function(l) { + var u = this; + u._destroyed = !0, u._resetTimers(!0), u._response && (u._response._destroyed = !0), u._xhr ? u._xhr.abort() : u._fetchAbortController && u._fetchAbortController.abort(), l && u.emit("error", l); + }, m.prototype.end = function(l, u, y) { + typeof l == "function" && (y = l, l = void 0), f.Writable.prototype.end.call(this, l, u, y); + }, m.prototype.setTimeout = function(l, u) { + var y = this; + u && y.once("timeout", u), y._socketTimeout = l, y._resetTimers(!1); + }, m.prototype.flushHeaders = function() { + }, m.prototype.setNoDelay = function() { + }, m.prototype.setSocketKeepAlive = function() { + }; + var v = ["accept-charset", "accept-encoding", "access-control-request-headers", "access-control-request-method", "connection", "content-length", "cookie", "cookie2", "date", "dnt", "expect", "host", "keep-alive", "origin", "referer", "te", "trailer", "transfer-encoding", "upgrade", "via"]; + }, 6917(g, n, s) { + var r = s(5606), o = s(8287).Buffer, i = s(6688), p = s(6698), a = s(3242), f = n.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }, C = n.IncomingMessage = function(w, m, v, l) { + var u = this; + if (a.Readable.call(u), u._mode = v, u.headers = {}, u.rawHeaders = [], u.trailers = {}, u.rawTrailers = [], u.on("end", function() { + r.nextTick(function() { + u.emit("close"); + }); + }), v === "fetch") { + if (u._fetchResponse = m, u.url = m.url, u.statusCode = m.status, u.statusMessage = m.statusText, m.headers.forEach(function(E, B) { + u.headers[B.toLowerCase()] = E, u.rawHeaders.push(B, E); + }), i.writableStream) { + var y = new WritableStream({ write: function(E) { + return l(!1), new Promise(function(B, O) { + u._destroyed ? O() : u.push(o.from(E)) ? B() : u._resumeFetch = B; + }); + }, close: function() { + l(!0), u._destroyed || u.push(null); + }, abort: function(E) { + l(!0), u._destroyed || u.emit("error", E); + } }); + try { + return void m.body.pipeTo(y).catch(function(E) { + l(!0), u._destroyed || u.emit("error", E); + }); + } catch { + } + } + var d = m.body.getReader(); + (function E() { + d.read().then(function(B) { + u._destroyed || (l(B.done), B.done ? u.push(null) : (u.push(o.from(B.value)), E())); + }).catch(function(B) { + l(!0), u._destroyed || u.emit("error", B); + }); + })(); + } else if (u._xhr = w, u._pos = 0, u.url = w.responseURL, u.statusCode = w.status, u.statusMessage = w.statusText, w.getAllResponseHeaders().split(/\r?\n/).forEach(function(E) { + var B = E.match(/^([^:]+):\s*(.*)/); + if (B) { + var O = B[1].toLowerCase(); + O === "set-cookie" ? (u.headers[O] === void 0 && (u.headers[O] = []), u.headers[O].push(B[2])) : u.headers[O] !== void 0 ? u.headers[O] += ", " + B[2] : u.headers[O] = B[2], u.rawHeaders.push(B[1], B[2]); + } + }), u._charset = "x-user-defined", !i.overrideMimeType) { + var b = u.rawHeaders["mime-type"]; + if (b) { + var _ = b.match(/;\s*charset=([^;])(;|$)/); + _ && (u._charset = _[1].toLowerCase()); + } + u._charset || (u._charset = "utf-8"); } }; - x.exports = function(c, r, a, i) { - return r = r || "&", a = a || "=", c === null && (c = void 0), typeof c == "object" ? Object.keys(c).map(function(m) { - var t = encodeURIComponent(n(m)) + a; - return Array.isArray(c[m]) ? c[m].map(function(f) { - return t + encodeURIComponent(n(f)); - }).join(r) : t + encodeURIComponent(n(c[m])); - }).join(r) : i ? encodeURIComponent(n(i)) + a + encodeURIComponent(n(c)) : ""; + p(C, a.Readable), C.prototype._read = function() { + var w = this._resumeFetch; + w && (this._resumeFetch = null, w()); + }, C.prototype._onXHRProgress = function(w) { + var m = this, v = m._xhr, l = null; + switch (m._mode) { + case "text": + if ((l = v.responseText).length > m._pos) { + var u = l.substr(m._pos); + if (m._charset === "x-user-defined") { + for (var y = o.alloc(u.length), d = 0; d < u.length; d++) y[d] = 255 & u.charCodeAt(d); + m.push(y); + } else m.push(u, m._charset); + m._pos = l.length; + } + break; + case "arraybuffer": + if (v.readyState !== f.DONE || !v.response) break; + l = v.response, m.push(o.from(new Uint8Array(l))); + break; + case "moz-chunked-arraybuffer": + if (l = v.response, v.readyState !== f.LOADING || !l) break; + m.push(o.from(new Uint8Array(l))); + break; + case "ms-stream": + if (l = v.response, v.readyState !== f.LOADING) break; + var b = new s.g.MSStreamReader(); + b.onprogress = function() { + b.result.byteLength > m._pos && (m.push(o.from(new Uint8Array(b.result.slice(m._pos)))), m._pos = b.result.byteLength); + }, b.onload = function() { + w(!0), m.push(null); + }, b.readAsArrayBuffer(l); + } + m._xhr.readyState === f.DONE && m._mode !== "ms-stream" && (w(!0), m.push(null)); }; - }, 7186: (x, n, c) => { - n.decode = n.parse = c(1630), n.encode = n.stringify = c(9106); - }, 6048: (x) => { + }, 3157(g) { var n = {}; - function c(a, i, m) { - m || (m = Error); - var t = function(f) { - var b, y; - function u(d, l, s) { - return f.call(this, function(v, p, h) { - return typeof i == "string" ? i : i(v, p, h); - }(d, l, s)) || this; - } - return y = f, (b = u).prototype = Object.create(y.prototype), b.prototype.constructor = b, b.__proto__ = y, u; - }(m); - t.prototype.name = m.name, t.prototype.code = a, n[a] = t; - } - function r(a, i) { - if (Array.isArray(a)) { - var m = a.length; - return a = a.map(function(t) { - return String(t); - }), m > 2 ? "one of ".concat(i, " ").concat(a.slice(0, m - 1).join(", "), ", or ") + a[m - 1] : m === 2 ? "one of ".concat(i, " ").concat(a[0], " or ").concat(a[1]) : "of ".concat(i, " ").concat(a[0]); - } - return "of ".concat(i, " ").concat(String(a)); - } - c("ERR_INVALID_OPT_VALUE", function(a, i) { - return 'The value "' + i + '" is invalid for option "' + a + '"'; - }, TypeError), c("ERR_INVALID_ARG_TYPE", function(a, i, m) { - var t, f, b, y, u; - if (typeof i == "string" && (f = "not ", i.substr(0, 4) === f) ? (t = "must not be", i = i.replace(/^not /, "")) : t = "must be", function(l, s, v) { - return (v === void 0 || v > l.length) && (v = l.length), l.substring(v - 9, v) === s; - }(a, " argument")) b = "The ".concat(a, " ").concat(t, " ").concat(r(i, "type")); + function s(o, i, p) { + p || (p = Error); + var a = function(f) { + var C, w; + function m(v, l, u) { + return f.call(this, function(y, d, b) { + return typeof i == "string" ? i : i(y, d, b); + }(v, l, u)) || this; + } + return w = f, (C = m).prototype = Object.create(w.prototype), C.prototype.constructor = C, C.__proto__ = w, m; + }(p); + a.prototype.name = p.name, a.prototype.code = o, n[o] = a; + } + function r(o, i) { + if (Array.isArray(o)) { + var p = o.length; + return o = o.map(function(a) { + return String(a); + }), p > 2 ? "one of ".concat(i, " ").concat(o.slice(0, p - 1).join(", "), ", or ") + o[p - 1] : p === 2 ? "one of ".concat(i, " ").concat(o[0], " or ").concat(o[1]) : "of ".concat(i, " ").concat(o[0]); + } + return "of ".concat(i, " ").concat(String(o)); + } + s("ERR_INVALID_OPT_VALUE", function(o, i) { + return 'The value "' + i + '" is invalid for option "' + o + '"'; + }, TypeError), s("ERR_INVALID_ARG_TYPE", function(o, i, p) { + var a, f, C, w, m; + if (typeof i == "string" && (f = "not ", i.substr(0, 4) === f) ? (a = "must not be", i = i.replace(/^not /, "")) : a = "must be", function(l, u, y) { + return (y === void 0 || y > l.length) && (y = l.length), l.substring(y - 9, y) === u; + }(o, " argument")) C = "The ".concat(o, " ").concat(a, " ").concat(r(i, "type")); else { - var d = (typeof u != "number" && (u = 0), u + 1 > (y = a).length || y.indexOf(".", u) === -1 ? "argument" : "property"); - b = 'The "'.concat(a, '" ').concat(d, " ").concat(t, " ").concat(r(i, "type")); - } - return b + ". Received type ".concat(typeof m); - }, TypeError), c("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF"), c("ERR_METHOD_NOT_IMPLEMENTED", function(a) { - return "The " + a + " method is not implemented"; - }), c("ERR_STREAM_PREMATURE_CLOSE", "Premature close"), c("ERR_STREAM_DESTROYED", function(a) { - return "Cannot call " + a + " after a stream was destroyed"; - }), c("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"), c("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"), c("ERR_STREAM_WRITE_AFTER_END", "write after end"), c("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError), c("ERR_UNKNOWN_ENCODING", function(a) { - return "Unknown encoding: " + a; - }, TypeError), c("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), x.exports.F = n; - }, 5382: (x, n, c) => { - var r = c(5606), a = Object.keys || function(l) { - var s = []; - for (var v in l) s.push(v); - return s; + var v = (typeof m != "number" && (m = 0), m + 1 > (w = o).length || w.indexOf(".", m) === -1 ? "argument" : "property"); + C = 'The "'.concat(o, '" ').concat(v, " ").concat(a, " ").concat(r(i, "type")); + } + return C + ". Received type ".concat(typeof p); + }, TypeError), s("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF"), s("ERR_METHOD_NOT_IMPLEMENTED", function(o) { + return "The " + o + " method is not implemented"; + }), s("ERR_STREAM_PREMATURE_CLOSE", "Premature close"), s("ERR_STREAM_DESTROYED", function(o) { + return "Cannot call " + o + " after a stream was destroyed"; + }), s("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"), s("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"), s("ERR_STREAM_WRITE_AFTER_END", "write after end"), s("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError), s("ERR_UNKNOWN_ENCODING", function(o) { + return "Unknown encoding: " + o; + }, TypeError), s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), g.exports.F = n; + }, 3527(g, n, s) { + var r = s(5606), o = Object.keys || function(l) { + var u = []; + for (var y in l) u.push(y); + return u; }; - x.exports = y; - var i = c(5412), m = c(6708); - c(6698)(y, i); - for (var t = a(m.prototype), f = 0; f < t.length; f++) { - var b = t[f]; - y.prototype[b] || (y.prototype[b] = m.prototype[b]); + g.exports = w; + var i = s(2341), p = s(9573); + s(6698)(w, i); + for (var a = o(p.prototype), f = 0; f < a.length; f++) { + var C = a[f]; + w.prototype[C] || (w.prototype[C] = p.prototype[C]); } - function y(l) { - if (!(this instanceof y)) return new y(l); - i.call(this, l), m.call(this, l), this.allowHalfOpen = !0, l && (l.readable === !1 && (this.readable = !1), l.writable === !1 && (this.writable = !1), l.allowHalfOpen === !1 && (this.allowHalfOpen = !1, this.once("end", u))); + function w(l) { + if (!(this instanceof w)) return new w(l); + i.call(this, l), p.call(this, l), this.allowHalfOpen = !0, l && (l.readable === !1 && (this.readable = !1), l.writable === !1 && (this.writable = !1), l.allowHalfOpen === !1 && (this.allowHalfOpen = !1, this.once("end", m))); } - function u() { - this._writableState.ended || r.nextTick(d, this); + function m() { + this._writableState.ended || r.nextTick(v, this); } - function d(l) { + function v(l) { l.end(); } - Object.defineProperty(y.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { + Object.defineProperty(w.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState.highWaterMark; - } }), Object.defineProperty(y.prototype, "writableBuffer", { enumerable: !1, get: function() { + } }), Object.defineProperty(w.prototype, "writableBuffer", { enumerable: !1, get: function() { return this._writableState && this._writableState.getBuffer(); - } }), Object.defineProperty(y.prototype, "writableLength", { enumerable: !1, get: function() { + } }), Object.defineProperty(w.prototype, "writableLength", { enumerable: !1, get: function() { return this._writableState.length; - } }), Object.defineProperty(y.prototype, "destroyed", { enumerable: !1, get: function() { + } }), Object.defineProperty(w.prototype, "destroyed", { enumerable: !1, get: function() { return this._readableState !== void 0 && this._writableState !== void 0 && this._readableState.destroyed && this._writableState.destroyed; }, set: function(l) { this._readableState !== void 0 && this._writableState !== void 0 && (this._readableState.destroyed = l, this._writableState.destroyed = l); } }); - }, 3600: (x, n, c) => { - x.exports = a; - var r = c(2229); - function a(i) { - if (!(this instanceof a)) return new a(i); + }, 2571(g, n, s) { + g.exports = o; + var r = s(5689); + function o(i) { + if (!(this instanceof o)) return new o(i); r.call(this, i); } - c(6698)(a, r), a.prototype._transform = function(i, m, t) { - t(null, i); + s(6698)(o, r), o.prototype._transform = function(i, p, a) { + a(null, i); }; - }, 5412: (x, n, c) => { - var r, a = c(5606); - x.exports = H, H.ReadableState = B, c(7007).EventEmitter; - var i, m = function(Z, q) { - return Z.listeners(q).length; - }, t = c(345), f = c(8287).Buffer, b = (c.g !== void 0 ? c.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { - }, y = c(9838); - i = y && y.debuglog ? y.debuglog("stream") : function() { + }, 2341(g, n, s) { + var r, o = s(5606); + g.exports = N, N.ReadableState = A, s(7007).EventEmitter; + var i, p = function(X, Z) { + return X.listeners(Z).length; + }, a = s(1914), f = s(8287).Buffer, C = (s.g !== void 0 ? s.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { + }, w = s(6833); + i = w && w.debuglog ? w.debuglog("stream") : function() { }; - var u, d, l, s = c(2726), v = c(5896), p = c(5291).getHighWaterMark, h = c(6048).F, O = h.ERR_INVALID_ARG_TYPE, I = h.ERR_STREAM_PUSH_AFTER_EOF, k = h.ERR_METHOD_NOT_IMPLEMENTED, R = h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; - c(6698)(H, t); - var L = v.errorOrDestroy, N = ["error", "close", "destroy", "pause", "resume"]; - function B(Z, q, se) { - r = r || c(5382), Z = Z || {}, typeof se != "boolean" && (se = q instanceof r), this.objectMode = !!Z.objectMode, se && (this.objectMode = this.objectMode || !!Z.readableObjectMode), this.highWaterMark = p(this, Z, "readableHighWaterMark", se), this.buffer = new s(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = Z.emitClose !== !1, this.autoDestroy = !!Z.autoDestroy, this.destroyed = !1, this.defaultEncoding = Z.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, Z.encoding && (u || (u = c(3141).I), this.decoder = new u(Z.encoding), this.encoding = Z.encoding); - } - function H(Z) { - if (r = r || c(5382), !(this instanceof H)) return new H(Z); - var q = this instanceof r; - this._readableState = new B(Z, this, q), this.readable = !0, Z && (typeof Z.read == "function" && (this._read = Z.read), typeof Z.destroy == "function" && (this._destroy = Z.destroy)), t.call(this); - } - function U(Z, q, se, ue, ce) { - i("readableAddChunk", q); - var ie, fe = Z._readableState; - if (q === null) fe.reading = !1, function(Te, Se) { - if (i("onEofChunk"), !Se.ended) { - if (Se.decoder) { - var te = Se.decoder.end(); - te && te.length && (Se.buffer.push(te), Se.length += Se.objectMode ? 1 : te.length); + var m, v, l, u = s(272), y = s(6057), d = s(1922).getHighWaterMark, b = s(3157).F, _ = b.ERR_INVALID_ARG_TYPE, E = b.ERR_STREAM_PUSH_AFTER_EOF, B = b.ERR_METHOD_NOT_IMPLEMENTED, O = b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; + s(6698)(N, a); + var I = y.errorOrDestroy, x = ["error", "close", "destroy", "pause", "resume"]; + function A(X, Z, fe) { + r = r || s(3527), X = X || {}, typeof fe != "boolean" && (fe = Z instanceof r), this.objectMode = !!X.objectMode, fe && (this.objectMode = this.objectMode || !!X.readableObjectMode), this.highWaterMark = d(this, X, "readableHighWaterMark", fe), this.buffer = new u(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = X.emitClose !== !1, this.autoDestroy = !!X.autoDestroy, this.destroyed = !1, this.defaultEncoding = X.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, X.encoding && (m || (m = s(3141).I), this.decoder = new m(X.encoding), this.encoding = X.encoding); + } + function N(X) { + if (r = r || s(3527), !(this instanceof N)) return new N(X); + var Z = this instanceof r; + this._readableState = new A(X, this, Z), this.readable = !0, X && (typeof X.read == "function" && (this._read = X.read), typeof X.destroy == "function" && (this._destroy = X.destroy)), a.call(this); + } + function k(X, Z, fe, le, Se) { + i("readableAddChunk", Z); + var de, me = X._readableState; + if (Z === null) me.reading = !1, function(Oe, Ce) { + if (i("onEofChunk"), !Ce.ended) { + if (Ce.decoder) { + var G = Ce.decoder.end(); + G && G.length && (Ce.buffer.push(G), Ce.length += Ce.objectMode ? 1 : G.length); } - Se.ended = !0, Se.sync ? M(Te) : (Se.needReadable = !1, Se.emittedReadable || (Se.emittedReadable = !0, _(Te))); - } - }(Z, fe); - else if (ce || (ie = function(Te, Se) { - var te, ye; - return ye = Se, f.isBuffer(ye) || ye instanceof b || typeof Se == "string" || Se === void 0 || Te.objectMode || (te = new O("chunk", ["string", "Buffer", "Uint8Array"], Se)), te; - }(fe, q)), ie) L(Z, ie); - else if (fe.objectMode || q && q.length > 0) if (typeof q == "string" || fe.objectMode || Object.getPrototypeOf(q) === f.prototype || (q = function(Te) { - return f.from(Te); - }(q)), ue) fe.endEmitted ? L(Z, new R()) : S(Z, fe, q, !0); - else if (fe.ended) L(Z, new I()); + Ce.ended = !0, Ce.sync ? L(Oe) : (Ce.needReadable = !1, Ce.emittedReadable || (Ce.emittedReadable = !0, R(Oe))); + } + }(X, me); + else if (Se || (de = function(Oe, Ce) { + var G, ie; + return ie = Ce, f.isBuffer(ie) || ie instanceof C || typeof Ce == "string" || Ce === void 0 || Oe.objectMode || (G = new _("chunk", ["string", "Buffer", "Uint8Array"], Ce)), G; + }(me, Z)), de) I(X, de); + else if (me.objectMode || Z && Z.length > 0) if (typeof Z == "string" || me.objectMode || Object.getPrototypeOf(Z) === f.prototype || (Z = function(Oe) { + return f.from(Oe); + }(Z)), le) me.endEmitted ? I(X, new O()) : j(X, me, Z, !0); + else if (me.ended) I(X, new E()); else { - if (fe.destroyed) return !1; - fe.reading = !1, fe.decoder && !se ? (q = fe.decoder.write(q), fe.objectMode || q.length !== 0 ? S(Z, fe, q, !1) : w(Z, fe)) : S(Z, fe, q, !1); + if (me.destroyed) return !1; + me.reading = !1, me.decoder && !fe ? (Z = me.decoder.write(Z), me.objectMode || Z.length !== 0 ? j(X, me, Z, !1) : M(X, me)) : j(X, me, Z, !1); } - else ue || (fe.reading = !1, w(Z, fe)); - return !fe.ended && (fe.length < fe.highWaterMark || fe.length === 0); + else le || (me.reading = !1, M(X, me)); + return !me.ended && (me.length < me.highWaterMark || me.length === 0); } - function S(Z, q, se, ue) { - q.flowing && q.length === 0 && !q.sync ? (q.awaitDrain = 0, Z.emit("data", se)) : (q.length += q.objectMode ? 1 : se.length, ue ? q.buffer.unshift(se) : q.buffer.push(se), q.needReadable && M(Z)), w(Z, q); + function j(X, Z, fe, le) { + Z.flowing && Z.length === 0 && !Z.sync ? (Z.awaitDrain = 0, X.emit("data", fe)) : (Z.length += Z.objectMode ? 1 : fe.length, le ? Z.buffer.unshift(fe) : Z.buffer.push(fe), Z.needReadable && L(X)), M(X, Z); } - Object.defineProperty(H.prototype, "destroyed", { enumerable: !1, get: function() { + Object.defineProperty(N.prototype, "destroyed", { enumerable: !1, get: function() { return this._readableState !== void 0 && this._readableState.destroyed; - }, set: function(Z) { - this._readableState && (this._readableState.destroyed = Z); - } }), H.prototype.destroy = v.destroy, H.prototype._undestroy = v.undestroy, H.prototype._destroy = function(Z, q) { - q(Z); - }, H.prototype.push = function(Z, q) { - var se, ue = this._readableState; - return ue.objectMode ? se = !0 : typeof Z == "string" && ((q = q || ue.defaultEncoding) !== ue.encoding && (Z = f.from(Z, q), q = ""), se = !0), U(this, Z, q, !1, se); - }, H.prototype.unshift = function(Z) { - return U(this, Z, null, !0, !1); - }, H.prototype.isPaused = function() { + }, set: function(X) { + this._readableState && (this._readableState.destroyed = X); + } }), N.prototype.destroy = y.destroy, N.prototype._undestroy = y.undestroy, N.prototype._destroy = function(X, Z) { + Z(X); + }, N.prototype.push = function(X, Z) { + var fe, le = this._readableState; + return le.objectMode ? fe = !0 : typeof X == "string" && ((Z = Z || le.defaultEncoding) !== le.encoding && (X = f.from(X, Z), Z = ""), fe = !0), k(this, X, Z, !1, fe); + }, N.prototype.unshift = function(X) { + return k(this, X, null, !0, !1); + }, N.prototype.isPaused = function() { return this._readableState.flowing === !1; - }, H.prototype.setEncoding = function(Z) { - u || (u = c(3141).I); - var q = new u(Z); - this._readableState.decoder = q, this._readableState.encoding = this._readableState.decoder.encoding; - for (var se = this._readableState.buffer.head, ue = ""; se !== null; ) ue += q.write(se.data), se = se.next; - return this._readableState.buffer.clear(), ue !== "" && this._readableState.buffer.push(ue), this._readableState.length = ue.length, this; + }, N.prototype.setEncoding = function(X) { + m || (m = s(3141).I); + var Z = new m(X); + this._readableState.decoder = Z, this._readableState.encoding = this._readableState.decoder.encoding; + for (var fe = this._readableState.buffer.head, le = ""; fe !== null; ) le += Z.write(fe.data), fe = fe.next; + return this._readableState.buffer.clear(), le !== "" && this._readableState.buffer.push(le), this._readableState.length = le.length, this; }; - var T = 1073741824; - function E(Z, q) { - return Z <= 0 || q.length === 0 && q.ended ? 0 : q.objectMode ? 1 : Z != Z ? q.flowing && q.length ? q.buffer.head.data.length : q.length : (Z > q.highWaterMark && (q.highWaterMark = function(se) { - return se >= T ? se = T : (se--, se |= se >>> 1, se |= se >>> 2, se |= se >>> 4, se |= se >>> 8, se |= se >>> 16, se++), se; - }(Z)), Z <= q.length ? Z : q.ended ? q.length : (q.needReadable = !0, 0)); + var D = 1073741824; + function T(X, Z) { + return X <= 0 || Z.length === 0 && Z.ended ? 0 : Z.objectMode ? 1 : X != X ? Z.flowing && Z.length ? Z.buffer.head.data.length : Z.length : (X > Z.highWaterMark && (Z.highWaterMark = function(fe) { + return fe >= D ? fe = D : (fe--, fe |= fe >>> 1, fe |= fe >>> 2, fe |= fe >>> 4, fe |= fe >>> 8, fe |= fe >>> 16, fe++), fe; + }(X)), X <= Z.length ? X : Z.ended ? Z.length : (Z.needReadable = !0, 0)); } - function M(Z) { - var q = Z._readableState; - i("emitReadable", q.needReadable, q.emittedReadable), q.needReadable = !1, q.emittedReadable || (i("emitReadable", q.flowing), q.emittedReadable = !0, a.nextTick(_, Z)); + function L(X) { + var Z = X._readableState; + i("emitReadable", Z.needReadable, Z.emittedReadable), Z.needReadable = !1, Z.emittedReadable || (i("emitReadable", Z.flowing), Z.emittedReadable = !0, o.nextTick(R, X)); } - function _(Z) { - var q = Z._readableState; - i("emitReadable_", q.destroyed, q.length, q.ended), q.destroyed || !q.length && !q.ended || (Z.emit("readable"), q.emittedReadable = !1), q.needReadable = !q.flowing && !q.ended && q.length <= q.highWaterMark, z(Z); + function R(X) { + var Z = X._readableState; + i("emitReadable_", Z.destroyed, Z.length, Z.ended), Z.destroyed || !Z.length && !Z.ended || (X.emit("readable"), Z.emittedReadable = !1), Z.needReadable = !Z.flowing && !Z.ended && Z.length <= Z.highWaterMark, U(X); } - function w(Z, q) { - q.readingMore || (q.readingMore = !0, a.nextTick(A, Z, q)); + function M(X, Z) { + Z.readingMore || (Z.readingMore = !0, o.nextTick(P, X, Z)); } - function A(Z, q) { - for (; !q.reading && !q.ended && (q.length < q.highWaterMark || q.flowing && q.length === 0); ) { - var se = q.length; - if (i("maybeReadMore read 0"), Z.read(0), se === q.length) break; + function P(X, Z) { + for (; !Z.reading && !Z.ended && (Z.length < Z.highWaterMark || Z.flowing && Z.length === 0); ) { + var fe = Z.length; + if (i("maybeReadMore read 0"), X.read(0), fe === Z.length) break; } - q.readingMore = !1; + Z.readingMore = !1; } - function j(Z) { - var q = Z._readableState; - q.readableListening = Z.listenerCount("readable") > 0, q.resumeScheduled && !q.paused ? q.flowing = !0 : Z.listenerCount("data") > 0 && Z.resume(); + function H(X) { + var Z = X._readableState; + Z.readableListening = X.listenerCount("readable") > 0, Z.resumeScheduled && !Z.paused ? Z.flowing = !0 : X.listenerCount("data") > 0 && X.resume(); } - function V(Z) { - i("readable nexttick read 0"), Z.read(0); + function K(X) { + i("readable nexttick read 0"), X.read(0); } - function D(Z, q) { - i("resume", q.reading), q.reading || Z.read(0), q.resumeScheduled = !1, Z.emit("resume"), z(Z), q.flowing && !q.reading && Z.read(0); + function V(X, Z) { + i("resume", Z.reading), Z.reading || X.read(0), Z.resumeScheduled = !1, X.emit("resume"), U(X), Z.flowing && !Z.reading && X.read(0); } - function z(Z) { - var q = Z._readableState; - for (i("flow", q.flowing); q.flowing && Z.read() !== null; ) ; + function U(X) { + var Z = X._readableState; + for (i("flow", Z.flowing); Z.flowing && X.read() !== null; ) ; } - function J(Z, q) { - return q.length === 0 ? null : (q.objectMode ? se = q.buffer.shift() : !Z || Z >= q.length ? (se = q.decoder ? q.buffer.join("") : q.buffer.length === 1 ? q.buffer.first() : q.buffer.concat(q.length), q.buffer.clear()) : se = q.buffer.consume(Z, q.decoder), se); - var se; + function F(X, Z) { + return Z.length === 0 ? null : (Z.objectMode ? fe = Z.buffer.shift() : !X || X >= Z.length ? (fe = Z.decoder ? Z.buffer.join("") : Z.buffer.length === 1 ? Z.buffer.first() : Z.buffer.concat(Z.length), Z.buffer.clear()) : fe = Z.buffer.consume(X, Z.decoder), fe); + var fe; } - function G(Z) { - var q = Z._readableState; - i("endReadable", q.endEmitted), q.endEmitted || (q.ended = !0, a.nextTick(Q, q, Z)); + function Q(X) { + var Z = X._readableState; + i("endReadable", Z.endEmitted), Z.endEmitted || (Z.ended = !0, o.nextTick(ne, Z, X)); } - function Q(Z, q) { - if (i("endReadableNT", Z.endEmitted, Z.length), !Z.endEmitted && Z.length === 0 && (Z.endEmitted = !0, q.readable = !1, q.emit("end"), Z.autoDestroy)) { - var se = q._writableState; - (!se || se.autoDestroy && se.finished) && q.destroy(); + function ne(X, Z) { + if (i("endReadableNT", X.endEmitted, X.length), !X.endEmitted && X.length === 0 && (X.endEmitted = !0, Z.readable = !1, Z.emit("end"), X.autoDestroy)) { + var fe = Z._writableState; + (!fe || fe.autoDestroy && fe.finished) && Z.destroy(); } } - function ee(Z, q) { - for (var se = 0, ue = Z.length; se < ue; se++) if (Z[se] === q) return se; + function te(X, Z) { + for (var fe = 0, le = X.length; fe < le; fe++) if (X[fe] === Z) return fe; return -1; } - H.prototype.read = function(Z) { - i("read", Z), Z = parseInt(Z, 10); - var q = this._readableState, se = Z; - if (Z !== 0 && (q.emittedReadable = !1), Z === 0 && q.needReadable && ((q.highWaterMark !== 0 ? q.length >= q.highWaterMark : q.length > 0) || q.ended)) return i("read: emitReadable", q.length, q.ended), q.length === 0 && q.ended ? G(this) : M(this), null; - if ((Z = E(Z, q)) === 0 && q.ended) return q.length === 0 && G(this), null; - var ue, ce = q.needReadable; - return i("need readable", ce), (q.length === 0 || q.length - Z < q.highWaterMark) && i("length less than watermark", ce = !0), q.ended || q.reading ? i("reading or ended", ce = !1) : ce && (i("do read"), q.reading = !0, q.sync = !0, q.length === 0 && (q.needReadable = !0), this._read(q.highWaterMark), q.sync = !1, q.reading || (Z = E(se, q))), (ue = Z > 0 ? J(Z, q) : null) === null ? (q.needReadable = q.length <= q.highWaterMark, Z = 0) : (q.length -= Z, q.awaitDrain = 0), q.length === 0 && (q.ended || (q.needReadable = !0), se !== Z && q.ended && G(this)), ue !== null && this.emit("data", ue), ue; - }, H.prototype._read = function(Z) { - L(this, new k("_read()")); - }, H.prototype.pipe = function(Z, q) { - var se = this, ue = this._readableState; - switch (ue.pipesCount) { + N.prototype.read = function(X) { + i("read", X), X = parseInt(X, 10); + var Z = this._readableState, fe = X; + if (X !== 0 && (Z.emittedReadable = !1), X === 0 && Z.needReadable && ((Z.highWaterMark !== 0 ? Z.length >= Z.highWaterMark : Z.length > 0) || Z.ended)) return i("read: emitReadable", Z.length, Z.ended), Z.length === 0 && Z.ended ? Q(this) : L(this), null; + if ((X = T(X, Z)) === 0 && Z.ended) return Z.length === 0 && Q(this), null; + var le, Se = Z.needReadable; + return i("need readable", Se), (Z.length === 0 || Z.length - X < Z.highWaterMark) && i("length less than watermark", Se = !0), Z.ended || Z.reading ? i("reading or ended", Se = !1) : Se && (i("do read"), Z.reading = !0, Z.sync = !0, Z.length === 0 && (Z.needReadable = !0), this._read(Z.highWaterMark), Z.sync = !1, Z.reading || (X = T(fe, Z))), (le = X > 0 ? F(X, Z) : null) === null ? (Z.needReadable = Z.length <= Z.highWaterMark, X = 0) : (Z.length -= X, Z.awaitDrain = 0), Z.length === 0 && (Z.ended || (Z.needReadable = !0), fe !== X && Z.ended && Q(this)), le !== null && this.emit("data", le), le; + }, N.prototype._read = function(X) { + I(this, new B("_read()")); + }, N.prototype.pipe = function(X, Z) { + var fe = this, le = this._readableState; + switch (le.pipesCount) { case 0: - ue.pipes = Z; + le.pipes = X; break; case 1: - ue.pipes = [ue.pipes, Z]; + le.pipes = [le.pipes, X]; break; default: - ue.pipes.push(Z); + le.pipes.push(X); } - ue.pipesCount += 1, i("pipe count=%d opts=%j", ue.pipesCount, q); - var ce = q && q.end === !1 || Z === a.stdout || Z === a.stderr ? F : ie; - function ie() { - i("onend"), Z.end(); + le.pipesCount += 1, i("pipe count=%d opts=%j", le.pipesCount, Z); + var Se = Z && Z.end === !1 || X === o.stdout || X === o.stderr ? z : de; + function de() { + i("onend"), X.end(); } - ue.endEmitted ? a.nextTick(ce) : se.once("end", ce), Z.on("unpipe", function W(K, X) { - i("onunpipe"), K === se && X && X.hasUnpiped === !1 && (X.hasUnpiped = !0, i("cleanup"), Z.removeListener("close", ye), Z.removeListener("finish", ve), Z.removeListener("drain", fe), Z.removeListener("error", te), Z.removeListener("unpipe", W), se.removeListener("end", ie), se.removeListener("end", F), se.removeListener("data", Se), Te = !0, !ue.awaitDrain || Z._writableState && !Z._writableState.needDrain || fe()); + le.endEmitted ? o.nextTick(Se) : fe.once("end", Se), X.on("unpipe", function J(q, re) { + i("onunpipe"), q === fe && re && re.hasUnpiped === !1 && (re.hasUnpiped = !0, i("cleanup"), X.removeListener("close", ie), X.removeListener("finish", we), X.removeListener("drain", me), X.removeListener("error", G), X.removeListener("unpipe", J), fe.removeListener("end", de), fe.removeListener("end", z), fe.removeListener("data", Ce), Oe = !0, !le.awaitDrain || X._writableState && !X._writableState.needDrain || me()); }); - var fe = /* @__PURE__ */ function(W) { + var me = /* @__PURE__ */ function(J) { return function() { - var K = W._readableState; - i("pipeOnDrain", K.awaitDrain), K.awaitDrain && K.awaitDrain--, K.awaitDrain === 0 && m(W, "data") && (K.flowing = !0, z(W)); + var q = J._readableState; + i("pipeOnDrain", q.awaitDrain), q.awaitDrain && q.awaitDrain--, q.awaitDrain === 0 && p(J, "data") && (q.flowing = !0, U(J)); }; - }(se); - Z.on("drain", fe); - var Te = !1; - function Se(W) { + }(fe); + X.on("drain", me); + var Oe = !1; + function Ce(J) { i("ondata"); - var K = Z.write(W); - i("dest.write", K), K === !1 && ((ue.pipesCount === 1 && ue.pipes === Z || ue.pipesCount > 1 && ee(ue.pipes, Z) !== -1) && !Te && (i("false write response, pause", ue.awaitDrain), ue.awaitDrain++), se.pause()); - } - function te(W) { - i("onerror", W), F(), Z.removeListener("error", te), m(Z, "error") === 0 && L(Z, W); - } - function ye() { - Z.removeListener("finish", ve), F(); - } - function ve() { - i("onfinish"), Z.removeListener("close", ye), F(); - } - function F() { - i("unpipe"), se.unpipe(Z); - } - return se.on("data", Se), function(W, K, X) { - if (typeof W.prependListener == "function") return W.prependListener(K, X); - W._events && W._events[K] ? Array.isArray(W._events[K]) ? W._events[K].unshift(X) : W._events[K] = [X, W._events[K]] : W.on(K, X); - }(Z, "error", te), Z.once("close", ye), Z.once("finish", ve), Z.emit("pipe", se), ue.flowing || (i("pipe resume"), se.resume()), Z; - }, H.prototype.unpipe = function(Z) { - var q = this._readableState, se = { hasUnpiped: !1 }; - if (q.pipesCount === 0) return this; - if (q.pipesCount === 1) return Z && Z !== q.pipes || (Z || (Z = q.pipes), q.pipes = null, q.pipesCount = 0, q.flowing = !1, Z && Z.emit("unpipe", this, se)), this; - if (!Z) { - var ue = q.pipes, ce = q.pipesCount; - q.pipes = null, q.pipesCount = 0, q.flowing = !1; - for (var ie = 0; ie < ce; ie++) ue[ie].emit("unpipe", this, { hasUnpiped: !1 }); + var q = X.write(J); + i("dest.write", q), q === !1 && ((le.pipesCount === 1 && le.pipes === X || le.pipesCount > 1 && te(le.pipes, X) !== -1) && !Oe && (i("false write response, pause", le.awaitDrain), le.awaitDrain++), fe.pause()); + } + function G(J) { + i("onerror", J), z(), X.removeListener("error", G), p(X, "error") === 0 && I(X, J); + } + function ie() { + X.removeListener("finish", we), z(); + } + function we() { + i("onfinish"), X.removeListener("close", ie), z(); + } + function z() { + i("unpipe"), fe.unpipe(X); + } + return fe.on("data", Ce), function(J, q, re) { + if (typeof J.prependListener == "function") return J.prependListener(q, re); + J._events && J._events[q] ? Array.isArray(J._events[q]) ? J._events[q].unshift(re) : J._events[q] = [re, J._events[q]] : J.on(q, re); + }(X, "error", G), X.once("close", ie), X.once("finish", we), X.emit("pipe", fe), le.flowing || (i("pipe resume"), fe.resume()), X; + }, N.prototype.unpipe = function(X) { + var Z = this._readableState, fe = { hasUnpiped: !1 }; + if (Z.pipesCount === 0) return this; + if (Z.pipesCount === 1) return X && X !== Z.pipes || (X || (X = Z.pipes), Z.pipes = null, Z.pipesCount = 0, Z.flowing = !1, X && X.emit("unpipe", this, fe)), this; + if (!X) { + var le = Z.pipes, Se = Z.pipesCount; + Z.pipes = null, Z.pipesCount = 0, Z.flowing = !1; + for (var de = 0; de < Se; de++) le[de].emit("unpipe", this, { hasUnpiped: !1 }); return this; } - var fe = ee(q.pipes, Z); - return fe === -1 || (q.pipes.splice(fe, 1), q.pipesCount -= 1, q.pipesCount === 1 && (q.pipes = q.pipes[0]), Z.emit("unpipe", this, se)), this; - }, H.prototype.on = function(Z, q) { - var se = t.prototype.on.call(this, Z, q), ue = this._readableState; - return Z === "data" ? (ue.readableListening = this.listenerCount("readable") > 0, ue.flowing !== !1 && this.resume()) : Z === "readable" && (ue.endEmitted || ue.readableListening || (ue.readableListening = ue.needReadable = !0, ue.flowing = !1, ue.emittedReadable = !1, i("on readable", ue.length, ue.reading), ue.length ? M(this) : ue.reading || a.nextTick(V, this))), se; - }, H.prototype.addListener = H.prototype.on, H.prototype.removeListener = function(Z, q) { - var se = t.prototype.removeListener.call(this, Z, q); - return Z === "readable" && a.nextTick(j, this), se; - }, H.prototype.removeAllListeners = function(Z) { - var q = t.prototype.removeAllListeners.apply(this, arguments); - return Z !== "readable" && Z !== void 0 || a.nextTick(j, this), q; - }, H.prototype.resume = function() { - var Z = this._readableState; - return Z.flowing || (i("resume"), Z.flowing = !Z.readableListening, function(q, se) { - se.resumeScheduled || (se.resumeScheduled = !0, a.nextTick(D, q, se)); - }(this, Z)), Z.paused = !1, this; - }, H.prototype.pause = function() { + var me = te(Z.pipes, X); + return me === -1 || (Z.pipes.splice(me, 1), Z.pipesCount -= 1, Z.pipesCount === 1 && (Z.pipes = Z.pipes[0]), X.emit("unpipe", this, fe)), this; + }, N.prototype.on = function(X, Z) { + var fe = a.prototype.on.call(this, X, Z), le = this._readableState; + return X === "data" ? (le.readableListening = this.listenerCount("readable") > 0, le.flowing !== !1 && this.resume()) : X === "readable" && (le.endEmitted || le.readableListening || (le.readableListening = le.needReadable = !0, le.flowing = !1, le.emittedReadable = !1, i("on readable", le.length, le.reading), le.length ? L(this) : le.reading || o.nextTick(K, this))), fe; + }, N.prototype.addListener = N.prototype.on, N.prototype.removeListener = function(X, Z) { + var fe = a.prototype.removeListener.call(this, X, Z); + return X === "readable" && o.nextTick(H, this), fe; + }, N.prototype.removeAllListeners = function(X) { + var Z = a.prototype.removeAllListeners.apply(this, arguments); + return X !== "readable" && X !== void 0 || o.nextTick(H, this), Z; + }, N.prototype.resume = function() { + var X = this._readableState; + return X.flowing || (i("resume"), X.flowing = !X.readableListening, function(Z, fe) { + fe.resumeScheduled || (fe.resumeScheduled = !0, o.nextTick(V, Z, fe)); + }(this, X)), X.paused = !1, this; + }, N.prototype.pause = function() { return i("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (i("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState.paused = !0, this; - }, H.prototype.wrap = function(Z) { - var q = this, se = this._readableState, ue = !1; - for (var ce in Z.on("end", function() { - if (i("wrapped end"), se.decoder && !se.ended) { - var fe = se.decoder.end(); - fe && fe.length && q.push(fe); - } - q.push(null); - }), Z.on("data", function(fe) { - i("wrapped data"), se.decoder && (fe = se.decoder.write(fe)), se.objectMode && fe == null || (se.objectMode || fe && fe.length) && (q.push(fe) || (ue = !0, Z.pause())); - }), Z) this[ce] === void 0 && typeof Z[ce] == "function" && (this[ce] = /* @__PURE__ */ function(fe) { + }, N.prototype.wrap = function(X) { + var Z = this, fe = this._readableState, le = !1; + for (var Se in X.on("end", function() { + if (i("wrapped end"), fe.decoder && !fe.ended) { + var me = fe.decoder.end(); + me && me.length && Z.push(me); + } + Z.push(null); + }), X.on("data", function(me) { + i("wrapped data"), fe.decoder && (me = fe.decoder.write(me)), fe.objectMode && me == null || (fe.objectMode || me && me.length) && (Z.push(me) || (le = !0, X.pause())); + }), X) this[Se] === void 0 && typeof X[Se] == "function" && (this[Se] = /* @__PURE__ */ function(me) { return function() { - return Z[fe].apply(Z, arguments); + return X[me].apply(X, arguments); }; - }(ce)); - for (var ie = 0; ie < N.length; ie++) Z.on(N[ie], this.emit.bind(this, N[ie])); - return this._read = function(fe) { - i("wrapped _read", fe), ue && (ue = !1, Z.resume()); + }(Se)); + for (var de = 0; de < x.length; de++) X.on(x[de], this.emit.bind(this, x[de])); + return this._read = function(me) { + i("wrapped _read", me), le && (le = !1, X.resume()); }, this; - }, typeof Symbol == "function" && (H.prototype[Symbol.asyncIterator] = function() { - return d === void 0 && (d = c(2955)), d(this); - }), Object.defineProperty(H.prototype, "readableHighWaterMark", { enumerable: !1, get: function() { + }, typeof Symbol == "function" && (N.prototype[Symbol.asyncIterator] = function() { + return v === void 0 && (v = s(7356)), v(this); + }), Object.defineProperty(N.prototype, "readableHighWaterMark", { enumerable: !1, get: function() { return this._readableState.highWaterMark; - } }), Object.defineProperty(H.prototype, "readableBuffer", { enumerable: !1, get: function() { + } }), Object.defineProperty(N.prototype, "readableBuffer", { enumerable: !1, get: function() { return this._readableState && this._readableState.buffer; - } }), Object.defineProperty(H.prototype, "readableFlowing", { enumerable: !1, get: function() { + } }), Object.defineProperty(N.prototype, "readableFlowing", { enumerable: !1, get: function() { return this._readableState.flowing; - }, set: function(Z) { - this._readableState && (this._readableState.flowing = Z); - } }), H._fromList = J, Object.defineProperty(H.prototype, "readableLength", { enumerable: !1, get: function() { + }, set: function(X) { + this._readableState && (this._readableState.flowing = X); + } }), N._fromList = F, Object.defineProperty(N.prototype, "readableLength", { enumerable: !1, get: function() { return this._readableState.length; - } }), typeof Symbol == "function" && (H.from = function(Z, q) { - return l === void 0 && (l = c(5157)), l(H, Z, q); + } }), typeof Symbol == "function" && (N.from = function(X, Z) { + return l === void 0 && (l = s(6314)), l(N, X, Z); }); - }, 2229: (x, n, c) => { - x.exports = y; - var r = c(6048).F, a = r.ERR_METHOD_NOT_IMPLEMENTED, i = r.ERR_MULTIPLE_CALLBACK, m = r.ERR_TRANSFORM_ALREADY_TRANSFORMING, t = r.ERR_TRANSFORM_WITH_LENGTH_0, f = c(5382); - function b(l, s) { - var v = this._transformState; - v.transforming = !1; - var p = v.writecb; - if (p === null) return this.emit("error", new i()); - v.writechunk = null, v.writecb = null, s != null && this.push(s), p(l); - var h = this._readableState; - h.reading = !1, (h.needReadable || h.length < h.highWaterMark) && this._read(h.highWaterMark); - } - function y(l) { - if (!(this instanceof y)) return new y(l); - f.call(this, l), this._transformState = { afterTransform: b.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this._readableState.sync = !1, l && (typeof l.transform == "function" && (this._transform = l.transform), typeof l.flush == "function" && (this._flush = l.flush)), this.on("prefinish", u); + }, 5689(g, n, s) { + g.exports = w; + var r = s(3157).F, o = r.ERR_METHOD_NOT_IMPLEMENTED, i = r.ERR_MULTIPLE_CALLBACK, p = r.ERR_TRANSFORM_ALREADY_TRANSFORMING, a = r.ERR_TRANSFORM_WITH_LENGTH_0, f = s(3527); + function C(l, u) { + var y = this._transformState; + y.transforming = !1; + var d = y.writecb; + if (d === null) return this.emit("error", new i()); + y.writechunk = null, y.writecb = null, u != null && this.push(u), d(l); + var b = this._readableState; + b.reading = !1, (b.needReadable || b.length < b.highWaterMark) && this._read(b.highWaterMark); + } + function w(l) { + if (!(this instanceof w)) return new w(l); + f.call(this, l), this._transformState = { afterTransform: C.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this._readableState.sync = !1, l && (typeof l.transform == "function" && (this._transform = l.transform), typeof l.flush == "function" && (this._flush = l.flush)), this.on("prefinish", m); } - function u() { + function m() { var l = this; - typeof this._flush != "function" || this._readableState.destroyed ? d(this, null, null) : this._flush(function(s, v) { - d(l, s, v); + typeof this._flush != "function" || this._readableState.destroyed ? v(this, null, null) : this._flush(function(u, y) { + v(l, u, y); }); } - function d(l, s, v) { - if (s) return l.emit("error", s); - if (v != null && l.push(v), l._writableState.length) throw new t(); - if (l._transformState.transforming) throw new m(); + function v(l, u, y) { + if (u) return l.emit("error", u); + if (y != null && l.push(y), l._writableState.length) throw new a(); + if (l._transformState.transforming) throw new p(); return l.push(null); } - c(6698)(y, f), y.prototype.push = function(l, s) { - return this._transformState.needTransform = !1, f.prototype.push.call(this, l, s); - }, y.prototype._transform = function(l, s, v) { - v(new a("_transform()")); - }, y.prototype._write = function(l, s, v) { - var p = this._transformState; - if (p.writecb = v, p.writechunk = l, p.writeencoding = s, !p.transforming) { - var h = this._readableState; - (p.needTransform || h.needReadable || h.length < h.highWaterMark) && this._read(h.highWaterMark); - } - }, y.prototype._read = function(l) { - var s = this._transformState; - s.writechunk === null || s.transforming ? s.needTransform = !0 : (s.transforming = !0, this._transform(s.writechunk, s.writeencoding, s.afterTransform)); - }, y.prototype._destroy = function(l, s) { - f.prototype._destroy.call(this, l, function(v) { - s(v); + s(6698)(w, f), w.prototype.push = function(l, u) { + return this._transformState.needTransform = !1, f.prototype.push.call(this, l, u); + }, w.prototype._transform = function(l, u, y) { + y(new o("_transform()")); + }, w.prototype._write = function(l, u, y) { + var d = this._transformState; + if (d.writecb = y, d.writechunk = l, d.writeencoding = u, !d.transforming) { + var b = this._readableState; + (d.needTransform || b.needReadable || b.length < b.highWaterMark) && this._read(b.highWaterMark); + } + }, w.prototype._read = function(l) { + var u = this._transformState; + u.writechunk === null || u.transforming ? u.needTransform = !0 : (u.transforming = !0, this._transform(u.writechunk, u.writeencoding, u.afterTransform)); + }, w.prototype._destroy = function(l, u) { + f.prototype._destroy.call(this, l, function(y) { + u(y); }); }; - }, 6708: (x, n, c) => { - var r, a = c(5606); - function i(w) { - var A = this; + }, 9573(g, n, s) { + var r, o = s(5606); + function i(M) { + var P = this; this.next = null, this.entry = null, this.finish = function() { - (function(j, V) { - var D = j.entry; - for (j.entry = null; D; ) { - var z = D.callback; - V.pendingcb--, z(void 0), D = D.next; + (function(H, K) { + var V = H.entry; + for (H.entry = null; V; ) { + var U = V.callback; + K.pendingcb--, U(void 0), V = V.next; } - V.corkedRequestsFree.next = j; - })(A, w); + K.corkedRequestsFree.next = H; + })(P, M); }; } - x.exports = H, H.WritableState = B; - var m, t = { deprecate: c(4643) }, f = c(345), b = c(8287).Buffer, y = (c.g !== void 0 ? c.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { - }, u = c(5896), d = c(5291).getHighWaterMark, l = c(6048).F, s = l.ERR_INVALID_ARG_TYPE, v = l.ERR_METHOD_NOT_IMPLEMENTED, p = l.ERR_MULTIPLE_CALLBACK, h = l.ERR_STREAM_CANNOT_PIPE, O = l.ERR_STREAM_DESTROYED, I = l.ERR_STREAM_NULL_VALUES, k = l.ERR_STREAM_WRITE_AFTER_END, R = l.ERR_UNKNOWN_ENCODING, L = u.errorOrDestroy; - function N() { - } - function B(w, A, j) { - r = r || c(5382), w = w || {}, typeof j != "boolean" && (j = A instanceof r), this.objectMode = !!w.objectMode, j && (this.objectMode = this.objectMode || !!w.writableObjectMode), this.highWaterMark = d(this, w, "writableHighWaterMark", j), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; - var V = w.decodeStrings === !1; - this.decodeStrings = !V, this.defaultEncoding = w.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(D) { - (function(z, J) { - var G = z._writableState, Q = G.sync, ee = G.writecb; - if (typeof ee != "function") throw new p(); - if (function(q) { - q.writing = !1, q.writecb = null, q.length -= q.writelen, q.writelen = 0; - }(G), J) (function(q, se, ue, ce, ie) { - --se.pendingcb, ue ? (a.nextTick(ie, ce), a.nextTick(_, q, se), q._writableState.errorEmitted = !0, L(q, ce)) : (ie(ce), q._writableState.errorEmitted = !0, L(q, ce), _(q, se)); - })(z, G, Q, J, ee); + g.exports = N, N.WritableState = A; + var p, a = { deprecate: s(4643) }, f = s(1914), C = s(8287).Buffer, w = (s.g !== void 0 ? s.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { + }, m = s(6057), v = s(1922).getHighWaterMark, l = s(3157).F, u = l.ERR_INVALID_ARG_TYPE, y = l.ERR_METHOD_NOT_IMPLEMENTED, d = l.ERR_MULTIPLE_CALLBACK, b = l.ERR_STREAM_CANNOT_PIPE, _ = l.ERR_STREAM_DESTROYED, E = l.ERR_STREAM_NULL_VALUES, B = l.ERR_STREAM_WRITE_AFTER_END, O = l.ERR_UNKNOWN_ENCODING, I = m.errorOrDestroy; + function x() { + } + function A(M, P, H) { + r = r || s(3527), M = M || {}, typeof H != "boolean" && (H = P instanceof r), this.objectMode = !!M.objectMode, H && (this.objectMode = this.objectMode || !!M.writableObjectMode), this.highWaterMark = v(this, M, "writableHighWaterMark", H), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; + var K = M.decodeStrings === !1; + this.decodeStrings = !K, this.defaultEncoding = M.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(V) { + (function(U, F) { + var Q = U._writableState, ne = Q.sync, te = Q.writecb; + if (typeof te != "function") throw new d(); + if (function(Z) { + Z.writing = !1, Z.writecb = null, Z.length -= Z.writelen, Z.writelen = 0; + }(Q), F) (function(Z, fe, le, Se, de) { + --fe.pendingcb, le ? (o.nextTick(de, Se), o.nextTick(R, Z, fe), Z._writableState.errorEmitted = !0, I(Z, Se)) : (de(Se), Z._writableState.errorEmitted = !0, I(Z, Se), R(Z, fe)); + })(U, Q, ne, F, te); else { - var Z = E(G) || z.destroyed; - Z || G.corked || G.bufferProcessing || !G.bufferedRequest || T(z, G), Q ? a.nextTick(S, z, G, Z, ee) : S(z, G, Z, ee); + var X = T(Q) || U.destroyed; + X || Q.corked || Q.bufferProcessing || !Q.bufferedRequest || D(U, Q), ne ? o.nextTick(j, U, Q, X, te) : j(U, Q, X, te); } - })(A, D); - }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = w.emitClose !== !1, this.autoDestroy = !!w.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new i(this); - } - function H(w) { - var A = this instanceof (r = r || c(5382)); - if (!A && !m.call(H, this)) return new H(w); - this._writableState = new B(w, this, A), this.writable = !0, w && (typeof w.write == "function" && (this._write = w.write), typeof w.writev == "function" && (this._writev = w.writev), typeof w.destroy == "function" && (this._destroy = w.destroy), typeof w.final == "function" && (this._final = w.final)), f.call(this); - } - function U(w, A, j, V, D, z, J) { - A.writelen = V, A.writecb = J, A.writing = !0, A.sync = !0, A.destroyed ? A.onwrite(new O("write")) : j ? w._writev(D, A.onwrite) : w._write(D, z, A.onwrite), A.sync = !1; - } - function S(w, A, j, V) { - j || function(D, z) { - z.length === 0 && z.needDrain && (z.needDrain = !1, D.emit("drain")); - }(w, A), A.pendingcb--, V(), _(w, A); - } - function T(w, A) { - A.bufferProcessing = !0; - var j = A.bufferedRequest; - if (w._writev && j && j.next) { - var V = A.bufferedRequestCount, D = new Array(V), z = A.corkedRequestsFree; - z.entry = j; - for (var J = 0, G = !0; j; ) D[J] = j, j.isBuf || (G = !1), j = j.next, J += 1; - D.allBuffers = G, U(w, A, !0, A.length, D, "", z.finish), A.pendingcb++, A.lastBufferedRequest = null, z.next ? (A.corkedRequestsFree = z.next, z.next = null) : A.corkedRequestsFree = new i(A), A.bufferedRequestCount = 0; + })(P, V); + }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = M.emitClose !== !1, this.autoDestroy = !!M.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new i(this); + } + function N(M) { + var P = this instanceof (r = r || s(3527)); + if (!P && !p.call(N, this)) return new N(M); + this._writableState = new A(M, this, P), this.writable = !0, M && (typeof M.write == "function" && (this._write = M.write), typeof M.writev == "function" && (this._writev = M.writev), typeof M.destroy == "function" && (this._destroy = M.destroy), typeof M.final == "function" && (this._final = M.final)), f.call(this); + } + function k(M, P, H, K, V, U, F) { + P.writelen = K, P.writecb = F, P.writing = !0, P.sync = !0, P.destroyed ? P.onwrite(new _("write")) : H ? M._writev(V, P.onwrite) : M._write(V, U, P.onwrite), P.sync = !1; + } + function j(M, P, H, K) { + H || function(V, U) { + U.length === 0 && U.needDrain && (U.needDrain = !1, V.emit("drain")); + }(M, P), P.pendingcb--, K(), R(M, P); + } + function D(M, P) { + P.bufferProcessing = !0; + var H = P.bufferedRequest; + if (M._writev && H && H.next) { + var K = P.bufferedRequestCount, V = new Array(K), U = P.corkedRequestsFree; + U.entry = H; + for (var F = 0, Q = !0; H; ) V[F] = H, H.isBuf || (Q = !1), H = H.next, F += 1; + V.allBuffers = Q, k(M, P, !0, P.length, V, "", U.finish), P.pendingcb++, P.lastBufferedRequest = null, U.next ? (P.corkedRequestsFree = U.next, U.next = null) : P.corkedRequestsFree = new i(P), P.bufferedRequestCount = 0; } else { - for (; j; ) { - var Q = j.chunk, ee = j.encoding, Z = j.callback; - if (U(w, A, !1, A.objectMode ? 1 : Q.length, Q, ee, Z), j = j.next, A.bufferedRequestCount--, A.writing) break; + for (; H; ) { + var ne = H.chunk, te = H.encoding, X = H.callback; + if (k(M, P, !1, P.objectMode ? 1 : ne.length, ne, te, X), H = H.next, P.bufferedRequestCount--, P.writing) break; } - j === null && (A.lastBufferedRequest = null); + H === null && (P.lastBufferedRequest = null); } - A.bufferedRequest = j, A.bufferProcessing = !1; + P.bufferedRequest = H, P.bufferProcessing = !1; } - function E(w) { - return w.ending && w.length === 0 && w.bufferedRequest === null && !w.finished && !w.writing; + function T(M) { + return M.ending && M.length === 0 && M.bufferedRequest === null && !M.finished && !M.writing; } - function M(w, A) { - w._final(function(j) { - A.pendingcb--, j && L(w, j), A.prefinished = !0, w.emit("prefinish"), _(w, A); + function L(M, P) { + M._final(function(H) { + P.pendingcb--, H && I(M, H), P.prefinished = !0, M.emit("prefinish"), R(M, P); }); } - function _(w, A) { - var j = E(A); - if (j && (function(D, z) { - z.prefinished || z.finalCalled || (typeof D._final != "function" || z.destroyed ? (z.prefinished = !0, D.emit("prefinish")) : (z.pendingcb++, z.finalCalled = !0, a.nextTick(M, D, z))); - }(w, A), A.pendingcb === 0 && (A.finished = !0, w.emit("finish"), A.autoDestroy))) { - var V = w._readableState; - (!V || V.autoDestroy && V.endEmitted) && w.destroy(); + function R(M, P) { + var H = T(P); + if (H && (function(V, U) { + U.prefinished || U.finalCalled || (typeof V._final != "function" || U.destroyed ? (U.prefinished = !0, V.emit("prefinish")) : (U.pendingcb++, U.finalCalled = !0, o.nextTick(L, V, U))); + }(M, P), P.pendingcb === 0 && (P.finished = !0, M.emit("finish"), P.autoDestroy))) { + var K = M._readableState; + (!K || K.autoDestroy && K.endEmitted) && M.destroy(); } - return j; + return H; } - c(6698)(H, f), B.prototype.getBuffer = function() { - for (var w = this.bufferedRequest, A = []; w; ) A.push(w), w = w.next; - return A; + s(6698)(N, f), A.prototype.getBuffer = function() { + for (var M = this.bufferedRequest, P = []; M; ) P.push(M), M = M.next; + return P; }, function() { try { - Object.defineProperty(B.prototype, "buffer", { get: t.deprecate(function() { + Object.defineProperty(A.prototype, "buffer", { get: a.deprecate(function() { return this.getBuffer(); }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003") }); } catch { } - }(), typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (m = Function.prototype[Symbol.hasInstance], Object.defineProperty(H, Symbol.hasInstance, { value: function(w) { - return !!m.call(this, w) || this === H && w && w._writableState instanceof B; - } })) : m = function(w) { - return w instanceof this; - }, H.prototype.pipe = function() { - L(this, new h()); - }, H.prototype.write = function(w, A, j) { - var V, D = this._writableState, z = !1, J = !D.objectMode && (V = w, b.isBuffer(V) || V instanceof y); - return J && !b.isBuffer(w) && (w = function(G) { - return b.from(G); - }(w)), typeof A == "function" && (j = A, A = null), J ? A = "buffer" : A || (A = D.defaultEncoding), typeof j != "function" && (j = N), D.ending ? function(G, Q) { - var ee = new k(); - L(G, ee), a.nextTick(Q, ee); - }(this, j) : (J || function(G, Q, ee, Z) { - var q; - return ee === null ? q = new I() : typeof ee == "string" || Q.objectMode || (q = new s("chunk", ["string", "Buffer"], ee)), !q || (L(G, q), a.nextTick(Z, q), !1); - }(this, D, w, j)) && (D.pendingcb++, z = function(G, Q, ee, Z, q, se) { - if (!ee) { - var ue = function(Te, Se, te) { - return Te.objectMode || Te.decodeStrings === !1 || typeof Se != "string" || (Se = b.from(Se, te)), Se; - }(Q, Z, q); - Z !== ue && (ee = !0, q = "buffer", Z = ue); - } - var ce = Q.objectMode ? 1 : Z.length; - Q.length += ce; - var ie = Q.length < Q.highWaterMark; - if (ie || (Q.needDrain = !0), Q.writing || Q.corked) { - var fe = Q.lastBufferedRequest; - Q.lastBufferedRequest = { chunk: Z, encoding: q, isBuf: ee, callback: se, next: null }, fe ? fe.next = Q.lastBufferedRequest : Q.bufferedRequest = Q.lastBufferedRequest, Q.bufferedRequestCount += 1; - } else U(G, Q, !1, ce, Z, q, se); - return ie; - }(this, D, J, w, A, j)), z; - }, H.prototype.cork = function() { + }(), typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (p = Function.prototype[Symbol.hasInstance], Object.defineProperty(N, Symbol.hasInstance, { value: function(M) { + return !!p.call(this, M) || this === N && M && M._writableState instanceof A; + } })) : p = function(M) { + return M instanceof this; + }, N.prototype.pipe = function() { + I(this, new b()); + }, N.prototype.write = function(M, P, H) { + var K, V = this._writableState, U = !1, F = !V.objectMode && (K = M, C.isBuffer(K) || K instanceof w); + return F && !C.isBuffer(M) && (M = function(Q) { + return C.from(Q); + }(M)), typeof P == "function" && (H = P, P = null), F ? P = "buffer" : P || (P = V.defaultEncoding), typeof H != "function" && (H = x), V.ending ? function(Q, ne) { + var te = new B(); + I(Q, te), o.nextTick(ne, te); + }(this, H) : (F || function(Q, ne, te, X) { + var Z; + return te === null ? Z = new E() : typeof te == "string" || ne.objectMode || (Z = new u("chunk", ["string", "Buffer"], te)), !Z || (I(Q, Z), o.nextTick(X, Z), !1); + }(this, V, M, H)) && (V.pendingcb++, U = function(Q, ne, te, X, Z, fe) { + if (!te) { + var le = function(Oe, Ce, G) { + return Oe.objectMode || Oe.decodeStrings === !1 || typeof Ce != "string" || (Ce = C.from(Ce, G)), Ce; + }(ne, X, Z); + X !== le && (te = !0, Z = "buffer", X = le); + } + var Se = ne.objectMode ? 1 : X.length; + ne.length += Se; + var de = ne.length < ne.highWaterMark; + if (de || (ne.needDrain = !0), ne.writing || ne.corked) { + var me = ne.lastBufferedRequest; + ne.lastBufferedRequest = { chunk: X, encoding: Z, isBuf: te, callback: fe, next: null }, me ? me.next = ne.lastBufferedRequest : ne.bufferedRequest = ne.lastBufferedRequest, ne.bufferedRequestCount += 1; + } else k(Q, ne, !1, Se, X, Z, fe); + return de; + }(this, V, F, M, P, H)), U; + }, N.prototype.cork = function() { this._writableState.corked++; - }, H.prototype.uncork = function() { - var w = this._writableState; - w.corked && (w.corked--, w.writing || w.corked || w.bufferProcessing || !w.bufferedRequest || T(this, w)); - }, H.prototype.setDefaultEncoding = function(w) { - if (typeof w == "string" && (w = w.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((w + "").toLowerCase()) > -1)) throw new R(w); - return this._writableState.defaultEncoding = w, this; - }, Object.defineProperty(H.prototype, "writableBuffer", { enumerable: !1, get: function() { + }, N.prototype.uncork = function() { + var M = this._writableState; + M.corked && (M.corked--, M.writing || M.corked || M.bufferProcessing || !M.bufferedRequest || D(this, M)); + }, N.prototype.setDefaultEncoding = function(M) { + if (typeof M == "string" && (M = M.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((M + "").toLowerCase()) > -1)) throw new O(M); + return this._writableState.defaultEncoding = M, this; + }, Object.defineProperty(N.prototype, "writableBuffer", { enumerable: !1, get: function() { return this._writableState && this._writableState.getBuffer(); - } }), Object.defineProperty(H.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { + } }), Object.defineProperty(N.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState.highWaterMark; - } }), H.prototype._write = function(w, A, j) { - j(new v("_write()")); - }, H.prototype._writev = null, H.prototype.end = function(w, A, j) { - var V = this._writableState; - return typeof w == "function" ? (j = w, w = null, A = null) : typeof A == "function" && (j = A, A = null), w != null && this.write(w, A), V.corked && (V.corked = 1, this.uncork()), V.ending || function(D, z, J) { - z.ending = !0, _(D, z), J && (z.finished ? a.nextTick(J) : D.once("finish", J)), z.ended = !0, D.writable = !1; - }(this, V, j), this; - }, Object.defineProperty(H.prototype, "writableLength", { enumerable: !1, get: function() { + } }), N.prototype._write = function(M, P, H) { + H(new y("_write()")); + }, N.prototype._writev = null, N.prototype.end = function(M, P, H) { + var K = this._writableState; + return typeof M == "function" ? (H = M, M = null, P = null) : typeof P == "function" && (H = P, P = null), M != null && this.write(M, P), K.corked && (K.corked = 1, this.uncork()), K.ending || function(V, U, F) { + U.ending = !0, R(V, U), F && (U.finished ? o.nextTick(F) : V.once("finish", F)), U.ended = !0, V.writable = !1; + }(this, K, H), this; + }, Object.defineProperty(N.prototype, "writableLength", { enumerable: !1, get: function() { return this._writableState.length; - } }), Object.defineProperty(H.prototype, "destroyed", { enumerable: !1, get: function() { + } }), Object.defineProperty(N.prototype, "destroyed", { enumerable: !1, get: function() { return this._writableState !== void 0 && this._writableState.destroyed; - }, set: function(w) { - this._writableState && (this._writableState.destroyed = w); - } }), H.prototype.destroy = u.destroy, H.prototype._undestroy = u.undestroy, H.prototype._destroy = function(w, A) { - A(w); + }, set: function(M) { + this._writableState && (this._writableState.destroyed = M); + } }), N.prototype.destroy = m.destroy, N.prototype._undestroy = m.undestroy, N.prototype._destroy = function(M, P) { + P(M); }; - }, 2955: (x, n, c) => { - var r, a = c(5606); - function i(I, k, R) { - return (k = function(L) { - var N = function(B) { - if (typeof B != "object" || B === null) return B; - var H = B[Symbol.toPrimitive]; - if (H !== void 0) { - var U = H.call(B, "string"); - if (typeof U != "object") return U; + }, 7356(g, n, s) { + var r, o = s(5606); + function i(E, B, O) { + return (B = function(I) { + var x = function(A) { + if (typeof A != "object" || A === null) return A; + var N = A[Symbol.toPrimitive]; + if (N !== void 0) { + var k = N.call(A, "string"); + if (typeof k != "object") return k; throw new TypeError("@@toPrimitive must return a primitive value."); } - return String(B); - }(L); - return typeof N == "symbol" ? N : String(N); - }(k)) in I ? Object.defineProperty(I, k, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : I[k] = R, I; + return String(A); + }(I); + return typeof x == "symbol" ? x : String(x); + }(B)) in E ? Object.defineProperty(E, B, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : E[B] = O, E; } - var m = c(6238), t = Symbol("lastResolve"), f = Symbol("lastReject"), b = Symbol("error"), y = Symbol("ended"), u = Symbol("lastPromise"), d = Symbol("handlePromise"), l = Symbol("stream"); - function s(I, k) { - return { value: I, done: k }; + var p = s(9959), a = Symbol("lastResolve"), f = Symbol("lastReject"), C = Symbol("error"), w = Symbol("ended"), m = Symbol("lastPromise"), v = Symbol("handlePromise"), l = Symbol("stream"); + function u(E, B) { + return { value: E, done: B }; } - function v(I) { - var k = I[t]; - if (k !== null) { - var R = I[l].read(); - R !== null && (I[u] = null, I[t] = null, I[f] = null, k(s(R, !1))); + function y(E) { + var B = E[a]; + if (B !== null) { + var O = E[l].read(); + O !== null && (E[m] = null, E[a] = null, E[f] = null, B(u(O, !1))); } } - function p(I) { - a.nextTick(v, I); + function d(E) { + o.nextTick(y, E); } - var h = Object.getPrototypeOf(function() { - }), O = Object.setPrototypeOf((i(r = { get stream() { + var b = Object.getPrototypeOf(function() { + }), _ = Object.setPrototypeOf((i(r = { get stream() { return this[l]; }, next: function() { - var I = this, k = this[b]; - if (k !== null) return Promise.reject(k); - if (this[y]) return Promise.resolve(s(void 0, !0)); - if (this[l].destroyed) return new Promise(function(B, H) { - a.nextTick(function() { - I[b] ? H(I[b]) : B(s(void 0, !0)); + var E = this, B = this[C]; + if (B !== null) return Promise.reject(B); + if (this[w]) return Promise.resolve(u(void 0, !0)); + if (this[l].destroyed) return new Promise(function(A, N) { + o.nextTick(function() { + E[C] ? N(E[C]) : A(u(void 0, !0)); }); }); - var R, L = this[u]; - if (L) R = new Promise(/* @__PURE__ */ function(B, H) { - return function(U, S) { - B.then(function() { - H[y] ? U(s(void 0, !0)) : H[d](U, S); - }, S); + var O, I = this[m]; + if (I) O = new Promise(/* @__PURE__ */ function(A, N) { + return function(k, j) { + A.then(function() { + N[w] ? k(u(void 0, !0)) : N[v](k, j); + }, j); }; - }(L, this)); + }(I, this)); else { - var N = this[l].read(); - if (N !== null) return Promise.resolve(s(N, !1)); - R = new Promise(this[d]); + var x = this[l].read(); + if (x !== null) return Promise.resolve(u(x, !1)); + O = new Promise(this[v]); } - return this[u] = R, R; + return this[m] = O, O; } }, Symbol.asyncIterator, function() { return this; }), i(r, "return", function() { - var I = this; - return new Promise(function(k, R) { - I[l].destroy(null, function(L) { - L ? R(L) : k(s(void 0, !0)); + var E = this; + return new Promise(function(B, O) { + E[l].destroy(null, function(I) { + I ? O(I) : B(u(void 0, !0)); }); }); - }), r), h); - x.exports = function(I) { - var k, R = Object.create(O, (i(k = {}, l, { value: I, writable: !0 }), i(k, t, { value: null, writable: !0 }), i(k, f, { value: null, writable: !0 }), i(k, b, { value: null, writable: !0 }), i(k, y, { value: I._readableState.endEmitted, writable: !0 }), i(k, d, { value: function(L, N) { - var B = R[l].read(); - B ? (R[u] = null, R[t] = null, R[f] = null, L(s(B, !1))) : (R[t] = L, R[f] = N); - }, writable: !0 }), k)); - return R[u] = null, m(I, function(L) { - if (L && L.code !== "ERR_STREAM_PREMATURE_CLOSE") { - var N = R[f]; - return N !== null && (R[u] = null, R[t] = null, R[f] = null, N(L)), void (R[b] = L); - } - var B = R[t]; - B !== null && (R[u] = null, R[t] = null, R[f] = null, B(s(void 0, !0))), R[y] = !0; - }), I.on("readable", p.bind(null, R)), R; + }), r), b); + g.exports = function(E) { + var B, O = Object.create(_, (i(B = {}, l, { value: E, writable: !0 }), i(B, a, { value: null, writable: !0 }), i(B, f, { value: null, writable: !0 }), i(B, C, { value: null, writable: !0 }), i(B, w, { value: E._readableState.endEmitted, writable: !0 }), i(B, v, { value: function(I, x) { + var A = O[l].read(); + A ? (O[m] = null, O[a] = null, O[f] = null, I(u(A, !1))) : (O[a] = I, O[f] = x); + }, writable: !0 }), B)); + return O[m] = null, p(E, function(I) { + if (I && I.code !== "ERR_STREAM_PREMATURE_CLOSE") { + var x = O[f]; + return x !== null && (O[m] = null, O[a] = null, O[f] = null, x(I)), void (O[C] = I); + } + var A = O[a]; + A !== null && (O[m] = null, O[a] = null, O[f] = null, A(u(void 0, !0))), O[w] = !0; + }), E.on("readable", d.bind(null, O)), O; }; - }, 2726: (x, n, c) => { - function r(u, d) { - var l = Object.keys(u); + }, 272(g, n, s) { + function r(v, l) { + var u = Object.keys(v); if (Object.getOwnPropertySymbols) { - var s = Object.getOwnPropertySymbols(u); - d && (s = s.filter(function(v) { - return Object.getOwnPropertyDescriptor(u, v).enumerable; - })), l.push.apply(l, s); + var y = Object.getOwnPropertySymbols(v); + l && (y = y.filter(function(d) { + return Object.getOwnPropertyDescriptor(v, d).enumerable; + })), u.push.apply(u, y); } - return l; + return u; } - function a(u) { - for (var d = 1; d < arguments.length; d++) { - var l = arguments[d] != null ? arguments[d] : {}; - d % 2 ? r(Object(l), !0).forEach(function(s) { - i(u, s, l[s]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(l)) : r(Object(l)).forEach(function(s) { - Object.defineProperty(u, s, Object.getOwnPropertyDescriptor(l, s)); + function o(v) { + for (var l = 1; l < arguments.length; l++) { + var u = arguments[l] != null ? arguments[l] : {}; + l % 2 ? r(Object(u), !0).forEach(function(y) { + i(v, y, u[y]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(v, Object.getOwnPropertyDescriptors(u)) : r(Object(u)).forEach(function(y) { + Object.defineProperty(v, y, Object.getOwnPropertyDescriptor(u, y)); }); } - return u; + return v; } - function i(u, d, l) { - return (d = t(d)) in u ? Object.defineProperty(u, d, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : u[d] = l, u; + function i(v, l, u) { + return (l = a(l)) in v ? Object.defineProperty(v, l, { value: u, enumerable: !0, configurable: !0, writable: !0 }) : v[l] = u, v; } - function m(u, d) { - for (var l = 0; l < d.length; l++) { - var s = d[l]; - s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(u, t(s.key), s); + function p(v, l) { + for (var u = 0; u < l.length; u++) { + var y = l[u]; + y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(v, a(y.key), y); } } - function t(u) { - var d = function(l) { - if (typeof l != "object" || l === null) return l; - var s = l[Symbol.toPrimitive]; - if (s !== void 0) { - var v = s.call(l, "string"); - if (typeof v != "object") return v; + function a(v) { + var l = function(u) { + if (typeof u != "object" || u === null) return u; + var y = u[Symbol.toPrimitive]; + if (y !== void 0) { + var d = y.call(u, "string"); + if (typeof d != "object") return d; throw new TypeError("@@toPrimitive must return a primitive value."); } - return String(l); - }(u); - return typeof d == "symbol" ? d : String(d); + return String(u); + }(v); + return typeof l == "symbol" ? l : String(l); } - var f = c(8287).Buffer, b = c(5340).inspect, y = b && b.custom || "inspect"; - x.exports = function() { - function u() { - (function(s, v) { - if (!(s instanceof v)) throw new TypeError("Cannot call a class as a function"); - })(this, u), this.head = null, this.tail = null, this.length = 0; - } - var d, l; - return d = u, (l = [{ key: "push", value: function(s) { - var v = { data: s, next: null }; - this.length > 0 ? this.tail.next = v : this.head = v, this.tail = v, ++this.length; - } }, { key: "unshift", value: function(s) { - var v = { data: s, next: this.head }; - this.length === 0 && (this.tail = v), this.head = v, ++this.length; + var f = s(8287).Buffer, C = s(9169).inspect, w = C && C.custom || "inspect"; + function m(v, l, u) { + f.prototype.copy.call(v, l, u); + } + g.exports = function() { + function v() { + (function(y, d) { + if (!(y instanceof d)) throw new TypeError("Cannot call a class as a function"); + })(this, v), this.head = null, this.tail = null, this.length = 0; + } + var l, u; + return l = v, (u = [{ key: "push", value: function(y) { + var d = { data: y, next: null }; + this.length > 0 ? this.tail.next = d : this.head = d, this.tail = d, ++this.length; + } }, { key: "unshift", value: function(y) { + var d = { data: y, next: this.head }; + this.length === 0 && (this.tail = d), this.head = d, ++this.length; } }, { key: "shift", value: function() { if (this.length !== 0) { - var s = this.head.data; - return this.length === 1 ? this.head = this.tail = null : this.head = this.head.next, --this.length, s; + var y = this.head.data; + return this.length === 1 ? this.head = this.tail = null : this.head = this.head.next, --this.length, y; } } }, { key: "clear", value: function() { this.head = this.tail = null, this.length = 0; - } }, { key: "join", value: function(s) { + } }, { key: "join", value: function(y) { if (this.length === 0) return ""; - for (var v = this.head, p = "" + v.data; v = v.next; ) p += s + v.data; - return p; - } }, { key: "concat", value: function(s) { + for (var d = this.head, b = "" + d.data; d = d.next; ) b += y + d.data; + return b; + } }, { key: "concat", value: function(y) { if (this.length === 0) return f.alloc(0); - for (var v, p, h, O = f.allocUnsafe(s >>> 0), I = this.head, k = 0; I; ) v = I.data, p = O, h = k, f.prototype.copy.call(v, p, h), k += I.data.length, I = I.next; - return O; - } }, { key: "consume", value: function(s, v) { - var p; - return s < this.head.data.length ? (p = this.head.data.slice(0, s), this.head.data = this.head.data.slice(s)) : p = s === this.head.data.length ? this.shift() : v ? this._getString(s) : this._getBuffer(s), p; + for (var d = f.allocUnsafe(y >>> 0), b = this.head, _ = 0; b; ) m(b.data, d, _), _ += b.data.length, b = b.next; + return d; + } }, { key: "consume", value: function(y, d) { + var b; + return y < this.head.data.length ? (b = this.head.data.slice(0, y), this.head.data = this.head.data.slice(y)) : b = y === this.head.data.length ? this.shift() : d ? this._getString(y) : this._getBuffer(y), b; } }, { key: "first", value: function() { return this.head.data; - } }, { key: "_getString", value: function(s) { - var v = this.head, p = 1, h = v.data; - for (s -= h.length; v = v.next; ) { - var O = v.data, I = s > O.length ? O.length : s; - if (I === O.length ? h += O : h += O.slice(0, s), (s -= I) == 0) { - I === O.length ? (++p, v.next ? this.head = v.next : this.head = this.tail = null) : (this.head = v, v.data = O.slice(I)); + } }, { key: "_getString", value: function(y) { + var d = this.head, b = 1, _ = d.data; + for (y -= _.length; d = d.next; ) { + var E = d.data, B = y > E.length ? E.length : y; + if (B === E.length ? _ += E : _ += E.slice(0, y), (y -= B) === 0) { + B === E.length ? (++b, d.next ? this.head = d.next : this.head = this.tail = null) : (this.head = d, d.data = E.slice(B)); break; } - ++p; - } - return this.length -= p, h; - } }, { key: "_getBuffer", value: function(s) { - var v = f.allocUnsafe(s), p = this.head, h = 1; - for (p.data.copy(v), s -= p.data.length; p = p.next; ) { - var O = p.data, I = s > O.length ? O.length : s; - if (O.copy(v, v.length - s, 0, I), (s -= I) == 0) { - I === O.length ? (++h, p.next ? this.head = p.next : this.head = this.tail = null) : (this.head = p, p.data = O.slice(I)); + ++b; + } + return this.length -= b, _; + } }, { key: "_getBuffer", value: function(y) { + var d = f.allocUnsafe(y), b = this.head, _ = 1; + for (b.data.copy(d), y -= b.data.length; b = b.next; ) { + var E = b.data, B = y > E.length ? E.length : y; + if (E.copy(d, d.length - y, 0, B), (y -= B) === 0) { + B === E.length ? (++_, b.next ? this.head = b.next : this.head = this.tail = null) : (this.head = b, b.data = E.slice(B)); break; } - ++h; + ++_; } - return this.length -= h, v; - } }, { key: y, value: function(s, v) { - return b(this, a(a({}, v), {}, { depth: 0, customInspect: !1 })); - } }]) && m(d.prototype, l), Object.defineProperty(d, "prototype", { writable: !1 }), u; + return this.length -= _, d; + } }, { key: w, value: function(y, d) { + return C(this, o(o({}, d), {}, { depth: 0, customInspect: !1 })); + } }]) && p(l.prototype, u), Object.defineProperty(l, "prototype", { writable: !1 }), v; }(); - }, 5896: (x, n, c) => { - var r = c(5606); - function a(t, f) { - m(t, f), i(t); + }, 6057(g, n, s) { + var r = s(5606); + function o(a, f) { + p(a, f), i(a); } - function i(t) { - t._writableState && !t._writableState.emitClose || t._readableState && !t._readableState.emitClose || t.emit("close"); + function i(a) { + a._writableState && !a._writableState.emitClose || a._readableState && !a._readableState.emitClose || a.emit("close"); } - function m(t, f) { - t.emit("error", f); + function p(a, f) { + a.emit("error", f); } - x.exports = { destroy: function(t, f) { - var b = this, y = this._readableState && this._readableState.destroyed, u = this._writableState && this._writableState.destroyed; - return y || u ? (f ? f(t) : t && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, r.nextTick(m, this, t)) : r.nextTick(m, this, t)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(t || null, function(d) { - !f && d ? b._writableState ? b._writableState.errorEmitted ? r.nextTick(i, b) : (b._writableState.errorEmitted = !0, r.nextTick(a, b, d)) : r.nextTick(a, b, d) : f ? (r.nextTick(i, b), f(d)) : r.nextTick(i, b); + g.exports = { destroy: function(a, f) { + var C = this, w = this._readableState && this._readableState.destroyed, m = this._writableState && this._writableState.destroyed; + return w || m ? (f ? f(a) : a && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, r.nextTick(p, this, a)) : r.nextTick(p, this, a)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(a || null, function(v) { + !f && v ? C._writableState ? C._writableState.errorEmitted ? r.nextTick(i, C) : (C._writableState.errorEmitted = !0, r.nextTick(o, C, v)) : r.nextTick(o, C, v) : f ? (r.nextTick(i, C), f(v)) : r.nextTick(i, C); }), this); }, undestroy: function() { this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finalCalled = !1, this._writableState.prefinished = !1, this._writableState.finished = !1, this._writableState.errorEmitted = !1); - }, errorOrDestroy: function(t, f) { - var b = t._readableState, y = t._writableState; - b && b.autoDestroy || y && y.autoDestroy ? t.destroy(f) : t.emit("error", f); + }, errorOrDestroy: function(a, f) { + var C = a._readableState, w = a._writableState; + C && C.autoDestroy || w && w.autoDestroy ? a.destroy(f) : a.emit("error", f); } }; - }, 6238: (x, n, c) => { - var r = c(6048).F.ERR_STREAM_PREMATURE_CLOSE; - function a() { - } - x.exports = function i(m, t, f) { - if (typeof t == "function") return i(m, null, t); - t || (t = {}), f = /* @__PURE__ */ function(I) { - var k = !1; + }, 9959(g, n, s) { + var r = s(3157).F.ERR_STREAM_PREMATURE_CLOSE; + function o() { + } + g.exports = function i(p, a, f) { + if (typeof a == "function") return i(p, null, a); + a || (a = {}), f = /* @__PURE__ */ function(E) { + var B = !1; return function() { - if (!k) { - k = !0; - for (var R = arguments.length, L = new Array(R), N = 0; N < R; N++) L[N] = arguments[N]; - I.apply(this, L); + if (!B) { + B = !0; + for (var O = arguments.length, I = new Array(O), x = 0; x < O; x++) I[x] = arguments[x]; + E.apply(this, I); } }; - }(f || a); - var b = t.readable || t.readable !== !1 && m.readable, y = t.writable || t.writable !== !1 && m.writable, u = function() { - m.writable || l(); - }, d = m._writableState && m._writableState.finished, l = function() { - y = !1, d = !0, b || f.call(m); - }, s = m._readableState && m._readableState.endEmitted, v = function() { - b = !1, s = !0, y || f.call(m); - }, p = function(I) { - f.call(m, I); - }, h = function() { - var I; - return b && !s ? (m._readableState && m._readableState.ended || (I = new r()), f.call(m, I)) : y && !d ? (m._writableState && m._writableState.ended || (I = new r()), f.call(m, I)) : void 0; - }, O = function() { - m.req.on("finish", l); + }(f || o); + var C = a.readable || a.readable !== !1 && p.readable, w = a.writable || a.writable !== !1 && p.writable, m = function() { + p.writable || l(); + }, v = p._writableState && p._writableState.finished, l = function() { + w = !1, v = !0, C || f.call(p); + }, u = p._readableState && p._readableState.endEmitted, y = function() { + C = !1, u = !0, w || f.call(p); + }, d = function(E) { + f.call(p, E); + }, b = function() { + var E; + return C && !u ? (p._readableState && p._readableState.ended || (E = new r()), f.call(p, E)) : w && !v ? (p._writableState && p._writableState.ended || (E = new r()), f.call(p, E)) : void 0; + }, _ = function() { + p.req.on("finish", l); }; - return function(I) { - return I.setHeader && typeof I.abort == "function"; - }(m) ? (m.on("complete", l), m.on("abort", h), m.req ? O() : m.on("request", O)) : y && !m._writableState && (m.on("end", u), m.on("close", u)), m.on("end", v), m.on("finish", l), t.error !== !1 && m.on("error", p), m.on("close", h), function() { - m.removeListener("complete", l), m.removeListener("abort", h), m.removeListener("request", O), m.req && m.req.removeListener("finish", l), m.removeListener("end", u), m.removeListener("close", u), m.removeListener("finish", l), m.removeListener("end", v), m.removeListener("error", p), m.removeListener("close", h); + return function(E) { + return E.setHeader && typeof E.abort == "function"; + }(p) ? (p.on("complete", l), p.on("abort", b), p.req ? _() : p.on("request", _)) : w && !p._writableState && (p.on("end", m), p.on("close", m)), p.on("end", y), p.on("finish", l), a.error !== !1 && p.on("error", d), p.on("close", b), function() { + p.removeListener("complete", l), p.removeListener("abort", b), p.removeListener("request", _), p.req && p.req.removeListener("finish", l), p.removeListener("end", m), p.removeListener("close", m), p.removeListener("finish", l), p.removeListener("end", y), p.removeListener("error", d), p.removeListener("close", b); }; }; - }, 5157: (x) => { - x.exports = function() { + }, 6314(g) { + g.exports = function() { throw new Error("Readable.from is not available in the browser"); }; - }, 7758: (x, n, c) => { - var r, a = c(6048).F, i = a.ERR_MISSING_ARGS, m = a.ERR_STREAM_DESTROYED; - function t(y) { - if (y) throw y; - } - function f(y) { - y(); - } - function b(y, u) { - return y.pipe(u); - } - x.exports = function() { - for (var y = arguments.length, u = new Array(y), d = 0; d < y; d++) u[d] = arguments[d]; - var l, s = function(p) { - return p.length ? typeof p[p.length - 1] != "function" ? t : p.pop() : t; - }(u); - if (Array.isArray(u[0]) && (u = u[0]), u.length < 2) throw new i("streams"); - var v = u.map(function(p, h) { - var O = h < u.length - 1; - return function(I, k, R, L) { - L = /* @__PURE__ */ function(H) { - var U = !1; + }, 7413(g, n, s) { + var r, o = s(3157).F, i = o.ERR_MISSING_ARGS, p = o.ERR_STREAM_DESTROYED; + function a(w) { + if (w) throw w; + } + function f(w) { + w(); + } + function C(w, m) { + return w.pipe(m); + } + g.exports = function() { + for (var w = arguments.length, m = new Array(w), v = 0; v < w; v++) m[v] = arguments[v]; + var l, u = function(d) { + return d.length ? typeof d[d.length - 1] != "function" ? a : d.pop() : a; + }(m); + if (Array.isArray(m[0]) && (m = m[0]), m.length < 2) throw new i("streams"); + var y = m.map(function(d, b) { + var _ = b < m.length - 1; + return function(E, B, O, I) { + I = /* @__PURE__ */ function(N) { + var k = !1; return function() { - U || (U = !0, H.apply(void 0, arguments)); + k || (k = !0, N.apply(void 0, arguments)); }; - }(L); - var N = !1; - I.on("close", function() { - N = !0; - }), r === void 0 && (r = c(6238)), r(I, { readable: k, writable: R }, function(H) { - if (H) return L(H); - N = !0, L(); + }(I); + var x = !1; + E.on("close", function() { + x = !0; + }), r === void 0 && (r = s(9959)), r(E, { readable: B, writable: O }, function(N) { + if (N) return I(N); + x = !0, I(); }); - var B = !1; - return function(H) { - if (!N && !B) return B = !0, function(U) { - return U.setHeader && typeof U.abort == "function"; - }(I) ? I.abort() : typeof I.destroy == "function" ? I.destroy() : void L(H || new m("pipe")); + var A = !1; + return function(N) { + if (!x && !A) return A = !0, function(k) { + return k.setHeader && typeof k.abort == "function"; + }(E) ? E.abort() : typeof E.destroy == "function" ? E.destroy() : void I(N || new p("pipe")); }; - }(p, O, h > 0, function(I) { - l || (l = I), I && v.forEach(f), O || (v.forEach(f), s(l)); + }(d, _, b > 0, function(E) { + l || (l = E), E && y.forEach(f), _ || (y.forEach(f), u(l)); }); }); - return u.reduce(b); + return m.reduce(C); }; - }, 5291: (x, n, c) => { - var r = c(6048).F.ERR_INVALID_OPT_VALUE; - x.exports = { getHighWaterMark: function(a, i, m, t) { - var f = function(b, y, u) { - return b.highWaterMark != null ? b.highWaterMark : y ? b[u] : null; - }(i, t, m); + }, 1922(g, n, s) { + var r = s(3157).F.ERR_INVALID_OPT_VALUE; + g.exports = { getHighWaterMark: function(o, i, p, a) { + var f = function(C, w, m) { + return C.highWaterMark != null ? C.highWaterMark : w ? C[m] : null; + }(i, a, p); if (f != null) { - if (!isFinite(f) || Math.floor(f) !== f || f < 0) throw new r(t ? m : "highWaterMark", f); + if (!isFinite(f) || Math.floor(f) !== f || f < 0) throw new r(a ? p : "highWaterMark", f); return Math.floor(f); } - return a.objectMode ? 16 : 16384; + return o.objectMode ? 16 : 16384; } }; - }, 345: (x, n, c) => { - x.exports = c(7007).EventEmitter; - }, 8399: (x, n, c) => { - (n = x.exports = c(5412)).Stream = n, n.Readable = n, n.Writable = c(6708), n.Duplex = c(5382), n.Transform = c(2229), n.PassThrough = c(3600), n.finished = c(6238), n.pipeline = c(7758); - }, 2861: (x, n, c) => { - var r = c(8287), a = r.Buffer; - function i(t, f) { - for (var b in t) f[b] = t[b]; - } - function m(t, f, b) { - return a(t, f, b); - } - a.from && a.alloc && a.allocUnsafe && a.allocUnsafeSlow ? x.exports = r : (i(r, n), n.Buffer = m), m.prototype = Object.create(a.prototype), i(a, m), m.from = function(t, f, b) { - if (typeof t == "number") throw new TypeError("Argument must not be a number"); - return a(t, f, b); - }, m.alloc = function(t, f, b) { - if (typeof t != "number") throw new TypeError("Argument must be a number"); - var y = a(t); - return f !== void 0 ? typeof b == "string" ? y.fill(f, b) : y.fill(f) : y.fill(0), y; - }, m.allocUnsafe = function(t) { - if (typeof t != "number") throw new TypeError("Argument must be a number"); - return a(t); - }, m.allocUnsafeSlow = function(t) { - if (typeof t != "number") throw new TypeError("Argument must be a number"); - return r.SlowBuffer(t); - }; - }, 4774: (x, n, c) => { - var r, a = c(5606), i = c(8287), m = i.Buffer, t = {}; - for (r in i) i.hasOwnProperty(r) && r !== "SlowBuffer" && r !== "Buffer" && (t[r] = i[r]); - var f = t.Buffer = {}; - for (r in m) m.hasOwnProperty(r) && r !== "allocUnsafe" && r !== "allocUnsafeSlow" && (f[r] = m[r]); - if (t.Buffer.prototype = m.prototype, f.from && f.from !== Uint8Array.from || (f.from = function(b, y, u) { - if (typeof b == "number") throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof b); - if (b && b.length === void 0) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof b); - return m(b, y, u); - }), f.alloc || (f.alloc = function(b, y, u) { - if (typeof b != "number") throw new TypeError('The "size" argument must be of type number. Received type ' + typeof b); - if (b < 0 || b >= 2147483648) throw new RangeError('The value "' + b + '" is invalid for option "size"'); - var d = m(b); - return y && y.length !== 0 ? typeof u == "string" ? d.fill(y, u) : d.fill(y) : d.fill(0), d; - }), !t.kStringMaxLength) try { - t.kStringMaxLength = a.binding("buffer").kStringMaxLength; - } catch { - } - t.constants || (t.constants = { MAX_LENGTH: t.kMaxLength }, t.kStringMaxLength && (t.constants.MAX_STRING_LENGTH = t.kStringMaxLength)), x.exports = t; - }, 6897: (x, n, c) => { - var r = c(453), a = c(41), i = c(592)(), m = c(5795), t = c(9675), f = r("%Math.floor%"); - x.exports = function(b, y) { - if (typeof b != "function") throw new t("`fn` is not a function"); - if (typeof y != "number" || y < 0 || y > 4294967295 || f(y) !== y) throw new t("`length` must be a positive 32-bit integer"); - var u = arguments.length > 2 && !!arguments[2], d = !0, l = !0; - if ("length" in b && m) { - var s = m(b, "length"); - s && !s.configurable && (d = !1), s && !s.writable && (l = !1); - } - return (d || l || !u) && (i ? a(b, "length", y, !0, !0) : a(b, "length", y)), b; - }; - }, 1568: (x, n, c) => { - var r = c(5537), a = c(6917), i = c(7510), m = c(6866), t = c(8835), f = n; - f.request = function(b, y) { - b = typeof b == "string" ? t.parse(b) : i(b); - var u = c.g.location.protocol.search(/^https?:$/) === -1 ? "http:" : "", d = b.protocol || u, l = b.hostname || b.host, s = b.port, v = b.path || "/"; - l && l.indexOf(":") !== -1 && (l = "[" + l + "]"), b.url = (l ? d + "//" + l : "") + (s ? ":" + s : "") + v, b.method = (b.method || "GET").toUpperCase(), b.headers = b.headers || {}; - var p = new r(b); - return y && p.on("response", y), p; - }, f.get = function(b, y) { - var u = f.request(b, y); - return u.end(), u; - }, f.ClientRequest = r, f.IncomingMessage = a.IncomingMessage, f.Agent = function() { - }, f.Agent.defaultMaxSockets = 4, f.globalAgent = new f.Agent(), f.STATUS_CODES = m, f.METHODS = ["CHECKOUT", "CONNECT", "COPY", "DELETE", "GET", "HEAD", "LOCK", "M-SEARCH", "MERGE", "MKACTIVITY", "MKCOL", "MOVE", "NOTIFY", "OPTIONS", "PATCH", "POST", "PROPFIND", "PROPPATCH", "PURGE", "PUT", "REPORT", "SEARCH", "SUBSCRIBE", "TRACE", "UNLOCK", "UNSUBSCRIBE"]; - }, 6688: (x, n, c) => { - var r; - function a() { - if (r !== void 0) return r; - if (c.g.XMLHttpRequest) { - r = new c.g.XMLHttpRequest(); - try { - r.open("GET", c.g.XDomainRequest ? "/" : "https://example.com"); - } catch { - r = null; - } - } else r = null; - return r; - } - function i(t) { - var f = a(); - if (!f) return !1; - try { - return f.responseType = t, f.responseType === t; - } catch { - } - return !1; - } - function m(t) { - return typeof t == "function"; - } - n.fetch = m(c.g.fetch) && m(c.g.ReadableStream), n.writableStream = m(c.g.WritableStream), n.abortController = m(c.g.AbortController), n.arraybuffer = n.fetch || i("arraybuffer"), n.msstream = !n.fetch && i("ms-stream"), n.mozchunkedarraybuffer = !n.fetch && i("moz-chunked-arraybuffer"), n.overrideMimeType = n.fetch || !!a() && m(a().overrideMimeType), r = null; - }, 5537: (x, n, c) => { - var r = c(8287).Buffer, a = c(5606), i = c(6688), m = c(6698), t = c(6917), f = c(8399), b = t.IncomingMessage, y = t.readyStates, u = x.exports = function(l) { - var s, v = this; - f.Writable.call(v), v._opts = l, v._body = [], v._headers = {}, l.auth && v.setHeader("Authorization", "Basic " + r.from(l.auth).toString("base64")), Object.keys(l.headers).forEach(function(h) { - v.setHeader(h, l.headers[h]); - }); - var p = !0; - if (l.mode === "disable-fetch" || "requestTimeout" in l && !i.abortController) p = !1, s = !0; - else if (l.mode === "prefer-streaming") s = !1; - else if (l.mode === "allow-wrong-content-type") s = !i.overrideMimeType; - else { - if (l.mode && l.mode !== "default" && l.mode !== "prefer-fast") throw new Error("Invalid value for opts.mode"); - s = !0; - } - v._mode = function(h, O) { - return i.fetch && O ? "fetch" : i.mozchunkedarraybuffer ? "moz-chunked-arraybuffer" : i.msstream ? "ms-stream" : i.arraybuffer && h ? "arraybuffer" : "text"; - }(s, p), v._fetchTimer = null, v._socketTimeout = null, v._socketTimer = null, v.on("finish", function() { - v._onFinish(); - }); - }; - m(u, f.Writable), u.prototype.setHeader = function(l, s) { - var v = l.toLowerCase(); - d.indexOf(v) === -1 && (this._headers[v] = { name: l, value: s }); - }, u.prototype.getHeader = function(l) { - var s = this._headers[l.toLowerCase()]; - return s ? s.value : null; - }, u.prototype.removeHeader = function(l) { - delete this._headers[l.toLowerCase()]; - }, u.prototype._onFinish = function() { - var l = this; - if (!l._destroyed) { - var s = l._opts; - "timeout" in s && s.timeout !== 0 && l.setTimeout(s.timeout); - var v = l._headers, p = null; - s.method !== "GET" && s.method !== "HEAD" && (p = new Blob(l._body, { type: (v["content-type"] || {}).value || "" })); - var h = []; - if (Object.keys(v).forEach(function(R) { - var L = v[R].name, N = v[R].value; - Array.isArray(N) ? N.forEach(function(B) { - h.push([L, B]); - }) : h.push([L, N]); - }), l._mode === "fetch") { - var O = null; - if (i.abortController) { - var I = new AbortController(); - O = I.signal, l._fetchAbortController = I, "requestTimeout" in s && s.requestTimeout !== 0 && (l._fetchTimer = c.g.setTimeout(function() { - l.emit("requestTimeout"), l._fetchAbortController && l._fetchAbortController.abort(); - }, s.requestTimeout)); - } - c.g.fetch(l._opts.url, { method: l._opts.method, headers: h, body: p || void 0, mode: "cors", credentials: s.withCredentials ? "include" : "same-origin", signal: O }).then(function(R) { - l._fetchResponse = R, l._resetTimers(!1), l._connect(); - }, function(R) { - l._resetTimers(!0), l._destroyed || l.emit("error", R); - }); - } else { - var k = l._xhr = new c.g.XMLHttpRequest(); - try { - k.open(l._opts.method, l._opts.url, !0); - } catch (R) { - return void a.nextTick(function() { - l.emit("error", R); - }); - } - "responseType" in k && (k.responseType = l._mode), "withCredentials" in k && (k.withCredentials = !!s.withCredentials), l._mode === "text" && "overrideMimeType" in k && k.overrideMimeType("text/plain; charset=x-user-defined"), "requestTimeout" in s && (k.timeout = s.requestTimeout, k.ontimeout = function() { - l.emit("requestTimeout"); - }), h.forEach(function(R) { - k.setRequestHeader(R[0], R[1]); - }), l._response = null, k.onreadystatechange = function() { - switch (k.readyState) { - case y.LOADING: - case y.DONE: - l._onXHRProgress(); - } - }, l._mode === "moz-chunked-arraybuffer" && (k.onprogress = function() { - l._onXHRProgress(); - }), k.onerror = function() { - l._destroyed || (l._resetTimers(!0), l.emit("error", new Error("XHR error"))); - }; - try { - k.send(p); - } catch (R) { - return void a.nextTick(function() { - l.emit("error", R); - }); - } - } - } - }, u.prototype._onXHRProgress = function() { - var l = this; - l._resetTimers(!1), function(s) { - try { - var v = s.status; - return v !== null && v !== 0; - } catch { - return !1; - } - }(l._xhr) && !l._destroyed && (l._response || l._connect(), l._response._onXHRProgress(l._resetTimers.bind(l))); - }, u.prototype._connect = function() { - var l = this; - l._destroyed || (l._response = new b(l._xhr, l._fetchResponse, l._mode, l._resetTimers.bind(l)), l._response.on("error", function(s) { - l.emit("error", s); - }), l.emit("response", l._response)); - }, u.prototype._write = function(l, s, v) { - this._body.push(l), v(); - }, u.prototype._resetTimers = function(l) { - var s = this; - c.g.clearTimeout(s._socketTimer), s._socketTimer = null, l ? (c.g.clearTimeout(s._fetchTimer), s._fetchTimer = null) : s._socketTimeout && (s._socketTimer = c.g.setTimeout(function() { - s.emit("timeout"); - }, s._socketTimeout)); - }, u.prototype.abort = u.prototype.destroy = function(l) { - var s = this; - s._destroyed = !0, s._resetTimers(!0), s._response && (s._response._destroyed = !0), s._xhr ? s._xhr.abort() : s._fetchAbortController && s._fetchAbortController.abort(), l && s.emit("error", l); - }, u.prototype.end = function(l, s, v) { - typeof l == "function" && (v = l, l = void 0), f.Writable.prototype.end.call(this, l, s, v); - }, u.prototype.setTimeout = function(l, s) { - var v = this; - s && v.once("timeout", s), v._socketTimeout = l, v._resetTimers(!1); - }, u.prototype.flushHeaders = function() { - }, u.prototype.setNoDelay = function() { - }, u.prototype.setSocketKeepAlive = function() { - }; - var d = ["accept-charset", "accept-encoding", "access-control-request-headers", "access-control-request-method", "connection", "content-length", "cookie", "cookie2", "date", "dnt", "expect", "host", "keep-alive", "origin", "referer", "te", "trailer", "transfer-encoding", "upgrade", "via"]; - }, 6917: (x, n, c) => { - var r = c(5606), a = c(8287).Buffer, i = c(6688), m = c(6698), t = c(8399), f = n.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }, b = n.IncomingMessage = function(y, u, d, l) { - var s = this; - if (t.Readable.call(s), s._mode = d, s.headers = {}, s.rawHeaders = [], s.trailers = {}, s.rawTrailers = [], s.on("end", function() { - r.nextTick(function() { - s.emit("close"); - }); - }), d === "fetch") { - if (s._fetchResponse = u, s.url = u.url, s.statusCode = u.status, s.statusMessage = u.statusText, u.headers.forEach(function(I, k) { - s.headers[k.toLowerCase()] = I, s.rawHeaders.push(k, I); - }), i.writableStream) { - var v = new WritableStream({ write: function(I) { - return l(!1), new Promise(function(k, R) { - s._destroyed ? R() : s.push(a.from(I)) ? k() : s._resumeFetch = k; - }); - }, close: function() { - l(!0), s._destroyed || s.push(null); - }, abort: function(I) { - l(!0), s._destroyed || s.emit("error", I); - } }); - try { - return void u.body.pipeTo(v).catch(function(I) { - l(!0), s._destroyed || s.emit("error", I); - }); - } catch { - } - } - var p = u.body.getReader(); - (function I() { - p.read().then(function(k) { - s._destroyed || (l(k.done), k.done ? s.push(null) : (s.push(a.from(k.value)), I())); - }).catch(function(k) { - l(!0), s._destroyed || s.emit("error", k); - }); - })(); - } else if (s._xhr = y, s._pos = 0, s.url = y.responseURL, s.statusCode = y.status, s.statusMessage = y.statusText, y.getAllResponseHeaders().split(/\r?\n/).forEach(function(I) { - var k = I.match(/^([^:]+):\s*(.*)/); - if (k) { - var R = k[1].toLowerCase(); - R === "set-cookie" ? (s.headers[R] === void 0 && (s.headers[R] = []), s.headers[R].push(k[2])) : s.headers[R] !== void 0 ? s.headers[R] += ", " + k[2] : s.headers[R] = k[2], s.rawHeaders.push(k[1], k[2]); - } - }), s._charset = "x-user-defined", !i.overrideMimeType) { - var h = s.rawHeaders["mime-type"]; - if (h) { - var O = h.match(/;\s*charset=([^;])(;|$)/); - O && (s._charset = O[1].toLowerCase()); - } - s._charset || (s._charset = "utf-8"); - } - }; - m(b, t.Readable), b.prototype._read = function() { - var y = this._resumeFetch; - y && (this._resumeFetch = null, y()); - }, b.prototype._onXHRProgress = function(y) { - var u = this, d = u._xhr, l = null; - switch (u._mode) { - case "text": - if ((l = d.responseText).length > u._pos) { - var s = l.substr(u._pos); - if (u._charset === "x-user-defined") { - for (var v = a.alloc(s.length), p = 0; p < s.length; p++) v[p] = 255 & s.charCodeAt(p); - u.push(v); - } else u.push(s, u._charset); - u._pos = l.length; - } - break; - case "arraybuffer": - if (d.readyState !== f.DONE || !d.response) break; - l = d.response, u.push(a.from(new Uint8Array(l))); - break; - case "moz-chunked-arraybuffer": - if (l = d.response, d.readyState !== f.LOADING || !l) break; - u.push(a.from(new Uint8Array(l))); - break; - case "ms-stream": - if (l = d.response, d.readyState !== f.LOADING) break; - var h = new c.g.MSStreamReader(); - h.onprogress = function() { - h.result.byteLength > u._pos && (u.push(a.from(new Uint8Array(h.result.slice(u._pos)))), u._pos = h.result.byteLength); - }, h.onload = function() { - y(!0), u.push(null); - }, h.readAsArrayBuffer(l); - } - u._xhr.readyState === f.DONE && u._mode !== "ms-stream" && (y(!0), u.push(null)); - }; - }, 3141: (x, n, c) => { - var r = c(2861).Buffer, a = r.isEncoding || function(s) { - switch ((s = "" + s) && s.toLowerCase()) { + }, 1914(g, n, s) { + g.exports = s(7007).EventEmitter; + }, 3242(g, n, s) { + (n = g.exports = s(2341)).Stream = n, n.Readable = n, n.Writable = s(9573), n.Duplex = s(3527), n.Transform = s(5689), n.PassThrough = s(2571), n.finished = s(9959), n.pipeline = s(7413); + }, 3141(g, n, s) { + var r = s(5003).Buffer, o = r.isEncoding || function(u) { + switch ((u = "" + u) && u.toLowerCase()) { case "hex": case "utf8": case "utf-8": @@ -20667,12 +19660,12 @@ function B6() { return !1; } }; - function i(s) { - var v; - switch (this.encoding = function(p) { - var h = function(O) { - if (!O) return "utf8"; - for (var I; ; ) switch (O) { + function i(u) { + var y; + switch (this.encoding = function(d) { + var b = function(_) { + if (!_) return "utf8"; + for (var E; ; ) switch (_) { case "utf8": case "utf-8": return "utf8"; @@ -20687,1562 +19680,1584 @@ function B6() { case "base64": case "ascii": case "hex": - return O; + return _; default: - if (I) return; - O = ("" + O).toLowerCase(), I = !0; + if (E) return; + _ = ("" + _).toLowerCase(), E = !0; } - }(p); - if (typeof h != "string" && (r.isEncoding === a || !a(p))) throw new Error("Unknown encoding: " + p); - return h || p; - }(s), this.encoding) { + }(d); + if (typeof b != "string" && (r.isEncoding === o || !o(d))) throw new Error("Unknown encoding: " + d); + return b || d; + }(u), this.encoding) { case "utf16le": - this.text = f, this.end = b, v = 4; + this.text = f, this.end = C, y = 4; break; case "utf8": - this.fillLast = t, v = 4; + this.fillLast = a, y = 4; break; case "base64": - this.text = y, this.end = u, v = 3; + this.text = w, this.end = m, y = 3; break; default: - return this.write = d, void (this.end = l); + return this.write = v, void (this.end = l); } - this.lastNeed = 0, this.lastTotal = 0, this.lastChar = r.allocUnsafe(v); - } - function m(s) { - return s <= 127 ? 0 : s >> 5 == 6 ? 2 : s >> 4 == 14 ? 3 : s >> 3 == 30 ? 4 : s >> 6 == 2 ? -1 : -2; + this.lastNeed = 0, this.lastTotal = 0, this.lastChar = r.allocUnsafe(y); } - function t(s) { - var v = this.lastTotal - this.lastNeed, p = function(h, O) { - if ((192 & O[0]) != 128) return h.lastNeed = 0, "�"; - if (h.lastNeed > 1 && O.length > 1) { - if ((192 & O[1]) != 128) return h.lastNeed = 1, "�"; - if (h.lastNeed > 2 && O.length > 2 && (192 & O[2]) != 128) return h.lastNeed = 2, "�"; - } - }(this, s); - return p !== void 0 ? p : this.lastNeed <= s.length ? (s.copy(this.lastChar, v, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)) : (s.copy(this.lastChar, v, 0, s.length), void (this.lastNeed -= s.length)); + function p(u) { + return u <= 127 ? 0 : u >> 5 == 6 ? 2 : u >> 4 == 14 ? 3 : u >> 3 == 30 ? 4 : u >> 6 == 2 ? -1 : -2; } - function f(s, v) { - if ((s.length - v) % 2 == 0) { - var p = s.toString("utf16le", v); - if (p) { - var h = p.charCodeAt(p.length - 1); - if (h >= 55296 && h <= 56319) return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = s[s.length - 2], this.lastChar[1] = s[s.length - 1], p.slice(0, -1); + function a(u) { + var y = this.lastTotal - this.lastNeed, d = function(b, _) { + if ((192 & _[0]) != 128) return b.lastNeed = 0, "�"; + if (b.lastNeed > 1 && _.length > 1) { + if ((192 & _[1]) != 128) return b.lastNeed = 1, "�"; + if (b.lastNeed > 2 && _.length > 2 && (192 & _[2]) != 128) return b.lastNeed = 2, "�"; + } + }(this, u); + return d !== void 0 ? d : this.lastNeed <= u.length ? (u.copy(this.lastChar, y, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)) : (u.copy(this.lastChar, y, 0, u.length), void (this.lastNeed -= u.length)); + } + function f(u, y) { + if ((u.length - y) % 2 == 0) { + var d = u.toString("utf16le", y); + if (d) { + var b = d.charCodeAt(d.length - 1); + if (b >= 55296 && b <= 56319) return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = u[u.length - 2], this.lastChar[1] = u[u.length - 1], d.slice(0, -1); } - return p; + return d; } - return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = s[s.length - 1], s.toString("utf16le", v, s.length - 1); + return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = u[u.length - 1], u.toString("utf16le", y, u.length - 1); } - function b(s) { - var v = s && s.length ? this.write(s) : ""; + function C(u) { + var y = u && u.length ? this.write(u) : ""; if (this.lastNeed) { - var p = this.lastTotal - this.lastNeed; - return v + this.lastChar.toString("utf16le", 0, p); + var d = this.lastTotal - this.lastNeed; + return y + this.lastChar.toString("utf16le", 0, d); } - return v; + return y; } - function y(s, v) { - var p = (s.length - v) % 3; - return p === 0 ? s.toString("base64", v) : (this.lastNeed = 3 - p, this.lastTotal = 3, p === 1 ? this.lastChar[0] = s[s.length - 1] : (this.lastChar[0] = s[s.length - 2], this.lastChar[1] = s[s.length - 1]), s.toString("base64", v, s.length - p)); + function w(u, y) { + var d = (u.length - y) % 3; + return d === 0 ? u.toString("base64", y) : (this.lastNeed = 3 - d, this.lastTotal = 3, d === 1 ? this.lastChar[0] = u[u.length - 1] : (this.lastChar[0] = u[u.length - 2], this.lastChar[1] = u[u.length - 1]), u.toString("base64", y, u.length - d)); } - function u(s) { - var v = s && s.length ? this.write(s) : ""; - return this.lastNeed ? v + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : v; + function m(u) { + var y = u && u.length ? this.write(u) : ""; + return this.lastNeed ? y + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : y; } - function d(s) { - return s.toString(this.encoding); + function v(u) { + return u.toString(this.encoding); } - function l(s) { - return s && s.length ? this.write(s) : ""; + function l(u) { + return u && u.length ? this.write(u) : ""; } - n.I = i, i.prototype.write = function(s) { - if (s.length === 0) return ""; - var v, p; + n.I = i, i.prototype.write = function(u) { + if (u.length === 0) return ""; + var y, d; if (this.lastNeed) { - if ((v = this.fillLast(s)) === void 0) return ""; - p = this.lastNeed, this.lastNeed = 0; - } else p = 0; - return p < s.length ? v ? v + this.text(s, p) : this.text(s, p) : v || ""; - }, i.prototype.end = function(s) { - var v = s && s.length ? this.write(s) : ""; - return this.lastNeed ? v + "�" : v; - }, i.prototype.text = function(s, v) { - var p = function(O, I, k) { - var R = I.length - 1; - if (R < k) return 0; - var L = m(I[R]); - return L >= 0 ? (L > 0 && (O.lastNeed = L - 1), L) : --R < k || L === -2 ? 0 : (L = m(I[R])) >= 0 ? (L > 0 && (O.lastNeed = L - 2), L) : --R < k || L === -2 ? 0 : (L = m(I[R])) >= 0 ? (L > 0 && (L === 2 ? L = 0 : O.lastNeed = L - 3), L) : 0; - }(this, s, v); - if (!this.lastNeed) return s.toString("utf8", v); - this.lastTotal = p; - var h = s.length - (p - this.lastNeed); - return s.copy(this.lastChar, 0, h), s.toString("utf8", v, h); - }, i.prototype.fillLast = function(s) { - if (this.lastNeed <= s.length) return s.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal); - s.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, s.length), this.lastNeed -= s.length; + if ((y = this.fillLast(u)) === void 0) return ""; + d = this.lastNeed, this.lastNeed = 0; + } else d = 0; + return d < u.length ? y ? y + this.text(u, d) : this.text(u, d) : y || ""; + }, i.prototype.end = function(u) { + var y = u && u.length ? this.write(u) : ""; + return this.lastNeed ? y + "�" : y; + }, i.prototype.text = function(u, y) { + var d = function(_, E, B) { + var O = E.length - 1; + if (O < B) return 0; + var I = p(E[O]); + return I >= 0 ? (I > 0 && (_.lastNeed = I - 1), I) : --O < B || I === -2 ? 0 : (I = p(E[O])) >= 0 ? (I > 0 && (_.lastNeed = I - 2), I) : --O < B || I === -2 ? 0 : (I = p(E[O])) >= 0 ? (I > 0 && (I === 2 ? I = 0 : _.lastNeed = I - 3), I) : 0; + }(this, u, y); + if (!this.lastNeed) return u.toString("utf8", y); + this.lastTotal = d; + var b = u.length - (d - this.lastNeed); + return u.copy(this.lastChar, 0, b), u.toString("utf8", y, b); + }, i.prototype.fillLast = function(u) { + if (this.lastNeed <= u.length) return u.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal); + u.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, u.length), this.lastNeed -= u.length; + }; + }, 5003(g, n, s) { + var r = s(8287), o = r.Buffer; + function i(a, f) { + for (var C in a) f[C] = a[C]; + } + function p(a, f, C) { + return o(a, f, C); + } + o.from && o.alloc && o.allocUnsafe && o.allocUnsafeSlow ? g.exports = r : (i(r, n), n.Buffer = p), i(o, p), p.from = function(a, f, C) { + if (typeof a == "number") throw new TypeError("Argument must not be a number"); + return o(a, f, C); + }, p.alloc = function(a, f, C) { + if (typeof a != "number") throw new TypeError("Argument must be a number"); + var w = o(a); + return f !== void 0 ? typeof C == "string" ? w.fill(f, C) : w.fill(f) : w.fill(0), w; + }, p.allocUnsafe = function(a) { + if (typeof a != "number") throw new TypeError("Argument must be a number"); + return o(a); + }, p.allocUnsafeSlow = function(a) { + if (typeof a != "number") throw new TypeError("Argument must be a number"); + return r.SlowBuffer(a); }; - }, 872: (x, n) => { - var c, r, a; - Object.defineProperty(n, "__esModule", { value: !0 }), n.NFTTokenStandard = n.AuctionManagerEntryPoint = n.CasperNetworkName = void 0, (a = n.CasperNetworkName || (n.CasperNetworkName = {})).Mainnet = "casper", a.Testnet = "casper-test", a.Integration = "integration-test", a.DevNet = "dev-net", (r = n.AuctionManagerEntryPoint || (n.AuctionManagerEntryPoint = {})).delegate = "delegate", r.undelegate = "undelegate", r.redelegate = "redelegate", r.addBid = "add_bid", r.withdrawBid = "withdraw_bid", r.activateBid = "activate_bid", (c = n.NFTTokenStandard || (n.NFTTokenStandard = {})).CEP47 = "CEP47", c.CEP78 = "CEP78"; - }, 471: (x, n) => { - var c; - Object.defineProperty(n, "__esModule", { value: !0 }), n.ErrorCode = void 0, (c = n.ErrorCode || (n.ErrorCode = {}))[c.NoSuchDeploy = -32e3] = "NoSuchDeploy", c[c.NoSuchBlock = -32001] = "NoSuchBlock", c[c.FailedToParseQueryKey = -32002] = "FailedToParseQueryKey", c[c.QueryFailed = -32003] = "QueryFailed", c[c.QueryFailedToExecute = -32004] = "QueryFailedToExecute", c[c.FailedToParseGetBalanceURef = -32005] = "FailedToParseGetBalanceURef", c[c.FailedToGetBalance = -32006] = "FailedToGetBalance", c[c.GetBalanceFailedToExecute = -32007] = "GetBalanceFailedToExecute", c[c.InvalidDeploy = -32008] = "InvalidDeploy", c[c.NoSuchAccount = -32009] = "NoSuchAccount", c[c.FailedToGetDictionaryURef = -32010] = "FailedToGetDictionaryURef", c[c.FailedToGetTrie = -32011] = "FailedToGetTrie", c[c.NoSuchStateRoot = -32012] = "NoSuchStateRoot", c[c.NoMainPurse = -32013] = "NoMainPurse", c[c.NoSuchTransaction = -32014] = "NoSuchTransaction", c[c.VariantMismatch = -32015] = "VariantMismatch", c[c.InvalidTransaction = -32016] = "InvalidTransaction", c[c.InvalidBlock = -32017] = "InvalidBlock", c[c.NodeRequestFailed = -32018] = "NodeRequestFailed", c[c.FunctionIsDisabled = -32019] = "FunctionIsDisabled", c[c.NoSuchAddressableEntity = -32020] = "NoSuchAddressableEntity", c[c.AccountMigratedToEntity = -32021] = "AccountMigratedToEntity", c[c.NoRewardsFound = -32022] = "NoRewardsFound", c[c.SwitchBlockNotFound = -32023] = "SwitchBlockNotFound", c[c.SwitchBlockParentNotFound = -32024] = "SwitchBlockParentNotFound", c[c.UnsupportedRewardsV1Request = -32025] = "UnsupportedRewardsV1Request", c[c.PurseNotFound = -32026] = "PurseNotFound"; - }, 7909: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + }, 872(g, n) { + var s, r, o; + Object.defineProperty(n, "__esModule", { value: !0 }), n.NFTTokenStandard = n.AuctionManagerEntryPoint = n.CasperNetworkName = void 0, (o = n.CasperNetworkName || (n.CasperNetworkName = {})).Mainnet = "casper", o.Testnet = "casper-test", o.Integration = "integration-test", o.DevNet = "dev-net", (r = n.AuctionManagerEntryPoint || (n.AuctionManagerEntryPoint = {})).delegate = "delegate", r.undelegate = "undelegate", r.redelegate = "redelegate", r.addBid = "add_bid", r.withdrawBid = "withdraw_bid", r.activateBid = "activate_bid", (s = n.NFTTokenStandard || (n.NFTTokenStandard = {})).CEP47 = "CEP47", s.CEP78 = "CEP78", s.CEP95 = "CEP95"; + }, 471(g, n) { + var s; + Object.defineProperty(n, "__esModule", { value: !0 }), n.ErrorCode = void 0, (s = n.ErrorCode || (n.ErrorCode = {}))[s.NoSuchDeploy = -32e3] = "NoSuchDeploy", s[s.NoSuchBlock = -32001] = "NoSuchBlock", s[s.FailedToParseQueryKey = -32002] = "FailedToParseQueryKey", s[s.QueryFailed = -32003] = "QueryFailed", s[s.QueryFailedToExecute = -32004] = "QueryFailedToExecute", s[s.FailedToParseGetBalanceURef = -32005] = "FailedToParseGetBalanceURef", s[s.FailedToGetBalance = -32006] = "FailedToGetBalance", s[s.GetBalanceFailedToExecute = -32007] = "GetBalanceFailedToExecute", s[s.InvalidDeploy = -32008] = "InvalidDeploy", s[s.NoSuchAccount = -32009] = "NoSuchAccount", s[s.FailedToGetDictionaryURef = -32010] = "FailedToGetDictionaryURef", s[s.FailedToGetTrie = -32011] = "FailedToGetTrie", s[s.NoSuchStateRoot = -32012] = "NoSuchStateRoot", s[s.NoMainPurse = -32013] = "NoMainPurse", s[s.NoSuchTransaction = -32014] = "NoSuchTransaction", s[s.VariantMismatch = -32015] = "VariantMismatch", s[s.InvalidTransaction = -32016] = "InvalidTransaction", s[s.InvalidBlock = -32017] = "InvalidBlock", s[s.NodeRequestFailed = -32018] = "NodeRequestFailed", s[s.FunctionIsDisabled = -32019] = "FunctionIsDisabled", s[s.NoSuchAddressableEntity = -32020] = "NoSuchAddressableEntity", s[s.AccountMigratedToEntity = -32021] = "AccountMigratedToEntity", s[s.NoRewardsFound = -32022] = "NoRewardsFound", s[s.SwitchBlockNotFound = -32023] = "SwitchBlockNotFound", s[s.SwitchBlockParentNotFound = -32024] = "SwitchBlockParentNotFound", s[s.UnsupportedRewardsV1Request = -32025] = "UnsupportedRewardsV1Request", s[s.PurseNotFound = -32026] = "PurseNotFound"; + }, 7909(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(872), n), a(c(471), n); - }, 887: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(872), n), o(s(471), n); + }, 887(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(7545), n), a(c(8855), n), a(c(7941), n), a(c(8389), n), a(c(7909), n); - }, 848: (x, n) => { + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(7545), n), o(s(8855), n), o(s(7941), n), o(s(8389), n), o(s(7909), n); + }, 848(g, n) { Object.defineProperty(n, "__esModule", { value: !0 }); - }, 7021: function(x, n, c) { - var r, a = this && this.__extends || (r = function(y, u) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, l) { - d.__proto__ = l; - } || function(d, l) { - for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (d[s] = l[s]); - }, r(y, u); - }, function(y, u) { - if (typeof u != "function" && u !== null) throw new TypeError("Class extends value " + String(u) + " is not a constructor or null"); - function d() { - this.constructor = y; - } - r(y, u), y.prototype = u === null ? Object.create(u) : (d.prototype = u.prototype, new d()); - }), i = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, m = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + }, 7021(g, n, s) { + var r, o = this && this.__extends || (r = function(w, m) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(v, l) { + v.__proto__ = l; + } || function(v, l) { + for (var u in l) Object.prototype.hasOwnProperty.call(l, u) && (v[u] = l[u]); + }, r(w, m); + }, function(w, m) { + if (typeof m != "function" && m !== null) throw new TypeError("Class extends value " + String(m) + " is not a constructor or null"); + function v() { + this.constructor = w; + } + r(w, m), w.prototype = m === null ? Object.create(m) : (v.prototype = m.prototype, new v()); + }), i = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, p = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.HttpError = n.RpcError = void 0; - var t = c(9592), f = function(y) { - function u(d, l, s) { - d === void 0 && (d = 0), l === void 0 && (l = ""); - var v = y.call(this, l) || this; - return v.code = d, v.data = s, v; + var a = s(9592), f = function(w) { + function m(v, l, u) { + v === void 0 && (v = 0), l === void 0 && (l = ""); + var y = w.call(this, l) || this; + return y.code = v, y.data = u, y; } - return a(u, y), u.prototype.toString = function() { + return o(m, w), m.prototype.toString = function() { return "key: ".concat(this.message, ", data: ").concat(JSON.stringify(this.data)); - }, i([(0, t.jsonMember)({ constructor: Number }), m("design:type", Number)], u.prototype, "code", void 0), i([(0, t.jsonMember)({ isRequired: !1, constructor: t.AnyT }), m("design:type", Object)], u.prototype, "data", void 0), i([t.jsonObject, m("design:paramtypes", [Object, Object, Object])], u); + }, i([(0, a.jsonMember)({ constructor: Number }), p("design:type", Number)], m.prototype, "code", void 0), i([(0, a.jsonMember)({ isRequired: !1, constructor: a.AnyT }), p("design:type", Object)], m.prototype, "data", void 0), i([a.jsonObject, p("design:paramtypes", [Object, Object, Object])], m); }(Error); n.RpcError = f; - var b = function(y) { - function u(d, l) { - d === void 0 && (d = 0); - var s = y.call(this, "Code: ".concat(d, ", err: ").concat(l.message)) || this; - return s.sourceErr = l, s.statusCode = d, s; + var C = function(w) { + function m(v, l) { + v === void 0 && (v = 0); + var u = w.call(this, "Code: ".concat(v, ", err: ").concat(l.message)) || this; + return u.sourceErr = l, u.statusCode = v, u; } - return a(u, y), u.prototype.unwrap = function() { + return o(m, w), m.prototype.unwrap = function() { return this.sourceErr; - }, u.prototype.isNotFound = function() { + }, m.prototype.isNotFound = function() { return this.statusCode === 404; - }, u.isHttpError = function(d) { - return !!(d?.statusCode && d?.sourceErr); - }, i([(0, t.jsonMember)({ constructor: Error }), m("design:type", Object)], u.prototype, "sourceErr", void 0), i([(0, t.jsonMember)({ constructor: Number }), m("design:type", Number)], u.prototype, "statusCode", void 0), i([t.jsonObject, m("design:paramtypes", [Object, Object])], u); + }, m.isHttpError = function(v) { + return !!(v?.statusCode && v?.sourceErr); + }, i([(0, a.jsonMember)({ constructor: Error }), p("design:type", Object)], m.prototype, "sourceErr", void 0), i([(0, a.jsonMember)({ constructor: Number }), p("design:type", Number)], m.prototype, "statusCode", void 0), i([a.jsonObject, p("design:paramtypes", [Object, Object])], m); }(Error); - n.HttpError = b; - }, 440: function(x, n, c) { + n.HttpError = C; + }, 440(g, n, s) { var r = this && this.__assign || function() { - return r = Object.assign || function(d) { - for (var l, s = 1, v = arguments.length; s < v; s++) for (var p in l = arguments[s]) Object.prototype.hasOwnProperty.call(l, p) && (d[p] = l[p]); - return d; + return r = Object.assign || function(v) { + for (var l, u = 1, y = arguments.length; u < y; u++) for (var d in l = arguments[u]) Object.prototype.hasOwnProperty.call(l, d) && (v[d] = l[d]); + return v; }, r.apply(this, arguments); - }, a = this && this.__awaiter || function(d, l, s, v) { - return new (s || (s = Promise))(function(p, h) { - function O(R) { + }, o = this && this.__awaiter || function(v, l, u, y) { + return new (u || (u = Promise))(function(d, b) { + function _(O) { try { - k(v.next(R)); - } catch (L) { - h(L); + B(y.next(O)); + } catch (I) { + b(I); } } - function I(R) { + function E(O) { try { - k(v.throw(R)); - } catch (L) { - h(L); + B(y.throw(O)); + } catch (I) { + b(I); } } - function k(R) { - var L; - R.done ? p(R.value) : (L = R.value, L instanceof s ? L : new s(function(N) { - N(L); - })).then(O, I); + function B(O) { + var I; + O.done ? d(O.value) : (I = O.value, I instanceof u ? I : new u(function(x) { + x(I); + })).then(_, E); } - k((v = v.apply(d, l || [])).next()); + B((y = y.apply(v, l || [])).next()); }); - }, i = this && this.__generator || function(d, l) { - var s, v, p, h, O = { label: 0, sent: function() { - if (1 & p[0]) throw p[1]; - return p[1]; + }, i = this && this.__generator || function(v, l) { + var u, y, d, b, _ = { label: 0, sent: function() { + if (1 & d[0]) throw d[1]; + return d[1]; }, trys: [], ops: [] }; - return h = { next: I(0), throw: I(1), return: I(2) }, typeof Symbol == "function" && (h[Symbol.iterator] = function() { + return b = { next: E(0), throw: E(1), return: E(2) }, typeof Symbol == "function" && (b[Symbol.iterator] = function() { return this; - }), h; - function I(k) { - return function(R) { - return function(L) { - if (s) throw new TypeError("Generator is already executing."); - for (; h && (h = 0, L[0] && (O = 0)), O; ) try { - if (s = 1, v && (p = 2 & L[0] ? v.return : L[0] ? v.throw || ((p = v.return) && p.call(v), 0) : v.next) && !(p = p.call(v, L[1])).done) return p; - switch (v = 0, p && (L = [2 & L[0], p.value]), L[0]) { + }), b; + function E(B) { + return function(O) { + return function(I) { + if (u) throw new TypeError("Generator is already executing."); + for (; b && (b = 0, I[0] && (_ = 0)), _; ) try { + if (u = 1, y && (d = 2 & I[0] ? y.return : I[0] ? y.throw || ((d = y.return) && d.call(y), 0) : y.next) && !(d = d.call(y, I[1])).done) return d; + switch (y = 0, d && (I = [2 & I[0], d.value]), I[0]) { case 0: case 1: - p = L; + d = I; break; case 4: - return O.label++, { value: L[1], done: !1 }; + return _.label++, { value: I[1], done: !1 }; case 5: - O.label++, v = L[1], L = [0]; + _.label++, y = I[1], I = [0]; continue; case 7: - L = O.ops.pop(), O.trys.pop(); + I = _.ops.pop(), _.trys.pop(); continue; default: - if (!((p = (p = O.trys).length > 0 && p[p.length - 1]) || L[0] !== 6 && L[0] !== 2)) { - O = 0; + if (!((d = (d = _.trys).length > 0 && d[d.length - 1]) || I[0] !== 6 && I[0] !== 2)) { + _ = 0; continue; } - if (L[0] === 3 && (!p || L[1] > p[0] && L[1] < p[3])) { - O.label = L[1]; + if (I[0] === 3 && (!d || I[1] > d[0] && I[1] < d[3])) { + _.label = I[1]; break; } - if (L[0] === 6 && O.label < p[1]) { - O.label = p[1], p = L; + if (I[0] === 6 && _.label < d[1]) { + _.label = d[1], d = I; break; } - if (p && O.label < p[2]) { - O.label = p[2], O.ops.push(L); + if (d && _.label < d[2]) { + _.label = d[2], _.ops.push(I); break; } - p[2] && O.ops.pop(), O.trys.pop(); + d[2] && _.ops.pop(), _.trys.pop(); continue; } - L = l.call(d, O); - } catch (N) { - L = [6, N], v = 0; + I = l.call(v, _); + } catch (x) { + I = [6, x], y = 0; } finally { - s = p = 0; + u = d = 0; } - if (5 & L[0]) throw L[1]; - return { value: L[0] ? L[1] : void 0, done: !0 }; - }([k, R]); + if (5 & I[0]) throw I[1]; + return { value: I[0] ? I[1] : void 0, done: !0 }; + }([B, O]); }; } - }, m = this && this.__importDefault || function(d) { - return d && d.__esModule ? d : { default: d }; + }, p = this && this.__importDefault || function(v) { + return v && v.__esModule ? v : { default: v }; }; Object.defineProperty(n, "__esModule", { value: !0 }), n.HttpHandler = n.ErrRpcResponseUnmarshal = n.ErrReadHttpResponseBody = n.ErrProcessHttpRequest = n.ErrParamsJsonStringifyHandler = void 0; - var t = c(9592), f = m(c(6425)), b = c(7021), y = c(5409); + var a = s(9592), f = p(s(6425)), C = s(7021), w = s(5409); n.ErrParamsJsonStringifyHandler = new Error("failed to stringify json rpc request's params"), n.ErrProcessHttpRequest = new Error("failed to send http request"), n.ErrReadHttpResponseBody = new Error("failed to read http response body"), n.ErrRpcResponseUnmarshal = new Error("failed to unmarshal rpc response"); - var u = function() { - function d(l, s) { - s === void 0 && (s = "axios"), this.customHeaders = {}, this.endpoint = l, this.client = s, s === "axios" && (this.httpClient = f.default.create()); + var m = function() { + function v(l, u) { + u === void 0 && (u = "axios"), this.customHeaders = {}, this.endpoint = l, this.client = u, u === "axios" && (this.httpClient = f.default.create({ adapter: "fetch" })); } - return d.prototype.setCustomHeaders = function(l) { + return v.prototype.setCustomHeaders = function(l) { this.customHeaders = l; - }, d.prototype.setReferrer = function(l) { + }, v.prototype.setReferrer = function(l) { this.referrer = l; - }, d.prototype.processCall = function(l) { - return a(this, void 0, void 0, function() { - var s, v; - return i(this, function(p) { - s = new t.TypedJSON(y.RpcRequest); + }, v.prototype.processCall = function(l) { + return o(this, void 0, void 0, function() { + var u, y; + return i(this, function(d) { + u = new a.TypedJSON(w.RpcRequest); try { - v = s.stringify(l); - } catch (h) { - throw new Error("".concat(n.ErrParamsJsonStringifyHandler.message, ", details: ").concat(h.message)); + y = u.stringify(l); + } catch (b) { + throw new Error("".concat(n.ErrParamsJsonStringifyHandler.message, ", details: ").concat(b.message)); } - return this.client === "axios" ? [2, this.processAxiosRequest(v)] : [2, this.processFetchRequest(v)]; + return this.client === "axios" ? [2, this.processAxiosRequest(y)] : [2, this.processFetchRequest(y)]; }); }); - }, d.prototype.processAxiosRequest = function(l) { - return a(this, void 0, void 0, function() { - var s, v, p; - return i(this, function(h) { - switch (h.label) { + }, v.prototype.processAxiosRequest = function(l) { + return o(this, void 0, void 0, function() { + var u, y, d; + return i(this, function(b) { + switch (b.label) { case 0: - s = { method: "POST", url: this.endpoint, headers: r({ "Content-Type": "application/json" }, this.customHeaders), data: l }, h.label = 1; + u = { method: "POST", url: this.endpoint, headers: r({ "Content-Type": "application/json" }, this.customHeaders), data: l }, b.label = 1; case 1: - return h.trys.push([1, 3, , 4]), [4, this.httpClient.request(s)]; + return b.trys.push([1, 3, , 4]), [4, this.httpClient.request(u)]; case 2: - if ((v = h.sent()).status < 200 || v.status >= 300) throw new b.HttpError(v.status, new Error(v.statusText)); - return [2, v.data]; + if ((y = b.sent()).status < 200 || y.status >= 300) throw new C.HttpError(y.status, new Error(y.statusText)); + return [2, y.data]; case 3: - throw p = h.sent(), f.default.isAxiosError(p) && p.response ? new b.HttpError(p.response.status, new Error(p.response.statusText)) : new Error("".concat(n.ErrProcessHttpRequest.message, ", details: ").concat(p.message)); + throw d = b.sent(), f.default.isAxiosError(d) && d.response ? new C.HttpError(d.response.status, new Error(d.response.statusText)) : new Error("".concat(n.ErrProcessHttpRequest.message, ", details: ").concat(d.message)); case 4: return [2]; } }); }); - }, d.prototype.processFetchRequest = function(l) { - return a(this, void 0, void 0, function() { - var s, v; - return i(this, function(p) { - switch (p.label) { + }, v.prototype.processFetchRequest = function(l) { + return o(this, void 0, void 0, function() { + var u, y; + return i(this, function(d) { + switch (d.label) { case 0: - return p.trys.push([0, 2, , 3]), [4, fetch(this.endpoint, r(r({ method: "POST" }, this.referrer ? { referrer: this.referrer } : {}), { headers: r({ "Content-Type": "application/json" }, this.customHeaders), body: l }))]; + return d.trys.push([0, 2, , 3]), [4, fetch(this.endpoint, r(r({ method: "POST" }, this.referrer ? { referrer: this.referrer } : {}), { headers: r({ "Content-Type": "application/json" }, this.customHeaders), body: l }))]; case 1: - if ((s = p.sent()).status < 200 || s.status >= 300) throw new b.HttpError(s.status, new Error(s.statusText)); - return [2, s.json()]; + return u = d.sent(), [3, 3]; case 2: - throw v = p.sent(), new Error("".concat(n.ErrProcessHttpRequest.message, ", details: ").concat(v.message)); + throw y = d.sent(), new Error("".concat(n.ErrProcessHttpRequest.message, ", details: ").concat(y.message)); case 3: - return [2]; + if (u.status < 200 || u.status >= 300) throw new C.HttpError(u.status, new Error(u.statusText)); + return [2, u.json()]; } }); }); - }, d; + }, v; }(); - n.HttpHandler = u; - }, 8608: function(x, n, c) { - var r = this && this.__decorate || function(t, f, b, y) { - var u, d = arguments.length, l = d < 3 ? f : y === null ? y = Object.getOwnPropertyDescriptor(f, b) : y; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, f, b, y); - else for (var s = t.length - 1; s >= 0; s--) (u = t[s]) && (l = (d < 3 ? u(l) : d > 3 ? u(f, b, l) : u(f, b)) || l); - return d > 3 && l && Object.defineProperty(f, b, l), l; - }, a = this && this.__metadata || function(t, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(t, f); + n.HttpHandler = m; + }, 8608(g, n, s) { + var r = this && this.__decorate || function(a, f, C, w) { + var m, v = arguments.length, l = v < 3 ? f : w === null ? w = Object.getOwnPropertyDescriptor(f, C) : w; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(a, f, C, w); + else for (var u = a.length - 1; u >= 0; u--) (m = a[u]) && (l = (v < 3 ? m(l) : v > 3 ? m(f, C, l) : m(f, C)) || l); + return v > 3 && l && Object.defineProperty(f, C, l), l; + }, o = this && this.__metadata || function(a, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(a, f); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.IDValue = void 0; - var i = c(9592), m = function() { - function t(b) { - this.intValue = null, this.strValue = null, typeof b == "number" ? (this.intValue = b, this.isIntValue = !0) : (this.strValue = b, this.isIntValue = !1); + var i = s(9592), p = function() { + function a(C) { + this.intValue = null, this.strValue = null, typeof C == "number" ? (this.intValue = C, this.isIntValue = !0) : (this.strValue = C, this.isIntValue = !1); } var f; - return f = t, t.fromString = function(b) { - return new f(b); - }, t.fromInt = function(b) { - return new f(b); - }, t.prototype.toString = function() { + return f = a, a.fromString = function(C) { + return new f(C); + }, a.fromInt = function(C) { + return new f(C); + }, a.prototype.toString = function() { return this.isIntValue && this.intValue !== null ? this.intValue.toString() : this.strValue || ""; - }, t.prototype.toInt = function() { + }, a.prototype.toInt = function() { if (this.isIntValue && this.intValue !== null) return this.intValue; - var b = parseInt(this.strValue || "0", 10); - return isNaN(b) ? 0 : b; - }, t.prototype.toJSON = function() { + var C = parseInt(this.strValue || "0", 10); + return isNaN(C) ? 0 : C; + }, a.prototype.toJSON = function() { return this.toString(); - }, t.fromJSON = function(b) { - if (typeof b == "number") return f.fromInt(b); - if (typeof b == "string") return f.fromString(b); + }, a.fromJSON = function(C) { + if (typeof C == "number") return f.fromInt(C); + if (typeof C == "string") return f.fromString(C); throw new Error("IDValue should be an int or string"); - }, r([(0, i.jsonMember)({ constructor: Number, isRequired: !1, preserveNull: !0 }), a("design:type", Object)], t.prototype, "intValue", void 0), r([(0, i.jsonMember)({ constructor: String, isRequired: !1, preserveNull: !0 }), a("design:type", Object)], t.prototype, "strValue", void 0), r([(0, i.jsonMember)({ constructor: Boolean }), a("design:type", Boolean)], t.prototype, "isIntValue", void 0), f = r([i.jsonObject, a("design:paramtypes", [Object])], t); - }(); - n.IDValue = m; - }, 8855: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + }, r([(0, i.jsonMember)({ constructor: Number, isRequired: !1, preserveNull: !0 }), o("design:type", Object)], a.prototype, "intValue", void 0), r([(0, i.jsonMember)({ constructor: String, isRequired: !1, preserveNull: !0 }), o("design:type", Object)], a.prototype, "strValue", void 0), r([(0, i.jsonMember)({ constructor: Boolean }), o("design:type", Boolean)], a.prototype, "isIntValue", void 0), f = r([i.jsonObject, o("design:paramtypes", [Object])], a); + }(); + n.IDValue = p; + }, 8855(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(848), n), a(c(7021), n), a(c(440), n), a(c(8608), n), a(c(5409), n), a(c(1412), n), a(c(4176), n), a(c(5060), n); - }, 5409: function(x, n, c) { - var r = this && this.__decorate || function(D, z, J, G) { - var Q, ee = arguments.length, Z = ee < 3 ? z : G === null ? G = Object.getOwnPropertyDescriptor(z, J) : G; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") Z = Reflect.decorate(D, z, J, G); - else for (var q = D.length - 1; q >= 0; q--) (Q = D[q]) && (Z = (ee < 3 ? Q(Z) : ee > 3 ? Q(z, J, Z) : Q(z, J)) || Z); - return ee > 3 && Z && Object.defineProperty(z, J, Z), Z; - }, a = this && this.__metadata || function(D, z) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(D, z); + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(848), n), o(s(7021), n), o(s(440), n), o(s(8608), n), o(s(5409), n), o(s(1412), n), o(s(4176), n), o(s(5060), n); + }, 5409(g, n, s) { + var r = this && this.__decorate || function(V, U, F, Q) { + var ne, te = arguments.length, X = te < 3 ? U : Q === null ? Q = Object.getOwnPropertyDescriptor(U, F) : Q; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") X = Reflect.decorate(V, U, F, Q); + else for (var Z = V.length - 1; Z >= 0; Z--) (ne = V[Z]) && (X = (te < 3 ? ne(X) : te > 3 ? ne(U, F, X) : ne(U, F)) || X); + return te > 3 && X && Object.defineProperty(U, F, X), X; + }, o = this && this.__metadata || function(V, U) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(V, U); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.StateGetDictionaryRequest = n.StateGetBalanceRequest = n.InfoGetRewardRequest = n.QueryBalanceDetailsRequest = n.QueryBalanceRequest = n.PurseIdentifier = n.SpeculativeExecParams = n.ParamDictionaryIdentifier = n.ParamDictionaryIdentifierContractNamedKey = n.AccountNamedKey = n.ParamDictionaryIdentifierURef = n.EraIdentifier = n.GlobalStateIdentifier = n.PutTransactionRequest = n.PutDeployRequest = n.AccountIdentifier = n.ParamGetStateEntity = n.EntityIdentifier = n.ParamGetAccountInfoBalance = n.ParamBlockIdentifier = n.ParamDeployHash = n.ParamTransactionHash = n.ParamQueryGlobalState = n.ParamQueryGlobalStateID = n.BlockIdentifier = n.ParamStateRootHash = n.RpcRequest = n.Method = n.ApiVersion = void 0; - var i, m = c(9592), t = c(8608), f = c(7545); + var i, p = s(9592), a = s(8608), f = s(7545); n.ApiVersion = "2.0", (i = n.Method || (n.Method = {})).GetDeploy = "info_get_deploy", i.GetTransaction = "info_get_transaction", i.GetStateItem = "state_get_item", i.QueryGlobalState = "query_global_state", i.GetDictionaryItem = "state_get_dictionary_item", i.GetStateBalance = "state_get_balance", i.GetStateAccount = "state_get_account_info", i.GetStateEntity = "state_get_entity", i.GetEraInfo = "chain_get_era_info_by_switch_block", i.GetBlock = "chain_get_block", i.GetBlockTransfers = "chain_get_block_transfers", i.GetEraSummary = "chain_get_era_summary", i.GetAuctionInfo = "state_get_auction_info", i.GetAuctionInfoV2 = "state_get_auction_info_v2", i.GetValidatorChanges = "info_get_validator_changes", i.GetStateRootHash = "chain_get_state_root_hash", i.GetStatus = "info_get_status", i.GetReward = "info_get_reward", i.GetPeers = "info_get_peers", i.PutDeploy = "account_put_deploy", i.PutTransaction = "account_put_transaction", i.SpeculativeExec = "speculative_exec", i.QueryBalance = "query_balance", i.QueryBalanceDetails = "query_balance_details", i.InfoGetChainspec = "info_get_chainspec"; - var b = function() { - function D(J, G, Q, ee) { - this.version = J, this.method = G, this.params = Q, this.id = ee; - } - var z; - return z = D, D.defaultRpcRequest = function(J, G) { - return new z(n.ApiVersion, J, G, t.IDValue.fromString("1")); - }, r([(0, m.jsonMember)({ constructor: String, name: "jsonrpc" }), a("design:type", String)], D.prototype, "version", void 0), r([(0, m.jsonMember)({ constructor: t.IDValue, isRequired: !1, deserializer: function(J) { - return t.IDValue.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", t.IDValue)], D.prototype, "id", void 0), r([(0, m.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "method", void 0), r([(0, m.jsonMember)({ constructor: m.AnyT }), a("design:type", Object)], D.prototype, "params", void 0), z = r([m.jsonObject, a("design:paramtypes", [String, String, Object, t.IDValue])], D); - }(); - n.RpcRequest = b; - var y = function() { - function D(z, J, G) { - this.stateRootHash = z, this.key = J, this.path = G; + var C = function() { + function V(F, Q, ne, te) { + this.version = F, this.method = Q, this.params = ne, this.id = te; + } + var U; + return U = V, V.defaultRpcRequest = function(F, Q) { + return new U(n.ApiVersion, F, Q, a.IDValue.fromString("1")); + }, r([(0, p.jsonMember)({ constructor: String, name: "jsonrpc" }), o("design:type", String)], V.prototype, "version", void 0), r([(0, p.jsonMember)({ constructor: a.IDValue, isRequired: !1, deserializer: function(F) { + return a.IDValue.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", a.IDValue)], V.prototype, "id", void 0), r([(0, p.jsonMember)({ constructor: String }), o("design:type", String)], V.prototype, "method", void 0), r([(0, p.jsonMember)({ constructor: p.AnyT }), o("design:type", Object)], V.prototype, "params", void 0), U = r([p.jsonObject, o("design:paramtypes", [String, String, Object, a.IDValue])], V); + }(); + n.RpcRequest = C; + var w = function() { + function V(U, F, Q) { + this.stateRootHash = U, this.key = F, this.path = Q; } - return r([(0, m.jsonMember)({ constructor: String, name: "state_root_hash" }), a("design:type", String)], D.prototype, "stateRootHash", void 0), r([(0, m.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), r([(0, m.jsonArrayMember)(String), a("design:type", Array)], D.prototype, "path", void 0), r([m.jsonObject, a("design:paramtypes", [String, String, Array])], D); + return r([(0, p.jsonMember)({ constructor: String, name: "state_root_hash" }), o("design:type", String)], V.prototype, "stateRootHash", void 0), r([(0, p.jsonMember)({ constructor: String }), o("design:type", String)], V.prototype, "key", void 0), r([(0, p.jsonArrayMember)(String), o("design:type", Array)], V.prototype, "path", void 0), r([p.jsonObject, o("design:paramtypes", [String, String, Array])], V); }(); - n.ParamStateRootHash = y; - var u = function() { - function D(z, J) { - this.hash = z, this.height = J; + n.ParamStateRootHash = w; + var m = function() { + function V(U, F) { + this.hash = U, this.height = F; } - return r([(0, m.jsonMember)({ isRequired: !1, constructor: String, name: "Hash" }), a("design:type", String)], D.prototype, "hash", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: Number, name: "Height" }), a("design:type", Number)], D.prototype, "height", void 0), r([m.jsonObject, a("design:paramtypes", [String, Number])], D); + return r([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "Hash" }), o("design:type", String)], V.prototype, "hash", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "Height" }), o("design:type", Number)], V.prototype, "height", void 0), r([p.jsonObject, o("design:paramtypes", [String, Number])], V); }(); - n.BlockIdentifier = u; - var d = function() { - function D(z, J, G) { - this.stateRootHash = z, this.blockHash = J, this.blockHeight = G; + n.BlockIdentifier = m; + var v = function() { + function V(U, F, Q) { + this.stateRootHash = U, this.blockHash = F, this.blockHeight = Q; } - return r([(0, m.jsonMember)({ isRequired: !1, constructor: String, name: "StateRootHash" }), a("design:type", String)], D.prototype, "stateRootHash", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: String, name: "BlockHash" }), a("design:type", String)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: Number, name: "BlockHeight" }), a("design:type", Number)], D.prototype, "blockHeight", void 0), r([m.jsonObject, a("design:paramtypes", [String, String, Number])], D); + return r([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "StateRootHash" }), o("design:type", String)], V.prototype, "stateRootHash", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "BlockHash" }), o("design:type", String)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "BlockHeight" }), o("design:type", Number)], V.prototype, "blockHeight", void 0), r([p.jsonObject, o("design:paramtypes", [String, String, Number])], V); }(); - n.ParamQueryGlobalStateID = d; + n.ParamQueryGlobalStateID = v; var l = function() { - function D(J, G, Q) { - this.stateIdentifier = J, this.key = G, this.path = Q; + function V(F, Q, ne) { + this.stateIdentifier = F, this.key = Q, this.path = ne; } - var z; - return z = D, D.newQueryGlobalStateParam = function(J, G, Q) { - return new z(Q, J, G); - }, r([(0, m.jsonMember)({ isRequired: !1, constructor: d, name: "state_identifier" }), a("design:type", d)], D.prototype, "stateIdentifier", void 0), r([(0, m.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), r([(0, m.jsonArrayMember)(String), a("design:type", Array)], D.prototype, "path", void 0), z = r([m.jsonObject, a("design:paramtypes", [Object, String, Array])], D); + var U; + return U = V, V.newQueryGlobalStateParam = function(F, Q, ne) { + return new U(ne, F, Q); + }, r([(0, p.jsonMember)({ isRequired: !1, constructor: v, name: "state_identifier" }), o("design:type", v)], V.prototype, "stateIdentifier", void 0), r([(0, p.jsonMember)({ constructor: String }), o("design:type", String)], V.prototype, "key", void 0), r([(0, p.jsonArrayMember)(String), o("design:type", Array)], V.prototype, "path", void 0), U = r([p.jsonObject, o("design:paramtypes", [Object, String, Array])], V); }(); n.ParamQueryGlobalState = l; - var s = function() { - function D(z, J) { - this.transactionHash = z, this.finalizedApprovals = J; + var u = function() { + function V(U, F) { + this.transactionHash = U, this.finalizedApprovals = F; } - return r([(0, m.jsonMember)({ constructor: f.TransactionHash, isRequired: !1, name: "transaction_hash" }), a("design:type", f.TransactionHash)], D.prototype, "transactionHash", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: Boolean, name: "finalized_approvals" }), a("design:type", Boolean)], D.prototype, "finalizedApprovals", void 0), r([m.jsonObject, a("design:paramtypes", [f.TransactionHash, Boolean])], D); + return r([(0, p.jsonMember)({ constructor: f.TransactionHash, isRequired: !1, name: "transaction_hash" }), o("design:type", f.TransactionHash)], V.prototype, "transactionHash", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: Boolean, name: "finalized_approvals" }), o("design:type", Boolean)], V.prototype, "finalizedApprovals", void 0), r([p.jsonObject, o("design:paramtypes", [f.TransactionHash, Boolean])], V); }(); - n.ParamTransactionHash = s; - var v = function() { - function D(z, J) { - this.deployHash = z, this.finalizedApprovals = J; + n.ParamTransactionHash = u; + var y = function() { + function V(U, F) { + this.deployHash = U, this.finalizedApprovals = F; } - return r([(0, m.jsonMember)({ name: "deploy_hash", constructor: String }), a("design:type", String)], D.prototype, "deployHash", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: Boolean, name: "finalized_approvals" }), a("design:type", Boolean)], D.prototype, "finalizedApprovals", void 0), r([m.jsonObject, a("design:paramtypes", [String, Boolean])], D); + return r([(0, p.jsonMember)({ name: "deploy_hash", constructor: String }), o("design:type", String)], V.prototype, "deployHash", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: Boolean, name: "finalized_approvals" }), o("design:type", Boolean)], V.prototype, "finalizedApprovals", void 0), r([p.jsonObject, o("design:paramtypes", [String, Boolean])], V); }(); - n.ParamDeployHash = v; - var p = function() { - function D(J) { - this.blockIdentifier = J; - } - var z; - return z = D, D.byHeight = function(J) { - return new z(new u(void 0, J)); - }, D.byHash = function(J) { - return new z(new u(J)); - }, r([(0, m.jsonMember)({ isRequired: !1, constructor: u, name: "block_identifier" }), a("design:type", u)], D.prototype, "blockIdentifier", void 0), z = r([m.jsonObject, a("design:paramtypes", [u])], D); - }(); - n.ParamBlockIdentifier = p; - var h = function() { - function D(z, J) { - this.accountIdentifier = z, this.paramBlockIdentifier = J; - } - return D.prototype.toJSON = function() { - return Object.assign({ account_identifier: this.accountIdentifier }, this.paramBlockIdentifier ? new m.TypedJSON(p).toPlainJson(this.paramBlockIdentifier) : {}); - }, r([(0, m.jsonMember)({ constructor: String, name: "account_identifier" }), a("design:type", String)], D.prototype, "accountIdentifier", void 0), r([(0, m.jsonMember)({ constructor: p }), a("design:type", p)], D.prototype, "paramBlockIdentifier", void 0), r([m.jsonObject, a("design:paramtypes", [String, p])], D); - }(); - n.ParamGetAccountInfoBalance = h; + n.ParamDeployHash = y; + var d = function() { + function V(F) { + this.blockIdentifier = F; + } + var U; + return U = V, V.byHeight = function(F) { + return new U(new m(void 0, F)); + }, V.byHash = function(F) { + return new U(new m(F)); + }, r([(0, p.jsonMember)({ isRequired: !1, constructor: m, name: "block_identifier" }), o("design:type", m)], V.prototype, "blockIdentifier", void 0), U = r([p.jsonObject, o("design:paramtypes", [m])], V); + }(); + n.ParamBlockIdentifier = d; + var b = function() { + function V(U, F) { + this.accountIdentifier = U, this.paramBlockIdentifier = F; + } + return V.prototype.toJSON = function() { + return Object.assign({ account_identifier: this.accountIdentifier }, this.paramBlockIdentifier ? new p.TypedJSON(d).toPlainJson(this.paramBlockIdentifier) : {}); + }, r([(0, p.jsonMember)({ constructor: String, name: "account_identifier" }), o("design:type", String)], V.prototype, "accountIdentifier", void 0), r([(0, p.jsonMember)({ constructor: d }), o("design:type", d)], V.prototype, "paramBlockIdentifier", void 0), r([p.jsonObject, o("design:paramtypes", [String, d])], V); + }(); + n.ParamGetAccountInfoBalance = b; + var _ = function() { + function V(F, Q, ne) { + this.accountHash = F, this.publicKey = Q, this.entityAddr = ne; + } + var U; + return U = V, V.fromAccountHash = function(F) { + return new U(F); + }, V.fromPublicKey = function(F) { + return new U(void 0, F); + }, V.fromEntityAddr = function(F) { + return new U(void 0, void 0, F); + }, r([(0, p.jsonMember)({ constructor: f.AccountHash, name: "AccountHash", isRequired: !1, deserializer: function(F) { + if (F) return f.AccountHash.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", f.AccountHash)], V.prototype, "accountHash", void 0), r([(0, p.jsonMember)({ constructor: f.PublicKey, name: "PublicKey", isRequired: !1, deserializer: function(F) { + if (F) return f.PublicKey.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", f.PublicKey)], V.prototype, "publicKey", void 0), r([(0, p.jsonMember)({ constructor: f.EntityAddr, name: "EntityAddr", isRequired: !1, deserializer: function(F) { + if (F) return f.EntityAddr.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", f.EntityAddr)], V.prototype, "entityAddr", void 0), U = r([p.jsonObject, o("design:paramtypes", [f.AccountHash, f.PublicKey, f.EntityAddr])], V); + }(); + n.EntityIdentifier = _; + var E = function() { + function V(U, F) { + this.entityIdentifier = U, this.blockIdentifier = F; + } + return r([(0, p.jsonMember)({ constructor: _, name: "entity_identifier" }), o("design:type", _)], V.prototype, "entityIdentifier", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: m, name: "block_identifier" }), o("design:type", m)], V.prototype, "blockIdentifier", void 0), r([p.jsonObject, o("design:paramtypes", [_, m])], V); + }(); + n.ParamGetStateEntity = E; + var B = function() { + function V(U, F) { + this.accountHash = U, this.publicKey = F; + } + return r([(0, p.jsonMember)({ constructor: f.AccountHash, isRequired: !1, deserializer: function(U) { + if (U) return f.AccountHash.fromJSON(U); + }, serializer: function(U) { + if (U) return U.toJSON(); + } }), o("design:type", f.AccountHash)], V.prototype, "accountHash", void 0), r([(0, p.jsonMember)({ constructor: f.PublicKey, isRequired: !1, deserializer: function(U) { + if (U) return f.PublicKey.fromJSON(U); + }, serializer: function(U) { + if (U) return U.toJSON(); + } }), o("design:type", f.PublicKey)], V.prototype, "publicKey", void 0), r([p.jsonObject, o("design:paramtypes", [f.AccountHash, f.PublicKey])], V); + }(); + n.AccountIdentifier = B; var O = function() { - function D(J, G, Q) { - this.accountHash = J, this.publicKey = G, this.entityAddr = Q; - } - var z; - return z = D, D.fromAccountHash = function(J) { - return new z(J); - }, D.fromPublicKey = function(J) { - return new z(void 0, J); - }, D.fromEntityAddr = function(J) { - return new z(void 0, void 0, J); - }, r([(0, m.jsonMember)({ constructor: f.AccountHash, name: "AccountHash", isRequired: !1, deserializer: function(J) { - if (J) return f.AccountHash.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", f.AccountHash)], D.prototype, "accountHash", void 0), r([(0, m.jsonMember)({ constructor: f.PublicKey, name: "PublicKey", isRequired: !1, deserializer: function(J) { - if (J) return f.PublicKey.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", f.PublicKey)], D.prototype, "publicKey", void 0), r([(0, m.jsonMember)({ constructor: f.EntityAddr, name: "EntityAddr", isRequired: !1, deserializer: function(J) { - if (J) return f.EntityAddr.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", f.EntityAddr)], D.prototype, "entityAddr", void 0), z = r([m.jsonObject, a("design:paramtypes", [f.AccountHash, f.PublicKey, f.EntityAddr])], D); - }(); - n.EntityIdentifier = O; - var I = function() { - function D(z, J) { - this.entityIdentifier = z, this.blockIdentifier = J; + function V(U) { + this.deploy = U; } - return r([(0, m.jsonMember)({ constructor: O, name: "entity_identifier" }), a("design:type", O)], D.prototype, "entityIdentifier", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: u, name: "block_identifier" }), a("design:type", u)], D.prototype, "blockIdentifier", void 0), r([m.jsonObject, a("design:paramtypes", [O, u])], D); + return r([(0, p.jsonMember)({ constructor: f.Deploy }), o("design:type", f.Deploy)], V.prototype, "deploy", void 0), r([p.jsonObject, o("design:paramtypes", [f.Deploy])], V); }(); - n.ParamGetStateEntity = I; - var k = function() { - function D(z, J) { - this.accountHash = z, this.publicKey = J; - } - return r([(0, m.jsonMember)({ constructor: f.AccountHash, isRequired: !1, deserializer: function(z) { - if (z) return f.AccountHash.fromJSON(z); - }, serializer: function(z) { - if (z) return z.toJSON(); - } }), a("design:type", f.AccountHash)], D.prototype, "accountHash", void 0), r([(0, m.jsonMember)({ constructor: f.PublicKey, isRequired: !1, deserializer: function(z) { - if (z) return f.PublicKey.fromJSON(z); - }, serializer: function(z) { - if (z) return z.toJSON(); - } }), a("design:type", f.PublicKey)], D.prototype, "publicKey", void 0), r([m.jsonObject, a("design:paramtypes", [f.AccountHash, f.PublicKey])], D); - }(); - n.AccountIdentifier = k; - var R = function() { - function D(z) { - this.deploy = z; + n.PutDeployRequest = O; + var I = function() { + function V(U) { + this.transaction = U; } - return r([(0, m.jsonMember)({ constructor: f.Deploy }), a("design:type", f.Deploy)], D.prototype, "deploy", void 0), r([m.jsonObject, a("design:paramtypes", [f.Deploy])], D); + return r([(0, p.jsonMember)({ constructor: f.TransactionWrapper, serializer: function(U) { + return f.TransactionWrapper.toJSON(U); + } }), o("design:type", f.TransactionWrapper)], V.prototype, "transaction", void 0), r([p.jsonObject, o("design:paramtypes", [f.TransactionWrapper])], V); }(); - n.PutDeployRequest = R; - var L = function() { - function D(z) { - this.transaction = z; + n.PutTransactionRequest = I; + var x = function() { + function V(U, F, Q) { + this.blockHash = U, this.blockHeight = F, this.stateRoot = Q; } - return r([(0, m.jsonMember)({ constructor: f.TransactionWrapper, serializer: function(z) { - return f.TransactionWrapper.toJSON(z); - } }), a("design:type", f.TransactionWrapper)], D.prototype, "transaction", void 0), r([m.jsonObject, a("design:paramtypes", [f.TransactionWrapper])], D); + return r([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "BlockHash" }), o("design:type", String)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "BlockHeight" }), o("design:type", Number)], V.prototype, "blockHeight", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "StateRootHash" }), o("design:type", String)], V.prototype, "stateRoot", void 0), r([p.jsonObject, o("design:paramtypes", [String, Number, String])], V); }(); - n.PutTransactionRequest = L; - var N = function() { - function D(z, J, G) { - this.blockHash = z, this.blockHeight = J, this.stateRoot = G; + n.GlobalStateIdentifier = x; + var A = function() { + function V(U, F) { + this.block = U, this.era = F; } - return r([(0, m.jsonMember)({ isRequired: !1, constructor: String, name: "BlockHash" }), a("design:type", String)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: Number, name: "BlockHeight" }), a("design:type", Number)], D.prototype, "blockHeight", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: String, name: "StateRootHash" }), a("design:type", String)], D.prototype, "stateRoot", void 0), r([m.jsonObject, a("design:paramtypes", [String, Number, String])], D); + return r([(0, p.jsonMember)({ isRequired: !1, constructor: m, name: "Block" }), o("design:type", m)], V.prototype, "block", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "Era" }), o("design:type", Number)], V.prototype, "era", void 0), r([p.jsonObject, o("design:paramtypes", [m, Number])], V); }(); - n.GlobalStateIdentifier = N; - var B = function() { - function D(z, J) { - this.block = z, this.era = J; + n.EraIdentifier = A; + var N = function() { + function V(U, F) { + this.dictionaryItemKey = U, this.seedUref = F; } - return r([(0, m.jsonMember)({ isRequired: !1, constructor: u, name: "Block" }), a("design:type", u)], D.prototype, "block", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: Number, name: "Era" }), a("design:type", Number)], D.prototype, "era", void 0), r([m.jsonObject, a("design:paramtypes", [u, Number])], D); + return r([(0, p.jsonMember)({ constructor: String, name: "dictionary_item_key" }), o("design:type", String)], V.prototype, "dictionaryItemKey", void 0), r([(0, p.jsonMember)({ constructor: String, name: "seed_uref" }), o("design:type", String)], V.prototype, "seedUref", void 0), r([p.jsonObject, o("design:paramtypes", [String, String])], V); }(); - n.EraIdentifier = B; - var H = function() { - function D(z, J) { - this.dictionaryItemKey = z, this.seedUref = J; + n.ParamDictionaryIdentifierURef = N; + var k = function() { + function V(U, F, Q) { + this.key = U, this.dictionaryName = F, this.dictionaryItemKey = Q; } - return r([(0, m.jsonMember)({ constructor: String, name: "dictionary_item_key" }), a("design:type", String)], D.prototype, "dictionaryItemKey", void 0), r([(0, m.jsonMember)({ constructor: String, name: "seed_uref" }), a("design:type", String)], D.prototype, "seedUref", void 0), r([m.jsonObject, a("design:paramtypes", [String, String])], D); + return r([(0, p.jsonMember)({ constructor: String }), o("design:type", String)], V.prototype, "key", void 0), r([(0, p.jsonMember)({ constructor: String, name: "dictionary_name" }), o("design:type", String)], V.prototype, "dictionaryName", void 0), r([(0, p.jsonMember)({ constructor: String, name: "dictionary_item_key" }), o("design:type", String)], V.prototype, "dictionaryItemKey", void 0), r([p.jsonObject, o("design:paramtypes", [String, String, String])], V); }(); - n.ParamDictionaryIdentifierURef = H; - var U = function() { - function D(z, J, G) { - this.key = z, this.dictionaryName = J, this.dictionaryItemKey = G; + n.AccountNamedKey = k; + var j = function() { + function V(U, F, Q) { + this.key = U, this.dictionaryName = F, this.dictionaryItemKey = Q; } - return r([(0, m.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), r([(0, m.jsonMember)({ constructor: String, name: "dictionary_name" }), a("design:type", String)], D.prototype, "dictionaryName", void 0), r([(0, m.jsonMember)({ constructor: String, name: "dictionary_item_key" }), a("design:type", String)], D.prototype, "dictionaryItemKey", void 0), r([m.jsonObject, a("design:paramtypes", [String, String, String])], D); + return r([(0, p.jsonMember)({ constructor: String }), o("design:type", String)], V.prototype, "key", void 0), r([(0, p.jsonMember)({ constructor: String, name: "dictionary_name" }), o("design:type", String)], V.prototype, "dictionaryName", void 0), r([(0, p.jsonMember)({ constructor: String, name: "dictionary_item_key" }), o("design:type", String)], V.prototype, "dictionaryItemKey", void 0), r([p.jsonObject, o("design:paramtypes", [String, String, String])], V); }(); - n.AccountNamedKey = U; - var S = function() { - function D(z, J, G) { - this.key = z, this.dictionaryName = J, this.dictionaryItemKey = G; + n.ParamDictionaryIdentifierContractNamedKey = j; + var D = function() { + function V(U, F, Q, ne) { + this.accountNamedKey = U, this.contractNamedKey = F, this.uRef = Q, this.dictionary = ne; } - return r([(0, m.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), r([(0, m.jsonMember)({ constructor: String, name: "dictionary_name" }), a("design:type", String)], D.prototype, "dictionaryName", void 0), r([(0, m.jsonMember)({ constructor: String, name: "dictionary_item_key" }), a("design:type", String)], D.prototype, "dictionaryItemKey", void 0), r([m.jsonObject, a("design:paramtypes", [String, String, String])], D); + return r([(0, p.jsonMember)({ isRequired: !1, constructor: k, name: "AccountNamedKey" }), o("design:type", k)], V.prototype, "accountNamedKey", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: j, name: "ContractNamedKey" }), o("design:type", j)], V.prototype, "contractNamedKey", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: N, name: "URef" }), o("design:type", N)], V.prototype, "uRef", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "Dictionary" }), o("design:type", String)], V.prototype, "dictionary", void 0), r([p.jsonObject, o("design:paramtypes", [k, j, N, String])], V); }(); - n.ParamDictionaryIdentifierContractNamedKey = S; + n.ParamDictionaryIdentifier = D; var T = function() { - function D(z, J, G, Q) { - this.accountNamedKey = z, this.contractNamedKey = J, this.uRef = G, this.dictionary = Q; + function V(U, F) { + this.deploy = U, this.blockIdentifier = F; } - return r([(0, m.jsonMember)({ isRequired: !1, constructor: U, name: "AccountNamedKey" }), a("design:type", U)], D.prototype, "accountNamedKey", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: S, name: "ContractNamedKey" }), a("design:type", S)], D.prototype, "contractNamedKey", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: H, name: "URef" }), a("design:type", H)], D.prototype, "uRef", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: String, name: "Dictionary" }), a("design:type", String)], D.prototype, "dictionary", void 0), r([m.jsonObject, a("design:paramtypes", [U, S, H, String])], D); + return r([(0, p.jsonMember)({ constructor: f.Deploy }), o("design:type", f.Deploy)], V.prototype, "deploy", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: m, name: "block_identifier" }), o("design:type", m)], V.prototype, "blockIdentifier", void 0), r([p.jsonObject, o("design:paramtypes", [f.Deploy, m])], V); }(); - n.ParamDictionaryIdentifier = T; - var E = function() { - function D(z, J) { - this.deploy = z, this.blockIdentifier = J; + n.SpeculativeExecParams = T; + var L = function() { + function V(F, Q, ne, te) { + this.mainPurseUnderPublicKey = F, this.mainPurseUnderAccountHash = Q, this.mainPurseUnderEntityAddr = ne, this.purseUref = te; } - return r([(0, m.jsonMember)({ constructor: f.Deploy }), a("design:type", f.Deploy)], D.prototype, "deploy", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: u, name: "block_identifier" }), a("design:type", u)], D.prototype, "blockIdentifier", void 0), r([m.jsonObject, a("design:paramtypes", [f.Deploy, u])], D); - }(); - n.SpeculativeExecParams = E; - var M = function() { - function D(J, G, Q, ee) { - this.mainPurseUnderPublicKey = J, this.mainPurseUnderAccountHash = G, this.mainPurseUnderEntityAddr = Q, this.purseUref = ee; - } - var z; - return z = D, D.fromPublicKey = function(J) { - return new z(J); - }, D.fromAccountHash = function(J) { - return new z(void 0, J); - }, D.fromEntityAddr = function(J) { - return new z(void 0, void 0, J); - }, D.fromUref = function(J) { - return new z(void 0, void 0, void 0, J); - }, r([(0, m.jsonMember)({ constructor: f.PublicKey, name: "main_purse_under_public_key", isRequired: !1, deserializer: function(J) { - if (J) return f.PublicKey.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", f.PublicKey)], D.prototype, "mainPurseUnderPublicKey", void 0), r([(0, m.jsonMember)({ constructor: f.AccountHash, name: "main_purse_under_account_hash", isRequired: !1, deserializer: function(J) { - if (J) return f.AccountHash.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", f.AccountHash)], D.prototype, "mainPurseUnderAccountHash", void 0), r([(0, m.jsonMember)({ constructor: f.EntityAddr, name: "main_purse_under_entity_addr", isRequired: !1, deserializer: function(J) { - if (J) return f.EntityAddr.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", f.EntityAddr)], D.prototype, "mainPurseUnderEntityAddr", void 0), r([(0, m.jsonMember)({ constructor: f.URef, isRequired: !1, name: "purse_uref", deserializer: function(J) { - if (J) return f.URef.fromJSON(J); - }, serializer: function(J) { - if (J) return J.toJSON(); - } }), a("design:type", f.URef)], D.prototype, "purseUref", void 0), z = r([m.jsonObject, a("design:paramtypes", [f.PublicKey, f.AccountHash, f.EntityAddr, f.URef])], D); - }(); - n.PurseIdentifier = M; - var _ = function() { - function D(z, J) { - this.purseIdentifier = z, this.stateIdentifier = J; + var U; + return U = V, V.fromPublicKey = function(F) { + return new U(F); + }, V.fromAccountHash = function(F) { + return new U(void 0, F); + }, V.fromEntityAddr = function(F) { + return new U(void 0, void 0, F); + }, V.fromUref = function(F) { + return new U(void 0, void 0, void 0, F); + }, r([(0, p.jsonMember)({ constructor: f.PublicKey, name: "main_purse_under_public_key", isRequired: !1, deserializer: function(F) { + if (F) return f.PublicKey.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", f.PublicKey)], V.prototype, "mainPurseUnderPublicKey", void 0), r([(0, p.jsonMember)({ constructor: f.AccountHash, name: "main_purse_under_account_hash", isRequired: !1, deserializer: function(F) { + if (F) return f.AccountHash.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", f.AccountHash)], V.prototype, "mainPurseUnderAccountHash", void 0), r([(0, p.jsonMember)({ constructor: f.EntityAddr, name: "main_purse_under_entity_addr", isRequired: !1, deserializer: function(F) { + if (F) return f.EntityAddr.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", f.EntityAddr)], V.prototype, "mainPurseUnderEntityAddr", void 0), r([(0, p.jsonMember)({ constructor: f.URef, isRequired: !1, name: "purse_uref", deserializer: function(F) { + if (F) return f.URef.fromJSON(F); + }, serializer: function(F) { + if (F) return F.toJSON(); + } }), o("design:type", f.URef)], V.prototype, "purseUref", void 0), U = r([p.jsonObject, o("design:paramtypes", [f.PublicKey, f.AccountHash, f.EntityAddr, f.URef])], V); + }(); + n.PurseIdentifier = L; + var R = function() { + function V(U, F) { + this.purseIdentifier = U, this.stateIdentifier = F; } - return r([(0, m.jsonMember)({ constructor: M, name: "purse_identifier" }), a("design:type", M)], D.prototype, "purseIdentifier", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: N, name: "state_identifier" }), a("design:type", N)], D.prototype, "stateIdentifier", void 0), r([m.jsonObject, a("design:paramtypes", [M, N])], D); + return r([(0, p.jsonMember)({ constructor: L, name: "purse_identifier" }), o("design:type", L)], V.prototype, "purseIdentifier", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: x, name: "state_identifier" }), o("design:type", x)], V.prototype, "stateIdentifier", void 0), r([p.jsonObject, o("design:paramtypes", [L, x])], V); }(); - n.QueryBalanceRequest = _; - var w = function() { - function D(z, J) { - this.purseIdentifier = z, this.stateIdentifier = J; + n.QueryBalanceRequest = R; + var M = function() { + function V(U, F) { + this.purseIdentifier = U, this.stateIdentifier = F; } - return r([(0, m.jsonMember)({ constructor: M, name: "purse_identifier" }), a("design:type", M)], D.prototype, "purseIdentifier", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: N, name: "state_identifier" }), a("design:type", N)], D.prototype, "stateIdentifier", void 0), r([m.jsonObject, a("design:paramtypes", [M, N])], D); + return r([(0, p.jsonMember)({ constructor: L, name: "purse_identifier" }), o("design:type", L)], V.prototype, "purseIdentifier", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: x, name: "state_identifier" }), o("design:type", x)], V.prototype, "stateIdentifier", void 0), r([p.jsonObject, o("design:paramtypes", [L, x])], V); }(); - n.QueryBalanceDetailsRequest = w; - var A = function() { - function D(z, J, G) { - this.validator = z, this.delegator = J, this.eraIdentifier = G; - } - return r([(0, m.jsonMember)({ constructor: f.PublicKey, isRequired: !1, deserializer: function(z) { - return f.PublicKey.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", f.PublicKey)], D.prototype, "validator", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: f.PublicKey, deserializer: function(z) { - if (z) return f.PublicKey.fromJSON(z); - }, serializer: function(z) { - if (z) return z.toJSON(); - } }), a("design:type", f.PublicKey)], D.prototype, "delegator", void 0), r([(0, m.jsonMember)({ isRequired: !1, constructor: B, name: "era_identifier" }), a("design:type", B)], D.prototype, "eraIdentifier", void 0), r([m.jsonObject, a("design:paramtypes", [f.PublicKey, f.PublicKey, B])], D); - }(); - n.InfoGetRewardRequest = A; - var j = function() { - function D(z, J) { - this.stateRootHash = z, this.purseURef = J; + n.QueryBalanceDetailsRequest = M; + var P = function() { + function V(U, F, Q) { + this.validator = U, this.delegator = F, this.eraIdentifier = Q; } - return r([(0, m.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], D.prototype, "stateRootHash", void 0), r([(0, m.jsonMember)({ name: "purse_uref", constructor: String }), a("design:type", String)], D.prototype, "purseURef", void 0), r([m.jsonObject, a("design:paramtypes", [String, String])], D); + return r([(0, p.jsonMember)({ constructor: f.PublicKey, isRequired: !1, deserializer: function(U) { + return f.PublicKey.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", f.PublicKey)], V.prototype, "validator", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: f.PublicKey, deserializer: function(U) { + if (U) return f.PublicKey.fromJSON(U); + }, serializer: function(U) { + if (U) return U.toJSON(); + } }), o("design:type", f.PublicKey)], V.prototype, "delegator", void 0), r([(0, p.jsonMember)({ isRequired: !1, constructor: A, name: "era_identifier" }), o("design:type", A)], V.prototype, "eraIdentifier", void 0), r([p.jsonObject, o("design:paramtypes", [f.PublicKey, f.PublicKey, A])], V); }(); - n.StateGetBalanceRequest = j; - var V = function() { - function D(z, J) { - this.stateRootHash = z, this.dictionaryIdentifier = J; - } - return r([(0, m.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], D.prototype, "stateRootHash", void 0), r([(0, m.jsonMember)({ name: "dictionary_identifier", constructor: T }), a("design:type", T)], D.prototype, "dictionaryIdentifier", void 0), r([m.jsonObject, a("design:paramtypes", [String, T])], D); - }(); - n.StateGetDictionaryRequest = V; - }, 1412: function(x, n, c) { - var r = this && this.__decorate || function(te, ye, ve, F) { - var W, K = arguments.length, X = K < 3 ? ye : F === null ? F = Object.getOwnPropertyDescriptor(ye, ve) : F; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") X = Reflect.decorate(te, ye, ve, F); - else for (var ne = te.length - 1; ne >= 0; ne--) (W = te[ne]) && (X = (K < 3 ? W(X) : K > 3 ? W(ye, ve, X) : W(ye, ve)) || X); - return K > 3 && X && Object.defineProperty(ye, ve, X), X; - }, a = this && this.__metadata || function(te, ye) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(te, ye); + n.InfoGetRewardRequest = P; + var H = function() { + function V(U, F) { + this.stateRootHash = U, this.purseURef = F; + } + return r([(0, p.jsonMember)({ name: "state_root_hash", constructor: String }), o("design:type", String)], V.prototype, "stateRootHash", void 0), r([(0, p.jsonMember)({ name: "purse_uref", constructor: String }), o("design:type", String)], V.prototype, "purseURef", void 0), r([p.jsonObject, o("design:paramtypes", [String, String])], V); + }(); + n.StateGetBalanceRequest = H; + var K = function() { + function V(U, F) { + this.stateRootHash = U, this.dictionaryIdentifier = F; + } + return r([(0, p.jsonMember)({ name: "state_root_hash", constructor: String }), o("design:type", String)], V.prototype, "stateRootHash", void 0), r([(0, p.jsonMember)({ name: "dictionary_identifier", constructor: D }), o("design:type", D)], V.prototype, "dictionaryIdentifier", void 0), r([p.jsonObject, o("design:paramtypes", [String, D])], V); + }(); + n.StateGetDictionaryRequest = K; + }, 1412(g, n, s) { + var r = this && this.__decorate || function(G, ie, we, z) { + var J, q = arguments.length, re = q < 3 ? ie : z === null ? z = Object.getOwnPropertyDescriptor(ie, we) : z; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") re = Reflect.decorate(G, ie, we, z); + else for (var $ = G.length - 1; $ >= 0; $--) (J = G[$]) && (re = (q < 3 ? J(re) : q > 3 ? J(ie, we, re) : J(ie, we)) || re); + return q > 3 && re && Object.defineProperty(ie, we, re), re; + }, o = this && this.__metadata || function(G, ie) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(G, ie); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.QueryGlobalStateResultV1Compatible = n.InfoGetChainspecResult = n.BalanceHoldWithProof = n.InfoGetRewardResult = n.QueryBalanceDetailsResult = n.QueryBalanceResult = n.SpeculativeExecResult = n.PutTransactionResult = n.PutDeployResult = n.InfoGetStatusResult = n.BlockSynchronizerStatus = n.BlockSyncStatus = n.NodeNextUpgrade = n.InfoGetValidatorChangesResult = n.ValidatorChanges = n.StatusChanges = n.ValidatorState = n.ChainGetStateRootHashResult = n.NodePeer = n.InfoGetPeerResult = n.QueryGlobalStateResult = n.StateGetDictionaryResult = n.StateGetItemResult = n.ChainGetEraInfoResult = n.InfoGetTransactionResultV1Compatible = n.InfoGetDeployResultV1Compatible = n.InfoGetTransactionResult = n.InfoGetDeployResult = n.ChainGetEraSummaryResult = n.ChainGetBlockTransfersResult = n.ChainGetBlockResult = n.ChainGetBlockResultV1Compatible = n.StateGetEntityResult = n.EntityOrAccount = n.RpcAddressableEntity = n.StateGetAccountInfo = n.StateGetBalanceResult = n.StateGetAuctionInfoV2Result = n.StateGetAuctionInfoV1Result = n.StateGetAuctionInfoResult = n.RpcResponse = void 0; - var i = c(9592), m = c(8608), t = c(7021), f = c(7545), b = function() { - function te() { + var i = s(9592), p = s(8608), a = s(7021), f = s(7545), C = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "jsonrpc", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ constructor: m.IDValue, name: "id", deserializer: function(ye) { - if (ye) return m.IDValue.fromJSON(ye); - } }), a("design:type", m.IDValue)], te.prototype, "id", void 0), r([(0, i.jsonMember)({ name: "result", constructor: i.AnyT }), a("design:type", Object)], te.prototype, "result", void 0), r([(0, i.jsonMember)({ name: "error", constructor: t.RpcError, preserveNull: !0 }), a("design:type", t.RpcError)], te.prototype, "error", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "jsonrpc", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ constructor: p.IDValue, name: "id", deserializer: function(ie) { + if (ie) return p.IDValue.fromJSON(ie); + } }), o("design:type", p.IDValue)], G.prototype, "id", void 0), r([(0, i.jsonMember)({ name: "result", constructor: i.AnyT }), o("design:type", Object)], G.prototype, "result", void 0), r([(0, i.jsonMember)({ name: "error", constructor: a.RpcError, preserveNull: !0 }), o("design:type", a.RpcError)], G.prototype, "error", void 0), r([i.jsonObject], G); }(); - n.RpcResponse = b; - var y = function() { - function te() { + n.RpcResponse = C; + var w = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "auction_state", constructor: f.AuctionState }), a("design:type", f.AuctionState)], te.prototype, "auctionState", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "auction_state", constructor: f.AuctionState }), o("design:type", f.AuctionState)], G.prototype, "auctionState", void 0), r([i.jsonObject], G); }(); - n.StateGetAuctionInfoResult = y; - var u = function() { - function te() { + n.StateGetAuctionInfoResult = w; + var m = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "auction_state", constructor: f.AuctionStateV1 }), a("design:type", f.AuctionStateV1)], te.prototype, "auctionState", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "auction_state", constructor: f.AuctionStateV1 }), o("design:type", f.AuctionStateV1)], G.prototype, "auctionState", void 0), r([i.jsonObject], G); }(); - n.StateGetAuctionInfoV1Result = u; - var d = function() { - function te() { + n.StateGetAuctionInfoV1Result = m; + var v = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "auction_state", constructor: f.AuctionStateV2 }), a("design:type", f.AuctionStateV2)], te.prototype, "auctionState", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "auction_state", constructor: f.AuctionStateV2 }), o("design:type", f.AuctionStateV2)], G.prototype, "auctionState", void 0), r([i.jsonObject], G); }(); - n.StateGetAuctionInfoV2Result = d; + n.StateGetAuctionInfoV2Result = v; var l = function() { - function te() { + function G() { } - return te.prototype.toQueryBalanceResult = function() { - var ye = new se(); - return ye.apiVersion = this.apiVersion, ye.balance = this.balanceValue, ye; - }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "balance_value", constructor: f.CLValueUInt512, deserializer: function(ye) { - return f.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - return ye.toJSON(); - } }), a("design:type", f.CLValueUInt512)], te.prototype, "balanceValue", void 0), r([i.jsonObject], te); + return G.prototype.toQueryBalanceResult = function() { + var ie = new fe(); + return ie.apiVersion = this.apiVersion, ie.balance = this.balanceValue, ie; + }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "balance_value", constructor: f.CLValueUInt512, deserializer: function(ie) { + return f.CLValueUInt512.fromJSON(ie); + }, serializer: function(ie) { + return ie.toJSON(); + } }), o("design:type", f.CLValueUInt512)], G.prototype, "balanceValue", void 0), r([i.jsonObject], G); }(); n.StateGetBalanceResult = l; - var s = function() { - function te() { + var u = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "account", constructor: f.Account }), a("design:type", f.Account)], te.prototype, "account", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "account", constructor: f.Account }), o("design:type", f.Account)], G.prototype, "account", void 0), r([i.jsonObject], G); }(); - n.StateGetAccountInfo = s; - var v = function() { - function te() { + n.StateGetAccountInfo = u; + var y = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "entity", constructor: f.AddressableEntity }), a("design:type", f.AddressableEntity)], te.prototype, "entity", void 0), r([(0, i.jsonArrayMember)(f.NamedKey, { name: "named_keys" }), a("design:type", Array)], te.prototype, "namedKeys", void 0), r([(0, i.jsonArrayMember)(f.EntryPointValue, { name: "entry_points" }), a("design:type", Array)], te.prototype, "entryPoints", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "entity", constructor: f.AddressableEntity }), o("design:type", f.AddressableEntity)], G.prototype, "entity", void 0), r([(0, i.jsonArrayMember)(f.NamedKey, { name: "named_keys" }), o("design:type", Array)], G.prototype, "namedKeys", void 0), r([(0, i.jsonArrayMember)(f.EntryPointValue, { name: "entry_points" }), o("design:type", Array)], G.prototype, "entryPoints", void 0), r([i.jsonObject], G); }(); - n.RpcAddressableEntity = v; - var p = function() { - function te() { + n.RpcAddressableEntity = y; + var d = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "AddressableEntity", constructor: v }), a("design:type", v)], te.prototype, "addressableEntity", void 0), r([(0, i.jsonMember)({ name: "LegacyAccount", constructor: f.Account }), a("design:type", f.Account)], te.prototype, "legacyAccount", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "AddressableEntity", constructor: y }), o("design:type", y)], G.prototype, "addressableEntity", void 0), r([(0, i.jsonMember)({ name: "LegacyAccount", constructor: f.Account }), o("design:type", f.Account)], G.prototype, "legacyAccount", void 0), r([i.jsonObject], G); }(); - n.EntityOrAccount = p; - var h = function() { - function te() { + n.EntityOrAccount = d; + var b = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "entity", constructor: p }), a("design:type", p)], te.prototype, "entity", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: i.AnyT }), a("design:type", Object)], te.prototype, "merkleProof", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "entity", constructor: d }), o("design:type", d)], G.prototype, "entity", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: i.AnyT }), o("design:type", Object)], G.prototype, "merkleProof", void 0), r([i.jsonObject], G); }(); - n.StateGetEntityResult = h; - var O = function() { - function te() { + n.StateGetEntityResult = b; + var _ = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_with_signatures", constructor: f.BlockWithSignatures }), a("design:type", f.BlockWithSignatures)], te.prototype, "blockWithSignatures", void 0), r([(0, i.jsonMember)({ name: "block", constructor: f.BlockV1 }), a("design:type", f.BlockV1)], te.prototype, "blockV1", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_with_signatures", constructor: f.BlockWithSignatures }), o("design:type", f.BlockWithSignatures)], G.prototype, "blockWithSignatures", void 0), r([(0, i.jsonMember)({ name: "block", constructor: f.BlockV1 }), o("design:type", f.BlockV1)], G.prototype, "blockV1", void 0), r([i.jsonObject], G); }(); - n.ChainGetBlockResultV1Compatible = O; - var I = function() { - function te() { - } - var ye; - return ye = te, te.fromJSON = function(ve) { - var F = new i.TypedJSON(ye).parse(ve); - if (!F) throw new Error("Failed to parse ChainGetBlockResult"); - return F.rawJSON = ve, F; - }, te.newChainGetBlockResultFromV1Compatible = function(ve, F) { - var W = new ye(); - if (W.apiVersion = ve.apiVersion, W.rawJSON = F, ve.blockV1) W.block = f.Block.newBlockFromBlockV1(ve.blockV1); + n.ChainGetBlockResultV1Compatible = _; + var E = function() { + function G() { + } + var ie; + return ie = G, G.fromJSON = function(we) { + var z = new i.TypedJSON(ie).parse(we); + if (!z) throw new Error("Failed to parse ChainGetBlockResult"); + return z.rawJSON = we, z; + }, G.newChainGetBlockResultFromV1Compatible = function(we, z) { + var J = new ie(); + if (J.apiVersion = we.apiVersion, J.rawJSON = z, we.blockV1) J.block = f.Block.newBlockFromBlockV1(we.blockV1); else { - if (!ve.blockWithSignatures) throw new Error("Incorrect RPC response structure"); - W.block = f.Block.newBlockFromBlockWrapper(ve.blockWithSignatures.block, ve.blockWithSignatures.proofs); + if (!we.blockWithSignatures) throw new Error("Incorrect RPC response structure"); + J.block = f.Block.newBlockFromBlockWrapper(we.blockWithSignatures.block, we.blockWithSignatures.proofs); } - return W; - }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.Block }), a("design:type", f.Block)], te.prototype, "block", void 0), ye = r([i.jsonObject], te); + return J; + }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.Block }), o("design:type", f.Block)], G.prototype, "block", void 0), ie = r([i.jsonObject], G); }(); - n.ChainGetBlockResult = I; - var k = function() { - function te() { + n.ChainGetBlockResult = E; + var B = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "block_hash", constructor: String }), a("design:type", String)], te.prototype, "blockHash", void 0), r([(0, i.jsonArrayMember)(f.Transfer, { name: "transfers", deserializer: function(ye) { - return ye.map(function(ve) { - return f.Transfer.fromJSON(ve); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "block_hash", constructor: String }), o("design:type", String)], G.prototype, "blockHash", void 0), r([(0, i.jsonArrayMember)(f.Transfer, { name: "transfers", deserializer: function(ie) { + return ie.map(function(we) { + return f.Transfer.fromJSON(we); }); - } }), a("design:type", Array)], te.prototype, "transfers", void 0), r([i.jsonObject], te); - }(); - n.ChainGetBlockTransfersResult = k; - var R = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "era_summary", constructor: f.EraSummary }), a("design:type", f.EraSummary)], te.prototype, "eraSummary", void 0), r([i.jsonObject], te); + } }), o("design:type", Array)], G.prototype, "transfers", void 0), r([i.jsonObject], G); }(); - n.ChainGetEraSummaryResult = R; - var L = function() { - function te() { + n.ChainGetBlockTransfersResult = B; + var O = function() { + function G() { } - return te.prototype.toInfoGetTransactionResult = function() { - var ye, ve = void 0; - return this.executionInfo ? ve = new f.ExecutionInfo(this.executionInfo.blockHash, this.executionInfo.blockHeight, this.executionInfo.executionResult) : !((ye = this == null ? void 0 : this.executionResultsV1) === null || ye === void 0) && ye.length && (ve = f.ExecutionInfo.fromV1(this.executionResultsV1)), new N(this.apiVersion, f.Deploy.newTransactionFromDeploy(this.deploy), ve, this.rawJSON); - }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "deploy", constructor: f.Deploy }), a("design:type", f.Deploy)], te.prototype, "deploy", void 0), r([(0, i.jsonMember)({ name: "execution_info", constructor: f.DeployExecutionInfo }), a("design:type", f.DeployExecutionInfo)], te.prototype, "executionInfo", void 0), r([(0, i.jsonArrayMember)(f.DeployExecutionResult, { name: "execution_results", preserveNull: !0 }), a("design:type", Array)], te.prototype, "executionResultsV1", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "era_summary", constructor: f.EraSummary }), o("design:type", f.EraSummary)], G.prototype, "eraSummary", void 0), r([i.jsonObject], G); }(); - n.InfoGetDeployResult = L; + n.ChainGetEraSummaryResult = O; + var I = function() { + function G() { + } + return G.prototype.toInfoGetTransactionResult = function() { + var ie, we = void 0; + return this.executionInfo ? we = new f.ExecutionInfo(this.executionInfo.blockHash, this.executionInfo.blockHeight, this.executionInfo.executionResult) : !((ie = this == null ? void 0 : this.executionResultsV1) === null || ie === void 0) && ie.length && (we = f.ExecutionInfo.fromV1(this.executionResultsV1)), new x(this.apiVersion, f.Deploy.newTransactionFromDeploy(this.deploy), we, this.rawJSON); + }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "deploy", constructor: f.Deploy }), o("design:type", f.Deploy)], G.prototype, "deploy", void 0), r([(0, i.jsonMember)({ name: "execution_info", constructor: f.DeployExecutionInfo }), o("design:type", f.DeployExecutionInfo)], G.prototype, "executionInfo", void 0), r([(0, i.jsonArrayMember)(f.DeployExecutionResult, { name: "execution_results", preserveNull: !0 }), o("design:type", Array)], G.prototype, "executionResultsV1", void 0), r([i.jsonObject], G); + }(); + n.InfoGetDeployResult = I; + var x = function() { + function G(we, z, J, q) { + q === void 0 && (q = ""), this.apiVersion = we, this.transaction = z, this.executionInfo = J, this.rawJSON = q; + } + var ie; + return ie = G, G.fromJSON = function(we) { + var z, J = new i.TypedJSON(N).parse(we); + return J ? N.newInfoGetTransactionResultFromV1Compatible(J, we) : (z = new i.TypedJSON(ie).parse(we)) !== null && z !== void 0 ? z : null; + }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.Transaction, deserializer: function(we) { + if (we) return f.Transaction.fromJSON(we); + } }), o("design:type", f.Transaction)], G.prototype, "transaction", void 0), r([(0, i.jsonMember)({ name: "execution_info", constructor: f.ExecutionInfo, preserveNull: !0 }), o("design:type", f.ExecutionInfo)], G.prototype, "executionInfo", void 0), ie = r([i.jsonObject, o("design:paramtypes", [String, f.Transaction, f.ExecutionInfo, Object])], G); + }(); + n.InfoGetTransactionResult = x; + var A = function() { + function G() { + } + var ie; + return ie = G, G.fromJSON = function(we) { + return new i.TypedJSON(ie).parse(we); + }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.Deploy }), o("design:type", f.Deploy)], G.prototype, "deploy", void 0), r([(0, i.jsonArrayMember)(f.DeployExecutionResult, { name: "execution_results" }), o("design:type", Array)], G.prototype, "executionResults", void 0), r([(0, i.jsonMember)({ name: "block_hash", constructor: f.Hash, deserializer: function(we) { + if (we) return f.Hash.fromJSON(we); + }, serializer: function(we) { + if (we) return we.toJSON(); + } }), o("design:type", f.Hash)], G.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), o("design:type", Number)], G.prototype, "blockHeight", void 0), ie = r([i.jsonObject], G); + }(); + n.InfoGetDeployResultV1Compatible = A; var N = function() { - function te(ve, F, W, K) { - K === void 0 && (K = ""), this.apiVersion = ve, this.transaction = F, this.executionInfo = W, this.rawJSON = K; - } - var ye; - return ye = te, te.fromJSON = function(ve) { - var F, W = new i.TypedJSON(H).parse(ve); - return W ? H.newInfoGetTransactionResultFromV1Compatible(W, ve) : (F = new i.TypedJSON(ye).parse(ve)) !== null && F !== void 0 ? F : null; - }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.Transaction, deserializer: function(ve) { - if (ve) return f.Transaction.fromJSON(ve); - } }), a("design:type", f.Transaction)], te.prototype, "transaction", void 0), r([(0, i.jsonMember)({ name: "execution_info", constructor: f.ExecutionInfo, preserveNull: !0 }), a("design:type", f.ExecutionInfo)], te.prototype, "executionInfo", void 0), ye = r([i.jsonObject, a("design:paramtypes", [String, f.Transaction, f.ExecutionInfo, Object])], te); - }(); - n.InfoGetTransactionResult = N; - var B = function() { - function te() { - } - var ye; - return ye = te, te.fromJSON = function(ve) { - return new i.TypedJSON(ye).parse(ve); - }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.Deploy }), a("design:type", f.Deploy)], te.prototype, "deploy", void 0), r([(0, i.jsonArrayMember)(f.DeployExecutionResult, { name: "execution_results" }), a("design:type", Array)], te.prototype, "executionResults", void 0), r([(0, i.jsonMember)({ name: "block_hash", constructor: f.Hash, deserializer: function(ve) { - if (ve) return f.Hash.fromJSON(ve); - }, serializer: function(ve) { - if (ve) return ve.toJSON(); - } }), a("design:type", f.Hash)], te.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], te.prototype, "blockHeight", void 0), ye = r([i.jsonObject], te); - }(); - n.InfoGetDeployResultV1Compatible = B; - var H = function() { - function te() { + function G() { this.executionResults = []; } - var ye; - return ye = te, te.newInfoGetTransactionResultFromV1Compatible = function(ve, F) { - if (ve.transaction) { - if (ve.transaction.transactionV1) return new N(ve.apiVersion, f.Transaction.fromTransactionV1(ve.transaction.transactionV1), ve.executionInfo, F); - if (ve.transaction.deploy) { - var W = f.Deploy.newTransactionFromDeploy(ve.transaction.deploy), K = new N(ve.apiVersion, W, ve.executionInfo, F); - return ve.executionResults.length > 0 && ((X = f.ExecutionInfo.fromV1(ve.executionResults, ve.blockHeight)).executionResult.initiator = new f.InitiatorAddr(ve.deploy.header.account), K.executionInfo = X), K; + var ie; + return ie = G, G.newInfoGetTransactionResultFromV1Compatible = function(we, z) { + if (we.transaction) { + if (we.transaction.transactionV1) return new x(we.apiVersion, f.Transaction.fromTransactionV1(we.transaction.transactionV1), we.executionInfo, z); + if (we.transaction.deploy) { + var J = f.Deploy.newTransactionFromDeploy(we.transaction.deploy), q = new x(we.apiVersion, J, we.executionInfo, z); + return we.executionResults.length > 0 && ((re = f.ExecutionInfo.fromV1(we.executionResults, we.blockHeight)).executionResult.initiator = new f.InitiatorAddr(we.deploy.header.account), q.executionInfo = re), q; } } - var X; - if (ve.deploy) return W = f.Deploy.newTransactionFromDeploy(ve.deploy), K = new N(ve.apiVersion, W, ve.executionInfo, F), ve.executionResults.length > 0 && ((X = f.ExecutionInfo.fromV1(ve.executionResults, ve.blockHeight)).executionResult.initiator = new f.InitiatorAddr(ve.deploy.header.account), K.executionInfo = X), K; + var re; + if (we.deploy) return J = f.Deploy.newTransactionFromDeploy(we.deploy), q = new x(we.apiVersion, J, we.executionInfo, z), we.executionResults.length > 0 && ((re = f.ExecutionInfo.fromV1(we.executionResults, we.blockHeight)).executionResult.initiator = new f.InitiatorAddr(we.deploy.header.account), q.executionInfo = re), q; throw new Error("Incorrect RPC response structure"); - }, te.fromJSON = function(ve) { - return new i.TypedJSON(ye).parse(ve); - }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.TransactionWrapper }), a("design:type", f.TransactionWrapper)], te.prototype, "transaction", void 0), r([(0, i.jsonMember)({ constructor: f.Deploy }), a("design:type", f.Deploy)], te.prototype, "deploy", void 0), r([(0, i.jsonMember)({ constructor: f.ExecutionInfo, name: "execution_info" }), a("design:type", f.ExecutionInfo)], te.prototype, "executionInfo", void 0), r([(0, i.jsonArrayMember)(f.DeployExecutionResult, { name: "execution_results" }), a("design:type", Array)], te.prototype, "executionResults", void 0), r([(0, i.jsonMember)({ constructor: f.Hash, name: "block_hash", deserializer: function(ve) { - if (ve) return f.Hash.fromJSON(ve); - }, serializer: function(ve) { - if (ve) return ve.toJSON(); - } }), a("design:type", f.Hash)], te.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ constructor: Number, name: "block_height" }), a("design:type", Number)], te.prototype, "blockHeight", void 0), ye = r([i.jsonObject], te); - }(); - n.InfoGetTransactionResultV1Compatible = H; - var U = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "era_summary", constructor: f.EraSummary }), a("design:type", f.EraSummary)], te.prototype, "eraSummary", void 0), r([i.jsonObject], te); - }(); - n.ChainGetEraInfoResult = U; - var S = function() { - function te() { + }, G.fromJSON = function(we) { + return new i.TypedJSON(ie).parse(we); + }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ constructor: f.TransactionWrapper }), o("design:type", f.TransactionWrapper)], G.prototype, "transaction", void 0), r([(0, i.jsonMember)({ constructor: f.Deploy }), o("design:type", f.Deploy)], G.prototype, "deploy", void 0), r([(0, i.jsonMember)({ constructor: f.ExecutionInfo, name: "execution_info" }), o("design:type", f.ExecutionInfo)], G.prototype, "executionInfo", void 0), r([(0, i.jsonArrayMember)(f.DeployExecutionResult, { name: "execution_results" }), o("design:type", Array)], G.prototype, "executionResults", void 0), r([(0, i.jsonMember)({ constructor: f.Hash, name: "block_hash", deserializer: function(we) { + if (we) return f.Hash.fromJSON(we); + }, serializer: function(we) { + if (we) return we.toJSON(); + } }), o("design:type", f.Hash)], G.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ constructor: Number, name: "block_height" }), o("design:type", Number)], G.prototype, "blockHeight", void 0), ie = r([i.jsonObject], G); + }(); + n.InfoGetTransactionResultV1Compatible = N; + var k = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), a("design:type", f.StoredValue)], te.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "era_summary", constructor: f.EraSummary }), o("design:type", f.EraSummary)], G.prototype, "eraSummary", void 0), r([i.jsonObject], G); }(); - n.StateGetItemResult = S; - var T = function() { - function te() { + n.ChainGetEraInfoResult = k; + var j = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "dictionary_key", constructor: String }), a("design:type", String)], te.prototype, "dictionaryKey", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), a("design:type", f.StoredValue)], te.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), o("design:type", f.StoredValue)], G.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), o("design:type", String)], G.prototype, "merkleProof", void 0), r([i.jsonObject], G); }(); - n.StateGetDictionaryResult = T; - var E = function() { - function te() { + n.StateGetItemResult = j; + var D = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_header", constructor: f.BlockHeader }), a("design:type", f.BlockHeader)], te.prototype, "blockHeader", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), a("design:type", f.StoredValue)], te.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "dictionary_key", constructor: String }), o("design:type", String)], G.prototype, "dictionaryKey", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), o("design:type", f.StoredValue)], G.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), o("design:type", String)], G.prototype, "merkleProof", void 0), r([i.jsonObject], G); }(); - n.QueryGlobalStateResult = E; - var M = function() { - function te() { + n.StateGetDictionaryResult = D; + var T = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonArrayMember)(function() { - return _; - }, { name: "peers" }), a("design:type", Array)], te.prototype, "peers", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_header", constructor: f.BlockHeader }), o("design:type", f.BlockHeader)], G.prototype, "blockHeader", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), o("design:type", f.StoredValue)], G.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), o("design:type", String)], G.prototype, "merkleProof", void 0), r([i.jsonObject], G); }(); - n.InfoGetPeerResult = M; - var _ = function() { - function te() { + n.QueryGlobalStateResult = T; + var L = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "node_id", constructor: String }), a("design:type", String)], te.prototype, "nodeId", void 0), r([(0, i.jsonMember)({ name: "address", constructor: String }), a("design:type", String)], te.prototype, "address", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonArrayMember)(function() { + return R; + }, { name: "peers" }), o("design:type", Array)], G.prototype, "peers", void 0), r([i.jsonObject], G); }(); - n.NodePeer = _; - var w, A = function() { - function te() { + n.InfoGetPeerResult = L; + var R = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(ye) { - if (ye) return f.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.Hash)], te.prototype, "stateRootHash", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "node_id", constructor: String }), o("design:type", String)], G.prototype, "nodeId", void 0), r([(0, i.jsonMember)({ name: "address", constructor: String }), o("design:type", String)], G.prototype, "address", void 0), r([i.jsonObject], G); }(); - n.ChainGetStateRootHashResult = A, (w = n.ValidatorState || (n.ValidatorState = {})).Added = "Added", w.Removed = "Removed", w.Banned = "Banned", w.CannotPropose = "CannotPropose", w.SeenAsFaulty = "SeenAsFaulty"; - var j = function() { - function te() { + n.NodePeer = R; + var M, P = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], te.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "validator_change", constructor: String }), a("design:type", String)], te.prototype, "validatorState", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "version", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(ie) { + if (ie) return f.Hash.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.Hash)], G.prototype, "stateRootHash", void 0), r([i.jsonObject], G); }(); - n.StatusChanges = j; - var V = function() { - function te() { + n.ChainGetStateRootHashResult = P, (M = n.ValidatorState || (n.ValidatorState = {})).Added = "Added", M.Removed = "Removed", M.Banned = "Banned", M.CannotPropose = "CannotPropose", M.SeenAsFaulty = "SeenAsFaulty"; + var H = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "public_key", constructor: f.PublicKey, deserializer: function(ye) { - if (ye) return f.PublicKey.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.PublicKey)], te.prototype, "publicKey", void 0), r([(0, i.jsonArrayMember)(j, { name: "status_changes" }), a("design:type", Array)], te.prototype, "statusChanges", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], G.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "validator_change", constructor: String }), o("design:type", String)], G.prototype, "validatorState", void 0), r([i.jsonObject], G); }(); - n.ValidatorChanges = V; - var D = function() { - function te() { + n.StatusChanges = H; + var K = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonArrayMember)(V, { name: "changes" }), a("design:type", Array)], te.prototype, "changes", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "public_key", constructor: f.PublicKey, deserializer: function(ie) { + if (ie) return f.PublicKey.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.PublicKey)], G.prototype, "publicKey", void 0), r([(0, i.jsonArrayMember)(H, { name: "status_changes" }), o("design:type", Array)], G.prototype, "statusChanges", void 0), r([i.jsonObject], G); }(); - n.InfoGetValidatorChangesResult = D; - var z = function() { - function te() { + n.ValidatorChanges = K; + var V = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "activation_point", constructor: Number }), a("design:type", Number)], te.prototype, "activationPoint", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], te.prototype, "protocolVersion", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonArrayMember)(K, { name: "changes" }), o("design:type", Array)], G.prototype, "changes", void 0), r([i.jsonObject], G); }(); - n.NodeNextUpgrade = z; - var J = function() { - function te() { + n.InfoGetValidatorChangesResult = V; + var U = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "block_hash", constructor: f.Hash, deserializer: function(ye) { - if (ye) return f.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - }, preserveNull: !0 }), a("design:type", f.Hash)], te.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number, preserveNull: !0 }), a("design:type", Number)], te.prototype, "blockHeight", void 0), r([(0, i.jsonMember)({ name: "acquisition_state", constructor: String }), a("design:type", String)], te.prototype, "acquisitionState", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "activation_point", constructor: Number }), o("design:type", Number)], G.prototype, "activationPoint", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], G.prototype, "protocolVersion", void 0), r([i.jsonObject], G); }(); - n.BlockSyncStatus = J; - var G = function() { - function te() { + n.NodeNextUpgrade = U; + var F = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "historical", constructor: J }), a("design:type", J)], te.prototype, "historical", void 0), r([(0, i.jsonMember)({ name: "forward", constructor: J }), a("design:type", J)], te.prototype, "forward", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "block_hash", constructor: f.Hash, deserializer: function(ie) { + if (ie) return f.Hash.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + }, preserveNull: !0 }), o("design:type", f.Hash)], G.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number, preserveNull: !0 }), o("design:type", Number)], G.prototype, "blockHeight", void 0), r([(0, i.jsonMember)({ name: "acquisition_state", constructor: String }), o("design:type", String)], G.prototype, "acquisitionState", void 0), r([i.jsonObject], G); }(); - n.BlockSynchronizerStatus = G; + n.BlockSyncStatus = F; var Q = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], te.prototype, "protocolVersion", void 0), r([(0, i.jsonMember)({ name: "build_version", constructor: String }), a("design:type", String)], te.prototype, "buildVersion", void 0), r([(0, i.jsonMember)({ name: "chainspec_name", constructor: String }), a("design:type", String)], te.prototype, "chainSpecName", void 0), r([(0, i.jsonMember)({ name: "last_added_block_info", constructor: f.MinimalBlockInfo }), a("design:type", f.MinimalBlockInfo)], te.prototype, "lastAddedBlockInfo", void 0), r([(0, i.jsonMember)({ name: "next_upgrade", constructor: z }), a("design:type", z)], te.prototype, "nextUpgrade", void 0), r([(0, i.jsonMember)({ name: "our_public_signing_key", constructor: String }), a("design:type", String)], te.prototype, "ourPublicSigningKey", void 0), r([(0, i.jsonArrayMember)(_, { name: "peers" }), a("design:type", Array)], te.prototype, "peers", void 0), r([(0, i.jsonMember)({ name: "round_length", constructor: String }), a("design:type", String)], te.prototype, "roundLength", void 0), r([(0, i.jsonMember)({ name: "starting_state_root_hash", constructor: String }), a("design:type", String)], te.prototype, "startingStateRootHash", void 0), r([(0, i.jsonMember)({ name: "uptime", constructor: String }), a("design:type", String)], te.prototype, "uptime", void 0), r([(0, i.jsonMember)({ name: "reactor_state", constructor: String }), a("design:type", String)], te.prototype, "reactorState", void 0), r([(0, i.jsonMember)({ name: "last_progress", constructor: f.Timestamp, deserializer: function(ye) { - if (ye) return f.Timestamp.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.Timestamp)], te.prototype, "lastProgress", void 0), r([(0, i.jsonMember)({ name: "latest_switch_block_hash", constructor: f.Hash, deserializer: function(ye) { - if (ye) return f.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.Hash)], te.prototype, "latestSwitchBlockHash", void 0), r([(0, i.jsonMember)({ name: "available_block_range", constructor: function() { + function G() { + } + return r([(0, i.jsonMember)({ name: "historical", constructor: F }), o("design:type", F)], G.prototype, "historical", void 0), r([(0, i.jsonMember)({ name: "forward", constructor: F }), o("design:type", F)], G.prototype, "forward", void 0), r([i.jsonObject], G); + }(); + n.BlockSynchronizerStatus = Q; + var ne = function() { + function G() { + } + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], G.prototype, "protocolVersion", void 0), r([(0, i.jsonMember)({ name: "build_version", constructor: String }), o("design:type", String)], G.prototype, "buildVersion", void 0), r([(0, i.jsonMember)({ name: "chainspec_name", constructor: String }), o("design:type", String)], G.prototype, "chainSpecName", void 0), r([(0, i.jsonMember)({ name: "last_added_block_info", constructor: f.MinimalBlockInfo }), o("design:type", f.MinimalBlockInfo)], G.prototype, "lastAddedBlockInfo", void 0), r([(0, i.jsonMember)({ name: "next_upgrade", constructor: U }), o("design:type", U)], G.prototype, "nextUpgrade", void 0), r([(0, i.jsonMember)({ name: "our_public_signing_key", constructor: String }), o("design:type", String)], G.prototype, "ourPublicSigningKey", void 0), r([(0, i.jsonArrayMember)(R, { name: "peers" }), o("design:type", Array)], G.prototype, "peers", void 0), r([(0, i.jsonMember)({ name: "round_length", constructor: String }), o("design:type", String)], G.prototype, "roundLength", void 0), r([(0, i.jsonMember)({ name: "starting_state_root_hash", constructor: String }), o("design:type", String)], G.prototype, "startingStateRootHash", void 0), r([(0, i.jsonMember)({ name: "uptime", constructor: String }), o("design:type", String)], G.prototype, "uptime", void 0), r([(0, i.jsonMember)({ name: "reactor_state", constructor: String }), o("design:type", String)], G.prototype, "reactorState", void 0), r([(0, i.jsonMember)({ name: "last_progress", constructor: f.Timestamp, deserializer: function(ie) { + if (ie) return f.Timestamp.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.Timestamp)], G.prototype, "lastProgress", void 0), r([(0, i.jsonMember)({ name: "latest_switch_block_hash", constructor: f.Hash, deserializer: function(ie) { + if (ie) return f.Hash.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.Hash)], G.prototype, "latestSwitchBlockHash", void 0), r([(0, i.jsonMember)({ name: "available_block_range", constructor: function() { return { low: (0, i.jsonMember)({ name: "low", constructor: Number }), high: (0, i.jsonMember)({ name: "high", constructor: Number }) }; - } }), a("design:type", Object)], te.prototype, "availableBlockRange", void 0), r([(0, i.jsonMember)({ name: "block_sync", constructor: G }), a("design:type", G)], te.prototype, "blockSync", void 0), r([i.jsonObject], te); + } }), o("design:type", Object)], G.prototype, "availableBlockRange", void 0), r([(0, i.jsonMember)({ name: "block_sync", constructor: Q }), o("design:type", Q)], G.prototype, "blockSync", void 0), r([i.jsonObject], G); }(); - n.InfoGetStatusResult = Q; - var ee = function() { - function te() { + n.InfoGetStatusResult = ne; + var te = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "deploy_hash", constructor: f.Hash, deserializer: function(ye) { - if (ye) return f.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.Hash)], te.prototype, "deployHash", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "deploy_hash", constructor: f.Hash, deserializer: function(ie) { + if (ie) return f.Hash.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.Hash)], G.prototype, "deployHash", void 0), r([i.jsonObject], G); }(); - n.PutDeployResult = ee; - var Z = function() { - function te() { + n.PutDeployResult = te; + var X = function() { + function G() { } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "transaction_hash", constructor: f.TransactionHash }), a("design:type", f.TransactionHash)], te.prototype, "transactionHash", void 0), r([i.jsonObject], te); + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "transaction_hash", constructor: f.TransactionHash }), o("design:type", f.TransactionHash)], G.prototype, "transactionHash", void 0), r([i.jsonObject], G); }(); - n.PutTransactionResult = Z; - var q = function() { - function te() { + n.PutTransactionResult = X; + var Z = function() { + function G() { } - var ye; - return ye = te, Object.defineProperty(te.prototype, "isV1", { get: function() { + var ie; + return ie = G, Object.defineProperty(G.prototype, "isV1", { get: function() { return !!this.executionResultV1; - }, enumerable: !1, configurable: !0 }), Object.defineProperty(te.prototype, "isV2", { get: function() { + }, enumerable: !1, configurable: !0 }), Object.defineProperty(G.prototype, "isV2", { get: function() { return !!this.executionResult; - }, enumerable: !1, configurable: !0 }), te.fromJSON = function(ve) { - var F, W = new ye(); - W.apiVersion = ve?.version; - var K = (F = ve?.result) === null || F === void 0 ? void 0 : F.execution_result; - return W.rawJSON = ve, W.blockHash = K?.block_hash ? f.Hash.fromHex(K.block_hash) : void 0, K && (K.block_hash || K.limit !== void 0 || K.consumed !== void 0) ? W.executionResult = new i.TypedJSON(f.SpeculativeExecutionResult).parse(K) : K && ("Success" in K || "Failure" in K) ? W.executionResultV1 = new i.TypedJSON(f.ExecutionResultV1).parse(K) : console.warn("Unknown execution_result format:", K), W; - }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_hash", constructor: f.Hash, deserializer: function(ve) { - if (ve) return f.Hash.fromJSON(ve); - }, serializer: function(ve) { - if (ve) return ve.toJSON(); - } }), a("design:type", f.Hash)], te.prototype, "blockHash", void 0), ye = r([i.jsonObject], te); - }(); - n.SpeculativeExecResult = q; - var se = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "balance", constructor: f.CLValueUInt512, deserializer: function(ye) { - if (ye) return f.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.CLValueUInt512)], te.prototype, "balance", void 0), r([i.jsonObject], te); - }(); - n.QueryBalanceResult = se; - var ue = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "total_balance", constructor: f.CLValueUInt512, deserializer: function(ye) { - if (ye) return f.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.CLValueUInt512)], te.prototype, "totalBalance", void 0), r([(0, i.jsonMember)({ name: "available_balance", constructor: f.CLValueUInt512, deserializer: function(ye) { - if (ye) return f.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.CLValueUInt512)], te.prototype, "availableBalance", void 0), r([(0, i.jsonMember)({ name: "total_balance_proof", constructor: String }), a("design:type", String)], te.prototype, "totalBalanceProof", void 0), r([(0, i.jsonArrayMember)(function() { - return ie; - }, { name: "holds" }), a("design:type", Array)], te.prototype, "holds", void 0), r([i.jsonObject], te); - }(); - n.QueryBalanceDetailsResult = ue; - var ce = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], te.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], te.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "reward_amount", constructor: f.CLValueUInt512, deserializer: function(ye) { - if (ye) return f.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.CLValueUInt512)], te.prototype, "rewardAmount", void 0), r([(0, i.jsonMember)({ name: "switch_block_hash", constructor: f.Hash, deserializer: function(ye) { - if (ye) return f.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.Hash)], te.prototype, "switchBlockHash", void 0), r([i.jsonObject], te); - }(); - n.InfoGetRewardResult = ce; - var ie = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(ye) { - if (ye) return f.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", f.CLValueUInt512)], te.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "proof", constructor: String }), a("design:type", String)], te.prototype, "proof", void 0), r([i.jsonObject], te); - }(); - n.BalanceHoldWithProof = ie; + }, enumerable: !1, configurable: !0 }), G.fromJSON = function(we) { + var z, J = new ie(); + J.apiVersion = we?.version; + var q = (z = we?.result) === null || z === void 0 ? void 0 : z.execution_result; + return J.rawJSON = we, J.blockHash = q?.block_hash ? f.Hash.fromHex(q.block_hash) : void 0, q && (q.block_hash || q.limit !== void 0 || q.consumed !== void 0) ? J.executionResult = new i.TypedJSON(f.SpeculativeExecutionResult).parse(q) : q && ("Success" in q || "Failure" in q) ? J.executionResultV1 = new i.TypedJSON(f.ExecutionResultV1).parse(q) : console.warn("Unknown execution_result format:", q), J; + }, r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_hash", constructor: f.Hash, deserializer: function(we) { + if (we) return f.Hash.fromJSON(we); + }, serializer: function(we) { + if (we) return we.toJSON(); + } }), o("design:type", f.Hash)], G.prototype, "blockHash", void 0), ie = r([i.jsonObject], G); + }(); + n.SpeculativeExecResult = Z; var fe = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "chainspec_bytes", constructor: String }), a("design:type", String)], te.prototype, "chainspecBytes", void 0), r([(0, i.jsonMember)({ name: "maybe_genesis_accounts_bytes", constructor: String }), a("design:type", String)], te.prototype, "maybeGenesisAccountsBytes", void 0), r([(0, i.jsonMember)({ name: "maybe_global_state_bytes", constructor: String }), a("design:type", String)], te.prototype, "maybeGlobalStateBytes", void 0), r([i.jsonObject], te); - }(), Te = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "chainspec_bytes", constructor: fe }), a("design:type", fe)], te.prototype, "chainspecBytes", void 0), r([i.jsonObject], te); - }(); - n.InfoGetChainspecResult = Te; + function G() { + } + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "balance", constructor: f.CLValueUInt512, deserializer: function(ie) { + if (ie) return f.CLValueUInt512.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.CLValueUInt512)], G.prototype, "balance", void 0), r([i.jsonObject], G); + }(); + n.QueryBalanceResult = fe; + var le = function() { + function G() { + } + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "total_balance", constructor: f.CLValueUInt512, deserializer: function(ie) { + if (ie) return f.CLValueUInt512.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.CLValueUInt512)], G.prototype, "totalBalance", void 0), r([(0, i.jsonMember)({ name: "available_balance", constructor: f.CLValueUInt512, deserializer: function(ie) { + if (ie) return f.CLValueUInt512.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.CLValueUInt512)], G.prototype, "availableBalance", void 0), r([(0, i.jsonMember)({ name: "total_balance_proof", constructor: String }), o("design:type", String)], G.prototype, "totalBalanceProof", void 0), r([(0, i.jsonArrayMember)(function() { + return de; + }, { name: "holds" }), o("design:type", Array)], G.prototype, "holds", void 0), r([i.jsonObject], G); + }(); + n.QueryBalanceDetailsResult = le; var Se = function() { - function te() { - } - return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_header", constructor: f.BlockHeaderV1 }), a("design:type", f.BlockHeaderV1)], te.prototype, "blockHeader", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), a("design:type", f.StoredValue)], te.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), r([i.jsonObject], te); - }(); - n.QueryGlobalStateResultV1Compatible = Se; - }, 4176: function(x, n, c) { - var r = this && this.__awaiter || function(l, s, v, p) { - return new (v || (v = Promise))(function(h, O) { - function I(L) { + function G() { + } + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), o("design:type", Number)], G.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], G.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "reward_amount", constructor: f.CLValueUInt512, deserializer: function(ie) { + if (ie) return f.CLValueUInt512.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.CLValueUInt512)], G.prototype, "rewardAmount", void 0), r([(0, i.jsonMember)({ name: "switch_block_hash", constructor: f.Hash, deserializer: function(ie) { + if (ie) return f.Hash.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.Hash)], G.prototype, "switchBlockHash", void 0), r([i.jsonObject], G); + }(); + n.InfoGetRewardResult = Se; + var de = function() { + function G() { + } + return r([(0, i.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(ie) { + if (ie) return f.CLValueUInt512.fromJSON(ie); + }, serializer: function(ie) { + if (ie) return ie.toJSON(); + } }), o("design:type", f.CLValueUInt512)], G.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "proof", constructor: String }), o("design:type", String)], G.prototype, "proof", void 0), r([i.jsonObject], G); + }(); + n.BalanceHoldWithProof = de; + var me = function() { + function G() { + } + return r([(0, i.jsonMember)({ name: "chainspec_bytes", constructor: String }), o("design:type", String)], G.prototype, "chainspecBytes", void 0), r([(0, i.jsonMember)({ name: "maybe_genesis_accounts_bytes", constructor: String }), o("design:type", String)], G.prototype, "maybeGenesisAccountsBytes", void 0), r([(0, i.jsonMember)({ name: "maybe_global_state_bytes", constructor: String }), o("design:type", String)], G.prototype, "maybeGlobalStateBytes", void 0), r([i.jsonObject], G); + }(), Oe = function() { + function G() { + } + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "chainspec_bytes", constructor: me }), o("design:type", me)], G.prototype, "chainspecBytes", void 0), r([i.jsonObject], G); + }(); + n.InfoGetChainspecResult = Oe; + var Ce = function() { + function G() { + } + return r([(0, i.jsonMember)({ name: "api_version", constructor: String }), o("design:type", String)], G.prototype, "apiVersion", void 0), r([(0, i.jsonMember)({ name: "block_header", constructor: f.BlockHeaderV1 }), o("design:type", f.BlockHeaderV1)], G.prototype, "blockHeader", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: f.StoredValue }), o("design:type", f.StoredValue)], G.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), o("design:type", String)], G.prototype, "merkleProof", void 0), r([i.jsonObject], G); + }(); + n.QueryGlobalStateResultV1Compatible = Ce; + }, 4176(g, n, s) { + var r = this && this.__awaiter || function(l, u, y, d) { + return new (y || (y = Promise))(function(b, _) { + function E(I) { try { - R(p.next(L)); - } catch (N) { - O(N); + O(d.next(I)); + } catch (x) { + _(x); } } - function k(L) { + function B(I) { try { - R(p.throw(L)); - } catch (N) { - O(N); + O(d.throw(I)); + } catch (x) { + _(x); } } - function R(L) { - var N; - L.done ? h(L.value) : (N = L.value, N instanceof v ? N : new v(function(B) { - B(N); - })).then(I, k); + function O(I) { + var x; + I.done ? b(I.value) : (x = I.value, x instanceof y ? x : new y(function(A) { + A(x); + })).then(E, B); } - R((p = p.apply(l, s || [])).next()); + O((d = d.apply(l, u || [])).next()); }); - }, a = this && this.__generator || function(l, s) { - var v, p, h, O, I = { label: 0, sent: function() { - if (1 & h[0]) throw h[1]; - return h[1]; + }, o = this && this.__generator || function(l, u) { + var y, d, b, _, E = { label: 0, sent: function() { + if (1 & b[0]) throw b[1]; + return b[1]; }, trys: [], ops: [] }; - return O = { next: k(0), throw: k(1), return: k(2) }, typeof Symbol == "function" && (O[Symbol.iterator] = function() { + return _ = { next: B(0), throw: B(1), return: B(2) }, typeof Symbol == "function" && (_[Symbol.iterator] = function() { return this; - }), O; - function k(R) { - return function(L) { - return function(N) { - if (v) throw new TypeError("Generator is already executing."); - for (; O && (O = 0, N[0] && (I = 0)), I; ) try { - if (v = 1, p && (h = 2 & N[0] ? p.return : N[0] ? p.throw || ((h = p.return) && h.call(p), 0) : p.next) && !(h = h.call(p, N[1])).done) return h; - switch (p = 0, h && (N = [2 & N[0], h.value]), N[0]) { + }), _; + function B(O) { + return function(I) { + return function(x) { + if (y) throw new TypeError("Generator is already executing."); + for (; _ && (_ = 0, x[0] && (E = 0)), E; ) try { + if (y = 1, d && (b = 2 & x[0] ? d.return : x[0] ? d.throw || ((b = d.return) && b.call(d), 0) : d.next) && !(b = b.call(d, x[1])).done) return b; + switch (d = 0, b && (x = [2 & x[0], b.value]), x[0]) { case 0: case 1: - h = N; + b = x; break; case 4: - return I.label++, { value: N[1], done: !1 }; + return E.label++, { value: x[1], done: !1 }; case 5: - I.label++, p = N[1], N = [0]; + E.label++, d = x[1], x = [0]; continue; case 7: - N = I.ops.pop(), I.trys.pop(); + x = E.ops.pop(), E.trys.pop(); continue; default: - if (!((h = (h = I.trys).length > 0 && h[h.length - 1]) || N[0] !== 6 && N[0] !== 2)) { - I = 0; + if (!((b = (b = E.trys).length > 0 && b[b.length - 1]) || x[0] !== 6 && x[0] !== 2)) { + E = 0; continue; } - if (N[0] === 3 && (!h || N[1] > h[0] && N[1] < h[3])) { - I.label = N[1]; + if (x[0] === 3 && (!b || x[1] > b[0] && x[1] < b[3])) { + E.label = x[1]; break; } - if (N[0] === 6 && I.label < h[1]) { - I.label = h[1], h = N; + if (x[0] === 6 && E.label < b[1]) { + E.label = b[1], b = x; break; } - if (h && I.label < h[2]) { - I.label = h[2], I.ops.push(N); + if (b && E.label < b[2]) { + E.label = b[2], E.ops.push(x); break; } - h[2] && I.ops.pop(), I.trys.pop(); + b[2] && E.ops.pop(), E.trys.pop(); continue; } - N = s.call(l, I); - } catch (B) { - N = [6, B], p = 0; + x = u.call(l, E); + } catch (A) { + x = [6, A], d = 0; } finally { - v = h = 0; + y = b = 0; } - if (5 & N[0]) throw N[1]; - return { value: N[0] ? N[1] : void 0, done: !0 }; - }([R, L]); + if (5 & x[0]) throw x[1]; + return { value: x[0] ? x[1] : void 0, done: !0 }; + }([O, I]); }; } }; Object.defineProperty(n, "__esModule", { value: !0 }), n.RpcClient = void 0; - var i = c(9592), m = c(1412), t = c(5409), f = c(8608), b = c(7545), y = c(7021), u = c(8389), d = function() { - function l(s) { - this.handler = s; + var i = s(9592), p = s(1412), a = s(5409), f = s(8608), C = s(7545), w = s(7021), m = s(8389), v = function() { + function l(u) { + this.handler = u; } - return l.prototype.getDeploy = function(s) { + return l.prototype.getDeploy = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamDeployHash), p = new t.ParamDeployHash(s), [4, this.processRequest(t.Method.GetDeploy, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamDeployHash), d = new a.ParamDeployHash(u), [4, this.processRequest(a.Method.GetDeploy, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.InfoGetDeployResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.InfoGetDeployResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getDeployFinalizedApproval = function(s) { + }, l.prototype.getDeployFinalizedApproval = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamDeployHash), p = new t.ParamDeployHash(s, !0), [4, this.processRequest(t.Method.GetDeploy, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamDeployHash), d = new a.ParamDeployHash(u, !0), [4, this.processRequest(a.Method.GetDeploy, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.InfoGetDeployResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.InfoGetDeployResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getTransactionByTransactionHash = function(s) { + }, l.prototype.getTransactionByTransactionHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var y, d, b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), p = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromTransactionHash(p)), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return y = new i.TypedJSON(a.ParamTransactionHash), d = C.Hash.fromHex(u), b = new a.ParamTransactionHash(C.TransactionHash.fromTransactionHash(d)), [4, this.processRequest(a.Method.GetTransaction, y.toPlainJson(b))]; case 1: - return O = R.sent(), (I = this.parseResponse(m.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = m.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, k]; + return _ = O.sent(), (E = this.parseResponse(p.InfoGetTransactionResultV1Compatible, _.result)).rawJSON = _.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(E, E.rawJSON)).rawJSON = _.result, [2, B]; } }); }); - }, l.prototype.getTransactionByDeployHash = function(s) { + }, l.prototype.getTransactionByDeployHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var y, d, b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), p = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromDeployHash(p)), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return y = new i.TypedJSON(a.ParamTransactionHash), d = C.Hash.fromHex(u), b = new a.ParamTransactionHash(C.TransactionHash.fromDeployHash(d)), [4, this.processRequest(a.Method.GetTransaction, y.toPlainJson(b))]; case 1: - return O = R.sent(), (I = this.parseResponse(m.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = m.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, k]; + return _ = O.sent(), (E = this.parseResponse(p.InfoGetTransactionResultV1Compatible, _.result)).rawJSON = _.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(E, E.rawJSON)).rawJSON = _.result, [2, B]; } }); }); - }, l.prototype.getTransactionFinalizedApprovalByTransactionHash = function(s) { + }, l.prototype.getTransactionFinalizedApprovalByTransactionHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var y, d, b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), p = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromTransactionHash(p), !0), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return y = new i.TypedJSON(a.ParamTransactionHash), d = C.Hash.fromHex(u), b = new a.ParamTransactionHash(C.TransactionHash.fromTransactionHash(d), !0), [4, this.processRequest(a.Method.GetTransaction, y.toPlainJson(b))]; case 1: - return O = R.sent(), (I = this.parseResponse(m.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = m.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, k]; + return _ = O.sent(), (E = this.parseResponse(p.InfoGetTransactionResultV1Compatible, _.result)).rawJSON = _.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(E, E.rawJSON)).rawJSON = _.result, [2, B]; } }); }); - }, l.prototype.getTransactionFinalizedApprovalByDeployHash = function(s) { + }, l.prototype.getTransactionFinalizedApprovalByDeployHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var y, d, b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), p = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromDeployHash(p), !0), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return y = new i.TypedJSON(a.ParamTransactionHash), d = C.Hash.fromHex(u), b = new a.ParamTransactionHash(C.TransactionHash.fromDeployHash(d), !0), [4, this.processRequest(a.Method.GetTransaction, y.toPlainJson(b))]; case 1: - return O = R.sent(), (I = this.parseResponse(m.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = m.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, k]; + return _ = O.sent(), (E = this.parseResponse(p.InfoGetTransactionResultV1Compatible, _.result)).rawJSON = _.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(E, E.rawJSON)).rawJSON = _.result, [2, B]; } }); }); - }, l.prototype.getStateItem = function(s, v, p) { + }, l.prototype.getStateItem = function(u, y, d) { return r(this, void 0, void 0, function() { - var h, O, I, k, R, L; - return a(this, function(N) { - switch (N.label) { + var b, _, E, B, O, I; + return o(this, function(x) { + switch (x.label) { case 0: - return (h = s) ? [3, 2] : [4, this.getStateRootHashLatest()]; + return (b = u) ? [3, 2] : [4, this.getStateRootHashLatest()]; case 1: - O = N.sent(), h = O.stateRootHash.toHex(), N.label = 2; + _ = x.sent(), b = _.stateRootHash.toHex(), x.label = 2; case 2: - return I = new i.TypedJSON(t.ParamStateRootHash), k = new t.ParamStateRootHash(h, v, p), [4, this.processRequest(t.Method.GetStateItem, I.toPlainJson(k))]; + return E = new i.TypedJSON(a.ParamStateRootHash), B = new a.ParamStateRootHash(b, y, d), [4, this.processRequest(a.Method.GetStateItem, E.toPlainJson(B))]; case 3: - return R = N.sent(), (L = this.parseResponse(m.StateGetItemResult, R.result)).rawJSON = R.result, [2, L]; + return O = x.sent(), (I = this.parseResponse(p.StateGetItemResult, O.result)).rawJSON = O.result, [2, I]; } }); }); - }, l.prototype.queryLatestGlobalState = function(s, v) { + }, l.prototype.queryLatestGlobalState = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.ParamQueryGlobalState), h = t.ParamQueryGlobalState.newQueryGlobalStateParam(s, v), [4, this.processRequest(t.Method.QueryGlobalState, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.ParamQueryGlobalState), b = a.ParamQueryGlobalState.newQueryGlobalStateParam(u, y), [4, this.processRequest(a.Method.QueryGlobalState, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.QueryGlobalStateResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.QueryGlobalStateResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.queryGlobalStateByBlockHash = function(s, v, p) { + }, l.prototype.queryGlobalStateByBlockHash = function(u, y, d) { return r(this, void 0, void 0, function() { - var h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return h = new i.TypedJSON(t.ParamQueryGlobalState), O = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, p, { blockHash: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(O))]; + return b = new i.TypedJSON(a.ParamQueryGlobalState), _ = a.ParamQueryGlobalState.newQueryGlobalStateParam(y, d, { blockHash: u }), [4, this.processRequest(a.Method.QueryGlobalState, b.toPlainJson(_))]; case 1: - return I = R.sent(), (k = this.parseResponse(m.QueryGlobalStateResult, I.result)).rawJSON = I.result, [2, k]; + return E = O.sent(), (B = this.parseResponse(p.QueryGlobalStateResult, E.result)).rawJSON = E.result, [2, B]; } }); }); - }, l.prototype.queryGlobalStateByBlockHeight = function(s, v, p) { + }, l.prototype.queryGlobalStateByBlockHeight = function(u, y, d) { return r(this, void 0, void 0, function() { - var h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return h = new i.TypedJSON(t.ParamQueryGlobalState), O = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, p, { blockHeight: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(O))]; + return b = new i.TypedJSON(a.ParamQueryGlobalState), _ = a.ParamQueryGlobalState.newQueryGlobalStateParam(y, d, { blockHeight: u }), [4, this.processRequest(a.Method.QueryGlobalState, b.toPlainJson(_))]; case 1: - return I = R.sent(), (k = this.parseResponse(m.QueryGlobalStateResult, I.result)).rawJSON = I.result, [2, k]; + return E = O.sent(), (B = this.parseResponse(p.QueryGlobalStateResult, E.result)).rawJSON = E.result, [2, B]; } }); }); - }, l.prototype.queryGlobalStateByStateHash = function(s, v, p) { + }, l.prototype.queryGlobalStateByStateHash = function(u, y, d) { return r(this, void 0, void 0, function() { - var h, O, I, k, R; - return a(this, function(L) { - switch (L.label) { + var b, _, E, B, O; + return o(this, function(I) { + switch (I.label) { case 0: - return h = new i.TypedJSON(t.ParamQueryGlobalState), s ? [3, 2] : (I = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, p), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(I))]); + return b = new i.TypedJSON(a.ParamQueryGlobalState), u ? [3, 2] : (E = a.ParamQueryGlobalState.newQueryGlobalStateParam(y, d), [4, this.processRequest(a.Method.QueryGlobalState, b.toPlainJson(E))]); case 1: - return O = L.sent(), [3, 4]; + return _ = I.sent(), [3, 4]; case 2: - return k = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, p, { stateRootHash: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(k))]; + return B = a.ParamQueryGlobalState.newQueryGlobalStateParam(y, d, { stateRootHash: u }), [4, this.processRequest(a.Method.QueryGlobalState, b.toPlainJson(B))]; case 3: - O = L.sent(), L.label = 4; + _ = I.sent(), I.label = 4; case 4: - return (R = this.parseResponse(m.QueryGlobalStateResult, O.result)).rawJSON = O.result, [2, R]; + return (O = this.parseResponse(p.QueryGlobalStateResult, _.result)).rawJSON = _.result, [2, O]; } }); }); - }, l.prototype.getLatestEntity = function(s) { + }, l.prototype.getLatestEntity = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamGetStateEntity), p = new t.ParamGetStateEntity(s), [4, this.processRequest(t.Method.GetStateEntity, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamGetStateEntity), d = new a.ParamGetStateEntity(u), [4, this.processRequest(a.Method.GetStateEntity, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.StateGetEntityResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.StateGetEntityResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getEntityByBlockHash = function(s, v) { + }, l.prototype.getEntityByBlockHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.ParamGetStateEntity), h = new t.ParamGetStateEntity(s, new t.BlockIdentifier(v)), [4, this.processRequest(t.Method.GetStateEntity, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.ParamGetStateEntity), b = new a.ParamGetStateEntity(u, new a.BlockIdentifier(y)), [4, this.processRequest(a.Method.GetStateEntity, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.StateGetEntityResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.StateGetEntityResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.getEntityByBlockHeight = function(s, v) { + }, l.prototype.getEntityByBlockHeight = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.ParamGetStateEntity), h = new t.ParamGetStateEntity(s, new t.BlockIdentifier(void 0, v)), [4, this.processRequest(t.Method.GetStateEntity, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.ParamGetStateEntity), b = new a.ParamGetStateEntity(u, new a.BlockIdentifier(void 0, y)), [4, this.processRequest(a.Method.GetStateEntity, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.StateGetEntityResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.StateGetEntityResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.getAccountInfoByBlockHash = function(s, v) { + }, l.prototype.getAccountInfoByBlockHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O; - return a(this, function(I) { - switch (I.label) { + var d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return p = new t.ParamGetAccountInfoBalance(v.toHex(), t.ParamBlockIdentifier.byHash(s)), [4, this.processRequest(t.Method.GetStateAccount, p.toJSON())]; + return d = new a.ParamGetAccountInfoBalance(y.toHex(), a.ParamBlockIdentifier.byHash(u)), [4, this.processRequest(a.Method.GetStateAccount, d.toJSON())]; case 1: - return h = I.sent(), (O = this.parseResponse(m.StateGetAccountInfo, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.StateGetAccountInfo, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getAccountInfoByBlockHeight = function(s, v) { + }, l.prototype.getAccountInfoByBlockHeight = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O; - return a(this, function(I) { - switch (I.label) { + var d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return p = new t.ParamGetAccountInfoBalance(v.toHex(), t.ParamBlockIdentifier.byHeight(s)), [4, this.processRequest(t.Method.GetStateAccount, p.toJSON())]; + return d = new a.ParamGetAccountInfoBalance(y.toHex(), a.ParamBlockIdentifier.byHeight(u)), [4, this.processRequest(a.Method.GetStateAccount, d.toJSON())]; case 1: - return h = I.sent(), (O = this.parseResponse(m.StateGetAccountInfo, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.StateGetAccountInfo, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getAccountInfo = function(s, v) { + }, l.prototype.getAccountInfo = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var d, b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - if ((p = s) || (p = new t.ParamBlockIdentifier()), v.accountHash) h = v.accountHash.toPrefixedString(); + if ((d = u) || (d = new a.ParamBlockIdentifier()), y.accountHash) b = y.accountHash.toPrefixedString(); else { - if (!v.publicKey) throw new Error("account identifier is empty"); - h = v.publicKey.toHex(); + if (!y.publicKey) throw new Error("account identifier is empty"); + b = y.publicKey.toHex(); } - return O = new t.ParamGetAccountInfoBalance(h, p), [4, this.processRequest(t.Method.GetStateAccount, O.toJSON())]; + return _ = new a.ParamGetAccountInfoBalance(b, d), [4, this.processRequest(a.Method.GetStateAccount, _.toJSON())]; case 1: - return I = R.sent(), (k = this.parseResponse(m.StateGetAccountInfo, I.result)).rawJSON = I.result, [2, k]; + return E = O.sent(), (B = this.parseResponse(p.StateGetAccountInfo, E.result)).rawJSON = E.result, [2, B]; } }); }); - }, l.prototype.getDictionaryItem = function(s, v, p) { + }, l.prototype.getDictionaryItem = function(u, y, d) { return r(this, void 0, void 0, function() { - return a(this, function(h) { - return [2, this.getDictionaryItemByIdentifier(s, new t.ParamDictionaryIdentifier(void 0, void 0, new t.ParamDictionaryIdentifierURef(p, v)))]; + return o(this, function(b) { + return [2, this.getDictionaryItemByIdentifier(u, new a.ParamDictionaryIdentifier(void 0, void 0, new a.ParamDictionaryIdentifierURef(d, y)))]; }); }); - }, l.prototype.getDictionaryItemByIdentifier = function(s, v) { + }, l.prototype.getDictionaryItemByIdentifier = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I, k, R; - return a(this, function(L) { - switch (L.label) { + var d, b, _, E, B, O; + return o(this, function(I) { + switch (I.label) { case 0: - return p = new i.TypedJSON(t.StateGetDictionaryRequest), (h = s) ? [3, 2] : [4, this.getStateRootHashLatest()]; + return d = new i.TypedJSON(a.StateGetDictionaryRequest), (b = u) ? [3, 2] : [4, this.getStateRootHashLatest()]; case 1: - O = L.sent(), h = O.stateRootHash.toHex(), L.label = 2; + _ = I.sent(), b = _.stateRootHash.toHex(), I.label = 2; case 2: - return I = new t.StateGetDictionaryRequest(h, v), [4, this.processRequest(t.Method.GetDictionaryItem, p.toPlainJson(I))]; + return E = new a.StateGetDictionaryRequest(b, y), [4, this.processRequest(a.Method.GetDictionaryItem, d.toPlainJson(E))]; case 3: - return k = L.sent(), (R = this.parseResponse(m.StateGetDictionaryResult, k.result)).rawJSON = k.result, [2, R]; + return B = I.sent(), (O = this.parseResponse(p.StateGetDictionaryResult, B.result)).rawJSON = B.result, [2, O]; } }); }); - }, l.prototype.getLatestBalance = function(s) { + }, l.prototype.getLatestBalance = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var y, d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return v = new i.TypedJSON(t.StateGetBalanceRequest), [4, this.getStateRootHashLatest()]; + return y = new i.TypedJSON(a.StateGetBalanceRequest), [4, this.getStateRootHashLatest()]; case 1: - return p = k.sent(), h = new t.StateGetBalanceRequest(p.stateRootHash.toHex(), s), [4, this.processRequest(t.Method.GetStateBalance, v.toPlainJson(h))]; + return d = B.sent(), b = new a.StateGetBalanceRequest(d.stateRootHash.toHex(), u), [4, this.processRequest(a.Method.GetStateBalance, y.toPlainJson(b))]; case 2: - return O = k.sent(), (I = this.parseResponse(m.StateGetBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.StateGetBalanceResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.getBalanceByStateRootHash = function(s, v) { + }, l.prototype.getBalanceByStateRootHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.StateGetBalanceRequest), h = new t.StateGetBalanceRequest(v, s), [4, this.processRequest(t.Method.GetStateBalance, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.StateGetBalanceRequest), b = new a.StateGetBalanceRequest(y, u), [4, this.processRequest(a.Method.GetStateBalance, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.StateGetBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.StateGetBalanceResult, _.result)).rawJSON = _.result, [2, E]; } }); }); }, l.prototype.getEraInfoLatest = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetEraInfo, null)]; + return [4, this.processRequest(a.Method.GetEraInfo, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.ChainGetEraInfoResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.ChainGetEraInfoResult, u.result)).rawJSON = u.result, [2, y]; } }); }); - }, l.prototype.getEraInfoByBlockHeight = function(s) { + }, l.prototype.getEraInfoByBlockHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetEraInfo, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHeight(u), [4, this.processRequest(a.Method.GetEraInfo, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetEraInfoResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetEraInfoResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getEraInfoByBlockHash = function(s) { + }, l.prototype.getEraInfoByBlockHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetEraInfo, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHash(u), [4, this.processRequest(a.Method.GetEraInfo, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetEraInfoResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetEraInfoResult, b.result)).rawJSON = b.result, [2, _]; } }); }); }, l.prototype.getLatestBlock = function() { return r(this, void 0, void 0, function() { - var s, v, p; - return a(this, function(h) { - switch (h.label) { + var u, y, d; + return o(this, function(b) { + switch (b.label) { case 0: - return [4, this.processRequest(t.Method.GetBlock, null)]; + return [4, this.processRequest(a.Method.GetBlock, null)]; case 1: - return s = h.sent(), (v = this.parseResponse(m.ChainGetBlockResultV1Compatible, s.result)).rawJSON = s.result, (p = m.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(v, v.rawJSON)).rawJSON = v.rawJSON, [2, p]; + return u = b.sent(), (y = this.parseResponse(p.ChainGetBlockResultV1Compatible, u.result)).rawJSON = u.result, (d = p.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(y, y.rawJSON)).rawJSON = y.rawJSON, [2, d]; } }); }); - }, l.prototype.getBlockByHash = function(s) { + }, l.prototype.getBlockByHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var y, d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetBlock, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHash(u), [4, this.processRequest(a.Method.GetBlock, y.toPlainJson(d))]; case 1: - return h = k.sent(), (O = this.parseResponse(m.ChainGetBlockResultV1Compatible, h.result)).rawJSON = h.result, (I = m.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(O, O.rawJSON)).rawJSON = h.result, [2, I]; + return b = B.sent(), (_ = this.parseResponse(p.ChainGetBlockResultV1Compatible, b.result)).rawJSON = b.result, (E = p.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(_, _.rawJSON)).rawJSON = b.result, [2, E]; } }); }); - }, l.prototype.getBlockByHeight = function(s) { + }, l.prototype.getBlockByHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var y, d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetBlock, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHeight(u), [4, this.processRequest(a.Method.GetBlock, y.toPlainJson(d))]; case 1: - return h = k.sent(), (O = this.parseResponse(m.ChainGetBlockResultV1Compatible, h.result)).rawJSON = h.result, (I = m.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(O, O.rawJSON)).rawJSON = h.result, [2, I]; + return b = B.sent(), (_ = this.parseResponse(p.ChainGetBlockResultV1Compatible, b.result)).rawJSON = b.result, (E = p.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(_, _.rawJSON)).rawJSON = b.result, [2, E]; } }); }); }, l.prototype.getLatestBlockTransfers = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetBlockTransfers, null)]; + return [4, this.processRequest(a.Method.GetBlockTransfers, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.ChainGetBlockTransfersResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.ChainGetBlockTransfersResult, u.result)).rawJSON = u.result, [2, y]; } }); }); - }, l.prototype.getBlockTransfersByHash = function(s) { + }, l.prototype.getBlockTransfersByHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetBlockTransfers, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHash(u), [4, this.processRequest(a.Method.GetBlockTransfers, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetBlockTransfersResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetBlockTransfersResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getBlockTransfersByHeight = function(s) { + }, l.prototype.getBlockTransfersByHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetBlockTransfers, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHeight(u), [4, this.processRequest(a.Method.GetBlockTransfers, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetBlockTransfersResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetBlockTransfersResult, b.result)).rawJSON = b.result, [2, _]; } }); }); }, l.prototype.getEraSummaryLatest = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetEraSummary, null)]; + return [4, this.processRequest(a.Method.GetEraSummary, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.ChainGetEraSummaryResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.ChainGetEraSummaryResult, u.result)).rawJSON = u.result, [2, y]; } }); }); - }, l.prototype.getEraSummaryByHash = function(s) { + }, l.prototype.getEraSummaryByHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetEraSummary, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHash(u), [4, this.processRequest(a.Method.GetEraSummary, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetEraSummaryResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetEraSummaryResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getEraSummaryByHeight = function(s) { + }, l.prototype.getEraSummaryByHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetEraSummary, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHeight(u), [4, this.processRequest(a.Method.GetEraSummary, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetEraSummaryResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetEraSummaryResult, b.result)).rawJSON = b.result, [2, _]; } }); }); }, l.prototype.getLatestAuctionInfo = function() { return r(this, void 0, void 0, function() { - var s, v, p, h; - return a(this, function(O) { - switch (O.label) { + var u, y, d, b; + return o(this, function(_) { + switch (_.label) { case 0: - return O.trys.push([0, 2, , 4]), [4, this.getLatestAuctionInfoV2()]; + return _.trys.push([0, 2, , 4]), [4, this.getLatestAuctionInfoV2()]; case 1: - return s = O.sent(), (h = new m.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV2(s.auctionState), h.version = s.version, h.rawJSON = s.rawJSON, [2, h]; + return u = _.sent(), (b = new p.StateGetAuctionInfoResult()).auctionState = C.AuctionState.fromV2(u.auctionState), b.version = u.version, b.rawJSON = u.rawJSON, [2, b]; case 2: - if (!(((v = O.sent()) == null ? void 0 : v.message) || "").includes("Method not found")) throw v; + if (!(((y = _.sent()) == null ? void 0 : y.message) || "").includes("Method not found")) throw y; return [4, this.getLatestAuctionInfoV1()]; case 3: - return p = O.sent(), (h = new m.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV1(p.auctionState), h.version = p.version, h.rawJSON = p.rawJSON, [2, h]; + return d = _.sent(), (b = new p.StateGetAuctionInfoResult()).auctionState = C.AuctionState.fromV1(d.auctionState), b.version = d.version, b.rawJSON = d.rawJSON, [2, b]; case 4: return [2]; } @@ -22250,623 +21265,622 @@ function B6() { }); }, l.prototype.getLatestAuctionInfoV1 = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetAuctionInfo, null)]; + return [4, this.processRequest(a.Method.GetAuctionInfo, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.StateGetAuctionInfoV1Result, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.StateGetAuctionInfoV1Result, u.result)).rawJSON = u.result, [2, y]; } }); }); }, l.prototype.getLatestAuctionInfoV2 = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetAuctionInfoV2, null)]; + return [4, this.processRequest(a.Method.GetAuctionInfoV2, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.StateGetAuctionInfoV2Result, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.StateGetAuctionInfoV2Result, u.result)).rawJSON = u.result, [2, y]; } }); }); - }, l.prototype.getAuctionInfoByHash = function(s) { + }, l.prototype.getAuctionInfoByHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return I.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHash(s)]; + return E.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHash(u)]; case 1: - return v = I.sent(), (O = new m.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV2(v.auctionState), O.version = v.version, O.rawJSON = v.rawJSON, [2, O]; + return y = E.sent(), (_ = new p.StateGetAuctionInfoResult()).auctionState = C.AuctionState.fromV2(y.auctionState), _.version = y.version, _.rawJSON = y.rawJSON, [2, _]; case 2: - if (!(((p = I.sent()) == null ? void 0 : p.message) || "").includes("Method not found")) throw p; - return [4, this.getAuctionInfoV1ByHash(s)]; + if (!(((d = E.sent()) == null ? void 0 : d.message) || "").includes("Method not found")) throw d; + return [4, this.getAuctionInfoV1ByHash(u)]; case 3: - return h = I.sent(), (O = new m.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV1(h.auctionState), O.version = h.version, O.rawJSON = h.rawJSON, [2, O]; + return b = E.sent(), (_ = new p.StateGetAuctionInfoResult()).auctionState = C.AuctionState.fromV1(b.auctionState), _.version = b.version, _.rawJSON = b.rawJSON, [2, _]; case 4: return [2]; } }); }); - }, l.prototype.getAuctionInfoV1ByHash = function(s) { + }, l.prototype.getAuctionInfoV1ByHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetAuctionInfo, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHash(u), [4, this.processRequest(a.Method.GetAuctionInfo, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.StateGetAuctionInfoV1Result, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.StateGetAuctionInfoV1Result, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getAuctionInfoV2ByHash = function(s) { + }, l.prototype.getAuctionInfoV2ByHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetAuctionInfoV2, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHash(u), [4, this.processRequest(a.Method.GetAuctionInfoV2, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.StateGetAuctionInfoV2Result, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.StateGetAuctionInfoV2Result, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getAuctionInfoByHeight = function(s) { + }, l.prototype.getAuctionInfoByHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return I.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHeight(s)]; + return E.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHeight(u)]; case 1: - return v = I.sent(), (O = new m.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV2(v.auctionState), O.version = v.version, O.rawJSON = v.rawJSON, [2, O]; + return y = E.sent(), (_ = new p.StateGetAuctionInfoResult()).auctionState = C.AuctionState.fromV2(y.auctionState), _.version = y.version, _.rawJSON = y.rawJSON, [2, _]; case 2: - if (!(((p = I.sent()) == null ? void 0 : p.message) || "").includes("Method not found")) throw p; - return [4, this.getAuctionInfoV1ByHeight(s)]; + if (!(((d = E.sent()) == null ? void 0 : d.message) || "").includes("Method not found")) throw d; + return [4, this.getAuctionInfoV1ByHeight(u)]; case 3: - return h = I.sent(), (O = new m.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV1(h.auctionState), O.version = h.version, O.rawJSON = h.rawJSON, [2, O]; + return b = E.sent(), (_ = new p.StateGetAuctionInfoResult()).auctionState = C.AuctionState.fromV1(b.auctionState), _.version = b.version, _.rawJSON = b.rawJSON, [2, _]; case 4: return [2]; } }); }); - }, l.prototype.getAuctionInfoV1ByHeight = function(s) { + }, l.prototype.getAuctionInfoV1ByHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetAuctionInfo, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHeight(u), [4, this.processRequest(a.Method.GetAuctionInfo, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.StateGetAuctionInfoV1Result, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.StateGetAuctionInfoV1Result, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getAuctionInfoV2ByHeight = function(s) { + }, l.prototype.getAuctionInfoV2ByHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetAuctionInfoV2, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHeight(u), [4, this.processRequest(a.Method.GetAuctionInfoV2, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.StateGetAuctionInfoV2Result, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.StateGetAuctionInfoV2Result, b.result)).rawJSON = b.result, [2, _]; } }); }); }, l.prototype.getStateRootHashLatest = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetStateRootHash, null)]; + return [4, this.processRequest(a.Method.GetStateRootHash, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.ChainGetStateRootHashResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.ChainGetStateRootHashResult, u.result)).rawJSON = u.result, [2, y]; } }); }); - }, l.prototype.getStateRootHashByHash = function(s) { + }, l.prototype.getStateRootHashByHash = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetStateRootHash, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHash(u), [4, this.processRequest(a.Method.GetStateRootHash, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetStateRootHashResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetStateRootHashResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getStateRootHashByHeight = function(s) { + }, l.prototype.getStateRootHashByHeight = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), p = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetStateRootHash, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.ParamBlockIdentifier), d = a.ParamBlockIdentifier.byHeight(u), [4, this.processRequest(a.Method.GetStateRootHash, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.ChainGetStateRootHashResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.ChainGetStateRootHashResult, b.result)).rawJSON = b.result, [2, _]; } }); }); }, l.prototype.getValidatorChangesInfo = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetValidatorChanges, null)]; + return [4, this.processRequest(a.Method.GetValidatorChanges, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.InfoGetValidatorChangesResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.InfoGetValidatorChangesResult, u.result)).rawJSON = u.result, [2, y]; } }); }); }, l.prototype.getStatus = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetStatus, null)]; + return [4, this.processRequest(a.Method.GetStatus, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.InfoGetStatusResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.InfoGetStatusResult, u.result)).rawJSON = u.result, [2, y]; } }); }); }, l.prototype.getPeers = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.GetPeers, null)]; + return [4, this.processRequest(a.Method.GetPeers, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.InfoGetPeerResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.InfoGetPeerResult, u.result)).rawJSON = u.result, [2, y]; } }); }); - }, l.prototype.putDeploy = function(s) { + }, l.prototype.putDeploy = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.PutDeployRequest), p = new t.PutDeployRequest(s), [4, this.processRequest(t.Method.PutDeploy, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.PutDeployRequest), d = new a.PutDeployRequest(u), [4, this.processRequest(a.Method.PutDeploy, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.PutDeployResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.PutDeployResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.putTransaction = function(s) { + }, l.prototype.putTransaction = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.PutTransactionRequest), p = new t.PutTransactionRequest(s.getTransactionWrapper()), [4, this.processRequest(t.Method.PutTransaction, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.PutTransactionRequest), d = new a.PutTransactionRequest(u.getTransactionWrapper()), [4, this.processRequest(a.Method.PutTransaction, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.PutTransactionResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.PutTransactionResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.queryLatestBalance = function(s) { + }, l.prototype.queryLatestBalance = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.QueryBalanceRequest), p = new t.QueryBalanceRequest(s), [4, this.processRequest(t.Method.QueryBalance, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.QueryBalanceRequest), d = new a.QueryBalanceRequest(u), [4, this.processRequest(a.Method.QueryBalance, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.QueryBalanceResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.QueryBalanceResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.queryBalanceByBlockHeight = function(s, v) { + }, l.prototype.queryBalanceByBlockHeight = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(void 0, v)), [4, this.processRequest(t.Method.QueryBalance, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.QueryBalanceRequest), b = new a.QueryBalanceRequest(u, new a.GlobalStateIdentifier(void 0, y)), [4, this.processRequest(a.Method.QueryBalance, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.QueryBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.QueryBalanceResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.queryBalanceByBlockHash = function(s, v) { + }, l.prototype.queryBalanceByBlockHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(v)), [4, this.processRequest(t.Method.QueryBalance, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.QueryBalanceRequest), b = new a.QueryBalanceRequest(u, new a.GlobalStateIdentifier(y)), [4, this.processRequest(a.Method.QueryBalance, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.QueryBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.QueryBalanceResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.queryBalanceByStateRootHash = function(s, v) { + }, l.prototype.queryBalanceByStateRootHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(void 0, void 0, v)), [4, this.processRequest(t.Method.QueryBalance, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.QueryBalanceRequest), b = new a.QueryBalanceRequest(u, new a.GlobalStateIdentifier(void 0, void 0, y)), [4, this.processRequest(a.Method.QueryBalance, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.QueryBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.QueryBalanceResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.queryLatestBalanceDetails = function(s) { + }, l.prototype.queryLatestBalanceDetails = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.QueryBalanceDetailsRequest), p = new t.QueryBalanceDetailsRequest(s), [4, this.processRequest(t.Method.QueryBalanceDetails, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.QueryBalanceDetailsRequest), d = new a.QueryBalanceDetailsRequest(u), [4, this.processRequest(a.Method.QueryBalanceDetails, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.QueryBalanceDetailsResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.QueryBalanceDetailsResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.queryBalanceDetailsByStateRootHash = function(s, v) { + }, l.prototype.queryBalanceDetailsByStateRootHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(void 0, void 0, v)), [4, this.processRequest(t.Method.QueryBalanceDetails, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.QueryBalanceDetailsRequest), b = new a.QueryBalanceDetailsRequest(u, new a.GlobalStateIdentifier(void 0, void 0, y)), [4, this.processRequest(a.Method.QueryBalanceDetails, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.QueryBalanceDetailsResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.queryBalanceDetailsByBlockHeight = function(s, v) { + }, l.prototype.queryBalanceDetailsByBlockHeight = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(void 0, v)), [4, this.processRequest(t.Method.QueryBalanceDetails, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.QueryBalanceDetailsRequest), b = new a.QueryBalanceDetailsRequest(u, new a.GlobalStateIdentifier(void 0, y)), [4, this.processRequest(a.Method.QueryBalanceDetails, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.QueryBalanceDetailsResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.queryBalanceDetailsByBlockHash = function(s, v) { + }, l.prototype.queryBalanceDetailsByBlockHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(v)), [4, this.processRequest(t.Method.QueryBalanceDetails, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.QueryBalanceDetailsRequest), b = new a.QueryBalanceDetailsRequest(u, new a.GlobalStateIdentifier(y)), [4, this.processRequest(a.Method.QueryBalanceDetails, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.QueryBalanceDetailsResult, _.result)).rawJSON = _.result, [2, E]; } }); }); }, l.prototype.getChainspec = function() { return r(this, void 0, void 0, function() { - var s, v; - return a(this, function(p) { - switch (p.label) { + var u, y; + return o(this, function(d) { + switch (d.label) { case 0: - return [4, this.processRequest(t.Method.InfoGetChainspec, null)]; + return [4, this.processRequest(a.Method.InfoGetChainspec, null)]; case 1: - return s = p.sent(), (v = this.parseResponse(m.InfoGetChainspecResult, s.result)).rawJSON = s.result, [2, v]; + return u = d.sent(), (y = this.parseResponse(p.InfoGetChainspecResult, u.result)).rawJSON = u.result, [2, y]; } }); }); - }, l.prototype.getValidatorRewardByEraID = function(s, v) { + }, l.prototype.getValidatorRewardByEraID = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(void 0, v)), [4, this.processRequest(t.Method.GetReward, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.InfoGetRewardRequest), b = new a.InfoGetRewardRequest(u, void 0, new a.EraIdentifier(void 0, y)), [4, this.processRequest(a.Method.GetReward, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.InfoGetRewardResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.getValidatorRewardByBlockHash = function(s, v) { + }, l.prototype.getValidatorRewardByBlockHash = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(new t.BlockIdentifier(v))), [4, this.processRequest(t.Method.GetReward, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.InfoGetRewardRequest), b = new a.InfoGetRewardRequest(u, void 0, new a.EraIdentifier(new a.BlockIdentifier(y))), [4, this.processRequest(a.Method.GetReward, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.InfoGetRewardResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.getValidatorRewardByBlockHeight = function(s, v) { + }, l.prototype.getValidatorRewardByBlockHeight = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(new t.BlockIdentifier(void 0, v))), [4, this.processRequest(t.Method.GetReward, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.InfoGetRewardRequest), b = new a.InfoGetRewardRequest(u, void 0, new a.EraIdentifier(new a.BlockIdentifier(void 0, y))), [4, this.processRequest(a.Method.GetReward, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.InfoGetRewardResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.getDelegatorRewardByEraID = function(s, v, p) { + }, l.prototype.getDelegatorRewardByEraID = function(u, y, d) { return r(this, void 0, void 0, function() { - var h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return h = new i.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(void 0, p)), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; + return b = new i.TypedJSON(a.InfoGetRewardRequest), _ = new a.InfoGetRewardRequest(u, y, new a.EraIdentifier(void 0, d)), [4, this.processRequest(a.Method.GetReward, b.toPlainJson(_))]; case 1: - return I = R.sent(), (k = this.parseResponse(m.InfoGetRewardResult, I.result)).rawJSON = I.result, [2, k]; + return E = O.sent(), (B = this.parseResponse(p.InfoGetRewardResult, E.result)).rawJSON = E.result, [2, B]; } }); }); - }, l.prototype.getDelegatorRewardByBlockHash = function(s, v, p) { + }, l.prototype.getDelegatorRewardByBlockHash = function(u, y, d) { return r(this, void 0, void 0, function() { - var h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return h = new i.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(new t.BlockIdentifier(p))), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; + return b = new i.TypedJSON(a.InfoGetRewardRequest), _ = new a.InfoGetRewardRequest(u, y, new a.EraIdentifier(new a.BlockIdentifier(d))), [4, this.processRequest(a.Method.GetReward, b.toPlainJson(_))]; case 1: - return I = R.sent(), (k = this.parseResponse(m.InfoGetRewardResult, I.result)).rawJSON = I.result, [2, k]; + return E = O.sent(), (B = this.parseResponse(p.InfoGetRewardResult, E.result)).rawJSON = E.result, [2, B]; } }); }); - }, l.prototype.getDelegatorRewardByBlockHeight = function(s, v, p) { + }, l.prototype.getDelegatorRewardByBlockHeight = function(u, y, d) { return r(this, void 0, void 0, function() { - var h, O, I, k; - return a(this, function(R) { - switch (R.label) { + var b, _, E, B; + return o(this, function(O) { + switch (O.label) { case 0: - return h = new i.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(new t.BlockIdentifier(void 0, p))), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; + return b = new i.TypedJSON(a.InfoGetRewardRequest), _ = new a.InfoGetRewardRequest(u, y, new a.EraIdentifier(new a.BlockIdentifier(void 0, d))), [4, this.processRequest(a.Method.GetReward, b.toPlainJson(_))]; case 1: - return I = R.sent(), (k = this.parseResponse(m.InfoGetRewardResult, I.result)).rawJSON = I.result, [2, k]; + return E = O.sent(), (B = this.parseResponse(p.InfoGetRewardResult, E.result)).rawJSON = E.result, [2, B]; } }); }); - }, l.prototype.getLatestValidatorReward = function(s) { + }, l.prototype.getLatestValidatorReward = function(u) { return r(this, void 0, void 0, function() { - var v, p, h, O; - return a(this, function(I) { - switch (I.label) { + var y, d, b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return v = new i.TypedJSON(t.InfoGetRewardRequest), p = new t.InfoGetRewardRequest(s), [4, this.processRequest(t.Method.GetReward, v.toPlainJson(p))]; + return y = new i.TypedJSON(a.InfoGetRewardRequest), d = new a.InfoGetRewardRequest(u), [4, this.processRequest(a.Method.GetReward, y.toPlainJson(d))]; case 1: - return h = I.sent(), (O = this.parseResponse(m.InfoGetRewardResult, h.result)).rawJSON = h.result, [2, O]; + return b = E.sent(), (_ = this.parseResponse(p.InfoGetRewardResult, b.result)).rawJSON = b.result, [2, _]; } }); }); - }, l.prototype.getLatestDelegatorReward = function(s, v) { + }, l.prototype.getLatestDelegatorReward = function(u, y) { return r(this, void 0, void 0, function() { - var p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return p = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, v), [4, this.processRequest(t.Method.GetReward, p.toPlainJson(h))]; + return d = new i.TypedJSON(a.InfoGetRewardRequest), b = new a.InfoGetRewardRequest(u, y), [4, this.processRequest(a.Method.GetReward, d.toPlainJson(b))]; case 1: - return O = k.sent(), (I = this.parseResponse(m.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return _ = B.sent(), (E = this.parseResponse(p.InfoGetRewardResult, _.result)).rawJSON = _.result, [2, E]; } }); }); - }, l.prototype.waitForConfirmation = function(s, v, p, h, O) { - var I; - return h === void 0 && (h = 3), O === void 0 && (O = 500), r(this, void 0, void 0, function() { - var k, R, L, N; - return a(this, function(B) { - switch (B.label) { + }, l.prototype.waitForConfirmation = function(u, y, d, b, _) { + var E; + return b === void 0 && (b = 3), _ === void 0 && (_ = 500), r(this, void 0, void 0, function() { + var B, O, I, x; + return o(this, function(A) { + switch (A.label) { case 0: - k = setTimeout(function() { + B = setTimeout(function() { throw new Error("Timeout"); - }, p), R = 0, B.label = 1; + }, d), O = 0, A.label = 1; case 1: - B.label = 2; + A.label = 2; case 2: - return B.trys.push([2, 4, , 6]), [4, s(v)]; + return A.trys.push([2, 4, , 6]), [4, u(y)]; case 3: - return L = B.sent(), !((I = L?.executionInfo) === null || I === void 0) && I.executionResult ? (clearTimeout(k), [2, L]) : [3, 6]; + return I = A.sent(), !((E = I?.executionInfo) === null || E === void 0) && E.executionResult ? (clearTimeout(B), [2, I]) : [3, 6]; case 4: - if (N = B.sent(), R >= h) throw clearTimeout(k), new Error("Failed after ".concat(h, " retries: ").concat(N.message)); - return R++, console.warn("Attempt ".concat(R, " failed: ").concat(N.message, ". Retrying in ").concat(O, "ms...")), [4, (0, u.sleep)(O)]; + if (x = A.sent(), O >= b) throw clearTimeout(B), new Error("Failed after ".concat(b, " retries: ").concat(x.message)); + return O++, console.warn("Attempt ".concat(O, " failed: ").concat(x.message, ". Retrying in ").concat(_, "ms...")), [4, (0, m.sleep)(_)]; case 5: - return B.sent(), [3, 1]; + return A.sent(), [3, 1]; case 6: - return [4, (0, u.sleep)(400)]; + return [4, (0, m.sleep)(400)]; case 7: - return B.sent(), [3, 1]; + return A.sent(), [3, 1]; case 8: return [2]; } }); }); - }, l.prototype.waitForTransaction = function(s, v) { - var p; - return v === void 0 && (v = 6e3), r(this, void 0, void 0, function() { - return a(this, function(h) { - return [2, this.waitForConfirmation(this.getTransactionByTransactionHash.bind(this), (p = s?.hash) === null || p === void 0 ? void 0 : p.toHex(), v)]; + }, l.prototype.waitForTransaction = function(u, y) { + var d; + return y === void 0 && (y = 6e3), r(this, void 0, void 0, function() { + return o(this, function(b) { + return [2, this.waitForConfirmation(this.getTransactionByTransactionHash.bind(this), (d = u?.hash) === null || d === void 0 ? void 0 : d.toHex(), y)]; }); }); - }, l.prototype.waitForDeploy = function(s, v) { - var p; - return v === void 0 && (v = 6e4), r(this, void 0, void 0, function() { - return a(this, function(h) { - return [2, this.waitForConfirmation(this.getDeploy.bind(this), (p = s?.hash) === null || p === void 0 ? void 0 : p.toHex(), v)]; + }, l.prototype.waitForDeploy = function(u, y) { + var d; + return y === void 0 && (y = 6e4), r(this, void 0, void 0, function() { + return o(this, function(b) { + return [2, this.waitForConfirmation(this.getDeploy.bind(this), (d = u?.hash) === null || d === void 0 ? void 0 : d.toHex(), y)]; }); }); - }, l.prototype.parseResponse = function(s, v) { - var p = new i.TypedJSON(s).parse(v); - if (!p) throw new Error("Error parsing ".concat(s.name, " response data")); - return p; - }, l.prototype.processRequest = function(s, v, p) { - return p === void 0 && (p = "0"), r(this, void 0, void 0, function() { - var h, O; - return a(this, function(I) { - switch (I.label) { + }, l.prototype.parseResponse = function(u, y) { + var d = new i.TypedJSON(u).parse(y); + if (!d) throw new Error("Error parsing ".concat(u.name, " response data")); + return d; + }, l.prototype.processRequest = function(u, y, d) { + return d === void 0 && (d = "0"), r(this, void 0, void 0, function() { + var b, _; + return o(this, function(E) { + switch (E.label) { case 0: - return h = t.RpcRequest.defaultRpcRequest(s, v), p !== "0" && (h.id = f.IDValue.fromString(p)), [4, this.handler.processCall(h)]; + return b = a.RpcRequest.defaultRpcRequest(u, y), d !== "0" && (b.id = f.IDValue.fromString(d)), [4, this.handler.processCall(b)]; case 1: - if ((O = I.sent()).error) throw new y.HttpError(O.error.code, O.error); - return [2, O]; + if ((_ = E.sent()).error) throw new w.HttpError(_.error.code, _.error); + return [2, _]; } }); }); }, l; }(); - n.RpcClient = d; - }, 5060: function(x, n, c) { - var r = this && this.__awaiter || function(y, u, d, l) { - return new (d || (d = Promise))(function(s, v) { - function p(I) { + n.RpcClient = v; + }, 5060(g, n, s) { + var r = this && this.__awaiter || function(w, m, v, l) { + return new (v || (v = Promise))(function(u, y) { + function d(E) { try { - O(l.next(I)); - } catch (k) { - v(k); + _(l.next(E)); + } catch (B) { + y(B); } } - function h(I) { + function b(E) { try { - O(l.throw(I)); - } catch (k) { - v(k); + _(l.throw(E)); + } catch (B) { + y(B); } } - function O(I) { - var k; - I.done ? s(I.value) : (k = I.value, k instanceof d ? k : new d(function(R) { - R(k); - })).then(p, h); + function _(E) { + var B; + E.done ? u(E.value) : (B = E.value, B instanceof v ? B : new v(function(O) { + O(B); + })).then(d, b); } - O((l = l.apply(y, u || [])).next()); + _((l = l.apply(w, m || [])).next()); }); - }, a = this && this.__generator || function(y, u) { - var d, l, s, v, p = { label: 0, sent: function() { - if (1 & s[0]) throw s[1]; - return s[1]; + }, o = this && this.__generator || function(w, m) { + var v, l, u, y, d = { label: 0, sent: function() { + if (1 & u[0]) throw u[1]; + return u[1]; }, trys: [], ops: [] }; - return v = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (v[Symbol.iterator] = function() { + return y = { next: b(0), throw: b(1), return: b(2) }, typeof Symbol == "function" && (y[Symbol.iterator] = function() { return this; - }), v; - function h(O) { - return function(I) { - return function(k) { - if (d) throw new TypeError("Generator is already executing."); - for (; v && (v = 0, k[0] && (p = 0)), p; ) try { - if (d = 1, l && (s = 2 & k[0] ? l.return : k[0] ? l.throw || ((s = l.return) && s.call(l), 0) : l.next) && !(s = s.call(l, k[1])).done) return s; - switch (l = 0, s && (k = [2 & k[0], s.value]), k[0]) { + }), y; + function b(_) { + return function(E) { + return function(B) { + if (v) throw new TypeError("Generator is already executing."); + for (; y && (y = 0, B[0] && (d = 0)), d; ) try { + if (v = 1, l && (u = 2 & B[0] ? l.return : B[0] ? l.throw || ((u = l.return) && u.call(l), 0) : l.next) && !(u = u.call(l, B[1])).done) return u; + switch (l = 0, u && (B = [2 & B[0], u.value]), B[0]) { case 0: case 1: - s = k; + u = B; break; case 4: - return p.label++, { value: k[1], done: !1 }; + return d.label++, { value: B[1], done: !1 }; case 5: - p.label++, l = k[1], k = [0]; + d.label++, l = B[1], B = [0]; continue; case 7: - k = p.ops.pop(), p.trys.pop(); + B = d.ops.pop(), d.trys.pop(); continue; default: - if (!((s = (s = p.trys).length > 0 && s[s.length - 1]) || k[0] !== 6 && k[0] !== 2)) { - p = 0; + if (!((u = (u = d.trys).length > 0 && u[u.length - 1]) || B[0] !== 6 && B[0] !== 2)) { + d = 0; continue; } - if (k[0] === 3 && (!s || k[1] > s[0] && k[1] < s[3])) { - p.label = k[1]; + if (B[0] === 3 && (!u || B[1] > u[0] && B[1] < u[3])) { + d.label = B[1]; break; } - if (k[0] === 6 && p.label < s[1]) { - p.label = s[1], s = k; + if (B[0] === 6 && d.label < u[1]) { + d.label = u[1], u = B; break; } - if (s && p.label < s[2]) { - p.label = s[2], p.ops.push(k); + if (u && d.label < u[2]) { + d.label = u[2], d.ops.push(B); break; } - s[2] && p.ops.pop(), p.trys.pop(); + u[2] && d.ops.pop(), d.trys.pop(); continue; } - k = u.call(y, p); - } catch (R) { - k = [6, R], l = 0; + B = m.call(w, d); + } catch (O) { + B = [6, O], l = 0; } finally { - d = s = 0; + v = u = 0; } - if (5 & k[0]) throw k[1]; - return { value: k[0] ? k[1] : void 0, done: !0 }; - }([O, I]); + if (5 & B[0]) throw B[1]; + return { value: B[0] ? B[1] : void 0, done: !0 }; + }([_, E]); }; } }; Object.defineProperty(n, "__esModule", { value: !0 }), n.SpeculativeClient = void 0; - var i = c(9592), m = c(5409), t = c(1412), f = c(8608), b = function() { - function y(u) { - this.handler = u; + var i = s(9592), p = s(5409), a = s(1412), f = s(8608), C = function() { + function w(m) { + this.handler = m; } - return y.newSpeculativeClient = function(u) { - return new y(u); - }, y.prototype.speculativeExec = function(u, d, l) { + return w.newSpeculativeClient = function(m) { + return new w(m); + }, w.prototype.speculativeExec = function(m, v, l) { return r(this, void 0, void 0, function() { - var s, v, p, h, O, I; - return a(this, function(k) { - switch (k.label) { + var u, y, d, b, _, E; + return o(this, function(B) { + switch (B.label) { case 0: - return s = new i.TypedJSON(m.SpeculativeExecParams), v = new m.SpeculativeExecParams(d, l), p = m.RpcRequest.defaultRpcRequest(m.Method.SpeculativeExec, s.toPlainJson(v)), u && u !== "0" && (p.id = new f.IDValue(u)), [4, this.handler.processCall(p)]; + return u = new i.TypedJSON(p.SpeculativeExecParams), y = new p.SpeculativeExecParams(v, l), d = p.RpcRequest.defaultRpcRequest(p.Method.SpeculativeExec, u.toPlainJson(y)), m && m !== "0" && (d.id = new f.IDValue(m)), [4, this.handler.processCall(d)]; case 1: - if (!(h = k.sent())) throw new Error("Handler response is empty"); - if (h.error) throw new Error("RPC call failed, details: ".concat(JSON.stringify(h.error))); + if (!(b = B.sent())) throw new Error("Handler response is empty"); + if (b.error) throw new Error("RPC call failed, details: ".concat(JSON.stringify(b.error))); try { - if (O = new i.TypedJSON(t.RpcResponse), !(I = O.parse(h))) throw new Error("Error parsing JSON"); - return [2, t.SpeculativeExecResult.fromJSON(I)]; - } catch (R) { - throw new Error("Error parsing JSON, details: ".concat(R)); + if (_ = new i.TypedJSON(a.RpcResponse), !(E = _.parse(b))) throw new Error("Error parsing JSON"); + return [2, a.SpeculativeExecResult.fromJSON(E)]; + } catch (O) { + throw new Error("Error parsing JSON, details: ".concat(O)); } - return [2]; } }); }); - }, y; + }, w; }(); - n.SpeculativeClient = b; - }, 7262: function(x, n, c) { + n.SpeculativeClient = C; + }, 7262(g, n, s) { var r = this && this.__importDefault || function(f) { return f && f.__esModule ? f : { default: f }; }; Object.defineProperty(n, "__esModule", { value: !0 }), n.SseClient = void 0; - var a = r(c(1731)), i = c(3662), m = c(3307), t = function() { - function f(b) { - this.eventStreamUrl = b, this.subscribedTo = [], this.parser = new m.EventParser(); - } - return f.prototype.subscribe = function(b, y) { - return this.subscribedTo.some(function(u) { - return u.eventName === b; - }) ? (0, i.Err)("Already subscribed to this event") : (this.subscribedTo.push({ eventName: b, eventHandlerFn: y }), (0, i.Ok)(!0)); - }, f.prototype.unsubscribe = function(b) { - return this.subscribedTo.some(function(y) { - return y.eventName === b; - }) ? (this.subscribedTo = this.subscribedTo.filter(function(y) { - return y.eventName !== b; + var o = r(s(1731)), i = s(3662), p = s(3307), a = function() { + function f(C) { + this.eventStreamUrl = C, this.subscribedTo = [], this.parser = new p.EventParser(); + } + return f.prototype.subscribe = function(C, w) { + return this.subscribedTo.some(function(m) { + return m.eventName === C; + }) ? (0, i.Err)("Already subscribed to this event") : (this.subscribedTo.push({ eventName: C, eventHandlerFn: w }), (0, i.Ok)(!0)); + }, f.prototype.unsubscribe = function(C) { + return this.subscribedTo.some(function(w) { + return w.eventName === C; + }) ? (this.subscribedTo = this.subscribedTo.filter(function(w) { + return w.eventName !== C; }), (0, i.Ok)(!0)) : (0, i.Err)("Cannot find provided subscription"); - }, f.prototype.runEventsLoop = function(b) { - var y = this; - this.subscribedTo.forEach(function(u) { - if (y.parser.shouldHandleEvent(b.data, u.eventName)) { - var d = y.parser.parseEvent(b.data, b.type, b.lastEventId); - u.eventHandlerFn(d); + }, f.prototype.runEventsLoop = function(C) { + var w = this; + this.subscribedTo.forEach(function(m) { + if (w.parser.shouldHandleEvent(C.data, m.eventName)) { + var v = w.parser.parseEvent(C.data, C.type, C.lastEventId); + m.eventHandlerFn(v); } }); - }, f.prototype.start = function(b) { - var y = this, u = this.eventStreamUrl.includes("?") ? "&" : "?", d = "".concat(this.eventStreamUrl).concat(u); - b !== void 0 && (d += "start_from=".concat(b)), this.eventSource = new a.default(d), this.eventSource.onmessage = function(l) { - return y.runEventsLoop(l); + }, f.prototype.start = function(C) { + var w = this, m = this.eventStreamUrl.includes("?") ? "&" : "?", v = "".concat(this.eventStreamUrl).concat(m); + C !== void 0 && (v += "start_from=".concat(C)), this.eventSource = new o.default(v), this.eventSource.onmessage = function(l) { + return w.runEventsLoop(l); }, this.eventSource.onerror = function(l) { throw l; }; @@ -22874,1308 +21888,1310 @@ function B6() { this.eventSource && this.eventSource.close(); }, f; }(); - n.SseClient = t; - }, 4497: function(x, n, c) { - var r = this && this.__decorate || function(D, z, J, G) { - var Q, ee = arguments.length, Z = ee < 3 ? z : G === null ? G = Object.getOwnPropertyDescriptor(z, J) : G; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") Z = Reflect.decorate(D, z, J, G); - else for (var q = D.length - 1; q >= 0; q--) (Q = D[q]) && (Z = (ee < 3 ? Q(Z) : ee > 3 ? Q(z, J, Z) : Q(z, J)) || Z); - return ee > 3 && Z && Object.defineProperty(z, J, Z), Z; - }, a = this && this.__metadata || function(D, z) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(D, z); + n.SseClient = a; + }, 4497(g, n, s) { + var r = this && this.__decorate || function(V, U, F, Q) { + var ne, te = arguments.length, X = te < 3 ? U : Q === null ? Q = Object.getOwnPropertyDescriptor(U, F) : Q; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") X = Reflect.decorate(V, U, F, Q); + else for (var Z = V.length - 1; Z >= 0; Z--) (ne = V[Z]) && (X = (te < 3 ? ne(X) : te > 3 ? ne(U, F, X) : ne(U, F)) || X); + return te > 3 && X && Object.defineProperty(U, F, X), X; + }, o = this && this.__metadata || function(V, U) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(V, U); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.StepEvent = n.StepPayload = n.FaultEvent = n.FaultPayload = n.FinalitySignatureEvent = n.FinalitySignature = n.FinalitySignatureWrapper = n.FinalitySignatureV2 = n.FinalitySignatureV1 = n.TransactionProcessedEvent = n.TransactionProcessedPayload = n.TransactionExpiredEvent = n.TransactionExpiredPayload = n.TransactionAcceptedEvent = n.TransactionAcceptedPayload = n.DeployExpiredEvent = n.DeployExpiredPayload = n.DeployAcceptedEvent = n.DeployProcessedEvent = n.DeployProcessedPayload = n.BlockAddedEventWrapper = n.BlockAddedWrapper = n.BlockAddedEventV1 = n.BlockAddedV1 = n.BlockAddedEvent = n.BlockAdded = n.APIVersionEvent = n.RawEvent = n.EventName = void 0; - var i, m = c(9592), t = c(7545); + var i, p = s(9592), a = s(7545); (i = n.EventName || (n.EventName = {})).APIVersionEventType = "ApiVersion", i.BlockAddedEventType = "BlockAdded", i.DeployProcessedEventType = "DeployProcessed", i.DeployAcceptedEventType = "DeployAccepted", i.DeployExpiredEventType = "DeployExpired", i.TransactionProcessedEventType = "TransactionProcessed", i.TransactionAcceptedEventType = "TransactionAccepted", i.TransactionExpiredEventType = "TransactionExpired", i.EventIDEventType = "EventID", i.FinalitySignatureType = "FinalitySignature", i.StepEventType = "Step", i.FaultEventType = "Fault", i.ShutdownType = "Shutdown"; var f = function() { - function D(z, J, G) { - this.eventType = z, this.data = J, this.lastEventId = G; + function V(U, F, Q) { + this.eventType = U, this.data = F, this.lastEventId = Q; } - return D.prototype.parseEvent = function(z, J) { - var G = new m.TypedJSON(z), Q = J ? J(this.data) : G.parse(this.data); - if (!Q) throw new Error("Error parsing event data"); - return Q; - }, D.prototype.parseAsAPIVersionEvent = function() { + return V.prototype.parseEvent = function(U, F) { + var Q = new p.TypedJSON(U), ne = F ? F(this.data) : Q.parse(this.data); + if (!ne) throw new Error("Error parsing event data"); + return ne; + }, V.prototype.parseAsAPIVersionEvent = function() { + return this.parseEvent(C); + }, V.prototype.parseAsDeployProcessedEvent = function() { return this.parseEvent(b); - }, D.prototype.parseAsDeployProcessedEvent = function() { - return this.parseEvent(h); - }, D.prototype.parseAsBlockAddedEvent = function() { - return this.parseEvent(u, u.fromJSON); - }, D.prototype.parseAsDeployAcceptedEvent = function() { - return this.parseEvent(O); - }, D.prototype.parseAsFinalitySignatureEvent = function() { - return this.parseEvent(_, _.fromJSON); - }, D.prototype.parseAsTransactionExpiredEvent = function() { - return this.parseEvent(B, B.fromJSON); - }, D.prototype.parseAsTransactionProcessedEvent = function() { - return this.parseEvent(U, U.fromJSON); - }, D.prototype.parseAsTransactionAcceptedEvent = function() { - return this.parseEvent(L, L.fromJSON); - }, D.prototype.parseAsFaultEvent = function() { - return this.parseEvent(A); - }, D.prototype.parseAsStepEvent = function() { - return this.parseEvent(V); - }, r([(0, m.jsonMember)({ name: "type", constructor: String }), a("design:type", String)], D.prototype, "eventType", void 0), r([(0, m.jsonMember)({ name: "data", constructor: String }), a("design:type", String)], D.prototype, "data", void 0), r([(0, m.jsonMember)({ name: "lastEventId", constructor: String }), a("design:type", String)], D.prototype, "lastEventId", void 0), r([m.jsonObject, a("design:paramtypes", [String, String, String])], D); + }, V.prototype.parseAsBlockAddedEvent = function() { + return this.parseEvent(m, m.fromJSON); + }, V.prototype.parseAsDeployAcceptedEvent = function() { + return this.parseEvent(_); + }, V.prototype.parseAsFinalitySignatureEvent = function() { + return this.parseEvent(R, R.fromJSON); + }, V.prototype.parseAsTransactionExpiredEvent = function() { + return this.parseEvent(A, A.fromJSON); + }, V.prototype.parseAsTransactionProcessedEvent = function() { + return this.parseEvent(k, k.fromJSON); + }, V.prototype.parseAsTransactionAcceptedEvent = function() { + return this.parseEvent(I, I.fromJSON); + }, V.prototype.parseAsFaultEvent = function() { + return this.parseEvent(P); + }, V.prototype.parseAsStepEvent = function() { + return this.parseEvent(K); + }, r([(0, p.jsonMember)({ name: "type", constructor: String }), o("design:type", String)], V.prototype, "eventType", void 0), r([(0, p.jsonMember)({ name: "data", constructor: String }), o("design:type", String)], V.prototype, "data", void 0), r([(0, p.jsonMember)({ name: "lastEventId", constructor: String }), o("design:type", String)], V.prototype, "lastEventId", void 0), r([p.jsonObject, o("design:paramtypes", [String, String, String])], V); }(); n.RawEvent = f; - var b = function() { - function D(z) { - this.apiVersion = z; + var C = function() { + function V(U) { + this.apiVersion = U; } - return r([(0, m.jsonMember)(String, { name: "ApiVersion" }), a("design:type", String)], D.prototype, "apiVersion", void 0), r([m.jsonObject, a("design:paramtypes", [String])], D); + return r([(0, p.jsonMember)(String, { name: "ApiVersion" }), o("design:type", String)], V.prototype, "apiVersion", void 0), r([p.jsonObject, o("design:paramtypes", [String])], V); }(); - n.APIVersionEvent = b; - var y = function() { - function D(z, J) { - this.blockHash = z, this.block = J; + n.APIVersionEvent = C; + var w = function() { + function V(U, F) { + this.blockHash = U, this.block = F; } - return r([(0, m.jsonMember)({ name: "block_hash", constructor: String }), a("design:type", String)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ name: "block", constructor: t.Block }), a("design:type", t.Block)], D.prototype, "block", void 0), r([m.jsonObject, a("design:paramtypes", [String, t.Block])], D); + return r([(0, p.jsonMember)({ name: "block_hash", constructor: String }), o("design:type", String)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ name: "block", constructor: a.Block }), o("design:type", a.Block)], V.prototype, "block", void 0), r([p.jsonObject, o("design:paramtypes", [String, a.Block])], V); }(); - n.BlockAdded = y; - var u = function() { - function D(J) { - this.BlockAdded = J; - } - var z; - return z = D, D.fromJSON = function(J) { - if (!J) throw new Error("Parse JSON on null or undefined data"); - var G = JSON.parse(J); - if (G.BlockAdded && G.BlockAdded.block) { - var Q = new m.TypedJSON(s).parse(G.BlockAdded); - if (Q?.block.blockV1 || Q?.block.blockV2) return new z({ blockHash: Q.blockHash, block: t.Block.newBlockFromBlockWrapper(Q.block, []) }); - } - var ee = new m.TypedJSON(d).parse(G.BlockAdded); - if (ee) return new z({ blockHash: ee.blockHash, block: t.Block.newBlockFromBlockV1(ee.block) }); + n.BlockAdded = w; + var m = function() { + function V(F) { + this.BlockAdded = F; + } + var U; + return U = V, V.fromJSON = function(F) { + if (!F) throw new Error("Parse JSON on null or undefined data"); + var Q = JSON.parse(F); + if (Q.BlockAdded && Q.BlockAdded.block) { + var ne = new p.TypedJSON(u).parse(Q.BlockAdded); + if (ne?.block.blockV1 || ne?.block.blockV2) return new U({ blockHash: ne.blockHash, block: a.Block.newBlockFromBlockWrapper(ne.block, []) }); + } + var te = new p.TypedJSON(v).parse(Q.BlockAdded); + if (te) return new U({ blockHash: te.blockHash, block: a.Block.newBlockFromBlockV1(te.block) }); throw new Error("Invalid JSON structure for BlockAddedEvent"); - }, r([(0, m.jsonMember)({ name: "BlockAdded", constructor: y }), a("design:type", y)], D.prototype, "BlockAdded", void 0), z = r([m.jsonObject, a("design:paramtypes", [y])], D); + }, r([(0, p.jsonMember)({ name: "BlockAdded", constructor: w }), o("design:type", w)], V.prototype, "BlockAdded", void 0), U = r([p.jsonObject, o("design:paramtypes", [w])], V); }(); - n.BlockAddedEvent = u; - var d = function() { - function D(z, J) { - this.blockHash = z, this.block = J; + n.BlockAddedEvent = m; + var v = function() { + function V(U, F) { + this.blockHash = U, this.block = F; } - return r([(0, m.jsonMember)({ name: "block_hash", constructor: String }), a("design:type", String)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ name: "block", constructor: t.BlockV1 }), a("design:type", t.BlockV1)], D.prototype, "block", void 0), r([m.jsonObject, a("design:paramtypes", [String, t.BlockV1])], D); + return r([(0, p.jsonMember)({ name: "block_hash", constructor: String }), o("design:type", String)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ name: "block", constructor: a.BlockV1 }), o("design:type", a.BlockV1)], V.prototype, "block", void 0), r([p.jsonObject, o("design:paramtypes", [String, a.BlockV1])], V); }(); - n.BlockAddedV1 = d; + n.BlockAddedV1 = v; var l = function() { - function D(z) { - this.BlockAdded = z; + function V(U) { + this.BlockAdded = U; } - return r([(0, m.jsonMember)({ name: "BlockAdded", constructor: d }), a("design:type", d)], D.prototype, "BlockAdded", void 0), r([m.jsonObject, a("design:paramtypes", [d])], D); + return r([(0, p.jsonMember)({ name: "BlockAdded", constructor: v }), o("design:type", v)], V.prototype, "BlockAdded", void 0), r([p.jsonObject, o("design:paramtypes", [v])], V); }(); n.BlockAddedEventV1 = l; - var s = function() { - function D(z, J) { - this.blockHash = z, this.block = J; + var u = function() { + function V(U, F) { + this.blockHash = U, this.block = F; } - return r([(0, m.jsonMember)({ name: "block_hash", constructor: String }), a("design:type", String)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ name: "block", constructor: t.BlockWrapper }), a("design:type", t.BlockWrapper)], D.prototype, "block", void 0), r([m.jsonObject, a("design:paramtypes", [String, t.BlockWrapper])], D); + return r([(0, p.jsonMember)({ name: "block_hash", constructor: String }), o("design:type", String)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ name: "block", constructor: a.BlockWrapper }), o("design:type", a.BlockWrapper)], V.prototype, "block", void 0), r([p.jsonObject, o("design:paramtypes", [String, a.BlockWrapper])], V); }(); - n.BlockAddedWrapper = s; - var v = function() { - function D(z) { - this.BlockAdded = z; + n.BlockAddedWrapper = u; + var y = function() { + function V(U) { + this.BlockAdded = U; } - return r([(0, m.jsonMember)({ name: "BlockAdded", constructor: s }), a("design:type", s)], D.prototype, "BlockAdded", void 0), r([m.jsonObject, a("design:paramtypes", [s])], D); + return r([(0, p.jsonMember)({ name: "BlockAdded", constructor: u }), o("design:type", u)], V.prototype, "BlockAdded", void 0), r([p.jsonObject, o("design:paramtypes", [u])], V); }(); - n.BlockAddedEventWrapper = v; - var p = function() { - function D() { - } - return r([(0, m.jsonMember)({ name: "deploy_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "deployHash", void 0), r([(0, m.jsonMember)({ name: "account", constructor: t.PublicKey, deserializer: function(z) { - if (z) return t.PublicKey.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.PublicKey)], D.prototype, "account", void 0), r([(0, m.jsonMember)({ name: "timestamp", constructor: t.Timestamp, deserializer: function(z) { - if (z) return t.Timestamp.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Timestamp)], D.prototype, "timestamp", void 0), r([(0, m.jsonMember)({ name: "ttl", constructor: String }), a("design:type", String)], D.prototype, "ttl", void 0), r([(0, m.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ name: "execution_result", constructor: t.ExecutionResultV1 }), a("design:type", t.ExecutionResultV1)], D.prototype, "executionResult", void 0), r([m.jsonObject], D); - }(); - n.DeployProcessedPayload = p; - var h = function() { - function D() { - } - return r([(0, m.jsonMember)({ name: "DeployProcessed", constructor: p }), a("design:type", p)], D.prototype, "deployProcessed", void 0), r([m.jsonObject], D); - }(); - n.DeployProcessedEvent = h; - var O = function() { - function D() { + n.BlockAddedEventWrapper = y; + var d = function() { + function V() { } - return r([(0, m.jsonMember)({ name: "DeployAccepted", constructor: t.Deploy }), a("design:type", t.Deploy)], D.prototype, "deployAccepted", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "deploy_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "deployHash", void 0), r([(0, p.jsonMember)({ name: "account", constructor: a.PublicKey, deserializer: function(U) { + if (U) return a.PublicKey.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.PublicKey)], V.prototype, "account", void 0), r([(0, p.jsonMember)({ name: "timestamp", constructor: a.Timestamp, deserializer: function(U) { + if (U) return a.Timestamp.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Timestamp)], V.prototype, "timestamp", void 0), r([(0, p.jsonMember)({ name: "ttl", constructor: String }), o("design:type", String)], V.prototype, "ttl", void 0), r([(0, p.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ name: "execution_result", constructor: a.ExecutionResultV1 }), o("design:type", a.ExecutionResultV1)], V.prototype, "executionResult", void 0), r([p.jsonObject], V); }(); - n.DeployAcceptedEvent = O; - var I = function() { - function D() { + n.DeployProcessedPayload = d; + var b = function() { + function V() { } - return r([(0, m.jsonMember)({ name: "deploy_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "deployHash", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "DeployProcessed", constructor: d }), o("design:type", d)], V.prototype, "deployProcessed", void 0), r([p.jsonObject], V); }(); - n.DeployExpiredPayload = I; - var k = function() { - function D() { + n.DeployProcessedEvent = b; + var _ = function() { + function V() { } - return r([(0, m.jsonMember)({ constructor: I, name: "DeployExpired" }), a("design:type", I)], D.prototype, "deployExpired", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "DeployAccepted", constructor: a.Deploy }), o("design:type", a.Deploy)], V.prototype, "deployAccepted", void 0), r([p.jsonObject], V); }(); - n.DeployExpiredEvent = k; - var R = function() { - function D() { + n.DeployAcceptedEvent = _; + var E = function() { + function V() { } - return r([(0, m.jsonMember)({ name: "transaction", constructor: t.Transaction, deserializer: function(z) { - if (z) return t.Transaction.fromJSON(z); - } }), a("design:type", t.Transaction)], D.prototype, "transaction", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "deploy_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "deployHash", void 0), r([p.jsonObject], V); }(); - n.TransactionAcceptedPayload = R; - var L = function() { - function D() { + n.DeployExpiredPayload = E; + var B = function() { + function V() { } - var z; - return z = D, D.fromJSON = function(J) { - if (!J || J.TransactionAccepted) throw new Error("Parse JSON on null or undefined data for TransactionAcceptedEvent"); + return r([(0, p.jsonMember)({ constructor: E, name: "DeployExpired" }), o("design:type", E)], V.prototype, "deployExpired", void 0), r([p.jsonObject], V); + }(); + n.DeployExpiredEvent = B; + var O = function() { + function V() { + } + return r([(0, p.jsonMember)({ name: "transaction", constructor: a.Transaction, deserializer: function(U) { + if (U) return a.Transaction.fromJSON(U); + } }), o("design:type", a.Transaction)], V.prototype, "transaction", void 0), r([p.jsonObject], V); + }(); + n.TransactionAcceptedPayload = O; + var I = function() { + function V() { + } + var U; + return U = V, V.fromJSON = function(F) { + if (!F || F.TransactionAccepted) throw new Error("Parse JSON on null or undefined data for TransactionAcceptedEvent"); try { - var G = JSON.parse(J), Q = new z(), ee = m.TypedJSON.parse(G.TransactionAccepted, t.TransactionWrapper); - if (ee?.deploy) return Q.transactionAcceptedPayload = { transaction: t.Deploy.newTransactionFromDeploy(ee.deploy) }, Q; - if (ee?.transactionV1) return Q.transactionAcceptedPayload = { transaction: t.Transaction.fromTransactionV1(ee.transactionV1) }, Q; - var Z = m.TypedJSON.parse(G.TransactionAccepted, O); - if (Z?.deployAccepted) return Q.transactionAcceptedPayload = { transaction: t.Deploy.newTransactionFromDeploy(Z.deployAccepted) }, Q; + var Q = JSON.parse(F), ne = new U(), te = p.TypedJSON.parse(Q.TransactionAccepted, a.TransactionWrapper); + if (te?.deploy) return ne.transactionAcceptedPayload = { transaction: a.Deploy.newTransactionFromDeploy(te.deploy) }, ne; + if (te?.transactionV1) return ne.transactionAcceptedPayload = { transaction: a.Transaction.fromTransactionV1(te.transactionV1) }, ne; + var X = p.TypedJSON.parse(Q.TransactionAccepted, _); + if (X?.deployAccepted) return ne.transactionAcceptedPayload = { transaction: a.Deploy.newTransactionFromDeploy(X.deployAccepted) }, ne; throw new Error("Failed to match any transaction structure"); - } catch (q) { - return new Error("Error deserializing TransactionAcceptedEvent: ".concat(q)); + } catch (Z) { + return new Error("Error deserializing TransactionAcceptedEvent: ".concat(Z)); } - }, r([(0, m.jsonMember)({ constructor: R, name: "TransactionAccepted" }), a("design:type", R)], D.prototype, "transactionAcceptedPayload", void 0), z = r([m.jsonObject], D); + }, r([(0, p.jsonMember)({ constructor: O, name: "TransactionAccepted" }), o("design:type", O)], V.prototype, "transactionAcceptedPayload", void 0), U = r([p.jsonObject], V); }(); - n.TransactionAcceptedEvent = L; - var N = function() { - function D() { + n.TransactionAcceptedEvent = I; + var x = function() { + function V() { } - return r([(0, m.jsonMember)({ name: "transaction_hash", constructor: t.TransactionHash }), a("design:type", t.TransactionHash)], D.prototype, "transactionHash", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "transaction_hash", constructor: a.TransactionHash }), o("design:type", a.TransactionHash)], V.prototype, "transactionHash", void 0), r([p.jsonObject], V); }(); - n.TransactionExpiredPayload = N; - var B = function() { - function D() { + n.TransactionExpiredPayload = x; + var A = function() { + function V() { } - var z; - return z = D, D.fromJSON = function(J) { - var G, Q; - if (!J) throw new Error("Parse JSON on null or undefined data for TransactionExpiredEvent"); + var U; + return U = V, V.fromJSON = function(F) { + var Q, ne; + if (!F) throw new Error("Parse JSON on null or undefined data for TransactionExpiredEvent"); try { - var ee = JSON.parse(J), Z = new z(), q = m.TypedJSON.parse(ee.TransactionExpired, N); - if (!q) throw new Error("transactionExpiredPayload is nil"); - q && (Z.transactionExpiredPayload = q); - var se = Z?.transactionExpiredPayload; - if (!((G = se?.transactionHash) === null || G === void 0) && G.transactionV1 || !((Q = se?.transactionHash) === null || Q === void 0) && Q.deploy) return Z; - var ue = m.TypedJSON.parse(ee.TransactionExpired, k); - if (ue?.deployExpired) return Z.transactionExpiredPayload = { transactionHash: t.TransactionHash.fromDeployHash(ue.deployExpired.deployHash) }, Z; + var te = JSON.parse(F), X = new U(), Z = p.TypedJSON.parse(te.TransactionExpired, x); + if (!Z) throw new Error("transactionExpiredPayload is nil"); + Z && (X.transactionExpiredPayload = Z); + var fe = X?.transactionExpiredPayload; + if (!((Q = fe?.transactionHash) === null || Q === void 0) && Q.transactionV1 || !((ne = fe?.transactionHash) === null || ne === void 0) && ne.deploy) return X; + var le = p.TypedJSON.parse(te.TransactionExpired, B); + if (le?.deployExpired) return X.transactionExpiredPayload = { transactionHash: a.TransactionHash.fromDeployHash(le.deployExpired.deployHash) }, X; throw new Error("Failed to match any transaction structure"); - } catch (ce) { - return new Error("Error deserializing TransactionExpiredEvent: ".concat(ce)); + } catch (Se) { + return new Error("Error deserializing TransactionExpiredEvent: ".concat(Se)); } - }, r([(0, m.jsonMember)({ name: "TransactionExpired", constructor: N }), a("design:type", N)], D.prototype, "transactionExpiredPayload", void 0), z = r([m.jsonObject], D); + }, r([(0, p.jsonMember)({ name: "TransactionExpired", constructor: x }), o("design:type", x)], V.prototype, "transactionExpiredPayload", void 0), U = r([p.jsonObject], V); }(); - n.TransactionExpiredEvent = B; - var H = function() { - function D() { - } - return r([(0, m.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ name: "transaction_hash", constructor: t.TransactionHash }), a("design:type", t.TransactionHash)], D.prototype, "transactionHash", void 0), r([(0, m.jsonMember)({ name: "initiator_addr", constructor: t.InitiatorAddr, deserializer: function(z) { - if (z) return t.InitiatorAddr.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.InitiatorAddr)], D.prototype, "initiatorAddr", void 0), r([(0, m.jsonMember)({ name: "timestamp", constructor: t.Timestamp, deserializer: function(z) { - if (z) return t.Timestamp.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Timestamp)], D.prototype, "timestamp", void 0), r([(0, m.jsonMember)({ name: "ttl", constructor: String }), a("design:type", String)], D.prototype, "ttl", void 0), r([(0, m.jsonMember)({ name: "execution_result", constructor: t.ExecutionResult, deserializer: function(z) { - if (z) return t.ExecutionResult.fromJSON(z); - } }), a("design:type", t.ExecutionResult)], D.prototype, "executionResult", void 0), r([(0, m.jsonArrayMember)(t.Message, { name: "messages" }), a("design:type", Array)], D.prototype, "messages", void 0), r([m.jsonObject], D); - }(); - n.TransactionProcessedPayload = H; - var U = function() { - function D() { + n.TransactionExpiredEvent = A; + var N = function() { + function V() { + } + return r([(0, p.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ name: "transaction_hash", constructor: a.TransactionHash }), o("design:type", a.TransactionHash)], V.prototype, "transactionHash", void 0), r([(0, p.jsonMember)({ name: "initiator_addr", constructor: a.InitiatorAddr, deserializer: function(U) { + if (U) return a.InitiatorAddr.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.InitiatorAddr)], V.prototype, "initiatorAddr", void 0), r([(0, p.jsonMember)({ name: "timestamp", constructor: a.Timestamp, deserializer: function(U) { + if (U) return a.Timestamp.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Timestamp)], V.prototype, "timestamp", void 0), r([(0, p.jsonMember)({ name: "ttl", constructor: String }), o("design:type", String)], V.prototype, "ttl", void 0), r([(0, p.jsonMember)({ name: "execution_result", constructor: a.ExecutionResult, deserializer: function(U) { + if (U) return a.ExecutionResult.fromJSON(U); + } }), o("design:type", a.ExecutionResult)], V.prototype, "executionResult", void 0), r([(0, p.jsonArrayMember)(a.Message, { name: "messages" }), o("design:type", Array)], V.prototype, "messages", void 0), r([p.jsonObject], V); + }(); + n.TransactionProcessedPayload = N; + var k = function() { + function V() { } - var z; - return z = D, D.fromJSON = function(J) { - var G, Q; - if (!J || J.TransactionProcessed) throw new Error("Parse JSON on null or undefined data for TransactionExpiredEvent"); + var U; + return U = V, V.fromJSON = function(F) { + var Q, ne; + if (!F || F.TransactionProcessed) throw new Error("Parse JSON on null or undefined data for TransactionExpiredEvent"); try { - var ee = JSON.parse(J), Z = new z(), q = m.TypedJSON.parse(ee.TransactionProcessed, H); - q && (Z.transactionProcessedPayload = q); - var se = Z.transactionProcessedPayload; - if (!((G = se.transactionHash) === null || G === void 0) && G.transactionV1 || !((Q = se.transactionHash) === null || Q === void 0) && Q.deploy) return Z; - var ue = m.TypedJSON.parse(ee.TransactionProcessed, h); - if (ue?.deployProcessed) return Z.transactionProcessedPayload = { blockHash: ue.deployProcessed.blockHash, transactionHash: t.TransactionHash.fromDeployHash(ue.deployProcessed.deployHash), initiatorAddr: new t.InitiatorAddr(ue.deployProcessed.account), timestamp: ue.deployProcessed.timestamp, ttl: ue.deployProcessed.ttl, executionResult: t.ExecutionResult.fromV1(ue.deployProcessed.executionResult), messages: [] }, Z; + var te = JSON.parse(F), X = new U(), Z = p.TypedJSON.parse(te.TransactionProcessed, N); + Z && (X.transactionProcessedPayload = Z); + var fe = X.transactionProcessedPayload; + if (!((Q = fe.transactionHash) === null || Q === void 0) && Q.transactionV1 || !((ne = fe.transactionHash) === null || ne === void 0) && ne.deploy) return X; + var le = p.TypedJSON.parse(te.TransactionProcessed, b); + if (le?.deployProcessed) return X.transactionProcessedPayload = { blockHash: le.deployProcessed.blockHash, transactionHash: a.TransactionHash.fromDeployHash(le.deployProcessed.deployHash), initiatorAddr: new a.InitiatorAddr(le.deployProcessed.account), timestamp: le.deployProcessed.timestamp, ttl: le.deployProcessed.ttl, executionResult: a.ExecutionResult.fromV1(le.deployProcessed.executionResult), messages: [] }, X; throw new Error("Failed to match any transaction structure"); - } catch (ce) { - return new Error("Error deserializing TransactionProcessedEvent: ".concat(ce)); - } - }, r([(0, m.jsonMember)({ name: "TransactionProcessed", constructor: H }), a("design:type", H)], D.prototype, "transactionProcessedPayload", void 0), z = r([m.jsonObject], D); - }(); - n.TransactionProcessedEvent = U; - var S = function() { - function D() { - } - return r([(0, m.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], D.prototype, "eraID", void 0), r([(0, m.jsonMember)({ name: "signature", constructor: t.HexBytes, deserializer: function(z) { - if (z) return t.HexBytes.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.HexBytes)], D.prototype, "signature", void 0), r([(0, m.jsonMember)({ name: "public_key", constructor: t.PublicKey, deserializer: function(z) { - if (z) return t.PublicKey.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.PublicKey)], D.prototype, "publicKey", void 0), r([m.jsonObject], D); - }(); - n.FinalitySignatureV1 = S; + } catch (Se) { + return new Error("Error deserializing TransactionProcessedEvent: ".concat(Se)); + } + }, r([(0, p.jsonMember)({ name: "TransactionProcessed", constructor: N }), o("design:type", N)], V.prototype, "transactionProcessedPayload", void 0), U = r([p.jsonObject], V); + }(); + n.TransactionProcessedEvent = k; + var j = function() { + function V() { + } + return r([(0, p.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], V.prototype, "eraID", void 0), r([(0, p.jsonMember)({ name: "signature", constructor: a.HexBytes, deserializer: function(U) { + if (U) return a.HexBytes.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.HexBytes)], V.prototype, "signature", void 0), r([(0, p.jsonMember)({ name: "public_key", constructor: a.PublicKey, deserializer: function(U) { + if (U) return a.PublicKey.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.PublicKey)], V.prototype, "publicKey", void 0), r([p.jsonObject], V); + }(); + n.FinalitySignatureV1 = j; + var D = function() { + function V() { + } + return r([(0, p.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ isRequired: !1, name: "block_height", constructor: Number }), o("design:type", Number)], V.prototype, "blockHeight", void 0), r([(0, p.jsonMember)({ isRequired: !1, name: "chain_name_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + if (U) return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "chainNameHash", void 0), r([(0, p.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], V.prototype, "eraID", void 0), r([(0, p.jsonMember)({ name: "signature", constructor: a.HexBytes, deserializer: function(U) { + if (U) return a.HexBytes.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.HexBytes)], V.prototype, "signature", void 0), r([(0, p.jsonMember)({ name: "public_key", constructor: a.PublicKey, deserializer: function(U) { + if (U) return a.PublicKey.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.PublicKey)], V.prototype, "publicKey", void 0), r([p.jsonObject], V); + }(); + n.FinalitySignatureV2 = D; var T = function() { - function D() { - } - return r([(0, m.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ isRequired: !1, name: "block_height", constructor: Number }), a("design:type", Number)], D.prototype, "blockHeight", void 0), r([(0, m.jsonMember)({ isRequired: !1, name: "chain_name_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - if (z) return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "chainNameHash", void 0), r([(0, m.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], D.prototype, "eraID", void 0), r([(0, m.jsonMember)({ name: "signature", constructor: t.HexBytes, deserializer: function(z) { - if (z) return t.HexBytes.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.HexBytes)], D.prototype, "signature", void 0), r([(0, m.jsonMember)({ name: "public_key", constructor: t.PublicKey, deserializer: function(z) { - if (z) return t.PublicKey.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.PublicKey)], D.prototype, "publicKey", void 0), r([m.jsonObject], D); - }(); - n.FinalitySignatureV2 = T; - var E = function() { - function D() { + function V() { } - return r([(0, m.jsonMember)({ isRequired: !1, name: "V1", constructor: S }), a("design:type", S)], D.prototype, "v1", void 0), r([(0, m.jsonMember)({ isRequired: !1, name: "V2", constructor: T }), a("design:type", T)], D.prototype, "v2", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ isRequired: !1, name: "V1", constructor: j }), o("design:type", j)], V.prototype, "v1", void 0), r([(0, p.jsonMember)({ isRequired: !1, name: "V2", constructor: D }), o("design:type", D)], V.prototype, "v2", void 0), r([p.jsonObject], V); }(); - n.FinalitySignatureWrapper = E; - var M = function() { - function D() { - } - return r([(0, m.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "blockHash", void 0), r([(0, m.jsonMember)({ constructor: Number, isRequired: !1, name: "block_height" }), a("design:type", Number)], D.prototype, "blockHeight", void 0), r([(0, m.jsonMember)({ isRequired: !1, name: "chain_name_hash", constructor: t.Hash, deserializer: function(z) { - if (z) return t.Hash.fromJSON(z); - }, serializer: function(z) { - if (z) return z.toJSON(); - } }), a("design:type", t.Hash)], D.prototype, "chainNameHash", void 0), r([(0, m.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], D.prototype, "eraID", void 0), r([(0, m.jsonMember)({ name: "signature", constructor: t.HexBytes, deserializer: function(z) { - if (z) return t.HexBytes.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.HexBytes)], D.prototype, "signature", void 0), r([(0, m.jsonMember)({ name: "public_key", constructor: t.PublicKey, deserializer: function(z) { - if (z) return t.PublicKey.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.PublicKey)], D.prototype, "publicKey", void 0), r([(0, m.jsonMember)(S, { isRequired: !1 }), a("design:type", S)], D.prototype, "originFinalitySignatureV1", void 0), r([m.jsonObject], D); - }(); - n.FinalitySignature = M; - var _ = function() { - function D(J) { - this.finalitySignature = J; + n.FinalitySignatureWrapper = T; + var L = function() { + function V() { } - var z; - return z = D, D.fromJSON = function(J) { - if (!J || J.FinalitySignature) throw new Error("Parse JSON on null or undefined data for FinalitySignatureEvent"); + return r([(0, p.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "blockHash", void 0), r([(0, p.jsonMember)({ constructor: Number, isRequired: !1, name: "block_height" }), o("design:type", Number)], V.prototype, "blockHeight", void 0), r([(0, p.jsonMember)({ isRequired: !1, name: "chain_name_hash", constructor: a.Hash, deserializer: function(U) { + if (U) return a.Hash.fromJSON(U); + }, serializer: function(U) { + if (U) return U.toJSON(); + } }), o("design:type", a.Hash)], V.prototype, "chainNameHash", void 0), r([(0, p.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], V.prototype, "eraID", void 0), r([(0, p.jsonMember)({ name: "signature", constructor: a.HexBytes, deserializer: function(U) { + if (U) return a.HexBytes.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.HexBytes)], V.prototype, "signature", void 0), r([(0, p.jsonMember)({ name: "public_key", constructor: a.PublicKey, deserializer: function(U) { + if (U) return a.PublicKey.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.PublicKey)], V.prototype, "publicKey", void 0), r([(0, p.jsonMember)(j, { isRequired: !1 }), o("design:type", j)], V.prototype, "originFinalitySignatureV1", void 0), r([p.jsonObject], V); + }(); + n.FinalitySignature = L; + var R = function() { + function V(F) { + this.finalitySignature = F; + } + var U; + return U = V, V.fromJSON = function(F) { + if (!F || F.FinalitySignature) throw new Error("Parse JSON on null or undefined data for FinalitySignatureEvent"); try { - var G = JSON.parse(J), Q = m.TypedJSON.parse(G.FinalitySignature, E); - if (!Q) throw new Error("FinalitySignatureWrapper is nil"); - var ee = void 0; - if (Q.v1) ee = { blockHash: Q.v1.blockHash, eraID: Q.v1.eraID, signature: Q.v1.signature, publicKey: Q.v1.publicKey, originFinalitySignatureV1: Q.v1 }; - else if (Q.v2) ee = { blockHash: Q.v2.blockHash, blockHeight: Q.v2.blockHeight, chainNameHash: Q.v2.chainNameHash, eraID: Q.v2.eraID, signature: Q.v2.signature, publicKey: Q.v2.publicKey }; + var Q = JSON.parse(F), ne = p.TypedJSON.parse(Q.FinalitySignature, T); + if (!ne) throw new Error("FinalitySignatureWrapper is nil"); + var te = void 0; + if (ne.v1) te = { blockHash: ne.v1.blockHash, eraID: ne.v1.eraID, signature: ne.v1.signature, publicKey: ne.v1.publicKey, originFinalitySignatureV1: ne.v1 }; + else if (ne.v2) te = { blockHash: ne.v2.blockHash, blockHeight: ne.v2.blockHeight, chainNameHash: ne.v2.chainNameHash, eraID: ne.v2.eraID, signature: ne.v2.signature, publicKey: ne.v2.publicKey }; else { - var Z = m.TypedJSON.parse(G.FinalitySignature, S); - if (!Z) throw new Error("Failed to parse FinalitySignatureV1"); - ee = { blockHash: Z.blockHash, eraID: Z.eraID, signature: Z.signature, publicKey: Z.publicKey, originFinalitySignatureV1: Z }; + var X = p.TypedJSON.parse(Q.FinalitySignature, j); + if (!X) throw new Error("Failed to parse FinalitySignatureV1"); + te = { blockHash: X.blockHash, eraID: X.eraID, signature: X.signature, publicKey: X.publicKey, originFinalitySignatureV1: X }; } - return new z(ee); - } catch (q) { - return new Error("Error deserializing FinalitySignatureEvent: ".concat(q)); + return new U(te); + } catch (Z) { + return new Error("Error deserializing FinalitySignatureEvent: ".concat(Z)); } - }, r([(0, m.jsonMember)({ name: "FinalitySignature", constructor: M }), a("design:type", M)], D.prototype, "finalitySignature", void 0), z = r([m.jsonObject, a("design:paramtypes", [M])], D); + }, r([(0, p.jsonMember)({ name: "FinalitySignature", constructor: L }), o("design:type", L)], V.prototype, "finalitySignature", void 0), U = r([p.jsonObject, o("design:paramtypes", [L])], V); }(); - n.FinalitySignatureEvent = _; - var w = function() { - function D() { - } - return r([(0, m.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], D.prototype, "eraID", void 0), r([(0, m.jsonMember)({ name: "public_key", constructor: t.PublicKey, deserializer: function(z) { - if (z) return t.PublicKey.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.PublicKey)], D.prototype, "publicKey", void 0), r([(0, m.jsonMember)({ name: "timestamp", constructor: t.Timestamp, deserializer: function(z) { - if (z) return t.Timestamp.fromJSON(z); - }, serializer: function(z) { - return z.toJSON(); - } }), a("design:type", t.Timestamp)], D.prototype, "timestamp", void 0), r([m.jsonObject], D); - }(); - n.FaultPayload = w; - var A = function() { - function D() { + n.FinalitySignatureEvent = R; + var M = function() { + function V() { } - return r([(0, m.jsonMember)({ name: "Fault", constructor: w }), a("design:type", w)], D.prototype, "fault", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], V.prototype, "eraID", void 0), r([(0, p.jsonMember)({ name: "public_key", constructor: a.PublicKey, deserializer: function(U) { + if (U) return a.PublicKey.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.PublicKey)], V.prototype, "publicKey", void 0), r([(0, p.jsonMember)({ name: "timestamp", constructor: a.Timestamp, deserializer: function(U) { + if (U) return a.Timestamp.fromJSON(U); + }, serializer: function(U) { + return U.toJSON(); + } }), o("design:type", a.Timestamp)], V.prototype, "timestamp", void 0), r([p.jsonObject], V); }(); - n.FaultEvent = A; - var j = function() { - function D() { + n.FaultPayload = M; + var P = function() { + function V() { } - return r([(0, m.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], D.prototype, "eraID", void 0), r([(0, m.jsonMember)({ name: "execution_effect", constructor: t.Effect }), a("design:type", t.Effect)], D.prototype, "executionEffect", void 0), r([(0, m.jsonArrayMember)(function() { - return t.Transform; - }, { name: "execution_effects" }), a("design:type", Array)], D.prototype, "executionEffects", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "Fault", constructor: M }), o("design:type", M)], V.prototype, "fault", void 0), r([p.jsonObject], V); }(); - n.StepPayload = j; - var V = function() { - function D() { + n.FaultEvent = P; + var H = function() { + function V() { } - return r([(0, m.jsonMember)({ name: "step", constructor: j }), a("design:type", j)], D.prototype, "step", void 0), r([m.jsonObject], D); + return r([(0, p.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], V.prototype, "eraID", void 0), r([(0, p.jsonMember)({ name: "execution_effect", constructor: a.Effect }), o("design:type", a.Effect)], V.prototype, "executionEffect", void 0), r([(0, p.jsonArrayMember)(function() { + return a.Transform; + }, { name: "execution_effects" }), o("design:type", Array)], V.prototype, "executionEffects", void 0), r([p.jsonObject], V); }(); - n.StepEvent = V; - }, 3307: (x, n, c) => { + n.StepPayload = H; + var K = function() { + function V() { + } + return r([(0, p.jsonMember)({ name: "step", constructor: H }), o("design:type", H)], V.prototype, "step", void 0), r([p.jsonObject], V); + }(); + n.StepEvent = K; + }, 3307(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.EventParser = void 0; - var r = c(4497), a = function() { + var r = s(4497), o = function() { function i() { } - return i.prototype.shouldHandleEvent = function(m, t) { + return i.prototype.shouldHandleEvent = function(p, a) { try { - var f = JSON.parse(m); - return f && Object.prototype.hasOwnProperty.call(f, t); - } catch (b) { - return console.error("Error parsing JSON:", b), !1; + var f = JSON.parse(p); + return f && Object.prototype.hasOwnProperty.call(f, a); + } catch (C) { + return console.error("Error parsing JSON:", C), !1; } - }, i.prototype.parseEvent = function(m, t, f) { - return new r.RawEvent(t, m, f); + }, i.prototype.parseEvent = function(p, a, f) { + return new r.RawEvent(a, p, f); }, i; }(); - n.EventParser = a; - }, 7941: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + n.EventParser = o; + }, 7941(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(7262), n), a(c(4497), n), a(c(3307), n); - }, 602: function(x, n, c) { - var r = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, a = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(7262), n), o(s(4497), n), o(s(3307), n); + }, 602(g, n, s) { + var r = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, o = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Account = n.ActionThresholds = n.AssociatedKey = void 0; - var i = c(9592), m = c(3401), t = c(9153), f = function() { - function u() { + var i = s(9592), p = s(3401), a = s(9153), f = function() { + function m() { } - return r([(0, i.jsonMember)({ name: "account_hash", constructor: m.AccountHash, deserializer: function(d) { - return m.AccountHash.fromJSON(d); - }, serializer: function(d) { - return d.toJSON(); - } }), a("design:type", m.AccountHash)], u.prototype, "accountHash", void 0), r([(0, i.jsonMember)({ name: "weight", constructor: Number }), a("design:type", Number)], u.prototype, "weight", void 0), r([i.jsonObject], u); + return r([(0, i.jsonMember)({ name: "account_hash", constructor: p.AccountHash, deserializer: function(v) { + return p.AccountHash.fromJSON(v); + }, serializer: function(v) { + return v.toJSON(); + } }), o("design:type", p.AccountHash)], m.prototype, "accountHash", void 0), r([(0, i.jsonMember)({ name: "weight", constructor: Number }), o("design:type", Number)], m.prototype, "weight", void 0), r([i.jsonObject], m); }(); n.AssociatedKey = f; - var b = function() { - function u() { + var C = function() { + function m() { } - return r([(0, i.jsonMember)({ name: "deployment", constructor: Number }), a("design:type", Number)], u.prototype, "deployment", void 0), r([(0, i.jsonMember)({ name: "key_management", constructor: Number }), a("design:type", Number)], u.prototype, "keyManagement", void 0), r([i.jsonObject], u); + return r([(0, i.jsonMember)({ name: "deployment", constructor: Number }), o("design:type", Number)], m.prototype, "deployment", void 0), r([(0, i.jsonMember)({ name: "key_management", constructor: Number }), o("design:type", Number)], m.prototype, "keyManagement", void 0), r([i.jsonObject], m); }(); - n.ActionThresholds = b; - var y = function() { - function u() { - } - return r([(0, i.jsonMember)({ name: "account_hash", deserializer: function(d) { - return m.AccountHash.fromJSON(d); - }, serializer: function(d) { - return d.toJSON(); - }, constructor: m.AccountHash }), a("design:type", m.AccountHash)], u.prototype, "accountHash", void 0), r([(0, i.jsonArrayMember)(t.NamedKey, { name: "named_keys" }), a("design:type", Array)], u.prototype, "namedKeys", void 0), r([(0, i.jsonMember)({ name: "main_purse", constructor: m.URef, deserializer: function(d) { - return m.URef.fromJSON(d); - }, serializer: function(d) { - return d.toJSON(); - } }), a("design:type", m.URef)], u.prototype, "mainPurse", void 0), r([(0, i.jsonArrayMember)(f, { name: "associated_keys" }), a("design:type", Array)], u.prototype, "associatedKeys", void 0), r([(0, i.jsonMember)({ name: "action_thresholds", constructor: b }), a("design:type", b)], u.prototype, "actionThresholds", void 0), r([i.jsonObject], u); - }(); - n.Account = y; - }, 3750: function(x, n, c) { - var r = this && this.__decorate || function(s, v, p, h) { - var O, I = arguments.length, k = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, p) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, p, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (I < 3 ? O(k) : I > 3 ? O(v, p, k) : O(v, p)) || k); - return I > 3 && k && Object.defineProperty(v, p, k), k; - }, a = this && this.__metadata || function(s, v) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); - }; - Object.defineProperty(n, "__esModule", { value: !0 }), n.NamedEntryPoint = n.AddressableEntity = n.EntityActionThresholds = n.EntityKind = void 0; - var i = c(9592), m = c(602), t = c(111), f = c(3401), b = c(7012), y = function() { - function s() { + n.ActionThresholds = C; + var w = function() { + function m() { } - return r([(0, i.jsonMember)({ name: "System", constructor: String }), a("design:type", String)], s.prototype, "system", void 0), r([(0, i.jsonMember)({ name: "Account", constructor: f.AccountHash, deserializer: function(v) { - return v ? f.AccountHash.fromJSON(v) : void 0; + return r([(0, i.jsonMember)({ name: "account_hash", deserializer: function(v) { + return p.AccountHash.fromJSON(v); }, serializer: function(v) { - return v ? v.toJSON() : void 0; - } }), a("design:type", f.AccountHash)], s.prototype, "account", void 0), r([(0, i.jsonMember)({ name: "SmartContract", constructor: b.TransactionRuntime, deserializer: function(v) { - if (v) return b.TransactionRuntime.fromJSON(v); + return v.toJSON(); + }, constructor: p.AccountHash }), o("design:type", p.AccountHash)], m.prototype, "accountHash", void 0), r([(0, i.jsonArrayMember)(a.NamedKey, { name: "named_keys" }), o("design:type", Array)], m.prototype, "namedKeys", void 0), r([(0, i.jsonMember)({ name: "main_purse", constructor: p.URef, deserializer: function(v) { + return p.URef.fromJSON(v); }, serializer: function(v) { return v.toJSON(); - } }), a("design:type", b.TransactionRuntime)], s.prototype, "smartContract", void 0), r([i.jsonObject], s); + } }), o("design:type", p.URef)], m.prototype, "mainPurse", void 0), r([(0, i.jsonArrayMember)(f, { name: "associated_keys" }), o("design:type", Array)], m.prototype, "associatedKeys", void 0), r([(0, i.jsonMember)({ name: "action_thresholds", constructor: C }), o("design:type", C)], m.prototype, "actionThresholds", void 0), r([i.jsonObject], m); + }(); + n.Account = w; + }, 3750(g, n, s) { + var r = this && this.__decorate || function(u, y, d, b) { + var _, E = arguments.length, B = E < 3 ? y : b === null ? b = Object.getOwnPropertyDescriptor(y, d) : b; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(u, y, d, b); + else for (var O = u.length - 1; O >= 0; O--) (_ = u[O]) && (B = (E < 3 ? _(B) : E > 3 ? _(y, d, B) : _(y, d)) || B); + return E > 3 && B && Object.defineProperty(y, d, B), B; + }, o = this && this.__metadata || function(u, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, y); + }; + Object.defineProperty(n, "__esModule", { value: !0 }), n.NamedEntryPoint = n.AddressableEntity = n.EntityActionThresholds = n.EntityKind = void 0; + var i = s(9592), p = s(602), a = s(111), f = s(3401), C = s(7012), w = function() { + function u() { + } + return r([(0, i.jsonMember)({ name: "System", constructor: String }), o("design:type", String)], u.prototype, "system", void 0), r([(0, i.jsonMember)({ name: "Account", constructor: f.AccountHash, deserializer: function(y) { + return y ? f.AccountHash.fromJSON(y) : void 0; + }, serializer: function(y) { + return y ? y.toJSON() : void 0; + } }), o("design:type", f.AccountHash)], u.prototype, "account", void 0), r([(0, i.jsonMember)({ name: "SmartContract", constructor: C.TransactionRuntime, deserializer: function(y) { + if (y) return C.TransactionRuntime.fromJSON(y); + }, serializer: function(y) { + return y.toJSON(); + } }), o("design:type", C.TransactionRuntime)], u.prototype, "smartContract", void 0), r([i.jsonObject], u); }(); - n.EntityKind = y; - var u = function() { - function s() { + n.EntityKind = w; + var m = function() { + function u() { } - return r([(0, i.jsonMember)({ name: "deployment", constructor: Number }), a("design:type", Number)], s.prototype, "deployment", void 0), r([(0, i.jsonMember)({ name: "upgrade_management", constructor: Number }), a("design:type", Number)], s.prototype, "upgradeManagement", void 0), r([(0, i.jsonMember)({ name: "key_management", constructor: Number }), a("design:type", Number)], s.prototype, "keyManagement", void 0), r([i.jsonObject], s); + return r([(0, i.jsonMember)({ name: "deployment", constructor: Number }), o("design:type", Number)], u.prototype, "deployment", void 0), r([(0, i.jsonMember)({ name: "upgrade_management", constructor: Number }), o("design:type", Number)], u.prototype, "upgradeManagement", void 0), r([(0, i.jsonMember)({ name: "key_management", constructor: Number }), o("design:type", Number)], u.prototype, "keyManagement", void 0), r([i.jsonObject], u); }(); - n.EntityActionThresholds = u; - var d = function() { - function s() { + n.EntityActionThresholds = m; + var v = function() { + function u() { } - return r([(0, i.jsonMember)({ name: "entity_kind", constructor: y }), a("design:type", y)], s.prototype, "entityKind", void 0), r([(0, i.jsonMember)({ name: "package_hash", constructor: String }), a("design:type", String)], s.prototype, "packageHash", void 0), r([(0, i.jsonMember)({ name: "byte_code_hash", constructor: String }), a("design:type", String)], s.prototype, "byteCodeHash", void 0), r([(0, i.jsonArrayMember)(m.AssociatedKey, { name: "associated_keys" }), a("design:type", Array)], s.prototype, "associatedKeys", void 0), r([(0, i.jsonMember)({ name: "action_thresholds", constructor: u }), a("design:type", u)], s.prototype, "actionThresholds", void 0), r([(0, i.jsonMember)({ name: "main_purse", constructor: f.URef, deserializer: function(v) { - return f.URef.fromJSON(v); - }, serializer: function(v) { - return v.toJSON(); - } }), a("design:type", f.URef)], s.prototype, "mainPurse", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], s.prototype, "protocolVersion", void 0), r([i.jsonObject], s); + return r([(0, i.jsonMember)({ name: "entity_kind", constructor: w }), o("design:type", w)], u.prototype, "entityKind", void 0), r([(0, i.jsonMember)({ name: "package_hash", constructor: String }), o("design:type", String)], u.prototype, "packageHash", void 0), r([(0, i.jsonMember)({ name: "byte_code_hash", constructor: String }), o("design:type", String)], u.prototype, "byteCodeHash", void 0), r([(0, i.jsonArrayMember)(p.AssociatedKey, { name: "associated_keys" }), o("design:type", Array)], u.prototype, "associatedKeys", void 0), r([(0, i.jsonMember)({ name: "action_thresholds", constructor: m }), o("design:type", m)], u.prototype, "actionThresholds", void 0), r([(0, i.jsonMember)({ name: "main_purse", constructor: f.URef, deserializer: function(y) { + return f.URef.fromJSON(y); + }, serializer: function(y) { + return y.toJSON(); + } }), o("design:type", f.URef)], u.prototype, "mainPurse", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], u.prototype, "protocolVersion", void 0), r([i.jsonObject], u); }(); - n.AddressableEntity = d; + n.AddressableEntity = v; var l = function() { - function s() { + function u() { } - var v; - return v = s, s.fromJSON = function(p) { - if (!p) throw new Error("Invalid JSON provided for NamedEntryPoint"); - var h = p.entry_point ? p : { entry_point: p }, O = new i.TypedJSON(v).parse(h); - if (!O) throw new Error("Failed to parse NamedEntryPoint JSON"); - return O; - }, r([(0, i.jsonMember)({ name: "entry_point", constructor: t.EntryPointV1 }), a("design:type", t.EntryPointV1)], s.prototype, "entryPoint", void 0), v = r([i.jsonObject], s); + var y; + return y = u, u.fromJSON = function(d) { + if (!d) throw new Error("Invalid JSON provided for NamedEntryPoint"); + var b = d.entry_point ? d : { name: d?.name, entry_point: d }, _ = new i.TypedJSON(y).parse(b); + if (!_) throw new Error("Failed to parse NamedEntryPoint JSON"); + return _; + }, r([(0, i.jsonMember)({ name: "name", constructor: String }), o("design:type", String)], u.prototype, "name", void 0), r([(0, i.jsonMember)({ name: "entry_point", constructor: a.EntryPointV1 }), o("design:type", a.EntryPointV1)], u.prototype, "entryPoint", void 0), y = r([i.jsonObject], u); }(); n.NamedEntryPoint = l; - }, 9960: function(x, n, c) { - var r = this && this.__decorate || function(d, l, s, v) { - var p, h = arguments.length, O = h < 3 ? l : v === null ? v = Object.getOwnPropertyDescriptor(l, s) : v; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(d, l, s, v); - else for (var I = d.length - 1; I >= 0; I--) (p = d[I]) && (O = (h < 3 ? p(O) : h > 3 ? p(l, s, O) : p(l, s)) || O); - return h > 3 && O && Object.defineProperty(l, s, O), O; - }, a = this && this.__metadata || function(d, l) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, l); + }, 9960(g, n, s) { + var r = this && this.__decorate || function(v, l, u, y) { + var d, b = arguments.length, _ = b < 3 ? l : y === null ? y = Object.getOwnPropertyDescriptor(l, u) : y; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(v, l, u, y); + else for (var E = v.length - 1; E >= 0; E--) (d = v[E]) && (_ = (b < 3 ? d(_) : b > 3 ? d(l, u, _) : d(l, u)) || _); + return b > 3 && _ && Object.defineProperty(l, u, _), _; + }, o = this && this.__metadata || function(v, l) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, l); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Args = n.NamedArg = void 0; - var i = c(8905), m = c(9592), t = c(5466), f = c(678), b = function() { - function d(l, s) { - this.name = l, this.value = s; - } - return d.prototype.toBytes = function() { - var l = (0, f.toBytesString)(this.name), s = t.CLValueParser.toBytesWithType(this.value); - return (0, i.concat)([l, s]); - }, d.toBytesWithNamedArg = function(l) { - var s = new ArrayBuffer(1024), v = new DataView(s), p = 0, h = new TextEncoder().encode(l.name); - p + 4 + h.length > s.byteLength && (s = (0, f.expandBuffer)(s, p + 4 + h.length), v = new DataView(s)), p = (0, f.writeInteger)(v, p, h.length), new Uint8Array(s, p).set(h), p += h.length; - var O = t.CLValueParser.toBytesWithType(l.value); - return p + O.length > s.byteLength && (s = (0, f.expandBuffer)(s, p + O.length), v = new DataView(s)), new Uint8Array(s, p).set(O), p += O.length, new Uint8Array(s, 0, p); - }, d.fromBytes = function(l) { - var s = 0, v = new DataView(l.buffer).getUint32(s, !0); - s += 4; - var p = l.slice(s, s + v); - s += v; - var h = new TextDecoder().decode(p), O = l.slice(s); - return new d(h, t.CLValueParser.fromBytesWithType(O).result); - }, d; + var i = s(8905), p = s(9592), a = s(5466), f = s(678), C = function() { + function v(l, u) { + this.name = l, this.value = u; + } + return v.prototype.toBytes = function() { + var l = (0, f.toBytesString)(this.name), u = a.CLValueParser.toBytesWithType(this.value); + return (0, i.concat)([l, u]); + }, v.toBytesWithNamedArg = function(l) { + var u = new ArrayBuffer(1024), y = new DataView(u), d = 0, b = new TextEncoder().encode(l.name); + d + 4 + b.length > u.byteLength && (u = (0, f.expandBuffer)(u, d + 4 + b.length), y = new DataView(u)), d = (0, f.writeInteger)(y, d, b.length), new Uint8Array(u, d).set(b), d += b.length; + var _ = a.CLValueParser.toBytesWithType(l.value); + return d + _.length > u.byteLength && (u = (0, f.expandBuffer)(u, d + _.length), y = new DataView(u)), new Uint8Array(u, d).set(_), d += _.length, new Uint8Array(u, 0, d); + }, v.fromBytes = function(l) { + var u = 0, y = new DataView(l.buffer).getUint32(u, !0); + u += 4; + var d = l.slice(u, u + y); + u += y; + var b = new TextDecoder().decode(d), _ = l.slice(u); + return new v(b, a.CLValueParser.fromBytesWithType(_).result); + }, v; }(); - n.NamedArg = b; - var y = function(d) { - var l = new Map(Array.from(d, function(s) { - var v = s[0], p = s[1]; - return [v, t.CLValueParser.fromJSON(p)]; + n.NamedArg = C; + var w = function(v) { + var l = new Map(Array.from(v, function(u) { + var y = u[0], d = u[1]; + return [y, a.CLValueParser.fromJSON(d)]; })); - if (l.size !== Array.from(d).length) throw Error("Duplicate key exists."); + if (l.size !== Array.from(v).length) throw Error("Duplicate key exists."); return l; - }, u = function() { - function d(s) { - this.args = s; + }, m = function() { + function v(u) { + this.args = u; } var l; - return l = d, d.prototype.getByName = function(s) { - return this.args.get(s); - }, d.fromMap = function(s) { - var v = new Map(Object.keys(s).map(function(p) { - return [p, s[p]]; + return l = v, v.prototype.getByName = function(u) { + return this.args.get(u); + }, v.fromMap = function(u) { + var y = new Map(Object.keys(u).map(function(d) { + return [d, u[d]]; })); - return new l(v); - }, d.fromNamedArgs = function(s) { - var v = s.reduce(function(p, h) { - return p[h.name] = h.value, p; + return new l(y); + }, v.fromNamedArgs = function(u) { + var y = u.reduce(function(d, b) { + return d[b.name] = b.value, d; }, {}); - return this.fromMap(v); - }, d.prototype.insert = function(s, v) { - this.args.set(s, v); - }, d.prototype.toBytes = function() { - var s = Array.from(this.args.entries()).map(function(p) { - return new b(p[0], p[1]); - }), v = s.map(function(p) { - return p.toBytes(); + return this.fromMap(y); + }, v.prototype.insert = function(u, y) { + this.args.set(u, y); + }, v.prototype.toBytes = function() { + var u = Array.from(this.args.entries()).map(function(d) { + return new C(d[0], d[1]); + }), y = u.map(function(d) { + return d.toBytes(); }); - return v.splice(0, 0, (0, f.toBytesU32)(s.length)), (0, i.concat)(v); - }, d.fromBytes = function(s) { - var v = 0, p = new DataView(s.buffer).getUint32(v, !0); - v += 4; - for (var h = /* @__PURE__ */ new Map(), O = 0; O < p; O++) { - var I = s.slice(v), k = b.fromBytes(I); - v += 4 + new DataView(I.buffer).getUint32(0, !0) + t.CLValueParser.toBytesWithType(k.value).length, h.set(k.name, k.value); - } - return new l(h); - }, r([(0, m.jsonMapMember)(String, t.CLValue, { serializer: function(s) { - return function(v) { - return Array.from(v, function(p) { - var h = p[0], O = p[1]; - return [h, t.CLValueParser.toJSON(O)]; + return y.splice(0, 0, (0, f.toBytesU32)(u.length)), (0, i.concat)(y); + }, v.fromBytes = function(u) { + var y = 0, d = new DataView(u.buffer).getUint32(y, !0); + y += 4; + for (var b = /* @__PURE__ */ new Map(), _ = 0; _ < d; _++) { + var E = u.slice(y), B = C.fromBytes(E); + y += 4 + new DataView(E.buffer).getUint32(0, !0) + a.CLValueParser.toBytesWithType(B.value).length, b.set(B.name, B.value); + } + return new l(b); + }, r([(0, p.jsonMapMember)(String, a.CLValue, { serializer: function(u) { + return function(y) { + return Array.from(y, function(d) { + var b = d[0], _ = d[1]; + return [b, a.CLValueParser.toJSON(_)]; }); - }(s); - }, deserializer: y }), a("design:type", Map)], d.prototype, "args", void 0), l = r([m.jsonObject, a("design:paramtypes", [Map])], d); - }(); - n.Args = u; - }, 4779: function(x, n, c) { - var r = this && this.__decorate || function(h, O, I, k) { - var R, L = arguments.length, N = L < 3 ? O : k === null ? k = Object.getOwnPropertyDescriptor(O, I) : k; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") N = Reflect.decorate(h, O, I, k); - else for (var B = h.length - 1; B >= 0; B--) (R = h[B]) && (N = (L < 3 ? R(N) : L > 3 ? R(O, I, N) : R(O, I)) || N); - return L > 3 && N && Object.defineProperty(O, I, N), N; - }, a = this && this.__metadata || function(h, O) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(h, O); + }(u); + }, deserializer: w }), o("design:type", Map)], v.prototype, "args", void 0), l = r([p.jsonObject, o("design:paramtypes", [Map])], v); + }(); + n.Args = m; + }, 4779(g, n, s) { + var r = this && this.__decorate || function(b, _, E, B) { + var O, I = arguments.length, x = I < 3 ? _ : B === null ? B = Object.getOwnPropertyDescriptor(_, E) : B; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") x = Reflect.decorate(b, _, E, B); + else for (var A = b.length - 1; A >= 0; A--) (O = b[A]) && (x = (I < 3 ? O(x) : I > 3 ? O(_, E, x) : O(_, E)) || x); + return I > 3 && x && Object.defineProperty(_, E, x), x; + }, o = this && this.__metadata || function(b, _) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, _); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.AuctionState = n.AuctionStateV2 = n.AuctionStateV1 = n.BidKindWrapper = n.EraValidators = n.PublicKeyAndBid = void 0; - var i = c(9592), m = c(2142), t = c(6459), f = c(9449), b = c(4820), y = c(8389), u = function() { - function h() { + var i = s(9592), p = s(2142), a = s(6459), f = s(9449), C = s(4820), w = s(8389), m = function() { + function b() { } - return r([(0, i.jsonMember)({ name: "public_key", constructor: f.PublicKey, deserializer: function(O) { - return f.PublicKey.fromJSON(O); - }, serializer: function(O) { - return O.toJSON(); - } }), a("design:type", f.PublicKey)], h.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "bid", constructor: m.Bid }), a("design:type", m.Bid)], h.prototype, "bid", void 0), r([i.jsonObject], h); + return r([(0, i.jsonMember)({ name: "public_key", constructor: f.PublicKey, deserializer: function(_) { + return f.PublicKey.fromJSON(_); + }, serializer: function(_) { + return _.toJSON(); + } }), o("design:type", f.PublicKey)], b.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "bid", constructor: p.Bid }), o("design:type", p.Bid)], b.prototype, "bid", void 0), r([i.jsonObject], b); }(); - n.PublicKeyAndBid = u; - var d = function() { - function h() { + n.PublicKeyAndBid = m; + var v = function() { + function b() { } - return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], h.prototype, "eraID", void 0), r([(0, i.jsonArrayMember)(t.ValidatorWeightAuction, { name: "validator_weights" }), a("design:type", Array)], h.prototype, "validatorWeights", void 0), r([i.jsonObject], h); + return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], b.prototype, "eraID", void 0), r([(0, i.jsonArrayMember)(a.ValidatorWeightAuction, { name: "validator_weights" }), o("design:type", Array)], b.prototype, "validatorWeights", void 0), r([i.jsonObject], b); }(); - n.EraValidators = d; + n.EraValidators = v; var l = function() { - function h(O, I) { - O && (this.publicKey = O), I && (this.bid = I); + function b(_, E) { + _ && (this.publicKey = _), E && (this.bid = E); } - return r([(0, i.jsonMember)({ name: "public_key", constructor: f.PublicKey, deserializer: function(O) { - return f.PublicKey.fromJSON(O); - }, serializer: function(O) { - return O.toJSON(); - } }), a("design:type", f.PublicKey)], h.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "bid", constructor: b.BidKind }), a("design:type", b.BidKind)], h.prototype, "bid", void 0), r([i.jsonObject, a("design:paramtypes", [f.PublicKey, b.BidKind])], h); + return r([(0, i.jsonMember)({ name: "public_key", constructor: f.PublicKey, deserializer: function(_) { + return f.PublicKey.fromJSON(_); + }, serializer: function(_) { + return _.toJSON(); + } }), o("design:type", f.PublicKey)], b.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "bid", constructor: C.BidKind }), o("design:type", C.BidKind)], b.prototype, "bid", void 0), r([i.jsonObject, o("design:paramtypes", [f.PublicKey, C.BidKind])], b); }(); n.BidKindWrapper = l; - var s = function() { - function h() { + var u = function() { + function b() { } - return r([(0, i.jsonArrayMember)(u, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), r([(0, i.jsonArrayMember)(d, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), r([i.jsonObject], h); + return r([(0, i.jsonArrayMember)(m, { name: "bids" }), o("design:type", Array)], b.prototype, "bids", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), o("design:type", Number)], b.prototype, "blockHeight", void 0), r([(0, i.jsonArrayMember)(v, { name: "era_validators" }), o("design:type", Array)], b.prototype, "eraValidators", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), o("design:type", String)], b.prototype, "stateRootHash", void 0), r([i.jsonObject], b); }(); - n.AuctionStateV1 = s; - var v = function() { - function h() { + n.AuctionStateV1 = u; + var y = function() { + function b() { } - return r([(0, i.jsonArrayMember)(l, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), r([(0, i.jsonArrayMember)(d, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), r([i.jsonObject], h); + return r([(0, i.jsonArrayMember)(l, { name: "bids" }), o("design:type", Array)], b.prototype, "bids", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), o("design:type", Number)], b.prototype, "blockHeight", void 0), r([(0, i.jsonArrayMember)(v, { name: "era_validators" }), o("design:type", Array)], b.prototype, "eraValidators", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), o("design:type", String)], b.prototype, "stateRootHash", void 0), r([i.jsonObject], b); }(); - n.AuctionStateV2 = v; - var p = function() { - function h() { + n.AuctionStateV2 = y; + var d = function() { + function b() { } - var O; - return O = h, h.fromV1 = function(I) { - for (var k, R, L, N, B, H, U = [], S = 0, T = I.bids; S < T.length; S++) { - var E = T[S], M = new m.ValidatorBid(); - M.bondingPurse = (k = E?.bid) === null || k === void 0 ? void 0 : k.bondingPurse, M.delegationRate = (R = E?.bid) === null || R === void 0 ? void 0 : R.delegationRate, M.inactive = (L = E?.bid) === null || L === void 0 ? void 0 : L.inactive, M.stakedAmount = (N = E?.bid) === null || N === void 0 ? void 0 : N.stakedAmount, M.vestingSchedule = (B = E?.bid) === null || B === void 0 ? void 0 : B.vestingSchedule, M.reservedSlots = 0, M.validatorPublicKey = (H = E?.bid) === null || H === void 0 ? void 0 : H.validatorPublicKey, M.maximumDelegationAmount = y.DEFAULT_MAXIMUM_DELEGATION_AMOUNT, M.minimumDelegationAmount = y.DEFAULT_MINIMUM_DELEGATION_AMOUNT; - var _ = new b.BidKind(); - _.validator = M, U.push(new l(E.publicKey, _)); - for (var w = 0, A = E.bid.delegators; w < A.length; w++) { - var j = A[w]; - U.push(new l(E.publicKey, new b.BidKind(void 0, void 0, new m.Delegator(j.bondingPurse, j.stakedAmount, j.delegatorKind, j.validatorPublicKey, j.vestingSchedule)))); + var _; + return _ = b, b.fromV1 = function(E) { + for (var B, O, I, x, A, N, k = [], j = 0, D = E.bids; j < D.length; j++) { + var T = D[j], L = new p.ValidatorBid(); + L.bondingPurse = (B = T?.bid) === null || B === void 0 ? void 0 : B.bondingPurse, L.delegationRate = (O = T?.bid) === null || O === void 0 ? void 0 : O.delegationRate, L.inactive = (I = T?.bid) === null || I === void 0 ? void 0 : I.inactive, L.stakedAmount = (x = T?.bid) === null || x === void 0 ? void 0 : x.stakedAmount, L.vestingSchedule = (A = T?.bid) === null || A === void 0 ? void 0 : A.vestingSchedule, L.reservedSlots = 0, L.validatorPublicKey = (N = T?.bid) === null || N === void 0 ? void 0 : N.validatorPublicKey, L.maximumDelegationAmount = w.DEFAULT_MAXIMUM_DELEGATION_AMOUNT, L.minimumDelegationAmount = w.DEFAULT_MINIMUM_DELEGATION_AMOUNT; + var R = new C.BidKind(); + R.validator = L, k.push(new l(T.publicKey, R)); + for (var M = 0, P = T.bid.delegators; M < P.length; M++) { + var H = P[M]; + k.push(new l(T.publicKey, new C.BidKind(void 0, void 0, new p.Delegator(H.bondingPurse, H.stakedAmount, H.delegatorKind, H.validatorPublicKey, H.vestingSchedule)))); } } - var V = new O(); - return V.bids = U, V.blockHeight = I.blockHeight, V.eraValidators = I.eraValidators, V.stateRootHash = I.stateRootHash, V; - }, h.fromV2 = function(I) { - var k = I?.bids.map(function(L) { - return new l(L?.publicKey, L?.bid); - }), R = new O(); - return R.bids = k, R.blockHeight = I?.blockHeight, R.eraValidators = I?.eraValidators, R.stateRootHash = I?.stateRootHash, R; - }, r([(0, i.jsonArrayMember)(l, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), r([(0, i.jsonArrayMember)(d, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), O = r([i.jsonObject], h); - }(); - n.AuctionState = p; - }, 2142: function(x, n, c) { - var r = this && this.__decorate || function(L, N, B, H) { - var U, S = arguments.length, T = S < 3 ? N : H === null ? H = Object.getOwnPropertyDescriptor(N, B) : H; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") T = Reflect.decorate(L, N, B, H); - else for (var E = L.length - 1; E >= 0; E--) (U = L[E]) && (T = (S < 3 ? U(T) : S > 3 ? U(N, B, T) : U(N, B)) || T); - return S > 3 && T && Object.defineProperty(N, B, T), T; - }, a = this && this.__metadata || function(L, N) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(L, N); + var K = new _(); + return K.bids = k, K.blockHeight = E.blockHeight, K.eraValidators = E.eraValidators, K.stateRootHash = E.stateRootHash, K; + }, b.fromV2 = function(E) { + var B = E?.bids.map(function(I) { + return new l(I?.publicKey, I?.bid); + }), O = new _(); + return O.bids = B, O.blockHeight = E?.blockHeight, O.eraValidators = E?.eraValidators, O.stateRootHash = E?.stateRootHash, O; + }, r([(0, i.jsonArrayMember)(l, { name: "bids" }), o("design:type", Array)], b.prototype, "bids", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), o("design:type", Number)], b.prototype, "blockHeight", void 0), r([(0, i.jsonArrayMember)(v, { name: "era_validators" }), o("design:type", Array)], b.prototype, "eraValidators", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), o("design:type", String)], b.prototype, "stateRootHash", void 0), _ = r([i.jsonObject], b); + }(); + n.AuctionState = d; + }, 2142(g, n, s) { + var r = this && this.__decorate || function(I, x, A, N) { + var k, j = arguments.length, D = j < 3 ? x : N === null ? N = Object.getOwnPropertyDescriptor(x, A) : N; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") D = Reflect.decorate(I, x, A, N); + else for (var T = I.length - 1; T >= 0; T--) (k = I[T]) && (D = (j < 3 ? k(D) : j > 3 ? k(x, A, D) : k(x, A)) || D); + return j > 3 && D && Object.defineProperty(x, A, D), D; + }, o = this && this.__metadata || function(I, x) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(I, x); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Reservation = n.Bridge = n.Credit = n.DelegatorV1 = n.Bid = n.Delegator = n.ValidatorBid = n.VestingSchedule = n.DelegationKind = n.Unbond = n.UnbondKind = n.UnbondEra = void 0; - var i = c(9592), m = c(9449), t = c(5466), f = c(3401), b = c(7889), y = function() { - function L() { + var i = s(9592), p = s(9449), a = s(5466), f = s(3401), C = s(7889), w = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "era_of_creation", constructor: Number }), a("design:type", Number)], L.prototype, "eraOfCreation", void 0), r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(N) { - if (N) return f.URef.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", f.URef)], L.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "new_validator", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "newValidator", void 0), r([i.jsonObject], L); - }(); - n.UnbondEra = y; - var u = function() { - function L() { + return r([(0, i.jsonMember)({ name: "amount", constructor: a.CLValueUInt512, deserializer: function(x) { + if (x) return a.CLValueUInt512.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", a.CLValueUInt512)], I.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "era_of_creation", constructor: Number }), o("design:type", Number)], I.prototype, "eraOfCreation", void 0), r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(x) { + if (x) return f.URef.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", f.URef)], I.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "new_validator", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "newValidator", void 0), r([i.jsonObject], I); + }(); + n.UnbondEra = w; + var m = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "Validator", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "DelegatedPublicKey", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "delegatedPublicKey", void 0), r([(0, i.jsonMember)({ name: "DelegatedPurse", constructor: String }), a("design:type", String)], L.prototype, "delegatedPurse", void 0), r([i.jsonObject], L); - }(); - n.UnbondKind = u; - var d = function() { - function L() { + return r([(0, i.jsonMember)({ name: "Validator", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "DelegatedPublicKey", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "delegatedPublicKey", void 0), r([(0, i.jsonMember)({ name: "DelegatedPurse", constructor: String }), o("design:type", String)], I.prototype, "delegatedPurse", void 0), r([i.jsonObject], I); + }(); + n.UnbondKind = m; + var v = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "unbond_kind", constructor: u }), a("design:type", u)], L.prototype, "unbondKind", void 0), r([(0, i.jsonArrayMember)(y, { name: "eras" }), a("design:type", Array)], L.prototype, "eras", void 0), r([i.jsonObject], L); + return r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "unbond_kind", constructor: m }), o("design:type", m)], I.prototype, "unbondKind", void 0), r([(0, i.jsonArrayMember)(w, { name: "eras" }), o("design:type", Array)], I.prototype, "eras", void 0), r([i.jsonObject], I); }(); - n.Unbond = d; + n.Unbond = v; var l = function() { - function L() { + function I() { } - var N; - return N = L, L.prototype.toHex = function() { - var B = this.publicKey !== void 0 && this.publicKey !== null, H = this.purse !== void 0 && this.purse !== null; - if (!B && !H) throw new Error("Invalid DelegationKind: Neither 'publicKey' nor 'purse' is set. One must be provided."); - return B ? this.publicKey.toHex() : this.purse.toPrefixedString(); - }, L.fromJSON = function(B) { - if (!B) throw new Error("Invalid JSON for DelegationKind: ".concat(B)); - var H = new N(); - if (B.PublicKey !== void 0 && B.PublicKey !== null) H.publicKey = m.PublicKey.fromJSON(B.PublicKey); + var x; + return x = I, I.prototype.toHex = function() { + var A = this.publicKey !== void 0 && this.publicKey !== null, N = this.purse !== void 0 && this.purse !== null; + if (!A && !N) throw new Error("Invalid DelegationKind: Neither 'publicKey' nor 'purse' is set. One must be provided."); + return A ? this.publicKey.toHex() : this.purse.toPrefixedString(); + }, I.fromJSON = function(A) { + if (!A) throw new Error("Invalid JSON for DelegationKind: ".concat(A)); + var N = new x(); + if (A.PublicKey !== void 0 && A.PublicKey !== null) N.publicKey = p.PublicKey.fromJSON(A.PublicKey); else { - if (B.Purse === void 0 || B.Purse === null) throw new Error("unexpected DelegatorKind format"); - var U = b.HexBytes.fromHex(B.Purse), S = new Uint8Array(U.bytes.length + 1); - S.set(U.bytes, 0), S[U.bytes.length] = 7, H.purse = f.URef.fromBytes(S).result; + if (A.Purse === void 0 || A.Purse === null) throw new Error("unexpected DelegatorKind format"); + var k = C.HexBytes.fromHex(A.Purse), j = new Uint8Array(k.bytes.length + 1); + j.set(k.bytes, 0), j[k.bytes.length] = 7, N.purse = f.URef.fromBytes(j).result; } - return H; - }, r([(0, i.jsonMember)({ name: "PublicKey", constructor: m.PublicKey }), a("design:type", m.PublicKey)], L.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "Purse", constructor: f.URef }), a("design:type", f.URef)], L.prototype, "purse", void 0), N = r([i.jsonObject], L); + return N; + }, r([(0, i.jsonMember)({ name: "PublicKey", constructor: p.PublicKey }), o("design:type", p.PublicKey)], I.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "Purse", constructor: f.URef }), o("design:type", f.URef)], I.prototype, "purse", void 0), x = r([i.jsonObject], I); }(); n.DelegationKind = l; - var s = function() { - function L() { + var u = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "initial_release_timestamp_millis", constructor: Number }), a("design:type", Number)], L.prototype, "initialReleaseTimestampMillis", void 0), r([(0, i.jsonArrayMember)(t.CLValueUInt512, { name: "locked_amounts", serializer: function(N) { - return N.map(function(B) { - return B.toJSON(); + return r([(0, i.jsonMember)({ name: "initial_release_timestamp_millis", constructor: Number }), o("design:type", Number)], I.prototype, "initialReleaseTimestampMillis", void 0), r([(0, i.jsonArrayMember)(function() { + return a.CLValueUInt512; + }, { name: "locked_amounts", serializer: function(x) { + return x.map(function(A) { + return A.toJSON(); }); - }, deserializer: function(N) { - return N.map(function(B) { - return t.CLValueUInt512.fromJSON(B); + }, deserializer: function(x) { + return x.map(function(A) { + return a.CLValueUInt512.fromJSON(A); }); - } }), a("design:type", Array)], L.prototype, "lockedAmounts", void 0), r([i.jsonObject], L); + } }), o("design:type", Array)], I.prototype, "lockedAmounts", void 0), r([i.jsonObject], I); }(); - n.VestingSchedule = s; - var v = function() { - function L() { + n.VestingSchedule = u; + var y = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(N) { - if (N) return f.URef.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", f.URef)], L.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "inactive", constructor: Boolean }), a("design:type", Boolean)], L.prototype, "inactive", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "minimum_delegation_amount", constructor: BigInt, deserializer: function(N) { - if (N) try { - return BigInt(N); + return r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + if (x) return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(x) { + if (x) return f.URef.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", f.URef)], I.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), o("design:type", Number)], I.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "inactive", constructor: Boolean }), o("design:type", Boolean)], I.prototype, "inactive", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: a.CLValueUInt512, deserializer: function(x) { + if (x) return a.CLValueUInt512.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", a.CLValueUInt512)], I.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "minimum_delegation_amount", constructor: BigInt, deserializer: function(x) { + if (x) try { + return BigInt(x); } catch { - throw new Error("Could not convert minimum_delegation_amount: ".concat(N)); + throw new Error("Could not convert minimum_delegation_amount: ".concat(x)); } - }, serializer: function(N) { - return N?.toString(); - } }), a("design:type", typeof BigInt == "function" ? BigInt : Object)], L.prototype, "minimumDelegationAmount", void 0), r([(0, i.jsonMember)({ name: "maximum_delegation_amount", constructor: BigInt, deserializer: function(N) { - if (N) try { - return BigInt(N); + }, serializer: function(x) { + return x?.toString(); + } }), o("design:type", typeof BigInt == "function" ? BigInt : Object)], I.prototype, "minimumDelegationAmount", void 0), r([(0, i.jsonMember)({ name: "maximum_delegation_amount", constructor: BigInt, deserializer: function(x) { + if (x) try { + return BigInt(x); } catch { - throw new Error("Could not convert maximum_delegation_amount: ".concat(N)); + throw new Error("Could not convert maximum_delegation_amount: ".concat(x)); } - }, serializer: function(N) { - return N?.toString(); - } }), a("design:type", typeof BigInt == "function" ? BigInt : Object)], L.prototype, "maximumDelegationAmount", void 0), r([(0, i.jsonMember)({ name: "reserved_slots", constructor: Number }), a("design:type", Number)], L.prototype, "reservedSlots", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), r([i.jsonObject], L); + }, serializer: function(x) { + return x?.toString(); + } }), o("design:type", typeof BigInt == "function" ? BigInt : Object)], I.prototype, "maximumDelegationAmount", void 0), r([(0, i.jsonMember)({ name: "reserved_slots", constructor: Number }), o("design:type", Number)], I.prototype, "reservedSlots", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: u }), o("design:type", u)], I.prototype, "vestingSchedule", void 0), r([i.jsonObject], I); }(); - n.ValidatorBid = v; - var p = function() { - function L(B, H, U, S, T) { - this.bondingPurse = B, this.stakedAmount = H, this.delegatorKind = U, this.validatorPublicKey = S, this.vestingSchedule = T; - } - var N; - return N = L, L.newDelegatorFromDelegatorV1 = function(B) { - var H = new l(); - return H.publicKey = B.publicKey, new N(B.bondingPurse, B.stakedAmount, H, B.delegatee, B.vestingSchedule); - }, L.fromJSON = function(B) { - var H = this; - if (!Array.isArray(B)) throw new Error("Delegators should be an array."); - return B.length > 0 && B[0].delegator_public_key != null ? B.map(function(U) { - var S = U.delegator, T = new i.TypedJSON(N).parse(S); - if (!T) throw new Error("Failed to deserialize Delegator from wrapped format."); - return T; - }) : B.map(function(U) { - var S = new i.TypedJSON(O).parse(U); - if (!S) throw new Error("Failed to deserialize DelegatorV1."); - return H.newDelegatorFromDelegatorV1(S); + n.ValidatorBid = y; + var d = function() { + function I(A, N, k, j, D) { + this.bondingPurse = A, this.stakedAmount = N, this.delegatorKind = k, this.validatorPublicKey = j, this.vestingSchedule = D; + } + var x; + return x = I, I.newDelegatorFromDelegatorV1 = function(A) { + var N = new l(); + return N.publicKey = A.publicKey, new x(A.bondingPurse, A.stakedAmount, N, A.delegatee, A.vestingSchedule); + }, I.fromJSON = function(A) { + var N = this; + if (!Array.isArray(A)) throw new Error("Delegators should be an array."); + return A.length > 0 && A[0].delegator_public_key != null ? A.map(function(k) { + var j = k.delegator, D = new i.TypedJSON(x).parse(j); + if (!D) throw new Error("Failed to deserialize Delegator from wrapped format."); + return D; + }) : A.map(function(k) { + var j = new i.TypedJSON(_).parse(k); + if (!j) throw new Error("Failed to deserialize DelegatorV1."); + return N.newDelegatorFromDelegatorV1(j); }); - }, r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(B) { - if (B) return f.URef.fromJSON(B); - }, serializer: function(B) { - if (B) return B.toJSON(); - } }), a("design:type", f.URef)], L.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(B) { - if (B) return t.CLValueUInt512.fromJSON(B); - }, serializer: function(B) { - if (B) return B.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(B) { - if (B) return l.fromJSON(B); - } }), a("design:type", l)], L.prototype, "delegatorKind", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(B) { - if (B) return m.PublicKey.fromJSON(B); - }, serializer: function(B) { - if (B) return B.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), N = r([i.jsonObject, a("design:paramtypes", [f.URef, t.CLValueUInt512, l, m.PublicKey, s])], L); - }(); - n.Delegator = p; - var h = function() { - function L() { - } - return r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(N) { - if (N) return f.URef.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", f.URef)], L.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "inactive", constructor: Boolean }), a("design:type", Boolean)], L.prototype, "inactive", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "validatorPublicKey", void 0), r([(0, i.jsonArrayMember)(p, { name: "delegators", deserializer: function(N) { - if (N) return p.fromJSON(N); - } }), a("design:type", Array)], L.prototype, "delegators", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), r([i.jsonObject], L); + }, r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(A) { + if (A) return f.URef.fromJSON(A); + }, serializer: function(A) { + if (A) return A.toJSON(); + } }), o("design:type", f.URef)], I.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: a.CLValueUInt512, deserializer: function(A) { + if (A) return a.CLValueUInt512.fromJSON(A); + }, serializer: function(A) { + if (A) return A.toJSON(); + } }), o("design:type", a.CLValueUInt512)], I.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(A) { + if (A) return l.fromJSON(A); + } }), o("design:type", l)], I.prototype, "delegatorKind", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(A) { + if (A) return p.PublicKey.fromJSON(A); + }, serializer: function(A) { + if (A) return A.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: u }), o("design:type", u)], I.prototype, "vestingSchedule", void 0), x = r([i.jsonObject, o("design:paramtypes", [f.URef, a.CLValueUInt512, l, p.PublicKey, u])], I); }(); - n.Bid = h; - var O = function() { - function L() { + n.Delegator = d; + var b = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(N) { - if (N) return f.URef.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", f.URef)], L.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "delegatee", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "delegatee", void 0), r([(0, i.jsonMember)({ name: "public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), r([i.jsonObject], L); - }(); - n.DelegatorV1 = O; - var I = function() { - function L() { + return r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(x) { + if (x) return f.URef.fromJSON(x); + }, serializer: function(x) { + if (x) return x.toJSON(); + } }), o("design:type", f.URef)], I.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), o("design:type", Number)], I.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "inactive", constructor: Boolean }), o("design:type", Boolean)], I.prototype, "inactive", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: a.CLValueUInt512, deserializer: function(x) { + if (x) return a.CLValueUInt512.fromJSON(x); + }, serializer: function(x) { + if (x) return x.toJSON(); + } }), o("design:type", a.CLValueUInt512)], I.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + if (x) return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "validatorPublicKey", void 0), r([(0, i.jsonArrayMember)(d, { name: "delegators", deserializer: function(x) { + if (x) return d.fromJSON(x); + } }), o("design:type", Array)], I.prototype, "delegators", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: u }), o("design:type", u)], I.prototype, "vestingSchedule", void 0), r([i.jsonObject], I); + }(); + n.Bid = b; + var _ = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], L.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "amount", void 0), r([i.jsonObject], L); - }(); - n.Credit = I; - var k = function() { - function L() { + return r([(0, i.jsonMember)({ name: "bonding_purse", constructor: f.URef, deserializer: function(x) { + if (x) return f.URef.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", f.URef)], I.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "staked_amount", constructor: a.CLValueUInt512, deserializer: function(x) { + if (x) return a.CLValueUInt512.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", a.CLValueUInt512)], I.prototype, "stakedAmount", void 0), r([(0, i.jsonMember)({ name: "delegatee", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "delegatee", void 0), r([(0, i.jsonMember)({ name: "public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "vesting_schedule", constructor: u }), o("design:type", u)], I.prototype, "vestingSchedule", void 0), r([i.jsonObject], I); + }(); + n.DelegatorV1 = _; + var E = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], L.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "old_validator_public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "oldValidatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "new_validator_public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "newValidatorPublicKey", void 0), r([i.jsonObject], L); - }(); - n.Bridge = k; - var R = function() { - function L() { + return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], I.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: a.CLValueUInt512, deserializer: function(x) { + if (x) return a.CLValueUInt512.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", a.CLValueUInt512)], I.prototype, "amount", void 0), r([i.jsonObject], I); + }(); + n.Credit = E; + var B = function() { + function I() { } - return r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(N) { - if (N) return m.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", m.PublicKey)], L.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(N) { - if (N) return l.fromJSON(N); - } }), a("design:type", l)], L.prototype, "delegatorKind", void 0), r([i.jsonObject], L); - }(); - n.Reservation = R; - }, 4820: function(x, n, c) { - var r = this && this.__decorate || function(f, b, y, u) { - var d, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(f, b, y, u); - else for (var v = f.length - 1; v >= 0; v--) (d = f[v]) && (s = (l < 3 ? d(s) : l > 3 ? d(b, y, s) : d(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(f, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, b); + return r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], I.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "old_validator_public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "oldValidatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "new_validator_public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "newValidatorPublicKey", void 0), r([i.jsonObject], I); + }(); + n.Bridge = B; + var O = function() { + function I() { + } + return r([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), o("design:type", Number)], I.prototype, "delegationRate", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(x) { + if (x) return p.PublicKey.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", p.PublicKey)], I.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(x) { + if (x) return l.fromJSON(x); + } }), o("design:type", l)], I.prototype, "delegatorKind", void 0), r([i.jsonObject], I); + }(); + n.Reservation = O; + }, 4820(g, n, s) { + var r = this && this.__decorate || function(f, C, w, m) { + var v, l = arguments.length, u = l < 3 ? C : m === null ? m = Object.getOwnPropertyDescriptor(C, w) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") u = Reflect.decorate(f, C, w, m); + else for (var y = f.length - 1; y >= 0; y--) (v = f[y]) && (u = (l < 3 ? v(u) : l > 3 ? v(C, w, u) : v(C, w)) || u); + return l > 3 && u && Object.defineProperty(C, w, u), u; + }, o = this && this.__metadata || function(f, C) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, C); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.BidKind = void 0; - var i = c(9592), m = c(2142), t = function() { - function f(b, y, u, d, l, s, v) { - this.unified = b, this.validator = y, this.delegator = u, this.bridge = d, this.credit = l, this.reservation = s, this.unbond = v; + var i = s(9592), p = s(2142), a = function() { + function f(C, w, m, v, l, u, y) { + this.unified = C, this.validator = w, this.delegator = m, this.bridge = v, this.credit = l, this.reservation = u, this.unbond = y; } - return r([(0, i.jsonMember)({ name: "Unified", constructor: m.Bid }), a("design:type", m.Bid)], f.prototype, "unified", void 0), r([(0, i.jsonMember)({ name: "Validator", constructor: m.ValidatorBid }), a("design:type", m.ValidatorBid)], f.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "Delegator", constructor: m.Delegator }), a("design:type", m.Delegator)], f.prototype, "delegator", void 0), r([(0, i.jsonMember)({ name: "Bridge", constructor: m.Bridge }), a("design:type", m.Bridge)], f.prototype, "bridge", void 0), r([(0, i.jsonMember)({ name: "Credit", constructor: m.Credit }), a("design:type", m.Credit)], f.prototype, "credit", void 0), r([(0, i.jsonMember)({ name: "Reservation", constructor: m.Reservation }), a("design:type", m.Reservation)], f.prototype, "reservation", void 0), r([(0, i.jsonMember)({ name: "Unbond", constructor: m.Unbond }), a("design:type", m.Unbond)], f.prototype, "unbond", void 0), r([i.jsonObject, a("design:paramtypes", [m.Bid, m.ValidatorBid, m.Delegator, m.Bridge, m.Credit, m.Reservation, m.Unbond])], f); + return r([(0, i.jsonMember)({ name: "Unified", constructor: p.Bid }), o("design:type", p.Bid)], f.prototype, "unified", void 0), r([(0, i.jsonMember)({ name: "Validator", constructor: p.ValidatorBid }), o("design:type", p.ValidatorBid)], f.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "Delegator", constructor: p.Delegator }), o("design:type", p.Delegator)], f.prototype, "delegator", void 0), r([(0, i.jsonMember)({ name: "Bridge", constructor: p.Bridge }), o("design:type", p.Bridge)], f.prototype, "bridge", void 0), r([(0, i.jsonMember)({ name: "Credit", constructor: p.Credit }), o("design:type", p.Credit)], f.prototype, "credit", void 0), r([(0, i.jsonMember)({ name: "Reservation", constructor: p.Reservation }), o("design:type", p.Reservation)], f.prototype, "reservation", void 0), r([(0, i.jsonMember)({ name: "Unbond", constructor: p.Unbond }), o("design:type", p.Unbond)], f.prototype, "unbond", void 0), r([i.jsonObject, o("design:paramtypes", [p.Bid, p.ValidatorBid, p.Delegator, p.Bridge, p.Credit, p.Reservation, p.Unbond])], f); }(); - n.BidKind = t; - }, 3404: function(x, n, c) { + n.BidKind = a; + }, 3404(g, n, s) { var r = this && this.__assign || function() { - return r = Object.assign || function(M) { - for (var _, w = 1, A = arguments.length; w < A; w++) for (var j in _ = arguments[w]) Object.prototype.hasOwnProperty.call(_, j) && (M[j] = _[j]); - return M; + return r = Object.assign || function(L) { + for (var R, M = 1, P = arguments.length; M < P; M++) for (var H in R = arguments[M]) Object.prototype.hasOwnProperty.call(R, H) && (L[H] = R[H]); + return L; }, r.apply(this, arguments); - }, a = this && this.__decorate || function(M, _, w, A) { - var j, V = arguments.length, D = V < 3 ? _ : A === null ? A = Object.getOwnPropertyDescriptor(_, w) : A; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") D = Reflect.decorate(M, _, w, A); - else for (var z = M.length - 1; z >= 0; z--) (j = M[z]) && (D = (V < 3 ? j(D) : V > 3 ? j(_, w, D) : j(_, w)) || D); - return V > 3 && D && Object.defineProperty(_, w, D), D; - }, i = this && this.__metadata || function(M, _) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(M, _); - }, m = this && this.__spreadArray || function(M, _, w) { - if (w || arguments.length === 2) for (var A, j = 0, V = _.length; j < V; j++) !A && j in _ || (A || (A = Array.prototype.slice.call(_, 0, j)), A[j] = _[j]); - return M.concat(A || Array.prototype.slice.call(_)); + }, o = this && this.__decorate || function(L, R, M, P) { + var H, K = arguments.length, V = K < 3 ? R : P === null ? P = Object.getOwnPropertyDescriptor(R, M) : P; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") V = Reflect.decorate(L, R, M, P); + else for (var U = L.length - 1; U >= 0; U--) (H = L[U]) && (V = (K < 3 ? H(V) : K > 3 ? H(R, M, V) : H(R, M)) || V); + return K > 3 && V && Object.defineProperty(R, M, V), V; + }, i = this && this.__metadata || function(L, R) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(L, R); + }, p = this && this.__spreadArray || function(L, R, M) { + if (M || arguments.length === 2) for (var P, H = 0, K = R.length; H < K; H++) !P && H in R || (P || (P = Array.prototype.slice.call(R, 0, H)), P[H] = R[H]); + return L.concat(P || Array.prototype.slice.call(R)); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.BlockHeader = n.BlockHeaderWrapper = n.BlockWithSignatures = n.BlockWrapper = n.BlockV2 = n.BlockBodyV2 = n.BlockHeaderV2 = n.BlockV1 = n.BlockBodyV1 = n.BlockHeaderV1 = n.parseBlockTransactions = n.BlockTransaction = n.Block = n.Proof = void 0; - var t = c(9592), f = c(3401), b = c(6500), y = c(4924), u = c(6722), d = c(9125), l = c(9449), s = c(7889), v = c(8389), p = function() { - function M() { + var a = s(9592), f = s(3401), C = s(6500), w = s(4924), m = s(6722), v = s(9125), l = s(9449), u = s(7889), y = s(8389), d = function() { + function L() { } - return a([(0, t.jsonMember)({ constructor: l.PublicKey, name: "public_key", deserializer: function(_) { - return l.PublicKey.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", l.PublicKey)], M.prototype, "publicKey", void 0), a([(0, t.jsonMember)({ name: "signature", constructor: s.HexBytes, deserializer: function(_) { - return s.HexBytes.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", s.HexBytes)], M.prototype, "signature", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ constructor: l.PublicKey, name: "public_key", deserializer: function(R) { + return l.PublicKey.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", l.PublicKey)], L.prototype, "publicKey", void 0), o([(0, a.jsonMember)({ name: "signature", constructor: u.HexBytes, deserializer: function(R) { + return u.HexBytes.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", u.HexBytes)], L.prototype, "signature", void 0), o([a.jsonObject], L); }(); - n.Proof = p; - var h = function() { - function M(w, A, j, V, D, z, J, G, Q, ee, Z, q, se, ue, ce, ie, fe, Te) { - this.hash = w, this.height = A, this.stateRootHash = j, this.lastSwitchBlockHash = V, this.parentHash = D, this.eraID = z, this.timestamp = J, this.accumulatedSeed = G, this.randomBit = Q, this.currentGasPrice = ee, this.proposer = Z, this.protocolVersion = q, this.eraEnd = se, this.transactions = ue, this.rewardedSignatures = ce, this.proofs = ie, this.originBlockV1 = fe, this.originBlockV2 = Te; + n.Proof = d; + var b = function() { + function L(M, P, H, K, V, U, F, Q, ne, te, X, Z, fe, le, Se, de, me, Oe) { + this.hash = M, this.height = P, this.stateRootHash = H, this.lastSwitchBlockHash = K, this.parentHash = V, this.eraID = U, this.timestamp = F, this.accumulatedSeed = Q, this.randomBit = ne, this.currentGasPrice = te, this.proposer = X, this.protocolVersion = Z, this.eraEnd = fe, this.transactions = le, this.rewardedSignatures = Se, this.proofs = de, this.originBlockV1 = me, this.originBlockV2 = Oe; } - var _; - return _ = M, M.prototype.getBlockV1 = function() { + var R; + return R = L, L.prototype.getBlockV1 = function() { return this.originBlockV1; - }, M.prototype.getBlockV2 = function() { + }, L.prototype.getBlockV2 = function() { return this.originBlockV2; - }, M.newBlockFromBlockWrapper = function(w, A) { - var j, V; - if (w.blockV1) { - var D = _.newBlockFromBlockV1(w.blockV1); - return D.proofs = A, D; + }, L.newBlockFromBlockWrapper = function(M, P) { + var H, K; + if (M.blockV1) { + var V = R.newBlockFromBlockV1(M.blockV1); + return V.proofs = P, V; } - if (w.blockV2) { - var z = w.blockV2; - return new _(z.hash, z.header.height, z.header.stateRootHash, z.header.lastSwitchBlockHash, z.header.parentHash, z.header.eraID, z.header.timestamp, z.header.accumulatedSeed, z.header.randomBit, z.header.currentGasPrice, z.header.proposer, z.header.protocolVersion, (V = u.EraEnd.fromV2((j = z.header.eraEnd) !== null && j !== void 0 ? j : null)) !== null && V !== void 0 ? V : void 0, z.body.transactions, z.body.rewardedSignatures, A, void 0, z); + if (M.blockV2) { + var U = M.blockV2; + return new R(U.hash, U.header.height, U.header.stateRootHash, U.header.lastSwitchBlockHash, U.header.parentHash, U.header.eraID, U.header.timestamp, U.header.accumulatedSeed, U.header.randomBit, U.header.currentGasPrice, U.header.proposer, U.header.protocolVersion, (K = m.EraEnd.fromV2((H = U.header.eraEnd) !== null && H !== void 0 ? H : null)) !== null && K !== void 0 ? K : void 0, U.body.transactions, U.body.rewardedSignatures, P, void 0, U); } throw new Error("BlockWrapper must contain either BlockV1 or BlockV2"); - }, M.newBlockFromBlockV1 = function(w) { - for (var A, j, V = [], D = 0, z = w.body.transferHashes; D < z.length; D++) { - var J = z[D]; - V.push(new O(d.TransactionCategory.Mint, d.TransactionVersion.Deploy, J)); - } - for (var G = 0, Q = w.body.deployHashes; G < Q.length; G++) { - var ee = Q[G]; - V.push(new O(d.TransactionCategory.Large, d.TransactionVersion.Deploy, ee)); - } - return new _(w.hash, w.header.height, w.header.stateRootHash, null, w.header.parentHash, w.header.eraID, w.header.timestamp, w.header.accumulatedSeed, w.header.randomBit, 1, w.body.proposer, w.header.protocolVersion, (j = u.EraEnd.fromV1((A = w.header.eraEnd) !== null && A !== void 0 ? A : null)) !== null && j !== void 0 ? j : void 0, V, [], w.proofs, w); - }, a([(0, t.jsonMember)({ name: "hash", constructor: f.Hash, deserializer: function(w) { - return f.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(w) { - return f.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "last_switch_block_hash", constructor: f.Hash, deserializer: function(w) { - return w ? f.Hash.fromJSON(w) : null; - }, serializer: function(w) { - return w ? w.toJSON() : null; - }, preserveNull: !0 }), i("design:type", Object)], M.prototype, "lastSwitchBlockHash", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(w) { - return f.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(w) { - return b.Timestamp.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(w) { - if (w) return f.Hash.fromJSON(w); - }, serializer: function(w) { - if (w) return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], M.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(w) { - return y.Proposer.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEnd }), i("design:type", u.EraEnd)], M.prototype, "eraEnd", void 0), a([(0, t.jsonArrayMember)(function() { - return O; - }, { name: "transactions", deserializer: function(w) { - return O.fromJSON(w); - } }), i("design:type", Array)], M.prototype, "transactions", void 0), a([(0, t.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), i("design:type", Array)], M.prototype, "rewardedSignatures", void 0), a([(0, t.jsonArrayMember)(function() { - return p; - }, { name: "proofs" }), i("design:type", Array)], M.prototype, "proofs", void 0), _ = a([t.jsonObject, i("design:paramtypes", [f.Hash, Number, f.Hash, Object, f.Hash, Number, b.Timestamp, Object, Boolean, Number, y.Proposer, Object, Object, Array, Array, Array, L, H])], M); + }, L.newBlockFromBlockV1 = function(M) { + for (var P, H, K = [], V = 0, U = M.body.transferHashes; V < U.length; V++) { + var F = U[V]; + K.push(new _(v.TransactionCategory.Mint, v.TransactionVersion.Deploy, F)); + } + for (var Q = 0, ne = M.body.deployHashes; Q < ne.length; Q++) { + var te = ne[Q]; + K.push(new _(v.TransactionCategory.Large, v.TransactionVersion.Deploy, te)); + } + return new R(M.hash, M.header.height, M.header.stateRootHash, null, M.header.parentHash, M.header.eraID, M.header.timestamp, M.header.accumulatedSeed, M.header.randomBit, 1, M.body.proposer, M.header.protocolVersion, (H = m.EraEnd.fromV1((P = M.header.eraEnd) !== null && P !== void 0 ? P : null)) !== null && H !== void 0 ? H : void 0, K, [], M.proofs, M); + }, o([(0, a.jsonMember)({ name: "hash", constructor: f.Hash, deserializer: function(M) { + return f.Hash.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "hash", void 0), o([(0, a.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], L.prototype, "height", void 0), o([(0, a.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(M) { + return f.Hash.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "stateRootHash", void 0), o([(0, a.jsonMember)({ name: "last_switch_block_hash", constructor: f.Hash, deserializer: function(M) { + return M ? f.Hash.fromJSON(M) : null; + }, serializer: function(M) { + return M ? M.toJSON() : null; + }, preserveNull: !0 }), i("design:type", Object)], L.prototype, "lastSwitchBlockHash", void 0), o([(0, a.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(M) { + return f.Hash.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "parentHash", void 0), o([(0, a.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], L.prototype, "eraID", void 0), o([(0, a.jsonMember)({ name: "timestamp", constructor: C.Timestamp, deserializer: function(M) { + return C.Timestamp.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", C.Timestamp)], L.prototype, "timestamp", void 0), o([(0, a.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(M) { + if (M) return f.Hash.fromJSON(M); + }, serializer: function(M) { + if (M) return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "accumulatedSeed", void 0), o([(0, a.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], L.prototype, "randomBit", void 0), o([(0, a.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], L.prototype, "currentGasPrice", void 0), o([(0, a.jsonMember)({ name: "proposer", constructor: w.Proposer, deserializer: function(M) { + return w.Proposer.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", w.Proposer)], L.prototype, "proposer", void 0), o([(0, a.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], L.prototype, "protocolVersion", void 0), o([(0, a.jsonMember)({ name: "era_end", constructor: m.EraEnd }), i("design:type", m.EraEnd)], L.prototype, "eraEnd", void 0), o([(0, a.jsonArrayMember)(function() { + return _; + }, { name: "transactions", deserializer: function(M) { + return _.fromJSON(M); + } }), i("design:type", Array)], L.prototype, "transactions", void 0), o([(0, a.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), i("design:type", Array)], L.prototype, "rewardedSignatures", void 0), o([(0, a.jsonArrayMember)(function() { + return d; + }, { name: "proofs" }), i("design:type", Array)], L.prototype, "proofs", void 0), R = o([a.jsonObject, i("design:paramtypes", [f.Hash, Number, f.Hash, Object, f.Hash, Number, C.Timestamp, Object, Boolean, Number, w.Proposer, Object, Object, Array, Array, Array, I, N])], L); }(); - n.Block = h; - var O = function() { - function M(_, w, A) { - this.category = _, this.version = w, this.hash = A; - } - return M.fromJSON = function(_) { - var w = new t.TypedJSON(d.TransactionHash), A = { Mint: (_[0] || []).map(function(V) { - return w.parse(V); - }), Auction: (_[1] || []).map(function(V) { - return w.parse(V); - }), InstallUpgrade: (_[2] || []).map(function(V) { - return w.parse(V); - }), Large: (_[3] || []).map(function(V) { - return w.parse(V); - }), Medium: (_[4] || []).map(function(V) { - return w.parse(V); - }), Small: (_[5] || []).map(function(V) { - return w.parse(V); - }) }, j = []; - return j.push.apply(j, m(m(m(m(m(m([], I(A.Mint, d.TransactionCategory.Mint), !1), I(A.Auction, d.TransactionCategory.Auction), !1), I(A.InstallUpgrade, d.TransactionCategory.InstallUpgrade), !1), I(A.Large, d.TransactionCategory.Large), !1), I(A.Medium, d.TransactionCategory.Medium), !1), I(A.Small, d.TransactionCategory.Small), !1)), j; - }, M.prototype.toJSON = function() { - var _, w, A; - return JSON.stringify(((_ = {})[this.category.toString()] = [(w = {}, w[(A = (0, v.getEnumKeyByValue)(d.TransactionVersion, this.version)) !== null && A !== void 0 ? A : ""] = this.hash.toJSON(), w)], _)); - }, a([(0, t.jsonMember)({ name: "Category", constructor: Number }), i("design:type", Number)], M.prototype, "category", void 0), a([(0, t.jsonMember)({ name: "Version", constructor: Number }), i("design:type", Number)], M.prototype, "version", void 0), a([(0, t.jsonMember)({ name: "Hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "hash", void 0), a([t.jsonObject, i("design:paramtypes", [Number, Number, f.Hash])], M); + n.Block = b; + var _ = function() { + function L(R, M, P) { + this.category = R, this.version = M, this.hash = P; + } + return L.fromJSON = function(R) { + var M = new a.TypedJSON(v.TransactionHash), P = { Mint: (R[0] || []).map(function(K) { + return M.parse(K); + }), Auction: (R[1] || []).map(function(K) { + return M.parse(K); + }), InstallUpgrade: (R[2] || []).map(function(K) { + return M.parse(K); + }), Large: (R[3] || []).map(function(K) { + return M.parse(K); + }), Medium: (R[4] || []).map(function(K) { + return M.parse(K); + }), Small: (R[5] || []).map(function(K) { + return M.parse(K); + }) }, H = []; + return H.push.apply(H, p(p(p(p(p(p([], E(P.Mint, v.TransactionCategory.Mint), !1), E(P.Auction, v.TransactionCategory.Auction), !1), E(P.InstallUpgrade, v.TransactionCategory.InstallUpgrade), !1), E(P.Large, v.TransactionCategory.Large), !1), E(P.Medium, v.TransactionCategory.Medium), !1), E(P.Small, v.TransactionCategory.Small), !1)), H; + }, L.prototype.toJSON = function() { + var R, M, P; + return JSON.stringify(((R = {})[this.category.toString()] = [(M = {}, M[(P = (0, y.getEnumKeyByValue)(v.TransactionVersion, this.version)) !== null && P !== void 0 ? P : ""] = this.hash.toJSON(), M)], R)); + }, o([(0, a.jsonMember)({ name: "Category", constructor: Number }), i("design:type", Number)], L.prototype, "category", void 0), o([(0, a.jsonMember)({ name: "Version", constructor: Number }), i("design:type", Number)], L.prototype, "version", void 0), o([(0, a.jsonMember)({ name: "Hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "hash", void 0), o([a.jsonObject, i("design:paramtypes", [Number, Number, f.Hash])], L); }(); - function I(M, _) { - return M.length === 0 ? [] : M.map(function(w) { - var A = w.transactionV1, j = w.deploy; - if (A) return new O(_, d.TransactionVersion.V1, A); - if (j) return new O(_, d.TransactionVersion.Deploy, j); + function E(L, R) { + return L.length === 0 ? [] : L.map(function(M) { + var P = M.transactionV1, H = M.deploy; + if (P) return new _(R, v.TransactionVersion.V1, P); + if (H) return new _(R, v.TransactionVersion.Deploy, H); throw new Error("Invalid TransactionHash: transactionV1 and deploy is undefined"); }); } - n.BlockTransaction = O, n.parseBlockTransactions = function(M) { - var _ = JSON.parse(M), w = []; - return _[0] && w.push.apply(w, I(_[0], d.TransactionCategory.Mint)), _[1] && w.push.apply(w, I(_[1], d.TransactionCategory.Auction)), _[2] && w.push.apply(w, I(_[2], d.TransactionCategory.InstallUpgrade)), _[3] && w.push.apply(w, I(_[3], d.TransactionCategory.Large)), _[4] && w.push.apply(w, I(_[4], d.TransactionCategory.Medium)), _[5] && w.push.apply(w, I(_[5], d.TransactionCategory.Small)), w; + n.BlockTransaction = _, n.parseBlockTransactions = function(L) { + var R = JSON.parse(L), M = []; + return R[0] && M.push.apply(M, E(R[0], v.TransactionCategory.Mint)), R[1] && M.push.apply(M, E(R[1], v.TransactionCategory.Auction)), R[2] && M.push.apply(M, E(R[2], v.TransactionCategory.InstallUpgrade)), R[3] && M.push.apply(M, E(R[3], v.TransactionCategory.Large)), R[4] && M.push.apply(M, E(R[4], v.TransactionCategory.Medium)), R[5] && M.push.apply(M, E(R[5], v.TransactionCategory.Small)), M; }; - var k = function() { - function M() { + var B = function() { + function L() { } - return a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(_) { - if (_) return f.Hash.fromJSON(_); - }, serializer: function(_) { - if (_) return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(_) { - return b.Timestamp.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEndV1 }), i("design:type", u.EraEndV1)], M.prototype, "eraEnd", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(R) { + if (R) return f.Hash.fromJSON(R); + }, serializer: function(R) { + if (R) return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "accumulatedSeed", void 0), o([(0, a.jsonMember)({ name: "body_hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "bodyHash", void 0), o([(0, a.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], L.prototype, "eraID", void 0), o([(0, a.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], L.prototype, "height", void 0), o([(0, a.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "parentHash", void 0), o([(0, a.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], L.prototype, "protocolVersion", void 0), o([(0, a.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], L.prototype, "randomBit", void 0), o([(0, a.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "stateRootHash", void 0), o([(0, a.jsonMember)({ name: "timestamp", constructor: C.Timestamp, deserializer: function(R) { + return C.Timestamp.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", C.Timestamp)], L.prototype, "timestamp", void 0), o([(0, a.jsonMember)({ name: "era_end", constructor: m.EraEndV1 }), i("design:type", m.EraEndV1)], L.prototype, "eraEnd", void 0), o([a.jsonObject], L); }(); - n.BlockHeaderV1 = k; - var R = function() { - function M() { + n.BlockHeaderV1 = B; + var O = function() { + function L() { } - return a([(0, t.jsonArrayMember)(function() { + return o([(0, a.jsonArrayMember)(function() { return f.Hash; - }, { name: "deploy_hashes", serializer: function(_) { - return _.map(function(w) { - return w.toJSON(); + }, { name: "deploy_hashes", serializer: function(R) { + return R.map(function(M) { + return M.toJSON(); }); - }, deserializer: function(_) { - return _.map(function(w) { - return f.Hash.fromJSON(w); + }, deserializer: function(R) { + return R.map(function(M) { + return f.Hash.fromJSON(M); }); - } }), i("design:type", Array)], M.prototype, "deployHashes", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(_) { - return y.Proposer.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonArrayMember)(function() { + } }), i("design:type", Array)], L.prototype, "deployHashes", void 0), o([(0, a.jsonMember)({ name: "proposer", constructor: w.Proposer, deserializer: function(R) { + return w.Proposer.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", w.Proposer)], L.prototype, "proposer", void 0), o([(0, a.jsonArrayMember)(function() { return f.Hash; - }, { name: "transfer_hashes", serializer: function(_) { - return _.map(function(w) { - return w.toJSON(); + }, { name: "transfer_hashes", serializer: function(R) { + return R.map(function(M) { + return M.toJSON(); }); - }, deserializer: function(_) { - return _.map(function(w) { - return f.Hash.fromJSON(w); + }, deserializer: function(R) { + return R.map(function(M) { + return f.Hash.fromJSON(M); }); - } }), i("design:type", Array)], M.prototype, "transferHashes", void 0), a([t.jsonObject], M); + } }), i("design:type", Array)], L.prototype, "transferHashes", void 0), o([a.jsonObject], L); }(); - n.BlockBodyV1 = R; - var L = function() { - function M() { + n.BlockBodyV1 = O; + var I = function() { + function L() { } - return a([(0, t.jsonMember)({ name: "hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "header", constructor: k }), i("design:type", k)], M.prototype, "header", void 0), a([(0, t.jsonMember)({ name: "body", constructor: R }), i("design:type", R)], M.prototype, "body", void 0), a([(0, t.jsonArrayMember)(p, { name: "proofs" }), i("design:type", Array)], M.prototype, "proofs", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ name: "hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "hash", void 0), o([(0, a.jsonMember)({ name: "header", constructor: B }), i("design:type", B)], L.prototype, "header", void 0), o([(0, a.jsonMember)({ name: "body", constructor: O }), i("design:type", O)], L.prototype, "body", void 0), o([(0, a.jsonArrayMember)(d, { name: "proofs" }), i("design:type", Array)], L.prototype, "proofs", void 0), o([a.jsonObject], L); }(); - n.BlockV1 = L; - var N = function() { - function M() { + n.BlockV1 = I; + var x = function() { + function L() { } - return a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(_) { - if (_) return f.Hash.fromJSON(_); - }, serializer: function(_) { - if (_) return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], M.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(_) { - return y.Proposer.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "last_switch_block_hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "lastSwitchBlockHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(_) { - return b.Timestamp.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEndV2 }), i("design:type", u.EraEndV2)], M.prototype, "eraEnd", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(R) { + if (R) return f.Hash.fromJSON(R); + }, serializer: function(R) { + if (R) return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "accumulatedSeed", void 0), o([(0, a.jsonMember)({ name: "body_hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "bodyHash", void 0), o([(0, a.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], L.prototype, "eraID", void 0), o([(0, a.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], L.prototype, "currentGasPrice", void 0), o([(0, a.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], L.prototype, "height", void 0), o([(0, a.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "parentHash", void 0), o([(0, a.jsonMember)({ name: "proposer", constructor: w.Proposer, deserializer: function(R) { + return w.Proposer.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", w.Proposer)], L.prototype, "proposer", void 0), o([(0, a.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], L.prototype, "protocolVersion", void 0), o([(0, a.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], L.prototype, "randomBit", void 0), o([(0, a.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "stateRootHash", void 0), o([(0, a.jsonMember)({ name: "last_switch_block_hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "lastSwitchBlockHash", void 0), o([(0, a.jsonMember)({ name: "timestamp", constructor: C.Timestamp, deserializer: function(R) { + return C.Timestamp.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", C.Timestamp)], L.prototype, "timestamp", void 0), o([(0, a.jsonMember)({ name: "era_end", constructor: m.EraEndV2 }), i("design:type", m.EraEndV2)], L.prototype, "eraEnd", void 0), o([a.jsonObject], L); }(); - n.BlockHeaderV2 = N; - var B = function() { - function M() { + n.BlockHeaderV2 = x; + var A = function() { + function L() { } - return a([(0, t.jsonMember)(O, { name: "transactions", deserializer: function(_) { - return O.fromJSON(_); - }, serializer: function(_) { - return r({}, _.reduce(function(w, A) { - return r(r({}, w), JSON.parse(A.toJSON())); + return o([(0, a.jsonMember)(_, { name: "transactions", deserializer: function(R) { + return _.fromJSON(R); + }, serializer: function(R) { + return r({}, R.reduce(function(M, P) { + return r(r({}, M), JSON.parse(P.toJSON())); }, {})); - } }), i("design:type", Array)], M.prototype, "transactions", void 0), a([(0, t.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), i("design:type", Array)], M.prototype, "rewardedSignatures", void 0), a([t.jsonObject], M); + } }), i("design:type", Array)], L.prototype, "transactions", void 0), o([(0, a.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), i("design:type", Array)], L.prototype, "rewardedSignatures", void 0), o([a.jsonObject], L); }(); - n.BlockBodyV2 = B; - var H = function() { - function M() { + n.BlockBodyV2 = A; + var N = function() { + function L() { } - return a([(0, t.jsonMember)({ name: "hash", constructor: f.Hash, deserializer: function(_) { - return f.Hash.fromJSON(_); - }, serializer: function(_) { - return _.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "header", constructor: N }), i("design:type", N)], M.prototype, "header", void 0), a([(0, t.jsonMember)({ name: "body", constructor: B }), i("design:type", B)], M.prototype, "body", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ name: "hash", constructor: f.Hash, deserializer: function(R) { + return f.Hash.fromJSON(R); + }, serializer: function(R) { + return R.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "hash", void 0), o([(0, a.jsonMember)({ name: "header", constructor: x }), i("design:type", x)], L.prototype, "header", void 0), o([(0, a.jsonMember)({ name: "body", constructor: A }), i("design:type", A)], L.prototype, "body", void 0), o([a.jsonObject], L); }(); - n.BlockV2 = H; - var U = function() { - function M() { + n.BlockV2 = N; + var k = function() { + function L() { } - return a([(0, t.jsonMember)({ name: "Version1", constructor: L }), i("design:type", L)], M.prototype, "blockV1", void 0), a([(0, t.jsonMember)({ name: "Version2", constructor: H }), i("design:type", H)], M.prototype, "blockV2", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ name: "Version1", constructor: I }), i("design:type", I)], L.prototype, "blockV1", void 0), o([(0, a.jsonMember)({ name: "Version2", constructor: N }), i("design:type", N)], L.prototype, "blockV2", void 0), o([a.jsonObject], L); }(); - n.BlockWrapper = U; - var S = function() { - function M() { + n.BlockWrapper = k; + var j = function() { + function L() { } - return a([(0, t.jsonMember)({ name: "block", constructor: U }), i("design:type", U)], M.prototype, "block", void 0), a([(0, t.jsonArrayMember)(p, { name: "proofs" }), i("design:type", Array)], M.prototype, "proofs", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ name: "block", constructor: k }), i("design:type", k)], L.prototype, "block", void 0), o([(0, a.jsonArrayMember)(d, { name: "proofs" }), i("design:type", Array)], L.prototype, "proofs", void 0), o([a.jsonObject], L); }(); - n.BlockWithSignatures = S; - var T = function() { - function M() { + n.BlockWithSignatures = j; + var D = function() { + function L() { } - return a([(0, t.jsonMember)({ name: "Version1", constructor: k }), i("design:type", k)], M.prototype, "blockHeaderV1", void 0), a([(0, t.jsonMember)({ name: "Version2", constructor: N }), i("design:type", N)], M.prototype, "blockHeaderV2", void 0), a([t.jsonObject], M); + return o([(0, a.jsonMember)({ name: "Version1", constructor: B }), i("design:type", B)], L.prototype, "blockHeaderV1", void 0), o([(0, a.jsonMember)({ name: "Version2", constructor: x }), i("design:type", x)], L.prototype, "blockHeaderV2", void 0), o([a.jsonObject], L); }(); - n.BlockHeaderWrapper = T; - var E = function() { - function M() { + n.BlockHeaderWrapper = D; + var T = function() { + function L() { } - var _; - return _ = M, M.prototype.getBlockHeaderV1 = function() { + var R; + return R = L, L.prototype.getBlockHeaderV1 = function() { return this.originBlockHeaderV1; - }, M.prototype.getBlockHeaderV2 = function() { + }, L.prototype.getBlockHeaderV2 = function() { return this.originBlockHeaderV2; - }, M.newBlockHeaderFromV1 = function(w) { - var A = new _(); - return A.accumulatedSeed = w.accumulatedSeed, A.bodyHash = w.bodyHash, A.eraID = w.eraID, A.currentGasPrice = 1, A.height = w.height, A.parentHash = w.parentHash, A.protocolVersion = w.protocolVersion, A.randomBit = w.randomBit, A.stateRootHash = w.stateRootHash, A.timestamp = w.timestamp, A.eraEnd = w.eraEnd ? u.EraEnd.fromV1(w.eraEnd) : void 0, A.originBlockHeaderV1 = w, A; - }, M.newBlockHeaderFromV2 = function(w) { - var A = new _(); - return A.accumulatedSeed = w.accumulatedSeed, A.bodyHash = w.bodyHash, A.eraID = w.eraID, A.currentGasPrice = w.currentGasPrice, A.height = w.height, A.parentHash = w.parentHash, A.proposer = w.proposer, A.protocolVersion = w.protocolVersion, A.randomBit = w.randomBit, A.stateRootHash = w.stateRootHash, A.timestamp = w.timestamp, A.eraEnd = w.eraEnd ? u.EraEnd.fromV2(w.eraEnd) : void 0, A.originBlockHeaderV2 = w, A; - }, a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(w) { - if (w) return f.Hash.fromJSON(w); - }, serializer: function(w) { - if (w) return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: f.Hash, deserializer: function(w) { - return f.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], M.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(w) { - return f.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(w) { - return y.Proposer.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(w) { - return f.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", f.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(w) { - return b.Timestamp.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEnd }), i("design:type", Object)], M.prototype, "eraEnd", void 0), _ = a([t.jsonObject], M); - }(); - n.BlockHeader = E; - }, 4924: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(u, d, l, s) { - s === void 0 && (s = l); - var v = Object.getOwnPropertyDescriptor(d, l); - v && !("get" in v ? !d.__esModule : v.writable || v.configurable) || (v = { enumerable: !0, get: function() { - return d[l]; - } }), Object.defineProperty(u, s, v); - } : function(u, d, l, s) { - s === void 0 && (s = l), u[s] = d[l]; - }), a = this && this.__setModuleDefault || (Object.create ? function(u, d) { - Object.defineProperty(u, "default", { enumerable: !0, value: d }); - } : function(u, d) { - u.default = d; - }), i = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, m = this && this.__importStar || function(u) { - if (u && u.__esModule) return u; - var d = {}; - if (u != null) for (var l in u) l !== "default" && Object.prototype.hasOwnProperty.call(u, l) && r(d, u, l); - return a(d, u), d; - }, t = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + }, L.newBlockHeaderFromV1 = function(M) { + var P = new R(); + return P.accumulatedSeed = M.accumulatedSeed, P.bodyHash = M.bodyHash, P.eraID = M.eraID, P.currentGasPrice = 1, P.height = M.height, P.parentHash = M.parentHash, P.protocolVersion = M.protocolVersion, P.randomBit = M.randomBit, P.stateRootHash = M.stateRootHash, P.timestamp = M.timestamp, P.eraEnd = M.eraEnd ? m.EraEnd.fromV1(M.eraEnd) : void 0, P.originBlockHeaderV1 = M, P; + }, L.newBlockHeaderFromV2 = function(M) { + var P = new R(); + return P.accumulatedSeed = M.accumulatedSeed, P.bodyHash = M.bodyHash, P.eraID = M.eraID, P.currentGasPrice = M.currentGasPrice, P.height = M.height, P.parentHash = M.parentHash, P.proposer = M.proposer, P.protocolVersion = M.protocolVersion, P.randomBit = M.randomBit, P.stateRootHash = M.stateRootHash, P.timestamp = M.timestamp, P.eraEnd = M.eraEnd ? m.EraEnd.fromV2(M.eraEnd) : void 0, P.originBlockHeaderV2 = M, P; + }, o([(0, a.jsonMember)({ name: "accumulated_seed", constructor: f.Hash, deserializer: function(M) { + if (M) return f.Hash.fromJSON(M); + }, serializer: function(M) { + if (M) return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "accumulatedSeed", void 0), o([(0, a.jsonMember)({ name: "body_hash", constructor: f.Hash, deserializer: function(M) { + return f.Hash.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "bodyHash", void 0), o([(0, a.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], L.prototype, "eraID", void 0), o([(0, a.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], L.prototype, "currentGasPrice", void 0), o([(0, a.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], L.prototype, "height", void 0), o([(0, a.jsonMember)({ name: "parent_hash", constructor: f.Hash, deserializer: function(M) { + return f.Hash.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "parentHash", void 0), o([(0, a.jsonMember)({ name: "proposer", constructor: w.Proposer, deserializer: function(M) { + return w.Proposer.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", w.Proposer)], L.prototype, "proposer", void 0), o([(0, a.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], L.prototype, "protocolVersion", void 0), o([(0, a.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], L.prototype, "randomBit", void 0), o([(0, a.jsonMember)({ name: "state_root_hash", constructor: f.Hash, deserializer: function(M) { + return f.Hash.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", f.Hash)], L.prototype, "stateRootHash", void 0), o([(0, a.jsonMember)({ name: "timestamp", constructor: C.Timestamp, deserializer: function(M) { + return C.Timestamp.fromJSON(M); + }, serializer: function(M) { + return M.toJSON(); + } }), i("design:type", C.Timestamp)], L.prototype, "timestamp", void 0), o([(0, a.jsonMember)({ name: "era_end", constructor: m.EraEnd }), i("design:type", Object)], L.prototype, "eraEnd", void 0), R = o([a.jsonObject], L); + }(); + n.BlockHeader = T; + }, 4924(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(m, v, l, u) { + u === void 0 && (u = l); + var y = Object.getOwnPropertyDescriptor(v, l); + y && !("get" in y ? !v.__esModule : y.writable || y.configurable) || (y = { enumerable: !0, get: function() { + return v[l]; + } }), Object.defineProperty(m, u, y); + } : function(m, v, l, u) { + u === void 0 && (u = l), m[u] = v[l]; + }), o = this && this.__setModuleDefault || (Object.create ? function(m, v) { + Object.defineProperty(m, "default", { enumerable: !0, value: v }); + } : function(m, v) { + m.default = v; + }), i = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, p = this && this.__importStar || function(m) { + if (m && m.__esModule) return m; + var v = {}; + if (m != null) for (var l in m) l !== "default" && Object.prototype.hasOwnProperty.call(m, l) && r(v, m, l); + return o(v, m), v; + }, a = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Proposer = void 0; - var f = c(9592), b = m(c(9449)), y = function() { - function u(l, s) { - l === void 0 && (l = !1), this.isSystem = l, this.publicKey = s; + var f = s(9592), C = p(s(9449)), w = function() { + function m(l, u) { + l === void 0 && (l = !1), this.isSystem = l, this.publicKey = u; } - var d; - return d = u, u.fromString = function(l) { - if (l === "00") return new d(!0); - var s = b.PublicKey.fromJSON(l); - return new d(!1, s); - }, u.prototype.isSystemProposer = function() { + var v; + return v = m, m.fromString = function(l) { + if (l === "00") return new v(!0); + var u = C.PublicKey.fromJSON(l); + return new v(!1, u); + }, m.prototype.isSystemProposer = function() { return this.isSystem; - }, u.prototype.getPublicKey = function() { + }, m.prototype.getPublicKey = function() { if (this.isSystem) throw new Error("System proposer doesn't have a public key"); return this.publicKey; - }, u.prototype.getPublicKeyOptional = function() { + }, m.prototype.getPublicKeyOptional = function() { return this.publicKey; - }, u.prototype.toJSON = function() { + }, m.prototype.toJSON = function() { return this.isSystem ? "00" : this == null ? void 0 : this.publicKey.toJSON(); - }, u.fromJSON = function(l) { - if (l === "00") return new d(!0); - var s = b.PublicKey.fromJSON(l); - return new d(!1, s); - }, i([(0, f.jsonMember)({ name: "isSystem", constructor: Boolean }), t("design:type", Boolean)], u.prototype, "isSystem", void 0), i([(0, f.jsonMember)({ name: "publicKey", constructor: b.PublicKey, deserializer: function(l) { - if (l) return b.PublicKey.fromJSON(l); + }, m.fromJSON = function(l) { + if (l === "00") return new v(!0); + var u = C.PublicKey.fromJSON(l); + return new v(!1, u); + }, i([(0, f.jsonMember)({ name: "isSystem", constructor: Boolean }), a("design:type", Boolean)], m.prototype, "isSystem", void 0), i([(0, f.jsonMember)({ name: "publicKey", constructor: C.PublicKey, deserializer: function(l) { + if (l) return C.PublicKey.fromJSON(l); }, serializer: function(l) { if (l) return l.toJSON(); - } }), t("design:type", b.PublicKey)], u.prototype, "publicKey", void 0), d = i([f.jsonObject, t("design:paramtypes", [Object, b.PublicKey])], u); - }(); - n.Proposer = y; - }, 978: function(x, n, c) { - var r = this && this.__decorate || function(f, b, y, u) { - var d, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(f, b, y, u); - else for (var v = f.length - 1; v >= 0; v--) (d = f[v]) && (s = (l < 3 ? d(s) : l > 3 ? d(b, y, s) : d(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(f, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, b); + } }), a("design:type", C.PublicKey)], m.prototype, "publicKey", void 0), v = i([f.jsonObject, a("design:paramtypes", [Object, C.PublicKey])], m); + }(); + n.Proposer = w; + }, 978(g, n, s) { + var r = this && this.__decorate || function(f, C, w, m) { + var v, l = arguments.length, u = l < 3 ? C : m === null ? m = Object.getOwnPropertyDescriptor(C, w) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") u = Reflect.decorate(f, C, w, m); + else for (var y = f.length - 1; y >= 0; y--) (v = f[y]) && (u = (l < 3 ? v(u) : l > 3 ? v(C, w, u) : v(C, w)) || u); + return l > 3 && u && Object.defineProperty(C, w, u), u; + }, o = this && this.__metadata || function(f, C) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, C); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.SystemByteCode = void 0; - var i = c(9592), m = c(7889), t = function() { - function f(b, y) { - this.kind = b, this.bytes = y; + var i = s(9592), p = s(7889), a = function() { + function f(C, w) { + this.kind = C, this.bytes = w; } return f.prototype.isEmpty = function() { return this.kind === "Empty" || !this.kind; @@ -24183,41 +23199,41 @@ function B6() { return this.kind === "V1CasperWasm"; }, f.prototype.toString = function() { return this.kind; - }, r([(0, i.jsonMember)({ constructor: String }), a("design:type", String)], f.prototype, "kind", void 0), r([(0, i.jsonMember)({ constructor: m.HexBytes, deserializer: function(b) { - return m.HexBytes.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", m.HexBytes)], f.prototype, "bytes", void 0), r([i.jsonObject, a("design:paramtypes", [String, m.HexBytes])], f); - }(); - n.SystemByteCode = t; - }, 678: (x, n, c) => { - var r = c(8287).Buffer; + }, r([(0, i.jsonMember)({ constructor: String }), o("design:type", String)], f.prototype, "kind", void 0), r([(0, i.jsonMember)({ constructor: p.HexBytes, deserializer: function(C) { + return p.HexBytes.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", p.HexBytes)], f.prototype, "bytes", void 0), r([i.jsonObject, o("design:paramtypes", [String, p.HexBytes])], f); + }(); + n.SystemByteCode = a; + }, 678(g, n, s) { + var r = s(8287).Buffer; Object.defineProperty(n, "__esModule", { value: !0 }), n.expandBuffer = n.writeBytes = n.writeUShort = n.writeInteger = n.fromBytesU64 = n.parseU32 = n.parseU16 = n.byteHash = n.toBytesArrayU8 = n.fromBytesString = n.toBytesString = n.toBytesU512 = n.toBytesU256 = n.toBytesU128 = n.toBytesI64 = n.toBytesU64 = n.toBytesU32 = n.toBytesI32 = n.toBytesU16 = n.toBytesU8 = n.toBytesNumber = void 0; - var a = c(6077), i = c(1551), m = c(8905), t = c(6719); - n.toBytesNumber = function(f, b) { - return function(y) { - var u = a.BigNumber.from(y), d = i.MaxUint256.mask(f); - if (b) { - var l = d.mask(f - 1); - if (u.gt(l) || u.lt(l.add(i.One).mul(i.NegativeOne))) throw new Error("value out-of-bounds, value: " + y); - } else if (u.lt(i.Zero) || u.gt(d.mask(f))) throw new Error("value out-of-bounds, value: " + y); - var s = u.toTwos(f).mask(f), v = (0, m.arrayify)(s); - if (s.gte(0)) { - if (f > 64) return s.eq(0) ? v : (0, m.concat)([v, Uint8Array.from([v.length])]).slice().reverse(); - var p = f / 8; - return (0, m.concat)([v.slice().reverse(), new Uint8Array(p - v.length)]); - } - return v.reverse(); + var o = s(6077), i = s(1551), p = s(8905), a = s(6719); + n.toBytesNumber = function(f, C) { + return function(w) { + var m = o.BigNumber.from(w), v = i.MaxUint256.mask(f); + if (C) { + var l = v.mask(f - 1); + if (m.gt(l) || m.lt(l.add(i.One).mul(i.NegativeOne))) throw new Error("value out-of-bounds, value: " + w); + } else if (m.lt(i.Zero) || m.gt(v.mask(f))) throw new Error("value out-of-bounds, value: " + w); + var u = m.toTwos(f).mask(f), y = (0, p.arrayify)(u); + if (u.gte(0)) { + if (f > 64) return u.eq(0) ? y : (0, p.concat)([y, Uint8Array.from([y.length])]).slice().reverse(); + var d = f / 8; + return (0, p.concat)([y.slice().reverse(), new Uint8Array(d - y.length)]); + } + return y.reverse(); }; }, n.toBytesU8 = (0, n.toBytesNumber)(8, !1), n.toBytesU16 = (0, n.toBytesNumber)(16, !1), n.toBytesI32 = (0, n.toBytesNumber)(32, !0), n.toBytesU32 = (0, n.toBytesNumber)(32, !1), n.toBytesU64 = (0, n.toBytesNumber)(64, !1), n.toBytesI64 = (0, n.toBytesNumber)(64, !0), n.toBytesU128 = (0, n.toBytesNumber)(128, !1), n.toBytesU256 = (0, n.toBytesNumber)(256, !1), n.toBytesU512 = (0, n.toBytesNumber)(512, !1), n.toBytesString = function(f) { - var b = Uint8Array.from(r.from(f)); - return (0, m.concat)([(0, n.toBytesU32)(b.byteLength), b]); + var C = Uint8Array.from(r.from(f)); + return (0, p.concat)([(0, n.toBytesU32)(C.byteLength), C]); }, n.fromBytesString = function(f) { return r.from(f).toString(); }, n.toBytesArrayU8 = function(f) { - return (0, m.concat)([(0, n.toBytesU32)(f.length), f]); + return (0, p.concat)([(0, n.toBytesU32)(f.length), f]); }, n.byteHash = function(f) { - return (0, t.blake2b)(f, { dkLen: 32 }); + return (0, a.blake2b)(f, { dkLen: 32 }); }, n.parseU16 = function(f) { if (f.length < 2) throw new Error("Invalid byte array for u16 parsing"); return f[0] | f[1] << 8; @@ -24226,789 +23242,818 @@ function B6() { return f[0] | f[1] << 8 | f[2] << 16 | f[3] << 24; }, n.fromBytesU64 = function(f) { if (f.length !== 8) throw new Error("Invalid input length for u64: expected 8 bytes, got ".concat(f.length)); - return a.BigNumber.from(f.reverse()); - }, n.writeInteger = function(f, b, y) { - return f.setInt32(b, y, !0), b + 4; - }, n.writeUShort = function(f, b, y) { - return f.setUint16(b, y, !0), b + 2; - }, n.writeBytes = function(f, b, y) { - for (var u = 0; u < y.length; u++) f.setUint8(b + u, y[u]); - return b + y.length; - }, n.expandBuffer = function(f, b) { - for (var y = f.byteLength; y < b; ) y *= 2; - var u = new ArrayBuffer(y); - return new Uint8Array(u).set(new Uint8Array(f)), u; + return o.BigNumber.from(f.reverse()); + }, n.writeInteger = function(f, C, w) { + return f.setInt32(C, w, !0), C + 4; + }, n.writeUShort = function(f, C, w) { + return f.setUint16(C, w, !0), C + 2; + }, n.writeBytes = function(f, C, w) { + for (var m = 0; m < w.length; m++) f.setUint8(C + m, w[m]); + return C + w.length; + }, n.expandBuffer = function(f, C) { + for (var w = f.byteLength; w < C; ) w *= 2; + var m = new ArrayBuffer(w); + return new Uint8Array(m).set(new Uint8Array(f)), m; }; - }, 9213: function(x, n, c) { - var r = this && this.__spreadArray || function(f, b, y) { - if (y || arguments.length === 2) for (var u, d = 0, l = b.length; d < l; d++) !u && d in b || (u || (u = Array.prototype.slice.call(b, 0, d)), u[d] = b[d]); - return f.concat(u || Array.prototype.slice.call(b)); + }, 9213(g, n, s) { + var r = this && this.__spreadArray || function(f, C, w) { + if (w || arguments.length === 2) for (var m, v = 0, l = C.length; v < l; v++) !m && v in C || (m || (m = Array.prototype.slice.call(C, 0, v)), m[v] = C[v]); + return f.concat(m || Array.prototype.slice.call(C)); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.CalltableSerialization = n.Field = void 0; - var a = c(8905), i = c(678), m = function() { - function f(b, y, u) { - this.index = b, this.offset = y, this.value = u; + var o = s(8905), i = s(678), p = function() { + function f(C, w, m) { + this.index = C, this.offset = w, this.value = m; } return f.serializedVecSize = function() { return 12; }, f; }(); - n.Field = m; - var t = function() { + n.Field = p; + var a = function() { function f() { this.fields = [], this.currentOffset = 0; } - return f.prototype.addField = function(b, y) { - if (this.fields.length !== b) throw new Error("Add fields in correct index order."); - var u = new m(b, this.currentOffset, y); - return this.fields.push(u), this.currentOffset += y.length, this; + return f.prototype.addField = function(C, w) { + if (this.fields.length !== C) throw new Error("Add fields in correct index order."); + var m = new p(C, this.currentOffset, w); + return this.fields.push(m), this.currentOffset += w.length, this; }, f.prototype.toBytes = function() { - var b = [], y = []; - b.push((0, i.toBytesU32)(this.fields.length)); - for (var u = 0, d = this.fields; u < d.length; u++) { - var l = d[u]; - b.push((0, i.toBytesU16)(l.index)), b.push((0, i.toBytesU32)(l.offset)), y.push(l.value); - } - return b.push((0, i.toBytesU32)(this.currentOffset)), (0, a.concat)(r(r([], b, !0), y, !0)); - }, f.prototype.getField = function(b) { - var y = this.fields.find(function(u) { - return u.index === b; + var C = [], w = []; + C.push((0, i.toBytesU32)(this.fields.length)); + for (var m = 0, v = this.fields; m < v.length; m++) { + var l = v[m]; + C.push((0, i.toBytesU16)(l.index)), C.push((0, i.toBytesU32)(l.offset)), w.push(l.value); + } + return C.push((0, i.toBytesU32)(this.currentOffset)), (0, o.concat)(r(r([], C, !0), w, !0)); + }, f.prototype.getField = function(C) { + var w = this.fields.find(function(m) { + return m.index === C; }); - return y ? y.value : void 0; - }, f.fromBytes = function(b) { - var y = new f(), u = 0, d = (0, i.parseU32)(b.slice(u, u + 4)); - u += 4; - for (var l = [], s = 0; s < d; s++) { - var v = (0, i.parseU16)(b.slice(u, u + 2)); - u += 2; - var p = (0, i.parseU32)(b.slice(u, u + 4)); - u += 4, l.push(new m(v, p, new Uint8Array())); - } - var h = (0, i.parseU32)(b.slice(u, u + 4)); - for (u += 4, s = 0; s < l.length; s++) { - var O = l[s].offset, I = s + 1 < l.length ? l[s + 1].offset : h; - l[s].value = b.slice(u + O, u + I); - } - return y.fields = l, y.currentOffset = h, y; + return w ? w.value : void 0; + }, f.fromBytes = function(C) { + var w = new f(), m = 0, v = (0, i.parseU32)(C.slice(m, m + 4)); + m += 4; + for (var l = [], u = 0; u < v; u++) { + var y = (0, i.parseU16)(C.slice(m, m + 2)); + m += 2; + var d = (0, i.parseU32)(C.slice(m, m + 4)); + m += 4, l.push(new p(y, d, new Uint8Array())); + } + var b = (0, i.parseU32)(C.slice(m, m + 4)); + for (m += 4, u = 0; u < l.length; u++) { + var _ = l[u].offset, E = u + 1 < l.length ? l[u + 1].offset : b; + l[u].value = C.slice(m + _, m + E); + } + return w.fields = l, w.currentOffset = b, w; }, f; }(); - n.CalltableSerialization = t; - }, 2535: function(x, n, c) { - var r = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + n.CalltableSerialization = a; + }, 2535(g, n, s) { + var r = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, o = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Contract = void 0; - var i = c(9592), m = c(3401), t = c(3750), f = c(9153), b = function() { - function y(u, d, l, s, v) { - this.contractPackageHash = u, this.contractWasmHash = d, this.entryPoints = l, this.namedKeys = s, this.protocolVersion = v; - } - return r([(0, i.jsonMember)({ name: "contract_package_hash", constructor: m.ContractPackageHash, deserializer: function(u) { - return m.ContractPackageHash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", m.ContractPackageHash)], y.prototype, "contractPackageHash", void 0), r([(0, i.jsonMember)({ name: "contract_wasm_hash", constructor: m.ContractHash, deserializer: function(u) { - return m.ContractHash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", m.ContractHash)], y.prototype, "contractWasmHash", void 0), r([(0, i.jsonArrayMember)(t.NamedEntryPoint, { name: "entry_points", deserializer: function(u) { - if (u) return u.map(function(d) { - return t.NamedEntryPoint.fromJSON(d); + var i = s(9592), p = s(3401), a = s(3750), f = s(9153), C = function() { + function w(m, v, l, u, y) { + this.contractPackageHash = m, this.contractWasmHash = v, this.entryPoints = l, this.namedKeys = u, this.protocolVersion = y; + } + return r([(0, i.jsonMember)({ name: "contract_package_hash", constructor: p.ContractPackageHash, deserializer: function(m) { + return p.ContractPackageHash.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", p.ContractPackageHash)], w.prototype, "contractPackageHash", void 0), r([(0, i.jsonMember)({ name: "contract_wasm_hash", constructor: p.ContractHash, deserializer: function(m) { + return p.ContractHash.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", p.ContractHash)], w.prototype, "contractWasmHash", void 0), r([(0, i.jsonArrayMember)(a.NamedEntryPoint, { name: "entry_points", deserializer: function(m) { + if (m) return m.map(function(v) { + return a.NamedEntryPoint.fromJSON(v); }); - } }), a("design:type", Array)], y.prototype, "entryPoints", void 0), r([(0, i.jsonArrayMember)(f.NamedKey, { name: "named_keys" }), a("design:type", Array)], y.prototype, "namedKeys", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], y.prototype, "protocolVersion", void 0), r([i.jsonObject, a("design:paramtypes", [m.ContractPackageHash, m.ContractHash, Array, Array, String])], y); - }(); - n.Contract = b; - }, 8263: function(x, n, c) { - var r = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, a = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + } }), o("design:type", Array)], w.prototype, "entryPoints", void 0), r([(0, i.jsonArrayMember)(f.NamedKey, { name: "named_keys" }), o("design:type", Array)], w.prototype, "namedKeys", void 0), r([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], w.prototype, "protocolVersion", void 0), r([i.jsonObject, o("design:paramtypes", [p.ContractPackageHash, p.ContractHash, Array, Array, String])], w); + }(); + n.Contract = C; + }, 8263(g, n, s) { + var r = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, o = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.ContractPackage = n.ContractVersion = n.ContractGroup = void 0; - var i = c(9592), m = c(3401), t = c(2428), f = function() { - function u() { + var i = s(9592), p = s(3401), a = s(2428), f = function() { + function m() { } - var d; - return d = u, u.fromJSON = function(l) { - var s = new i.TypedJSON(d).parse(l); - return s && (Array.isArray(l?.keys) && (s.groupUsers = l.keys.map(function(v) { - return m.URef.fromJSON(v); - })), typeof l?.group == "string" && (s.groupName = l.group)), s; - }, r([(0, i.jsonMember)({ name: "group_name", constructor: String, preserveNull: !0 }), a("design:type", String)], u.prototype, "groupName", void 0), r([(0, i.jsonArrayMember)(m.URef, { name: "group_users", serializer: function(l) { - return l.map(function(s) { - return s.toJSON(); + var v; + return v = m, m.fromJSON = function(l) { + var u = new i.TypedJSON(v).parse(l); + return u && (Array.isArray(l?.keys) && (u.groupUsers = l.keys.map(function(y) { + return p.URef.fromJSON(y); + })), typeof l?.group == "string" && (u.groupName = l.group)), u; + }, r([(0, i.jsonMember)({ name: "group_name", constructor: String, preserveNull: !0 }), o("design:type", String)], m.prototype, "groupName", void 0), r([(0, i.jsonArrayMember)(p.URef, { name: "group_users", serializer: function(l) { + return l.map(function(u) { + return u.toJSON(); }); }, deserializer: function(l) { - if (l) return l.map(function(s) { - return m.URef.fromJSON(s); + if (l) return l.map(function(u) { + return p.URef.fromJSON(u); }); - } }), a("design:type", Array)], u.prototype, "groupUsers", void 0), d = r([i.jsonObject], u); + } }), o("design:type", Array)], m.prototype, "groupUsers", void 0), v = r([i.jsonObject], m); }(); n.ContractGroup = f; - var b = function() { - function u(d, l, s) { - this.contractHash = d, this.contractVersion = l, this.protocolVersionMajor = s; + var C = function() { + function m(v, l, u) { + this.contractHash = v, this.contractVersion = l, this.protocolVersionMajor = u; } - return r([(0, i.jsonMember)({ name: "contract_hash", constructor: m.ContractHash, deserializer: function(d) { - return m.ContractHash.fromJSON(d); - }, serializer: function(d) { - return d.toJSON(); - } }), a("design:type", m.ContractHash)], u.prototype, "contractHash", void 0), r([(0, i.jsonMember)({ name: "contract_version", constructor: Number }), a("design:type", Number)], u.prototype, "contractVersion", void 0), r([(0, i.jsonMember)({ name: "protocol_version_major", constructor: Number }), a("design:type", Number)], u.prototype, "protocolVersionMajor", void 0), r([i.jsonObject, a("design:paramtypes", [m.ContractHash, Number, Number])], u); + return r([(0, i.jsonMember)({ name: "contract_hash", constructor: p.ContractHash, deserializer: function(v) { + return p.ContractHash.fromJSON(v); + }, serializer: function(v) { + return v.toJSON(); + } }), o("design:type", p.ContractHash)], m.prototype, "contractHash", void 0), r([(0, i.jsonMember)({ name: "contract_version", constructor: Number }), o("design:type", Number)], m.prototype, "contractVersion", void 0), r([(0, i.jsonMember)({ name: "protocol_version_major", constructor: Number }), o("design:type", Number)], m.prototype, "protocolVersionMajor", void 0), r([i.jsonObject, o("design:paramtypes", [p.ContractHash, Number, Number])], m); }(); - n.ContractVersion = b; - var y = function() { - function u(d, l, s, v, p) { - this.accessKey = d, this.disabledVersions = l, this.groups = s, this.versions = v, this.lockStatus = p; + n.ContractVersion = C; + var w = function() { + function m(v, l, u, y, d) { + this.accessKey = v, this.disabledVersions = l, this.groups = u, this.versions = y, this.lockStatus = d; } - return r([(0, i.jsonMember)({ name: "access_key", constructor: m.URef, deserializer: function(d) { - return m.URef.fromJSON(d); - }, serializer: function(d) { - return d.toJSON(); - } }), a("design:type", m.URef)], u.prototype, "accessKey", void 0), r([(0, i.jsonArrayMember)(Number, { name: "disabled_versions", dimensions: 2, deserializer: function(d) { - if (d) return (0, t.deserializeDisabledVersions)(d); - } }), a("design:type", Array)], u.prototype, "disabledVersions", void 0), r([(0, i.jsonArrayMember)(f, { name: "groups", deserializer: function(d) { - if (d) return d.map(function(l) { + return r([(0, i.jsonMember)({ name: "access_key", constructor: p.URef, deserializer: function(v) { + return p.URef.fromJSON(v); + }, serializer: function(v) { + return v.toJSON(); + } }), o("design:type", p.URef)], m.prototype, "accessKey", void 0), r([(0, i.jsonArrayMember)(Number, { name: "disabled_versions", dimensions: 2, deserializer: function(v) { + if (v) return (0, a.deserializeDisabledVersions)(v); + } }), o("design:type", Array)], m.prototype, "disabledVersions", void 0), r([(0, i.jsonArrayMember)(f, { name: "groups", deserializer: function(v) { + if (v) return v.map(function(l) { return f.fromJSON(l); }); - } }), a("design:type", Array)], u.prototype, "groups", void 0), r([(0, i.jsonArrayMember)(b, { name: "versions" }), a("design:type", Array)], u.prototype, "versions", void 0), r([(0, i.jsonMember)({ name: "lock_status", constructor: String }), a("design:type", String)], u.prototype, "lockStatus", void 0), r([i.jsonObject, a("design:paramtypes", [m.URef, Array, Array, Array, String])], u); - }(); - n.ContractPackage = y; - }, 5463: function(x, n, c) { - var r = this && this.__decorate || function(t, f, b, y) { - var u, d = arguments.length, l = d < 3 ? f : y === null ? y = Object.getOwnPropertyDescriptor(f, b) : y; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, f, b, y); - else for (var s = t.length - 1; s >= 0; s--) (u = t[s]) && (l = (d < 3 ? u(l) : d > 3 ? u(f, b, l) : u(f, b)) || l); - return d > 3 && l && Object.defineProperty(f, b, l), l; - }, a = this && this.__metadata || function(t, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(t, f); + } }), o("design:type", Array)], m.prototype, "groups", void 0), r([(0, i.jsonArrayMember)(C, { name: "versions" }), o("design:type", Array)], m.prototype, "versions", void 0), r([(0, i.jsonMember)({ name: "lock_status", constructor: String }), o("design:type", String)], m.prototype, "lockStatus", void 0), r([i.jsonObject, o("design:paramtypes", [p.URef, Array, Array, Array, String])], m); + }(); + n.ContractPackage = w; + }, 5463(g, n, s) { + var r = this && this.__decorate || function(a, f, C, w) { + var m, v = arguments.length, l = v < 3 ? f : w === null ? w = Object.getOwnPropertyDescriptor(f, C) : w; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(a, f, C, w); + else for (var u = a.length - 1; u >= 0; u--) (m = a[u]) && (l = (v < 3 ? m(l) : v > 3 ? m(f, C, l) : m(f, C)) || l); + return v > 3 && l && Object.defineProperty(f, C, l), l; + }, o = this && this.__metadata || function(a, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(a, f); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.ContractWasm = void 0; - var i = c(9592), m = function() { - function t(f) { + var i = s(9592), p = function() { + function a(f) { this.bytes = f; } - return r([(0, i.jsonMember)({ name: "bytes", constructor: String }), a("design:type", String)], t.prototype, "bytes", void 0), r([i.jsonObject, a("design:paramtypes", [String])], t); + return r([(0, i.jsonMember)({ name: "bytes", constructor: String }), o("design:type", String)], a.prototype, "bytes", void 0), r([i.jsonObject, o("design:paramtypes", [String])], a); }(); - n.ContractWasm = m; - }, 7372: (x, n, c) => { - var r = c(8287).Buffer; + n.ContractWasm = p; + }, 7372(g, n, s) { + var r = s(8287).Buffer; Object.defineProperty(n, "__esModule", { value: !0 }), n.Conversions = void 0; - var a = c(6077), i = function() { - function m() { + var o = s(6077), i = function() { + function p() { } - return m.encodeBase64 = function(t) { - return r.from(t).toString("base64"); - }, m.decodeBase64 = function(t) { - return new Uint8Array(r.from(t, "base64")); - }, m.base64to16 = function(t) { - return m.encodeBase16(m.decodeBase64(t)); - }, m.encodeBase16 = function(t) { - return r.from(t).toString("hex"); - }, m.decodeBase16 = function(t) { - return new Uint8Array(r.from(t, "hex")); - }, m.csprToMotes = function(t) { - if (typeof t == "string" && !/^\d+(\.\d+)?$/.test(t)) throw new Error("Invalid input: cspr must be a string representing a valid positive number."); - var f = t.toString().split("."), b = f[0], y = f[1], u = y === void 0 ? "" : y, d = a.BigNumber.from(b).mul(Math.pow(10, 9)); - return u.length > 0 && (u = (u + "000000000").slice(0, 9), d = d.add(u)), d; - }, m.motesToCSPR = function(t) { - var f = a.BigNumber.from(t); + return p.encodeBase64 = function(a) { + return r.from(a).toString("base64"); + }, p.decodeBase64 = function(a) { + return new Uint8Array(r.from(a, "base64")); + }, p.base64to16 = function(a) { + return p.encodeBase16(p.decodeBase64(a)); + }, p.encodeBase16 = function(a) { + return r.from(a).toString("hex"); + }, p.decodeBase16 = function(a) { + return new Uint8Array(r.from(a, "hex")); + }, p.csprToMotes = function(a) { + if (typeof a == "string" && !/^\d+(\.\d+)?$/.test(a)) throw new Error("Invalid input: cspr must be a string representing a valid positive number."); + var f = a.toString().split("."), C = f[0], w = f[1], m = w === void 0 ? "" : w, v = o.BigNumber.from(C).mul(Math.pow(10, 9)); + return m.length > 0 && (m = (m + "000000000").slice(0, 9), v = v.add(m)), v; + }, p.motesToCSPR = function(a) { + var f = o.BigNumber.from(a); if (f.lt(0)) throw new Error("Motes cannot be negative number"); - var b = f.toBigInt().toString(), y = b.slice(0, -9) || "0", u = b.slice(-9).padStart(9, "0"); - return "".concat(y, ".").concat(u).replace(/\.?0+$/, ""); - }, m; + var C = f.toBigInt().toString(), w = C.slice(0, -9) || "0", m = C.slice(-9).padStart(9, "0"); + return "".concat(w, ".").concat(m).replace(/\.?0+$/, ""); + }, p; }(); n.Conversions = i; - }, 6694: function(x, n, c) { - var r = this && this.__decorate || function(R, L, N, B) { - var H, U = arguments.length, S = U < 3 ? L : B === null ? B = Object.getOwnPropertyDescriptor(L, N) : B; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") S = Reflect.decorate(R, L, N, B); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (S = (U < 3 ? H(S) : U > 3 ? H(L, N, S) : H(L, N)) || S); - return U > 3 && S && Object.defineProperty(L, N, S), S; - }, a = this && this.__metadata || function(R, L) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); + }, 6694(g, n, s) { + var r = this && this.__decorate || function(O, I, x, A) { + var N, k = arguments.length, j = k < 3 ? I : A === null ? A = Object.getOwnPropertyDescriptor(I, x) : A; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") j = Reflect.decorate(O, I, x, A); + else for (var D = O.length - 1; D >= 0; D--) (N = O[D]) && (j = (k < 3 ? N(j) : k > 3 ? N(I, x, j) : N(I, x)) || j); + return k > 3 && j && Object.defineProperty(I, x, j), j; + }, o = this && this.__metadata || function(O, I) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(O, I); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.DEFAULT_DEPLOY_TTL = n.Deploy = n.DeployHeader = void 0; - var i = c(9592), m = c(8905), t = c(3401), f = c(7889), b = c(9449), y = c(6500), u = c(9125), d = c(2151), l = c(3771), s = c(6200), v = c(7012), p = c(5731), h = c(2625), O = c(678), I = function() { - function R(N, B, H, U, S, T, E) { - N === void 0 && (N = ""), B === void 0 && (B = []), H === void 0 && (H = 1), U === void 0 && (U = new y.Timestamp(/* @__PURE__ */ new Date())), S === void 0 && (S = new y.Duration(n.DEFAULT_DEPLOY_TTL)), this.chainName = "", this.dependencies = [], this.gasPrice = 1, this.timestamp = new y.Timestamp(/* @__PURE__ */ new Date()), this.ttl = new y.Duration(n.DEFAULT_DEPLOY_TTL), this.chainName = N, this.dependencies = B, this.gasPrice = H, this.timestamp = U, this.ttl = S, this.account = T, this.bodyHash = E; - } - var L; - return L = R, R.prototype.toBytes = function() { - var N, B = this.dependencies.map(function(H) { - return H.toBytes(); + var i = s(9592), p = s(8905), a = s(3401), f = s(7889), C = s(9449), w = s(6500), m = s(9125), v = s(2151), l = s(3771), u = s(6200), y = s(7012), d = s(5731), b = s(2625), _ = s(678), E = function() { + function O(x, A, N, k, j, D, T) { + x === void 0 && (x = ""), A === void 0 && (A = []), N === void 0 && (N = 1), k === void 0 && (k = new w.Timestamp(/* @__PURE__ */ new Date())), j === void 0 && (j = new w.Duration(n.DEFAULT_DEPLOY_TTL)), this.chainName = "", this.dependencies = [], this.gasPrice = 1, this.timestamp = new w.Timestamp(/* @__PURE__ */ new Date()), this.ttl = new w.Duration(n.DEFAULT_DEPLOY_TTL), this.chainName = x, this.dependencies = A, this.gasPrice = N, this.timestamp = k, this.ttl = j, this.account = D, this.bodyHash = T; + } + var I; + return I = O, O.prototype.toBytes = function() { + var x, A = this.dependencies.map(function(N) { + return N.toBytes(); }); - return B.splice(0, 0, (0, O.toBytesU32)((N = this.dependencies) === null || N === void 0 ? void 0 : N.length)), (0, m.concat)([this.account.bytes(), (0, O.toBytesU64)(Date.parse(this.timestamp.toJSON())), (0, O.toBytesU64)(this.ttl.duration), (0, O.toBytesU64)(this.gasPrice), this.bodyHash.toBytes(), (0, m.concat)(B), (0, O.toBytesString)(this.chainName)]); - }, R.default = function() { - return new L(); - }, r([(0, i.jsonMember)({ constructor: b.PublicKey, deserializer: function(N) { - if (N) return b.PublicKey.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", b.PublicKey)], R.prototype, "account", void 0), r([(0, i.jsonMember)({ name: "body_hash", constructor: t.Hash, deserializer: function(N) { - if (N) return t.Hash.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", t.Hash)], R.prototype, "bodyHash", void 0), r([(0, i.jsonMember)({ name: "chain_name", constructor: String }), a("design:type", Object)], R.prototype, "chainName", void 0), r([(0, i.jsonArrayMember)(t.Hash, { name: "dependencies", serializer: function(N) { - return N.map(function(B) { - return B.toJSON(); + return A.splice(0, 0, (0, _.toBytesU32)((x = this.dependencies) === null || x === void 0 ? void 0 : x.length)), (0, p.concat)([this.account.bytes(), (0, _.toBytesU64)(Date.parse(this.timestamp.toJSON())), (0, _.toBytesU64)(this.ttl.duration), (0, _.toBytesU64)(this.gasPrice), this.bodyHash.toBytes(), (0, p.concat)(A), (0, _.toBytesString)(this.chainName)]); + }, O.default = function() { + return new I(); + }, r([(0, i.jsonMember)({ constructor: C.PublicKey, deserializer: function(x) { + if (x) return C.PublicKey.fromJSON(x); + }, serializer: function(x) { + if (x) return x.toJSON(); + } }), o("design:type", C.PublicKey)], O.prototype, "account", void 0), r([(0, i.jsonMember)({ name: "body_hash", constructor: a.Hash, deserializer: function(x) { + if (x) return a.Hash.fromJSON(x); + }, serializer: function(x) { + if (x) return x.toJSON(); + } }), o("design:type", a.Hash)], O.prototype, "bodyHash", void 0), r([(0, i.jsonMember)({ name: "chain_name", constructor: String }), o("design:type", Object)], O.prototype, "chainName", void 0), r([(0, i.jsonArrayMember)(a.Hash, { name: "dependencies", serializer: function(x) { + return x.map(function(A) { + return A.toJSON(); }); - }, deserializer: function(N) { - return N.map(function(B) { - return t.Hash.fromJSON(B); + }, deserializer: function(x) { + return x.map(function(A) { + return a.Hash.fromJSON(A); }); - } }), a("design:type", Array)], R.prototype, "dependencies", void 0), r([(0, i.jsonMember)({ name: "gas_price", constructor: Number }), a("design:type", Object)], R.prototype, "gasPrice", void 0), r([(0, i.jsonMember)({ constructor: y.Timestamp, deserializer: function(N) { - return y.Timestamp.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", y.Timestamp)], R.prototype, "timestamp", void 0), r([(0, i.jsonMember)({ constructor: y.Duration, deserializer: function(N) { - return y.Duration.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", y.Duration)], R.prototype, "ttl", void 0), L = r([i.jsonObject, a("design:paramtypes", [Object, Array, Object, y.Timestamp, y.Duration, b.PublicKey, t.Hash])], R); - }(); - n.DeployHeader = I; - var k = function() { - function R(N, B, H, U, S) { - this.approvals = [], this.approvals = S, this.session = U, this.payment = H, this.header = B, this.hash = N; - } - var L; - return L = R, R.prototype.validate = function() { - var N, B = this, H = this.payment.bytes(), U = this.session.bytes(), S = (0, m.concat)([H, U]), T = new t.Hash((0, O.byteHash)(S)), E = this.header.toBytes(), M = new t.Hash((0, O.byteHash)(E)); - if (!(!((N = this.header.bodyHash) === null || N === void 0) && N.equals(T)) || !this.hash.equals(M)) throw new Error("Invalid deploy hash or body hash"); - return this.approvals.forEach(function(_) { - if (!_.signer.verifySignature(B.hash.toBytes(), _.signature.bytes)) throw new Error("Invalid approval signature"); + } }), o("design:type", Array)], O.prototype, "dependencies", void 0), r([(0, i.jsonMember)({ name: "gas_price", constructor: Number }), o("design:type", Object)], O.prototype, "gasPrice", void 0), r([(0, i.jsonMember)({ constructor: w.Timestamp, deserializer: function(x) { + return w.Timestamp.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", w.Timestamp)], O.prototype, "timestamp", void 0), r([(0, i.jsonMember)({ constructor: w.Duration, deserializer: function(x) { + return w.Duration.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", w.Duration)], O.prototype, "ttl", void 0), I = r([i.jsonObject, o("design:paramtypes", [Object, Array, Object, w.Timestamp, w.Duration, C.PublicKey, a.Hash])], O); + }(); + n.DeployHeader = E; + var B = function() { + function O(x, A, N, k, j) { + this.approvals = [], this.approvals = j, this.session = k, this.payment = N, this.header = A, this.hash = x; + } + var I; + return I = O, O.prototype.validate = function() { + var x, A = this, N = this.payment.bytes(), k = this.session.bytes(), j = (0, p.concat)([N, k]), D = new a.Hash((0, _.byteHash)(j)), T = this.header.toBytes(), L = new a.Hash((0, _.byteHash)(T)); + if (!(!((x = this.header.bodyHash) === null || x === void 0) && x.equals(D)) || !this.hash.equals(L)) throw new Error("Invalid deploy hash or body hash"); + return this.approvals.forEach(function(R) { + if (!R.signer.verifySignature(A.hash.toBytes(), R.signature.bytes)) throw new Error("Invalid approval signature"); }), !0; - }, R.prototype.sign = function(N) { - var B = N.signAndAddAlgorithmBytes(this.hash.toBytes()), H = new f.HexBytes(B); - this.approvals.push(new u.Approval(N.publicKey, H)); - }, R.prototype.toBytes = function() { - return (0, m.concat)([this.header.toBytes(), this.hash.toBytes(), (0, m.concat)([this.payment.bytes(), this.session.bytes()]), u.Approval.toBytes(this.approvals)]); - }, R.setSignature = function(N, B, H) { - var U = new f.HexBytes(B); - return N.approvals.push(new u.Approval(H, U)), N; - }, R.createNew = function(N, B, H, U, S) { - return S === void 0 && (S = []), new L(N, B, H, U, S); - }, R.addArgToDeploy = function(N, B, H) { - if (N.approvals.length !== 0) throw Error("Can not add argument to already signed deploy."); - return N.session.setArg(B, H), L.makeDeploy(N.header, N.payment, N.session); - }, R.makeDeploy = function(N, B, H) { - var U = B.bytes(), S = H.bytes(), T = (0, m.concat)([U, S]); - N.bodyHash = new t.Hash((0, O.byteHash)(T)); - var E = new t.Hash((0, O.byteHash)(N.toBytes())); - return L.createNew(E, N, B, H); - }, R.newTransactionFromDeploy = function(N) { - var B, H, U, S = 0; - if (N.session.transfer) U = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Transfer); - else if (N.session.moduleBytes) U = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Call); + }, O.prototype.sign = function(x) { + var A = x.signAndAddAlgorithmBytes(this.hash.toBytes()), N = new f.HexBytes(A); + this.approvals.push(new m.Approval(x.publicKey, N)); + }, O.prototype.toBytes = function() { + return (0, p.concat)([this.header.toBytes(), this.hash.toBytes(), (0, p.concat)([this.payment.bytes(), this.session.bytes()]), m.Approval.toBytes(this.approvals)]); + }, O.setSignature = function(x, A, N) { + var k = new f.HexBytes(A); + return x.approvals.push(new m.Approval(N, k)), x; + }, O.createNew = function(x, A, N, k, j) { + return j === void 0 && (j = []), new I(x, A, N, k, j); + }, O.addArgToDeploy = function(x, A, N) { + if (x.approvals.length !== 0) throw Error("Can not add argument to already signed deploy."); + return x.session.setArg(A, N), I.makeDeploy(x.header, x.payment, x.session); + }, O.makeDeploy = function(x, A, N) { + var k = A.bytes(), j = N.bytes(), D = (0, p.concat)([k, j]); + x.bodyHash = new a.Hash((0, _.byteHash)(D)); + var T = new a.Hash((0, _.byteHash)(x.toBytes())); + return I.createNew(T, x, A, N); + }, O.newTransactionFromDeploy = function(x) { + var A, N, k, j = 0; + if (x.session.transfer) k = new v.TransactionEntryPoint(v.TransactionEntryPointEnum.Transfer); + else if (x.session.moduleBytes) k = new v.TransactionEntryPoint(v.TransactionEntryPointEnum.Call); else { - var T = ""; - N.session.storedContractByHash ? T = N.session.storedContractByHash.entryPoint : N.session.storedContractByName ? T = N.session.storedContractByName.entryPoint : N.session.storedVersionedContractByHash ? T = N.session.storedVersionedContractByHash.entryPoint : N.session.storedVersionedContractByName && (T = N.session.storedVersionedContractByName.entryPoint), U = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Custom, T); - } - var E = N.payment.getArgs(); - if (E) { - var M = E.args.get("amount"); - M && (S = parseInt(M.toString(), 10) || 0); - } - var _ = ((B = N.payment.moduleBytes) === null || B === void 0 ? void 0 : B.moduleBytes.length) === 0, w = new s.PricingMode(), A = new s.PaymentLimitedMode(); - return A.gasPriceTolerance = (H = N.header.gasPrice) !== null && H !== void 0 ? H : 1, A.paymentAmount = S, A.standardPayment = _, w.paymentLimited = A, new u.Transaction(u.TransactionHash.fromDeployHash(N.hash), N.header.chainName, N.header.timestamp, N.header.ttl, new l.InitiatorAddr(N.header.account), w, N.session.getArgs(), v.TransactionTarget.newTransactionTargetFromSession(N.session), U, new p.TransactionScheduling({}), N.approvals, void 0, N); - }, R.fromJSON = function(N) { - var B, H, U, S, T, E, M; + var D = ""; + x.session.storedContractByHash ? D = x.session.storedContractByHash.entryPoint : x.session.storedContractByName ? D = x.session.storedContractByName.entryPoint : x.session.storedVersionedContractByHash ? D = x.session.storedVersionedContractByHash.entryPoint : x.session.storedVersionedContractByName && (D = x.session.storedVersionedContractByName.entryPoint), k = new v.TransactionEntryPoint(v.TransactionEntryPointEnum.Custom, D); + } + var T = x.payment.getArgs(); + if (T) { + var L = T.args.get("amount"); + L && (j = parseInt(L.toString(), 10) || 0); + } + var R = ((A = x.payment.moduleBytes) === null || A === void 0 ? void 0 : A.moduleBytes.length) === 0, M = new u.PricingMode(), P = new u.PaymentLimitedMode(); + return P.gasPriceTolerance = (N = x.header.gasPrice) !== null && N !== void 0 ? N : 1, P.paymentAmount = j, P.standardPayment = R, M.paymentLimited = P, new m.Transaction(m.TransactionHash.fromDeployHash(x.hash), x.header.chainName, x.header.timestamp, x.header.ttl, new l.InitiatorAddr(x.header.account), M, x.session.getArgs(), y.TransactionTarget.newTransactionTargetFromSession(x.session), k, new d.TransactionScheduling({}), x.approvals, void 0, x); + }, O.fromJSON = function(x) { + var A, N, k, j, D, T, L; try { - var _ = typeof N == "string" ? JSON.parse(N) : N, w = (T = (S = (H = (B = _.deploy) !== null && B !== void 0 ? B : _.Deploy) !== null && H !== void 0 ? H : (U = _?.transaction) === null || U === void 0 ? void 0 : U.Deploy) !== null && S !== void 0 ? S : _) !== null && T !== void 0 ? T : null; - if (!w?.hash || !(!((E = w?.header) === null || E === void 0) && E.account)) throw new Error("The JSON can't be parsed as a Deploy."); - if (!(M = new i.TypedJSON(L).parse(w))) throw new Error("The JSON can't be parsed as a Deploy."); - } catch (A) { - throw new Error("Serialization error: ".concat(A.message)); - } - if (!M.validate()) throw new Error("Deploy validation failed"); - return M; - }, R.prototype.isTransfer = function() { + var R = typeof x == "string" ? JSON.parse(x) : x, M = (D = (j = (N = (A = R.deploy) !== null && A !== void 0 ? A : R.Deploy) !== null && N !== void 0 ? N : (k = R?.transaction) === null || k === void 0 ? void 0 : k.Deploy) !== null && j !== void 0 ? j : R) !== null && D !== void 0 ? D : null; + if (!M?.hash || !(!((T = M?.header) === null || T === void 0) && T.account)) throw new Error("The JSON can't be parsed as a Deploy."); + if (!(L = new i.TypedJSON(I).parse(M))) throw new Error("The JSON can't be parsed as a Deploy."); + } catch (P) { + throw new Error("Serialization error: ".concat(P.message)); + } + if (!L.validate()) throw new Error("Deploy validation failed"); + return L; + }, O.prototype.isTransfer = function() { return this.session.isTransfer(); - }, R.prototype.isStandardPayment = function() { - var N; - return !!this.payment.isModuleBytes() && ((N = this.payment.asModuleBytes()) === null || N === void 0 ? void 0 : N.moduleBytes.length) === 0; - }, R.toJSON = function(N) { - return new i.TypedJSON(L).toPlainJson(N); - }, R.getDeploySizeInBytes = function(N) { - var B = N.hash.toBytes().length, H = (0, m.concat)([N.payment.bytes(), N.session.bytes()]).length; - return B + N.header.toBytes().length + H + N.approvals.map(function(U) { - return (U.signature.bytes.length + U.signer.bytes().length) / 2; - }).reduce(function(U, S) { - return U + S; + }, O.prototype.isStandardPayment = function() { + var x; + return !!this.payment.isModuleBytes() && ((x = this.payment.asModuleBytes()) === null || x === void 0 ? void 0 : x.moduleBytes.length) === 0; + }, O.toJSON = function(x) { + return new i.TypedJSON(I).toPlainJson(x); + }, O.getDeploySizeInBytes = function(x) { + var A = x.hash.toBytes().length, N = (0, p.concat)([x.payment.bytes(), x.session.bytes()]).length; + return A + x.header.toBytes().length + N + x.approvals.map(function(k) { + return (k.signature.bytes.length + k.signer.bytes().length) / 2; + }).reduce(function(k, j) { + return k + j; }, 0); }, r([(0, i.jsonArrayMember)(function() { - return u.Approval; - }), a("design:type", Array)], R.prototype, "approvals", void 0), r([(0, i.jsonMember)({ deserializer: function(N) { - return t.Hash.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.Hash)], R.prototype, "hash", void 0), r([(0, i.jsonMember)({ constructor: I }), a("design:type", I)], R.prototype, "header", void 0), r([(0, i.jsonMember)({ constructor: h.ExecutableDeployItem }), a("design:type", h.ExecutableDeployItem)], R.prototype, "payment", void 0), r([(0, i.jsonMember)({ constructor: h.ExecutableDeployItem }), a("design:type", h.ExecutableDeployItem)], R.prototype, "session", void 0), L = r([i.jsonObject, a("design:paramtypes", [t.Hash, I, h.ExecutableDeployItem, h.ExecutableDeployItem, Array])], R); - }(); - n.Deploy = k, n.DEFAULT_DEPLOY_TTL = 18e5; - }, 402: function(x, n, c) { - var r = this && this.__decorate || function(f, b, y, u) { - var d, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(f, b, y, u); - else for (var v = f.length - 1; v >= 0; v--) (d = f[v]) && (s = (l < 3 ? d(s) : l > 3 ? d(b, y, s) : d(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(f, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, b); + return m.Approval; + }), o("design:type", Array)], O.prototype, "approvals", void 0), r([(0, i.jsonMember)({ deserializer: function(x) { + return a.Hash.fromJSON(x); + }, serializer: function(x) { + return x.toJSON(); + } }), o("design:type", a.Hash)], O.prototype, "hash", void 0), r([(0, i.jsonMember)({ constructor: E }), o("design:type", E)], O.prototype, "header", void 0), r([(0, i.jsonMember)({ constructor: b.ExecutableDeployItem }), o("design:type", b.ExecutableDeployItem)], O.prototype, "payment", void 0), r([(0, i.jsonMember)({ constructor: b.ExecutableDeployItem }), o("design:type", b.ExecutableDeployItem)], O.prototype, "session", void 0), I = r([i.jsonObject, o("design:paramtypes", [a.Hash, E, b.ExecutableDeployItem, b.ExecutableDeployItem, Array])], O); + }(); + n.Deploy = B, n.DEFAULT_DEPLOY_TTL = 18e5; + }, 402(g, n, s) { + var r = this && this.__decorate || function(f, C, w, m) { + var v, l = arguments.length, u = l < 3 ? C : m === null ? m = Object.getOwnPropertyDescriptor(C, w) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") u = Reflect.decorate(f, C, w, m); + else for (var y = f.length - 1; y >= 0; y--) (v = f[y]) && (u = (l < 3 ? v(u) : l > 3 ? v(C, w, u) : v(C, w)) || u); + return l > 3 && u && Object.defineProperty(C, w, u), u; + }, o = this && this.__metadata || function(f, C) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, C); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.DeployInfo = void 0; - var i = c(9592), m = c(3401), t = function() { + var i = s(9592), p = s(3401), a = function() { function f() { } - return r([(0, i.jsonMember)({ name: "deploy_hash", constructor: m.Hash, deserializer: function(b) { - return m.Hash.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", m.Hash)], f.prototype, "deployHash", void 0), r([(0, i.jsonMember)({ name: "from", constructor: m.AccountHash, deserializer: function(b) { - return m.AccountHash.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", m.AccountHash)], f.prototype, "from", void 0), r([(0, i.jsonMember)({ name: "gas", constructor: String }), a("design:type", String)], f.prototype, "gas", void 0), r([(0, i.jsonMember)({ name: "source", constructor: m.URef, deserializer: function(b) { - return m.URef.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", m.URef)], f.prototype, "source", void 0), r([(0, i.jsonArrayMember)(m.TransferHash, { name: "transfers", serializer: function(b) { - return b.map(function(y) { - return y.toJSON(); + return r([(0, i.jsonMember)({ name: "deploy_hash", constructor: p.Hash, deserializer: function(C) { + return p.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", p.Hash)], f.prototype, "deployHash", void 0), r([(0, i.jsonMember)({ name: "from", constructor: p.AccountHash, deserializer: function(C) { + return p.AccountHash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", p.AccountHash)], f.prototype, "from", void 0), r([(0, i.jsonMember)({ name: "gas", constructor: String }), o("design:type", String)], f.prototype, "gas", void 0), r([(0, i.jsonMember)({ name: "source", constructor: p.URef, deserializer: function(C) { + return p.URef.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", p.URef)], f.prototype, "source", void 0), r([(0, i.jsonArrayMember)(p.TransferHash, { name: "transfers", serializer: function(C) { + return C.map(function(w) { + return w.toJSON(); }); - }, deserializer: function(b) { - return b.map(function(y) { - return m.TransferHash.fromJSON(y); + }, deserializer: function(C) { + return C.map(function(w) { + return p.TransferHash.fromJSON(w); }); - } }), a("design:type", Array)], f.prototype, "transfers", void 0), r([i.jsonObject], f); - }(); - n.DeployInfo = t; - }, 111: function(x, n, c) { - var r = this && this.__decorate || function(l, s, v, p) { - var h, O = arguments.length, I = O < 3 ? s : p === null ? p = Object.getOwnPropertyDescriptor(s, v) : p; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(l, s, v, p); - else for (var k = l.length - 1; k >= 0; k--) (h = l[k]) && (I = (O < 3 ? h(I) : O > 3 ? h(s, v, I) : h(s, v)) || I); - return O > 3 && I && Object.defineProperty(s, v, I), I; - }, a = this && this.__metadata || function(l, s) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, s); + } }), o("design:type", Array)], f.prototype, "transfers", void 0), r([i.jsonObject], f); + }(); + n.DeployInfo = a; + }, 111(g, n, s) { + var r = this && this.__decorate || function(u, y, d, b) { + var _, E = arguments.length, B = E < 3 ? y : b === null ? b = Object.getOwnPropertyDescriptor(y, d) : b; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(u, y, d, b); + else for (var O = u.length - 1; O >= 0; O--) (_ = u[O]) && (B = (E < 3 ? _(B) : E > 3 ? _(y, d, B) : _(y, d)) || B); + return E > 3 && B && Object.defineProperty(y, d, B), B; + }, o = this && this.__metadata || function(u, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, y); }; - Object.defineProperty(n, "__esModule", { value: !0 }), n.EntryPointValue = n.EntryPointV2 = n.EntryPointV1 = n.EntryPointArg = n.EntryPointPayment = n.EntryPointType = void 0; - var i, m, t = c(9592), f = c(5466); - (m = n.EntryPointType || (n.EntryPointType = {})).Session = "Session", m.Contract = "Contract", m.Caller = "Caller", m.Called = "Called", m.Factory = "Factory", (i = n.EntryPointPayment || (n.EntryPointPayment = {})).Caller = "Caller", i.DirectInvocationOnly = "DirectInvocationOnly", i.SelfOnward = "SelfOnward"; - var b = function() { - function l(s, v) { - this.name = s, this.clType = v; + Object.defineProperty(n, "__esModule", { value: !0 }), n.EntryPointValue = n.EntryPointV2 = n.EntryPointV1 = n.EntryPointArg = n.EntryPointAccess = n.EntryPointPayment = n.EntryPointType = void 0; + var i, p, a = s(9592), f = s(5466); + (p = n.EntryPointType || (n.EntryPointType = {})).Caller = "Caller", p.Called = "Called", p.Factory = "Factory", p.Contract = "Contract", p.Session = "Session", (i = n.EntryPointPayment || (n.EntryPointPayment = {})).Caller = "Caller", i.DirectInvocationOnly = "DirectInvocationOnly", i.SelfOnward = "SelfOnward"; + var C = function() { + function u(d, b, _) { + d === void 0 && (d = !1), b === void 0 && (b = null), _ === void 0 && (_ = !1), this.isPublic = d, this.groups = b, this.isTemplate = _; } - return r([(0, t.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], l.prototype, "name", void 0), r([(0, t.jsonMember)({ name: "cl_type", constructor: f.CLTypeRaw, deserializer: function(s) { - if (s) return f.CLTypeRaw.parseCLType(s); - }, serializer: function(s) { - if (s) return s.toJSON(); - } }), a("design:type", f.CLTypeRaw)], l.prototype, "clType", void 0), r([t.jsonObject, a("design:paramtypes", [String, f.CLTypeRaw])], l); + var y; + return y = u, u.fromJSON = function(d) { + if (d != null) { + if (typeof d == "string") { + var b = d.toLowerCase(); + if (b === "public") return new y(!0, null, !1); + if (b === "template") return new y(!1, null, !0); + } else if (typeof d == "object") { + var _ = Object.keys(d); + if (_.length > 0 && _[0].toLowerCase() === "groups") { + var E = d[_[0]]; + return new y(!1, E, !1); + } + } + throw new Error("Could not deserialize EntryPointAccess. Not expected token found: ".concat(JSON.stringify(d))); + } + }, u.prototype.toJSON = function() { + return this.isPublic ? "Public" : this.isTemplate ? "Template" : this.groups !== null ? { groups: this.groups } : "Public"; + }, r([(0, a.jsonMember)({ name: "isPublic", constructor: Boolean }), o("design:type", Boolean)], u.prototype, "isPublic", void 0), r([(0, a.jsonArrayMember)(String, { name: "groups" }), o("design:type", Object)], u.prototype, "groups", void 0), r([(0, a.jsonMember)({ name: "isTemplate", constructor: Boolean }), o("design:type", Boolean)], u.prototype, "isTemplate", void 0), y = r([a.jsonObject, o("design:paramtypes", [Object, Object, Object])], u); }(); - n.EntryPointArg = b; - var y = function() { - function l(s, v, p, h, O, I) { - this.access = s, this.args = v, this.entryPointType = p, this.entryPointPayment = h, this.name = O, this.ret = I; + n.EntryPointAccess = C; + var w = function() { + function u(y, d) { + this.name = y, this.clType = d; } - return r([(0, t.jsonMember)({ name: "access", constructor: t.AnyT }), a("design:type", Object)], l.prototype, "access", void 0), r([(0, t.jsonArrayMember)(b, { name: "args" }), a("design:type", Array)], l.prototype, "args", void 0), r([(0, t.jsonMember)({ name: "entry_point_type", constructor: String }), a("design:type", String)], l.prototype, "entryPointType", void 0), r([(0, t.jsonMember)({ name: "entry_point_payment", constructor: String }), a("design:type", String)], l.prototype, "entryPointPayment", void 0), r([(0, t.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], l.prototype, "name", void 0), r([(0, t.jsonMember)({ name: "ret", constructor: f.CLTypeRaw, deserializer: function(s) { - if (s) return f.CLTypeRaw.parseCLType(s); - }, serializer: function(s) { - if (s) return s.toJSON(); - } }), a("design:type", f.CLTypeRaw)], l.prototype, "ret", void 0), r([t.jsonObject, a("design:paramtypes", [Object, Array, String, String, String, f.CLTypeRaw])], l); + return r([(0, a.jsonMember)({ name: "name", constructor: String }), o("design:type", String)], u.prototype, "name", void 0), r([(0, a.jsonMember)({ name: "cl_type", constructor: f.CLTypeRaw, deserializer: function(y) { + if (y) return f.CLTypeRaw.parseCLType(y); + }, serializer: function(y) { + if (y) return y.toJSON(); + } }), o("design:type", f.CLTypeRaw)], u.prototype, "clType", void 0), r([a.jsonObject, o("design:paramtypes", [String, f.CLTypeRaw])], u); }(); - n.EntryPointV1 = y; - var u = function() { - function l(s, v) { - s === void 0 && (s = 0), v === void 0 && (v = 0), this.flags = s, this.functionIndex = v; + n.EntryPointArg = w; + var m = function() { + function u(y, d, b, _, E, B) { + this.access = y, this.args = d, this.entryPointType = b, this.entryPointPayment = _, this.name = E, this.ret = B; } - return r([(0, t.jsonMember)({ name: "flags", constructor: Number }), a("design:type", Number)], l.prototype, "flags", void 0), r([(0, t.jsonMember)({ name: "functionIndex", constructor: Number }), a("design:type", Number)], l.prototype, "functionIndex", void 0), r([t.jsonObject, a("design:paramtypes", [Object, Object])], l); + return r([(0, a.jsonMember)({ name: "access", constructor: C, deserializer: function(y) { + if (y) return C.fromJSON(y); + }, serializer: function(y) { + if (y) return y.toJSON(); + } }), o("design:type", C)], u.prototype, "access", void 0), r([(0, a.jsonArrayMember)(w, { name: "args" }), o("design:type", Array)], u.prototype, "args", void 0), r([(0, a.jsonMember)({ name: "entry_point_type", constructor: String }), o("design:type", String)], u.prototype, "entryPointType", void 0), r([(0, a.jsonMember)({ name: "entry_point_payment", constructor: String }), o("design:type", String)], u.prototype, "entryPointPayment", void 0), r([(0, a.jsonMember)({ name: "name", constructor: String }), o("design:type", String)], u.prototype, "name", void 0), r([(0, a.jsonMember)({ name: "ret", constructor: f.CLTypeRaw, deserializer: function(y) { + if (y) return f.CLTypeRaw.parseCLType(y); + }, serializer: function(y) { + if (y) return y.toJSON(); + } }), o("design:type", f.CLTypeRaw)], u.prototype, "ret", void 0), r([a.jsonObject, o("design:paramtypes", [C, Array, String, String, String, f.CLTypeRaw])], u); }(); - n.EntryPointV2 = u; - var d = function() { - function l(s, v) { - this.v1CasperVm = s, this.v2CasperVm = v; - } - return r([(0, t.jsonMember)({ name: "V1CasperVm", constructor: y }), a("design:type", y)], l.prototype, "v1CasperVm", void 0), r([(0, t.jsonMember)({ name: "V2CasperVm", constructor: u }), a("design:type", u)], l.prototype, "v2CasperVm", void 0), r([t.jsonObject, a("design:paramtypes", [y, u])], l); - }(); - n.EntryPointValue = d; - }, 6722: function(x, n, c) { - var r = this && this.__decorate || function(v, p, h, O) { - var I, k = arguments.length, R = k < 3 ? p : O === null ? O = Object.getOwnPropertyDescriptor(p, h) : O; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(v, p, h, O); - else for (var L = v.length - 1; L >= 0; L--) (I = v[L]) && (R = (k < 3 ? I(R) : k > 3 ? I(p, h, R) : I(p, h)) || R); - return k > 3 && R && Object.defineProperty(p, h, R), R; - }, a = this && this.__metadata || function(v, p) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, p); + n.EntryPointV1 = m; + var v = function() { + function u(y, d) { + y === void 0 && (y = 0), d === void 0 && (d = 0), this.flags = y, this.functionIndex = d; + } + return r([(0, a.jsonMember)({ name: "flags", constructor: Number }), o("design:type", Number)], u.prototype, "flags", void 0), r([(0, a.jsonMember)({ name: "functionIndex", constructor: Number }), o("design:type", Number)], u.prototype, "functionIndex", void 0), r([a.jsonObject, o("design:paramtypes", [Object, Object])], u); + }(); + n.EntryPointV2 = v; + var l = function() { + function u(y, d) { + this.v1CasperVm = y, this.v2CasperVm = d; + } + return r([(0, a.jsonMember)({ name: "V1CasperVm", constructor: m }), o("design:type", m)], u.prototype, "v1CasperVm", void 0), r([(0, a.jsonMember)({ name: "V2CasperVm", constructor: v }), o("design:type", v)], u.prototype, "v2CasperVm", void 0), r([a.jsonObject, o("design:paramtypes", [m, v])], u); + }(); + n.EntryPointValue = l; + }, 6722(g, n, s) { + var r = this && this.__decorate || function(y, d, b, _) { + var E, B = arguments.length, O = B < 3 ? d : _ === null ? _ = Object.getOwnPropertyDescriptor(d, b) : _; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(y, d, b, _); + else for (var I = y.length - 1; I >= 0; I--) (E = y[I]) && (O = (B < 3 ? E(O) : B > 3 ? E(d, b, O) : E(d, b)) || O); + return B > 3 && O && Object.defineProperty(d, b, O), O; + }, o = this && this.__metadata || function(y, d) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, d); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.EraEnd = n.EraEndV1 = n.EraEndV2 = n.EraReport = n.EraReward = void 0; - var i = c(9592), m = c(9449), t = c(6459), f = c(5466), b = c(2428), y = function() { - function v(p, h) { - this.validator = p, this.amount = h; - } - return r([(0, i.jsonMember)({ name: "validator", constructor: m.PublicKey, deserializer: function(p) { - return m.PublicKey.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", m.PublicKey)], v.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(p) { - return f.CLValueUInt512.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", f.CLValueUInt512)], v.prototype, "amount", void 0), r([i.jsonObject, a("design:paramtypes", [m.PublicKey, f.CLValueUInt512])], v); - }(); - n.EraReward = y; - var u = function() { - function v(p, h, O) { - p === void 0 && (p = []), h === void 0 && (h = []), O === void 0 && (O = []), this.equivocators = p, this.inactiveValidators = h, this.rewards = O; + var i = s(9592), p = s(9449), a = s(6459), f = s(5466), C = s(2428), w = function() { + function y(d, b) { + this.validator = d, this.amount = b; + } + return r([(0, i.jsonMember)({ name: "validator", constructor: p.PublicKey, deserializer: function(d) { + return p.PublicKey.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", p.PublicKey)], y.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(d) { + return f.CLValueUInt512.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", f.CLValueUInt512)], y.prototype, "amount", void 0), r([i.jsonObject, o("design:paramtypes", [p.PublicKey, f.CLValueUInt512])], y); + }(); + n.EraReward = w; + var m = function() { + function y(d, b, _) { + d === void 0 && (d = []), b === void 0 && (b = []), _ === void 0 && (_ = []), this.equivocators = d, this.inactiveValidators = b, this.rewards = _; } - return r([(0, i.jsonArrayMember)(m.PublicKey, { name: "equivocators", serializer: function(p) { - return p.map(function(h) { - return h.toJSON(); + return r([(0, i.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(d) { + return d.map(function(b) { + return b.toJSON(); }); - }, deserializer: function(p) { - return p.map(function(h) { - return m.PublicKey.fromJSON(h); + }, deserializer: function(d) { + return d.map(function(b) { + return p.PublicKey.fromJSON(b); }); - } }), a("design:type", Array)], v.prototype, "equivocators", void 0), r([(0, i.jsonArrayMember)(m.PublicKey, { name: "inactive_validators", serializer: function(p) { - return p.map(function(h) { - return h.toJSON(); + } }), o("design:type", Array)], y.prototype, "equivocators", void 0), r([(0, i.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(d) { + return d.map(function(b) { + return b.toJSON(); }); - }, deserializer: function(p) { - return p.map(function(h) { - return m.PublicKey.fromJSON(h); + }, deserializer: function(d) { + return d.map(function(b) { + return p.PublicKey.fromJSON(b); }); - } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), r([(0, i.jsonArrayMember)(y, { name: "rewards" }), a("design:type", Array)], v.prototype, "rewards", void 0), r([i.jsonObject, a("design:paramtypes", [Array, Array, Array])], v); + } }), o("design:type", Array)], y.prototype, "inactiveValidators", void 0), r([(0, i.jsonArrayMember)(w, { name: "rewards" }), o("design:type", Array)], y.prototype, "rewards", void 0), r([i.jsonObject, o("design:paramtypes", [Array, Array, Array])], y); }(); - n.EraReport = u; - var d = function() { - function v(p, h, O, I, k) { - this.equivocators = p, this.inactiveValidators = h, this.nextEraValidatorWeights = O, this.rewards = I, this.nextEraGasPrice = k; + n.EraReport = m; + var v = function() { + function y(d, b, _, E, B) { + this.equivocators = d, this.inactiveValidators = b, this.nextEraValidatorWeights = _, this.rewards = E, this.nextEraGasPrice = B; } - return r([(0, i.jsonArrayMember)(m.PublicKey, { name: "equivocators", serializer: function(p) { - return p.map(function(h) { - return h.toJSON(); + return r([(0, i.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(d) { + return d.map(function(b) { + return b.toJSON(); }); - }, deserializer: function(p) { - return p.map(function(h) { - return m.PublicKey.fromJSON(h); + }, deserializer: function(d) { + return d.map(function(b) { + return p.PublicKey.fromJSON(b); }); - } }), a("design:type", Array)], v.prototype, "equivocators", void 0), r([(0, i.jsonArrayMember)(m.PublicKey, { name: "inactive_validators", serializer: function(p) { - return p.map(function(h) { - return h.toJSON(); + } }), o("design:type", Array)], y.prototype, "equivocators", void 0), r([(0, i.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(d) { + return d.map(function(b) { + return b.toJSON(); }); - }, deserializer: function(p) { - return p.map(function(h) { - return m.PublicKey.fromJSON(h); + }, deserializer: function(d) { + return d.map(function(b) { + return p.PublicKey.fromJSON(b); }); - } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), r([(0, i.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), r([(0, i.jsonMapMember)(String, Array, { name: "rewards", serializer: function(p) { - return (0, b.serializeRewards)(p); - }, deserializer: b.deserializeRewards }), a("design:type", Map)], v.prototype, "rewards", void 0), r([(0, i.jsonMember)({ name: "next_era_gas_price", constructor: Number }), a("design:type", Number)], v.prototype, "nextEraGasPrice", void 0), r([i.jsonObject, a("design:paramtypes", [Array, Array, Array, Map, Number])], v); + } }), o("design:type", Array)], y.prototype, "inactiveValidators", void 0), r([(0, i.jsonArrayMember)(a.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), o("design:type", Array)], y.prototype, "nextEraValidatorWeights", void 0), r([(0, i.jsonMapMember)(String, Array, { name: "rewards", serializer: function(d) { + return (0, C.serializeRewards)(d); + }, deserializer: C.deserializeRewards }), o("design:type", Map)], y.prototype, "rewards", void 0), r([(0, i.jsonMember)({ name: "next_era_gas_price", constructor: Number }), o("design:type", Number)], y.prototype, "nextEraGasPrice", void 0), r([i.jsonObject, o("design:paramtypes", [Array, Array, Array, Map, Number])], y); }(); - n.EraEndV2 = d; + n.EraEndV2 = v; var l = function() { - function v(p, h) { - this.eraReport = p, this.nextEraValidatorWeights = h; + function y(d, b) { + this.eraReport = d, this.nextEraValidatorWeights = b; } - return r([(0, i.jsonMember)({ name: "era_report", constructor: u }), a("design:type", u)], v.prototype, "eraReport", void 0), r([(0, i.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), r([i.jsonObject, a("design:paramtypes", [u, Array])], v); + return r([(0, i.jsonMember)({ name: "era_report", constructor: m }), o("design:type", m)], y.prototype, "eraReport", void 0), r([(0, i.jsonArrayMember)(a.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), o("design:type", Array)], y.prototype, "nextEraValidatorWeights", void 0), r([i.jsonObject, o("design:paramtypes", [m, Array])], y); }(); n.EraEndV1 = l; - var s = function() { - function v(h, O, I, k, R) { - h === void 0 && (h = []), O === void 0 && (O = []), I === void 0 && (I = []), k === void 0 && (k = /* @__PURE__ */ new Map()), R === void 0 && (R = 1), this.equivocators = h, this.inactiveValidators = O, this.nextEraValidatorWeights = I, this.rewards = k, this.nextEraGasPrice = R; + var u = function() { + function y(b, _, E, B, O) { + b === void 0 && (b = []), _ === void 0 && (_ = []), E === void 0 && (E = []), B === void 0 && (B = /* @__PURE__ */ new Map()), O === void 0 && (O = 1), this.equivocators = b, this.inactiveValidators = _, this.nextEraValidatorWeights = E, this.rewards = B, this.nextEraGasPrice = O; } - var p; - return p = v, v.fromV2 = function(h) { - if (!h) return null; - var O = new p(); - return O.nextEraGasPrice = h.nextEraGasPrice, O.equivocators = h.equivocators, O.inactiveValidators = h.inactiveValidators, O.nextEraValidatorWeights = h.nextEraValidatorWeights, O.rewards = h.rewards, O; - }, v.fromV1 = function(h) { - var O; - if (!h) return null; - for (var I = /* @__PURE__ */ new Map(), k = 0, R = h.eraReport.rewards; k < R.length; k++) { - var L = R[k], N = L.validator.toHex(); - I.has(N) || I.set(N, []), (O = I.get(N)) === null || O === void 0 || O.push(L.amount); - } - var B = new p(); - return B.nextEraGasPrice = 1, B.equivocators = h.eraReport.equivocators, B.inactiveValidators = h.eraReport.inactiveValidators, B.nextEraValidatorWeights = h.nextEraValidatorWeights, B.rewards = I, B; - }, r([(0, i.jsonArrayMember)(m.PublicKey, { name: "equivocators", serializer: function(h) { - return h.map(function(O) { - return O.toJSON(); + var d; + return d = y, y.fromV2 = function(b) { + if (!b) return null; + var _ = new d(); + return _.nextEraGasPrice = b.nextEraGasPrice, _.equivocators = b.equivocators, _.inactiveValidators = b.inactiveValidators, _.nextEraValidatorWeights = b.nextEraValidatorWeights, _.rewards = b.rewards, _; + }, y.fromV1 = function(b) { + var _; + if (!b) return null; + for (var E = /* @__PURE__ */ new Map(), B = 0, O = b.eraReport.rewards; B < O.length; B++) { + var I = O[B], x = I.validator.toHex(); + E.has(x) || E.set(x, []), (_ = E.get(x)) === null || _ === void 0 || _.push(I.amount); + } + var A = new d(); + return A.nextEraGasPrice = 1, A.equivocators = b.eraReport.equivocators, A.inactiveValidators = b.eraReport.inactiveValidators, A.nextEraValidatorWeights = b.nextEraValidatorWeights, A.rewards = E, A; + }, r([(0, i.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(b) { + return b.map(function(_) { + return _.toJSON(); }); - }, deserializer: function(h) { - return h.map(function(O) { - return m.PublicKey.fromJSON(O); + }, deserializer: function(b) { + return b.map(function(_) { + return p.PublicKey.fromJSON(_); }); - } }), a("design:type", Array)], v.prototype, "equivocators", void 0), r([(0, i.jsonArrayMember)(m.PublicKey, { name: "inactive_validators", serializer: function(h) { - return h.map(function(O) { - return O.toJSON(); + } }), o("design:type", Array)], y.prototype, "equivocators", void 0), r([(0, i.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(b) { + return b.map(function(_) { + return _.toJSON(); }); - }, deserializer: function(h) { - return h.map(function(O) { - return m.PublicKey.fromJSON(O); + }, deserializer: function(b) { + return b.map(function(_) { + return p.PublicKey.fromJSON(_); }); - } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), r([(0, i.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), r([(0, i.jsonMapMember)(String, f.CLValueUInt512, { name: "rewards", deserializer: b.deserializeRewards, serializer: function(h) { - return (0, b.serializeRewards)(h); - } }), a("design:type", Map)], v.prototype, "rewards", void 0), r([(0, i.jsonMember)({ name: "next_era_gas_price", constructor: Number }), a("design:type", Number)], v.prototype, "nextEraGasPrice", void 0), p = r([i.jsonObject, a("design:paramtypes", [Array, Array, Array, Map, Object])], v); - }(); - n.EraEnd = s; - }, 5495: function(x, n, c) { - var r = this && this.__decorate || function(v, p, h, O) { - var I, k = arguments.length, R = k < 3 ? p : O === null ? O = Object.getOwnPropertyDescriptor(p, h) : O; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(v, p, h, O); - else for (var L = v.length - 1; L >= 0; L--) (I = v[L]) && (R = (k < 3 ? I(R) : k > 3 ? I(p, h, R) : I(p, h)) || R); - return k > 3 && R && Object.defineProperty(p, h, R), R; - }, a = this && this.__metadata || function(v, p) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, p); + } }), o("design:type", Array)], y.prototype, "inactiveValidators", void 0), r([(0, i.jsonArrayMember)(a.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), o("design:type", Array)], y.prototype, "nextEraValidatorWeights", void 0), r([(0, i.jsonMapMember)(String, f.CLValueUInt512, { name: "rewards", deserializer: C.deserializeRewards, serializer: function(b) { + return (0, C.serializeRewards)(b); + } }), o("design:type", Map)], y.prototype, "rewards", void 0), r([(0, i.jsonMember)({ name: "next_era_gas_price", constructor: Number }), o("design:type", Number)], y.prototype, "nextEraGasPrice", void 0), d = r([i.jsonObject, o("design:paramtypes", [Array, Array, Array, Map, Object])], y); + }(); + n.EraEnd = u; + }, 5495(g, n, s) { + var r = this && this.__decorate || function(y, d, b, _) { + var E, B = arguments.length, O = B < 3 ? d : _ === null ? _ = Object.getOwnPropertyDescriptor(d, b) : _; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(y, d, b, _); + else for (var I = y.length - 1; I >= 0; I--) (E = y[I]) && (O = (B < 3 ? E(O) : B > 3 ? E(d, b, O) : E(d, b)) || O); + return B > 3 && O && Object.defineProperty(d, b, O), O; + }, o = this && this.__metadata || function(y, d) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, d); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.EraInfo = n.SeigniorageAllocation = n.DelegatorData = n.ValidatorAllocation = n.DelegatorAllocation = void 0; - var i = c(9592), m = c(9449), t = c(5466), f = c(2142), b = function() { - function v(p, h, O) { - this.delegatorKind = p, this.validatorPublicKey = h, this.amount = O; - } - return r([(0, i.jsonMember)({ name: "delegator_kind", constructor: f.DelegationKind, deserializer: function(p) { - if (p) return f.DelegationKind.fromJSON(p); - } }), a("design:type", f.DelegationKind)], v.prototype, "delegatorKind", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(p) { - return m.PublicKey.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", m.PublicKey)], v.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(p) { - return t.CLValueUInt512.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), r([i.jsonObject, a("design:paramtypes", [f.DelegationKind, m.PublicKey, t.CLValueUInt512])], v); - }(); - n.DelegatorAllocation = b; - var y = function() { - function v(p, h) { - this.validatorPublicKey = p, this.amount = h; - } - return r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(p) { - if (p) return m.PublicKey.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", m.PublicKey)], v.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(p) { - if (p) return t.CLValueUInt512.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), r([i.jsonObject, a("design:paramtypes", [m.PublicKey, t.CLValueUInt512])], v); - }(); - n.ValidatorAllocation = y; - var u = function() { - function v() { + var i = s(9592), p = s(9449), a = s(5466), f = s(2142), C = function() { + function y(d, b, _) { + this.delegatorKind = d, this.validatorPublicKey = b, this.amount = _; + } + return r([(0, i.jsonMember)({ name: "delegator_kind", constructor: f.DelegationKind, deserializer: function(d) { + if (d) return f.DelegationKind.fromJSON(d); + } }), o("design:type", f.DelegationKind)], y.prototype, "delegatorKind", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(d) { + return p.PublicKey.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", p.PublicKey)], y.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: a.CLValueUInt512, deserializer: function(d) { + return a.CLValueUInt512.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", a.CLValueUInt512)], y.prototype, "amount", void 0), r([i.jsonObject, o("design:paramtypes", [f.DelegationKind, p.PublicKey, a.CLValueUInt512])], y); + }(); + n.DelegatorAllocation = C; + var w = function() { + function y(d, b) { + this.validatorPublicKey = d, this.amount = b; } - return r([(0, i.jsonMember)({ name: "delegator_public_key", constructor: m.PublicKey, deserializer: function(p) { - if (p) return m.PublicKey.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", m.PublicKey)], v.prototype, "delegatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: m.PublicKey, deserializer: function(p) { - if (p) return m.PublicKey.fromJSON(p); - }, serializer: function(p) { - if (p) return p.toJSON(); - } }), a("design:type", m.PublicKey)], v.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(p) { - return t.CLValueUInt512.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), r([i.jsonObject], v); - }(); - n.DelegatorData = u; - var d = function() { - function v() { + return r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(d) { + if (d) return p.PublicKey.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", p.PublicKey)], y.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: a.CLValueUInt512, deserializer: function(d) { + if (d) return a.CLValueUInt512.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", a.CLValueUInt512)], y.prototype, "amount", void 0), r([i.jsonObject, o("design:paramtypes", [p.PublicKey, a.CLValueUInt512])], y); + }(); + n.ValidatorAllocation = w; + var m = function() { + function y() { + } + return r([(0, i.jsonMember)({ name: "delegator_public_key", constructor: p.PublicKey, deserializer: function(d) { + if (d) return p.PublicKey.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", p.PublicKey)], y.prototype, "delegatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(d) { + if (d) return p.PublicKey.fromJSON(d); + }, serializer: function(d) { + if (d) return d.toJSON(); + } }), o("design:type", p.PublicKey)], y.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: a.CLValueUInt512, deserializer: function(d) { + return a.CLValueUInt512.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", a.CLValueUInt512)], y.prototype, "amount", void 0), r([i.jsonObject], y); + }(); + n.DelegatorData = m; + var v = function() { + function y() { } - return r([(0, i.jsonMember)({ name: "Validator", constructor: y }), a("design:type", y)], v.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "DelegatorKind", constructor: b }), a("design:type", b)], v.prototype, "delegatorKind", void 0), r([(0, i.jsonMember)({ name: "Delegator", constructor: u }), a("design:type", u)], v.prototype, "delegator", void 0), r([i.jsonObject], v); + return r([(0, i.jsonMember)({ name: "Validator", constructor: w }), o("design:type", w)], y.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "DelegatorKind", constructor: C }), o("design:type", C)], y.prototype, "delegatorKind", void 0), r([(0, i.jsonMember)({ name: "Delegator", constructor: m }), o("design:type", m)], y.prototype, "delegator", void 0), r([i.jsonObject], y); }(), l = function() { - function v(h, O) { - this.validator = h, this.delegator = O; + function y(b, _) { + this.validator = b, this.delegator = _; } - var p; - return p = v, v.fromJSON = function(h) { - var O, I, k; - if (!h) throw new Error("Invalid JSON for SeigniorageAllocation: ".concat(h)); - var R = new i.TypedJSON(d).parse(h); - if (!R) throw new Error("Failed to parse JSON"); - var L = new p(); - if (R?.delegator) { - var N = new f.DelegationKind(); - N.publicKey = (O = R?.delegator) === null || O === void 0 ? void 0 : O.delegatorPublicKey, L.delegator = new b(N, (I = R?.delegator) === null || I === void 0 ? void 0 : I.validatorPublicKey, (k = R?.delegator) === null || k === void 0 ? void 0 : k.amount); - } else if (R.validator) L.validator = R.validator; + var d; + return d = y, y.fromJSON = function(b) { + var _, E, B; + if (!b) throw new Error("Invalid JSON for SeigniorageAllocation: ".concat(b)); + var O = new i.TypedJSON(v).parse(b); + if (!O) throw new Error("Failed to parse JSON"); + var I = new d(); + if (O?.delegator) { + var x = new f.DelegationKind(); + x.publicKey = (_ = O?.delegator) === null || _ === void 0 ? void 0 : _.delegatorPublicKey, I.delegator = new C(x, (E = O?.delegator) === null || E === void 0 ? void 0 : E.validatorPublicKey, (B = O?.delegator) === null || B === void 0 ? void 0 : B.amount); + } else if (O.validator) I.validator = O.validator; else { - if (!R.delegatorKind) throw new Error("incorrect SeigniorageAllocation format structure"); - L.delegator = R.delegatorKind; + if (!O.delegatorKind) throw new Error("incorrect SeigniorageAllocation format structure"); + I.delegator = O.delegatorKind; } - return L; - }, r([(0, i.jsonMember)({ name: "Validator", constructor: y }), a("design:type", y)], v.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "DelegatorKind", constructor: b }), a("design:type", b)], v.prototype, "delegator", void 0), p = r([i.jsonObject, a("design:paramtypes", [y, b])], v); + return I; + }, r([(0, i.jsonMember)({ name: "Validator", constructor: w }), o("design:type", w)], y.prototype, "validator", void 0), r([(0, i.jsonMember)({ name: "DelegatorKind", constructor: C }), o("design:type", C)], y.prototype, "delegator", void 0), d = r([i.jsonObject, o("design:paramtypes", [w, C])], y); }(); n.SeigniorageAllocation = l; - var s = function() { - function v(p) { - p === void 0 && (p = []), this.seigniorageAllocations = p; + var u = function() { + function y(d) { + d === void 0 && (d = []), this.seigniorageAllocations = d; } - return r([(0, i.jsonArrayMember)(l, { name: "seigniorage_allocations", deserializer: function(p) { - if (p) return p.map(function(h) { - return l.fromJSON(h); + return r([(0, i.jsonArrayMember)(l, { name: "seigniorage_allocations", deserializer: function(d) { + if (d) return d.map(function(b) { + return l.fromJSON(b); }); - } }), a("design:type", Array)], v.prototype, "seigniorageAllocations", void 0), r([i.jsonObject, a("design:paramtypes", [Array])], v); - }(); - n.EraInfo = s; - }, 8179: function(x, n, c) { - var r = this && this.__decorate || function(b, y, u, d) { - var l, s = arguments.length, v = s < 3 ? y : d === null ? d = Object.getOwnPropertyDescriptor(y, u) : d; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, d); - else for (var p = b.length - 1; p >= 0; p--) (l = b[p]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + } }), o("design:type", Array)], y.prototype, "seigniorageAllocations", void 0), r([i.jsonObject, o("design:paramtypes", [Array])], y); + }(); + n.EraInfo = u; + }, 8179(g, n, s) { + var r = this && this.__decorate || function(C, w, m, v) { + var l, u = arguments.length, y = u < 3 ? w : v === null ? v = Object.getOwnPropertyDescriptor(w, m) : v; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") y = Reflect.decorate(C, w, m, v); + else for (var d = C.length - 1; d >= 0; d--) (l = C[d]) && (y = (u < 3 ? l(y) : u > 3 ? l(w, m, y) : l(w, m)) || y); + return u > 3 && y && Object.defineProperty(w, m, y), y; + }, o = this && this.__metadata || function(C, w) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(C, w); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.EraSummary = void 0; - var i = c(9592), m = c(3401), t = c(121), f = function() { - function b(y, u, d, l, s) { - this.blockHash = y, this.eraID = u, this.storedValue = d, this.stateRootHash = l, this.merkleProof = s; + var i = s(9592), p = s(3401), a = s(121), f = function() { + function C(w, m, v, l, u) { + this.blockHash = w, this.eraID = m, this.storedValue = v, this.stateRootHash = l, this.merkleProof = u; } - return r([(0, i.jsonMember)({ name: "block_hash", constructor: m.Hash, deserializer: function(y) { - return m.Hash.fromJSON(y); - }, serializer: function(y) { - return y.toJSON(); - } }), a("design:type", m.Hash)], b.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], b.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: t.StoredValue }), a("design:type", t.StoredValue)], b.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: m.Hash, deserializer: function(y) { - return m.Hash.fromJSON(y); - }, serializer: function(y) { - return y.toJSON(); - } }), a("design:type", m.Hash)], b.prototype, "stateRootHash", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], b.prototype, "merkleProof", void 0), r([i.jsonObject, a("design:paramtypes", [m.Hash, Number, t.StoredValue, m.Hash, String])], b); + return r([(0, i.jsonMember)({ name: "block_hash", constructor: p.Hash, deserializer: function(w) { + return p.Hash.fromJSON(w); + }, serializer: function(w) { + return w.toJSON(); + } }), o("design:type", p.Hash)], C.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], C.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "stored_value", constructor: a.StoredValue }), o("design:type", a.StoredValue)], C.prototype, "storedValue", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: p.Hash, deserializer: function(w) { + return p.Hash.fromJSON(w); + }, serializer: function(w) { + return w.toJSON(); + } }), o("design:type", p.Hash)], C.prototype, "stateRootHash", void 0), r([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), o("design:type", String)], C.prototype, "merkleProof", void 0), r([i.jsonObject, o("design:paramtypes", [p.Hash, Number, a.StoredValue, p.Hash, String])], C); }(); n.EraSummary = f; - }, 2625: function(x, n, c) { - var r = this && this.__decorate || function(R, L, N, B) { - var H, U = arguments.length, S = U < 3 ? L : B === null ? B = Object.getOwnPropertyDescriptor(L, N) : B; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") S = Reflect.decorate(R, L, N, B); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (S = (U < 3 ? H(S) : U > 3 ? H(L, N, S) : H(L, N)) || S); - return U > 3 && S && Object.defineProperty(L, N, S), S; - }, a = this && this.__metadata || function(R, L) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); + }, 2625(g, n, s) { + var r = this && this.__decorate || function(O, I, x, A) { + var N, k = arguments.length, j = k < 3 ? I : A === null ? A = Object.getOwnPropertyDescriptor(I, x) : A; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") j = Reflect.decorate(O, I, x, A); + else for (var D = O.length - 1; D >= 0; D--) (N = O[D]) && (j = (k < 3 ? N(j) : k > 3 ? N(I, x, j) : N(I, x)) || j); + return k > 3 && j && Object.defineProperty(I, x, j), j; + }, o = this && this.__metadata || function(O, I) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(O, I); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.ExecutableDeployItem = n.TransferDeployItem = n.StoredVersionedContractByName = n.StoredVersionedContractByHash = n.StoredContractByName = n.StoredContractByHash = n.ModuleBytes = void 0; - var i, m = c(9592), t = c(6077), f = c(8905), b = c(9960), y = c(5466), u = c(3401), d = c(2428), l = c(9449); - (function(R) { - R[R.ModuleBytes = 0] = "ModuleBytes", R[R.StoredContractByHash = 1] = "StoredContractByHash", R[R.StoredContractByName = 2] = "StoredContractByName", R[R.StoredVersionedContractByHash = 3] = "StoredVersionedContractByHash", R[R.StoredVersionedContractByName = 4] = "StoredVersionedContractByName", R[R.Transfer = 5] = "Transfer"; + var i, p = s(9592), a = s(6077), f = s(8905), C = s(9960), w = s(5466), m = s(3401), v = s(2428), l = s(9449); + (function(O) { + O[O.ModuleBytes = 0] = "ModuleBytes", O[O.StoredContractByHash = 1] = "StoredContractByHash", O[O.StoredContractByName = 2] = "StoredContractByName", O[O.StoredVersionedContractByHash = 3] = "StoredVersionedContractByHash", O[O.StoredVersionedContractByName = 4] = "StoredVersionedContractByName", O[O.Transfer = 5] = "Transfer"; })(i || (i = {})); - var s = function() { - function R(L, N) { - this.moduleBytes = L, this.args = N; + var u = function() { + function O(I, x) { + this.moduleBytes = I, this.args = x; } - return R.prototype.bytes = function() { - var L = y.CLValue.newCLUInt32(t.BigNumber.from(this.moduleBytes.length)).bytes(), N = y.CLValue.newCLByteArray(this.moduleBytes).bytes(), B = (0, f.concat)([L, N]); + return O.prototype.bytes = function() { + var I = w.CLValue.newCLUInt32(a.BigNumber.from(this.moduleBytes.length)).bytes(), x = w.CLValue.newCLByteArray(this.moduleBytes).bytes(), A = (0, f.concat)([I, x]); if (this.args) { - var H = this.args.toBytes(); - B = (0, f.concat)([B, H]); + var N = this.args.toBytes(); + A = (0, f.concat)([A, N]); } - return B; - }, r([(0, m.jsonMember)({ name: "module_bytes", constructor: Uint8Array, serializer: function(L) { - return (0, d.byteArrayJsonSerializer)(L); - }, deserializer: d.byteArrayJsonDeserializer }), a("design:type", Uint8Array)], R.prototype, "moduleBytes", void 0), r([(0, m.jsonMember)(function() { - return b.Args; - }, { deserializer: d.deserializeArgs, serializer: function(L) { - return (0, d.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), r([m.jsonObject, a("design:paramtypes", [Uint8Array, b.Args])], R); - }(); - n.ModuleBytes = s; - var v = function() { - function R(L, N, B) { - this.hash = L, this.entryPoint = N, this.args = B; - } - return R.prototype.bytes = function() { - var L = this.hash.hash.toBytes(), N = y.CLValue.newCLString(this.entryPoint).bytes(), B = this.args.toBytes(); - return (0, f.concat)([L, N, B]); - }, r([(0, m.jsonMember)({ name: "hash", constructor: u.ContractHash, deserializer: function(L) { - return u.ContractHash.fromJSON(L); - }, serializer: function(L) { - return L.toJSON(); - } }), a("design:type", u.ContractHash)], R.prototype, "hash", void 0), r([(0, m.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), r([(0, m.jsonMember)(function() { - return b.Args; - }, { deserializer: d.deserializeArgs, serializer: function(L) { - return (0, d.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), r([m.jsonObject, a("design:paramtypes", [u.ContractHash, String, b.Args])], R); - }(); - n.StoredContractByHash = v; - var p = function() { - function R(L, N, B) { - this.name = L, this.entryPoint = N, this.args = B; - } - return R.prototype.bytes = function() { - var L = y.CLValue.newCLString(this.name).bytes(), N = y.CLValue.newCLString(this.entryPoint).bytes(), B = this.args.toBytes(); - return (0, f.concat)([L, N, B]); - }, r([(0, m.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], R.prototype, "name", void 0), r([(0, m.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), r([(0, m.jsonMember)(function() { - return b.Args; - }, { deserializer: d.deserializeArgs, serializer: function(L) { - return (0, d.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), r([m.jsonObject, a("design:paramtypes", [String, String, b.Args])], R); - }(); - n.StoredContractByName = p; - var h = function() { - function R(L, N, B, H) { - this.hash = L, this.entryPoint = N, this.version = H, this.args = B; - } - return R.prototype.bytes = function() { - var L, N = this.hash.hash.toBytes(), B = new y.CLValueOption(this.version ? y.CLValue.newCLUInt32(t.BigNumber.from(this.version)) : null).bytes(), H = y.CLValue.newCLString(this.entryPoint).bytes(), U = ((L = this.args) === null || L === void 0 ? void 0 : L.toBytes()) || new Uint8Array(); - return (0, f.concat)([N, B, H, U]); - }, r([(0, m.jsonMember)({ name: "hash", constructor: u.ContractHash, deserializer: function(L) { - return u.ContractHash.fromJSON(L); - }, serializer: function(L) { - return L.toJSON(); - } }), a("design:type", u.ContractHash)], R.prototype, "hash", void 0), r([(0, m.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), r([(0, m.jsonMember)(function() { - return b.Args; - }, { deserializer: d.deserializeArgs, serializer: function(L) { - return (0, d.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), r([(0, m.jsonMember)({ name: "version", constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), r([m.jsonObject, a("design:paramtypes", [u.ContractHash, String, b.Args, Number])], R); - }(); - n.StoredVersionedContractByHash = h; - var O = function() { - function R(L, N, B, H) { - this.name = L, this.entryPoint = N, this.version = H, this.args = B; - } - return R.prototype.bytes = function() { - var L, N = y.CLValue.newCLString(this.name).bytes(), B = new y.CLValueOption(this.version ? y.CLValue.newCLUInt32(t.BigNumber.from(this.version)) : null).bytes(), H = y.CLValue.newCLString(this.entryPoint).bytes(), U = ((L = this.args) === null || L === void 0 ? void 0 : L.toBytes()) || new Uint8Array(); - return (0, f.concat)([N, B, H, U]); - }, r([(0, m.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], R.prototype, "name", void 0), r([(0, m.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), r([(0, m.jsonMember)({ name: "version", constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), r([(0, m.jsonMember)(function() { - return b.Args; - }, { deserializer: d.deserializeArgs, serializer: function(L) { - return (0, d.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), r([m.jsonObject, a("design:paramtypes", [String, String, b.Args, Number])], R); - }(); - n.StoredVersionedContractByName = O; - var I = function() { - function R(N) { - this.args = N; - } - var L; - return L = R, R.newTransfer = function(N, B, H, U) { - H === void 0 && (H = null); - var S = b.Args.fromMap({}); - if (S.insert("amount", y.CLValue.newCLUInt512(N)), H && S.insert("source", y.CLValue.newCLUref(H)), B instanceof u.URef) S.insert("target", y.CLValue.newCLUref(B)); + return A; + }, r([(0, p.jsonMember)({ name: "module_bytes", constructor: Uint8Array, serializer: function(I) { + return (0, v.byteArrayJsonSerializer)(I); + }, deserializer: v.byteArrayJsonDeserializer }), o("design:type", Uint8Array)], O.prototype, "moduleBytes", void 0), r([(0, p.jsonMember)(function() { + return C.Args; + }, { deserializer: v.deserializeArgs, serializer: function(I) { + return (0, v.serializeArgs)(I, !1); + } }), o("design:type", C.Args)], O.prototype, "args", void 0), r([p.jsonObject, o("design:paramtypes", [Uint8Array, C.Args])], O); + }(); + n.ModuleBytes = u; + var y = function() { + function O(I, x, A) { + this.hash = I, this.entryPoint = x, this.args = A; + } + return O.prototype.bytes = function() { + var I = this.hash.hash.toBytes(), x = w.CLValue.newCLString(this.entryPoint).bytes(), A = this.args.toBytes(); + return (0, f.concat)([I, x, A]); + }, r([(0, p.jsonMember)({ name: "hash", constructor: m.ContractHash, deserializer: function(I) { + return m.ContractHash.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), o("design:type", m.ContractHash)], O.prototype, "hash", void 0), r([(0, p.jsonMember)({ name: "entry_point", constructor: String }), o("design:type", String)], O.prototype, "entryPoint", void 0), r([(0, p.jsonMember)(function() { + return C.Args; + }, { deserializer: v.deserializeArgs, serializer: function(I) { + return (0, v.serializeArgs)(I, !1); + } }), o("design:type", C.Args)], O.prototype, "args", void 0), r([p.jsonObject, o("design:paramtypes", [m.ContractHash, String, C.Args])], O); + }(); + n.StoredContractByHash = y; + var d = function() { + function O(I, x, A) { + this.name = I, this.entryPoint = x, this.args = A; + } + return O.prototype.bytes = function() { + var I = w.CLValue.newCLString(this.name).bytes(), x = w.CLValue.newCLString(this.entryPoint).bytes(), A = this.args.toBytes(); + return (0, f.concat)([I, x, A]); + }, r([(0, p.jsonMember)({ name: "name", constructor: String }), o("design:type", String)], O.prototype, "name", void 0), r([(0, p.jsonMember)({ name: "entry_point", constructor: String }), o("design:type", String)], O.prototype, "entryPoint", void 0), r([(0, p.jsonMember)(function() { + return C.Args; + }, { deserializer: v.deserializeArgs, serializer: function(I) { + return (0, v.serializeArgs)(I, !1); + } }), o("design:type", C.Args)], O.prototype, "args", void 0), r([p.jsonObject, o("design:paramtypes", [String, String, C.Args])], O); + }(); + n.StoredContractByName = d; + var b = function() { + function O(I, x, A, N) { + this.hash = I, this.entryPoint = x, this.version = N, this.args = A; + } + return O.prototype.bytes = function() { + var I, x = this.hash.hash.toBytes(), A = new w.CLValueOption(this.version ? w.CLValue.newCLUInt32(a.BigNumber.from(this.version)) : null).bytes(), N = w.CLValue.newCLString(this.entryPoint).bytes(), k = ((I = this.args) === null || I === void 0 ? void 0 : I.toBytes()) || new Uint8Array(); + return (0, f.concat)([x, A, N, k]); + }, r([(0, p.jsonMember)({ name: "hash", constructor: m.ContractHash, deserializer: function(I) { + return m.ContractHash.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), o("design:type", m.ContractHash)], O.prototype, "hash", void 0), r([(0, p.jsonMember)({ name: "entry_point", constructor: String }), o("design:type", String)], O.prototype, "entryPoint", void 0), r([(0, p.jsonMember)(function() { + return C.Args; + }, { deserializer: v.deserializeArgs, serializer: function(I) { + return (0, v.serializeArgs)(I, !1); + } }), o("design:type", C.Args)], O.prototype, "args", void 0), r([(0, p.jsonMember)({ name: "version", constructor: Number }), o("design:type", Number)], O.prototype, "version", void 0), r([p.jsonObject, o("design:paramtypes", [m.ContractHash, String, C.Args, Number])], O); + }(); + n.StoredVersionedContractByHash = b; + var _ = function() { + function O(I, x, A, N) { + this.name = I, this.entryPoint = x, this.version = N, this.args = A; + } + return O.prototype.bytes = function() { + var I, x = w.CLValue.newCLString(this.name).bytes(), A = new w.CLValueOption(this.version ? w.CLValue.newCLUInt32(a.BigNumber.from(this.version)) : null).bytes(), N = w.CLValue.newCLString(this.entryPoint).bytes(), k = ((I = this.args) === null || I === void 0 ? void 0 : I.toBytes()) || new Uint8Array(); + return (0, f.concat)([x, A, N, k]); + }, r([(0, p.jsonMember)({ name: "name", constructor: String }), o("design:type", String)], O.prototype, "name", void 0), r([(0, p.jsonMember)({ name: "entry_point", constructor: String }), o("design:type", String)], O.prototype, "entryPoint", void 0), r([(0, p.jsonMember)({ name: "version", constructor: Number }), o("design:type", Number)], O.prototype, "version", void 0), r([(0, p.jsonMember)(function() { + return C.Args; + }, { deserializer: v.deserializeArgs, serializer: function(I) { + return (0, v.serializeArgs)(I, !1); + } }), o("design:type", C.Args)], O.prototype, "args", void 0), r([p.jsonObject, o("design:paramtypes", [String, String, C.Args, Number])], O); + }(); + n.StoredVersionedContractByName = _; + var E = function() { + function O(x) { + this.args = x; + } + var I; + return I = O, O.newTransfer = function(x, A, N, k) { + N === void 0 && (N = null); + var j = C.Args.fromMap({}); + if (j.insert("amount", w.CLValue.newCLUInt512(x)), N && j.insert("source", w.CLValue.newCLUref(N)), A instanceof m.URef) j.insert("target", w.CLValue.newCLUref(A)); else { - if (!(B instanceof l.PublicKey)) throw new Error("Please specify target"); - S.insert("target", y.CLValue.newCLPublicKey(B)); + if (!(A instanceof l.PublicKey)) throw new Error("Please specify target"); + j.insert("target", w.CLValue.newCLPublicKey(A)); } - var T = new y.CLTypeOption(y.CLTypeUInt64), E = new y.CLValue(T); - return E.option = new y.CLValueOption(null, T), S.insert("id", U ? y.CLValue.newCLOption(y.CLValue.newCLUint64(U)) : E), new L(S); - }, R.prototype.bytes = function() { + var D = new w.CLTypeOption(w.CLTypeUInt64), T = new w.CLValue(D); + return T.option = new w.CLValueOption(null, D), j.insert("id", k ? w.CLValue.newCLOption(w.CLValue.newCLUint64(k)) : T), new I(j); + }, O.prototype.bytes = function() { return this.args.toBytes(); - }, r([(0, m.jsonMember)(function() { - return b.Args; - }, { deserializer: d.deserializeArgs, serializer: function(N) { - return (0, d.serializeArgs)(N, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), L = r([m.jsonObject, a("design:paramtypes", [b.Args])], R); + }, r([(0, p.jsonMember)(function() { + return C.Args; + }, { deserializer: v.deserializeArgs, serializer: function(x) { + return (0, v.serializeArgs)(x, !1); + } }), o("design:type", C.Args)], O.prototype, "args", void 0), I = r([p.jsonObject, o("design:paramtypes", [C.Args])], O); }(); - n.TransferDeployItem = I; - var k = function() { - function R() { + n.TransferDeployItem = E; + var B = function() { + function O() { } - var L; - return L = R, R.prototype.getArgByName = function(N) { - return this.getArgs().args.get(N); - }, R.prototype.setArg = function(N, B) { - this.getArgs().insert(N, B); - }, R.prototype.getArgs = function() { + var I; + return I = O, O.prototype.getArgByName = function(x) { + return this.getArgs().args.get(x); + }, O.prototype.setArg = function(x, A) { + this.getArgs().insert(x, A); + }, O.prototype.getArgs = function() { if (this.moduleBytes) return this.moduleBytes.args; if (this.storedContractByHash) return this.storedContractByHash.args; if (this.storedContractByName) return this.storedContractByName.args; @@ -25016,539 +24061,539 @@ function B6() { if (this.storedVersionedContractByName) return this.storedVersionedContractByName.args; if (this.transfer) return this.transfer.args; throw new Error("failed to serialize ExecutableDeployItemJsonWrapper"); - }, R.prototype.bytes = function() { - var N; - return this.moduleBytes ? (N = this.moduleBytes.bytes(), (0, f.concat)([Uint8Array.of(i.ModuleBytes), N])) : this.storedContractByHash ? (N = this.storedContractByHash.bytes(), (0, f.concat)([Uint8Array.of(i.StoredContractByHash), N])) : this.storedContractByName ? (N = this.storedContractByName.bytes(), (0, f.concat)([Uint8Array.of(i.StoredContractByName), N])) : this.storedVersionedContractByHash ? (N = this.storedVersionedContractByHash.bytes(), (0, f.concat)([Uint8Array.of(i.StoredVersionedContractByHash), N])) : this.storedVersionedContractByName ? (N = this.storedVersionedContractByName.bytes(), (0, f.concat)([Uint8Array.of(i.StoredVersionedContractByName), N])) : this.transfer ? (N = this.transfer.bytes(), (0, f.concat)([Uint8Array.of(i.Transfer), N])) : new Uint8Array(); - }, R.standardPayment = function(N) { - var B = new L(); - return B.moduleBytes = new s(Uint8Array.from([]), b.Args.fromMap({ amount: y.CLValue.newCLUInt512(N) })), B; - }, R.prototype.asModuleBytes = function() { + }, O.prototype.bytes = function() { + var x; + return this.moduleBytes ? (x = this.moduleBytes.bytes(), (0, f.concat)([Uint8Array.of(i.ModuleBytes), x])) : this.storedContractByHash ? (x = this.storedContractByHash.bytes(), (0, f.concat)([Uint8Array.of(i.StoredContractByHash), x])) : this.storedContractByName ? (x = this.storedContractByName.bytes(), (0, f.concat)([Uint8Array.of(i.StoredContractByName), x])) : this.storedVersionedContractByHash ? (x = this.storedVersionedContractByHash.bytes(), (0, f.concat)([Uint8Array.of(i.StoredVersionedContractByHash), x])) : this.storedVersionedContractByName ? (x = this.storedVersionedContractByName.bytes(), (0, f.concat)([Uint8Array.of(i.StoredVersionedContractByName), x])) : this.transfer ? (x = this.transfer.bytes(), (0, f.concat)([Uint8Array.of(i.Transfer), x])) : new Uint8Array(); + }, O.standardPayment = function(x) { + var A = new I(); + return A.moduleBytes = new u(Uint8Array.from([]), C.Args.fromMap({ amount: w.CLValue.newCLUInt512(x) })), A; + }, O.prototype.asModuleBytes = function() { return this.moduleBytes; - }, R.prototype.isTransfer = function() { + }, O.prototype.isTransfer = function() { return !!this.transfer; - }, R.prototype.isStoredVersionContractByHash = function() { + }, O.prototype.isStoredVersionContractByHash = function() { return !!this.storedVersionedContractByHash; - }, R.prototype.isStoredVersionContractByName = function() { + }, O.prototype.isStoredVersionContractByName = function() { return !!this.storedVersionedContractByName; - }, R.prototype.isStoredContractByName = function() { + }, O.prototype.isStoredContractByName = function() { return !!this.storedContractByName; - }, R.prototype.isStoredContractByHash = function() { + }, O.prototype.isStoredContractByHash = function() { return !!this.storedContractByHash; - }, R.prototype.isModuleBytes = function() { + }, O.prototype.isModuleBytes = function() { return !!this.moduleBytes; - }, R.newModuleBytes = function(N, B) { - var H = new L(); - return H.moduleBytes = new s(N, B), H; - }, r([(0, m.jsonMember)({ name: "ModuleBytes", constructor: s }), a("design:type", s)], R.prototype, "moduleBytes", void 0), r([(0, m.jsonMember)({ name: "StoredContractByHash", constructor: v }), a("design:type", v)], R.prototype, "storedContractByHash", void 0), r([(0, m.jsonMember)({ name: "StoredContractByName", constructor: p }), a("design:type", p)], R.prototype, "storedContractByName", void 0), r([(0, m.jsonMember)({ name: "StoredVersionedContractByHash", constructor: h }), a("design:type", h)], R.prototype, "storedVersionedContractByHash", void 0), r([(0, m.jsonMember)({ name: "StoredVersionedContractByName", constructor: O }), a("design:type", O)], R.prototype, "storedVersionedContractByName", void 0), r([(0, m.jsonMember)({ name: "Transfer", constructor: I }), a("design:type", I)], R.prototype, "transfer", void 0), L = r([m.jsonObject], R); - }(); - n.ExecutableDeployItem = k; - }, 4410: function(x, n, c) { - var r = this && this.__decorate || function(N, B, H, U) { - var S, T = arguments.length, E = T < 3 ? B : U === null ? U = Object.getOwnPropertyDescriptor(B, H) : U; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(N, B, H, U); - else for (var M = N.length - 1; M >= 0; M--) (S = N[M]) && (E = (T < 3 ? S(E) : T > 3 ? S(B, H, E) : S(B, H)) || E); - return T > 3 && E && Object.defineProperty(B, H, E), E; - }, a = this && this.__metadata || function(N, B) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(N, B); + }, O.newModuleBytes = function(x, A) { + var N = new I(); + return N.moduleBytes = new u(x, A), N; + }, r([(0, p.jsonMember)({ name: "ModuleBytes", constructor: u }), o("design:type", u)], O.prototype, "moduleBytes", void 0), r([(0, p.jsonMember)({ name: "StoredContractByHash", constructor: y }), o("design:type", y)], O.prototype, "storedContractByHash", void 0), r([(0, p.jsonMember)({ name: "StoredContractByName", constructor: d }), o("design:type", d)], O.prototype, "storedContractByName", void 0), r([(0, p.jsonMember)({ name: "StoredVersionedContractByHash", constructor: b }), o("design:type", b)], O.prototype, "storedVersionedContractByHash", void 0), r([(0, p.jsonMember)({ name: "StoredVersionedContractByName", constructor: _ }), o("design:type", _)], O.prototype, "storedVersionedContractByName", void 0), r([(0, p.jsonMember)({ name: "Transfer", constructor: E }), o("design:type", E)], O.prototype, "transfer", void 0), I = r([p.jsonObject], O); + }(); + n.ExecutableDeployItem = B; + }, 4410(g, n, s) { + var r = this && this.__decorate || function(x, A, N, k) { + var j, D = arguments.length, T = D < 3 ? A : k === null ? k = Object.getOwnPropertyDescriptor(A, N) : k; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") T = Reflect.decorate(x, A, N, k); + else for (var L = x.length - 1; L >= 0; L--) (j = x[L]) && (T = (D < 3 ? j(T) : D > 3 ? j(A, N, T) : j(A, N)) || T); + return D > 3 && T && Object.defineProperty(A, N, T), T; + }, o = this && this.__metadata || function(x, A) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(x, A); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.DeployExecutionInfo = n.ExecutionInfo = n.SpeculativeExecutionResult = n.ExecutionResult = n.DeployExecutionResult = n.ExecutionResultV1 = n.ExecutionResultV2 = n.ExecutionResultStatusData = n.Effect = n.Operation = void 0; - var i = c(9592), m = c(6077), t = c(3401), f = c(3771), b = c(6838), y = c(8057), u = c(9125), d = c(3903), l = function() { - function N() { + var i = s(9592), p = s(6077), a = s(3401), f = s(3771), C = s(6838), w = s(8057), m = s(9125), v = s(3903), l = function() { + function x() { } - return r([(0, i.jsonMember)({ name: "key", constructor: t.Key, deserializer: function(B) { - if (B) return t.Key.newKey(B); - }, serializer: function(B) { - if (B) return B.toPrefixedString(); - } }), a("design:type", t.Key)], N.prototype, "key", void 0), r([(0, i.jsonMember)({ name: "kind", constructor: String }), a("design:type", String)], N.prototype, "kind", void 0), r([i.jsonObject], N); + return r([(0, i.jsonMember)({ name: "key", constructor: a.Key, deserializer: function(A) { + if (A) return a.Key.newKey(A); + }, serializer: function(A) { + if (A) return A.toPrefixedString(); + } }), o("design:type", a.Key)], x.prototype, "key", void 0), r([(0, i.jsonMember)({ name: "kind", constructor: String }), o("design:type", String)], x.prototype, "kind", void 0), r([i.jsonObject], x); }(); n.Operation = l; - var s = function() { - function N() { + var u = function() { + function x() { this.operations = [], this.transforms = []; } - return r([(0, i.jsonArrayMember)(l, { name: "operations" }), a("design:type", Array)], N.prototype, "operations", void 0), r([(0, i.jsonArrayMember)(y.TransformKey, { name: "transforms" }), a("design:type", Array)], N.prototype, "transforms", void 0), r([i.jsonObject], N); + return r([(0, i.jsonArrayMember)(l, { name: "operations" }), o("design:type", Array)], x.prototype, "operations", void 0), r([(0, i.jsonArrayMember)(w.TransformKey, { name: "transforms" }), o("design:type", Array)], x.prototype, "transforms", void 0), r([i.jsonObject], x); }(); - n.Effect = s; - var v = function() { - function N() { + n.Effect = u; + var y = function() { + function x() { this.transfers = []; } - return r([(0, i.jsonMember)({ name: "effect", constructor: s }), a("design:type", s)], N.prototype, "effect", void 0), r([(0, i.jsonArrayMember)(t.TransferHash, { name: "transfers", serializer: function(B) { - return B.map(function(H) { - return H.toJSON(); + return r([(0, i.jsonMember)({ name: "effect", constructor: u }), o("design:type", u)], x.prototype, "effect", void 0), r([(0, i.jsonArrayMember)(a.TransferHash, { name: "transfers", serializer: function(A) { + return A.map(function(N) { + return N.toJSON(); }); - }, deserializer: function(B) { - return B.map(function(H) { - return t.TransferHash.fromJSON(H); + }, deserializer: function(A) { + return A.map(function(N) { + return a.TransferHash.fromJSON(N); }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), r([(0, i.jsonMember)({ name: "cost", constructor: Number, deserializer: function(B) { - if (B) return m.BigNumber.from(B).toNumber(); - }, serializer: function(B) { - return m.BigNumber.from(B).toString(); - } }), a("design:type", Number)], N.prototype, "cost", void 0), r([(0, i.jsonMember)({ name: "error_message", constructor: String }), a("design:type", String)], N.prototype, "errorMessage", void 0), r([i.jsonObject], N); + } }), o("design:type", Array)], x.prototype, "transfers", void 0), r([(0, i.jsonMember)({ name: "cost", constructor: Number, deserializer: function(A) { + if (A) return p.BigNumber.from(A).toNumber(); + }, serializer: function(A) { + return p.BigNumber.from(A).toString(); + } }), o("design:type", Number)], x.prototype, "cost", void 0), r([(0, i.jsonMember)({ name: "error_message", constructor: String }), o("design:type", String)], x.prototype, "errorMessage", void 0), r([i.jsonObject], x); }(); - n.ExecutionResultStatusData = v; - var p = function() { - function N() { + n.ExecutionResultStatusData = y; + var d = function() { + function x() { this.transfers = [], this.effects = []; } - return r([(0, i.jsonMember)({ name: "initiator", constructor: f.InitiatorAddr, deserializer: function(B) { - return f.InitiatorAddr.fromJSON(B); - }, serializer: function(B) { - return B.toJSON(); - } }), a("design:type", f.InitiatorAddr)], N.prototype, "initiator", void 0), r([(0, i.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), a("design:type", String)], N.prototype, "errorMessage", void 0), r([(0, i.jsonMember)({ name: "limit", constructor: Number, deserializer: function(B) { - if (B) return m.BigNumber.from(B).toNumber(); - }, serializer: function(B) { - if (B) return m.BigNumber.from(B).toString(); - } }), a("design:type", Number)], N.prototype, "limit", void 0), r([(0, i.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(B) { - return m.BigNumber.from(B).toNumber(); - }, serializer: function(B) { - return m.BigNumber.from(B).toString(); - } }), a("design:type", Number)], N.prototype, "consumed", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(B) { - if (B) return m.BigNumber.from(B).toNumber(); - }, serializer: function(B) { - if (B) return m.BigNumber.from(B).toString(); - } }), a("design:type", Number)], N.prototype, "refund", void 0), r([(0, i.jsonMember)({ constructor: Number, name: "current_price" }), a("design:type", Number)], N.prototype, "currentPrice", void 0), r([(0, i.jsonMember)({ name: "cost", constructor: Number, deserializer: function(B) { - if (B) return m.BigNumber.from(B).toNumber(); - }, serializer: function(B) { - if (B) return m.BigNumber.from(B).toString(); - } }), a("design:type", Number)], N.prototype, "cost", void 0), r([(0, i.jsonMember)({ name: "payment", constructor: i.AnyT }), a("design:type", Object)], N.prototype, "payment", void 0), r([(0, i.jsonArrayMember)(b.Transfer, { name: "transfers", deserializer: function(B) { - return B.map(function(H) { - return b.Transfer.fromJSON(H); + return r([(0, i.jsonMember)({ name: "initiator", constructor: f.InitiatorAddr, deserializer: function(A) { + return f.InitiatorAddr.fromJSON(A); + }, serializer: function(A) { + return A.toJSON(); + } }), o("design:type", f.InitiatorAddr)], x.prototype, "initiator", void 0), r([(0, i.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), o("design:type", String)], x.prototype, "errorMessage", void 0), r([(0, i.jsonMember)({ name: "limit", constructor: Number, deserializer: function(A) { + if (A) return p.BigNumber.from(A).toNumber(); + }, serializer: function(A) { + if (A) return p.BigNumber.from(A).toString(); + } }), o("design:type", Number)], x.prototype, "limit", void 0), r([(0, i.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(A) { + return p.BigNumber.from(A).toNumber(); + }, serializer: function(A) { + return p.BigNumber.from(A).toString(); + } }), o("design:type", Number)], x.prototype, "consumed", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(A) { + if (A) return p.BigNumber.from(A).toNumber(); + }, serializer: function(A) { + if (A) return p.BigNumber.from(A).toString(); + } }), o("design:type", Number)], x.prototype, "refund", void 0), r([(0, i.jsonMember)({ constructor: Number, name: "current_price" }), o("design:type", Number)], x.prototype, "currentPrice", void 0), r([(0, i.jsonMember)({ name: "cost", constructor: Number, deserializer: function(A) { + if (A) return p.BigNumber.from(A).toNumber(); + }, serializer: function(A) { + if (A) return p.BigNumber.from(A).toString(); + } }), o("design:type", Number)], x.prototype, "cost", void 0), r([(0, i.jsonMember)({ name: "payment", constructor: i.AnyT }), o("design:type", Object)], x.prototype, "payment", void 0), r([(0, i.jsonArrayMember)(C.Transfer, { name: "transfers", deserializer: function(A) { + return A.map(function(N) { + return C.Transfer.fromJSON(N); }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), r([(0, i.jsonMember)({ name: "size_estimate", constructor: Number }), a("design:type", Number)], N.prototype, "sizeEstimate", void 0), r([(0, i.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], N.prototype, "effects", void 0), r([i.jsonObject], N); + } }), o("design:type", Array)], x.prototype, "transfers", void 0), r([(0, i.jsonMember)({ name: "size_estimate", constructor: Number }), o("design:type", Number)], x.prototype, "sizeEstimate", void 0), r([(0, i.jsonArrayMember)(w.Transform, { name: "effects" }), o("design:type", Array)], x.prototype, "effects", void 0), r([i.jsonObject], x); }(); - n.ExecutionResultV2 = p; - var h = function() { - function N() { + n.ExecutionResultV2 = d; + var b = function() { + function x() { } - return r([(0, i.jsonMember)({ name: "Success", constructor: v }), a("design:type", v)], N.prototype, "success", void 0), r([(0, i.jsonMember)({ name: "Failure", constructor: v }), a("design:type", v)], N.prototype, "failure", void 0), r([i.jsonObject], N); + return r([(0, i.jsonMember)({ name: "Success", constructor: y }), o("design:type", y)], x.prototype, "success", void 0), r([(0, i.jsonMember)({ name: "Failure", constructor: y }), o("design:type", y)], x.prototype, "failure", void 0), r([i.jsonObject], x); }(); - n.ExecutionResultV1 = h; - var O = function() { - function N() { + n.ExecutionResultV1 = b; + var _ = function() { + function x() { } - return r([(0, i.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(B) { - return t.Hash.fromJSON(B); - }, serializer: function(B) { - return B.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "result", constructor: h }), a("design:type", h)], N.prototype, "result", void 0), r([i.jsonObject], N); + return r([(0, i.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(A) { + return a.Hash.fromJSON(A); + }, serializer: function(A) { + return A.toJSON(); + } }), o("design:type", a.Hash)], x.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "result", constructor: b }), o("design:type", b)], x.prototype, "result", void 0), r([i.jsonObject], x); }(); - n.DeployExecutionResult = O; - var I = function() { - function N() { + n.DeployExecutionResult = _; + var E = function() { + function x() { this.transfers = [], this.effects = []; } - var B; - return B = N, N.fromJSON = function(H) { - if (H?.Version2) { - var U = i.TypedJSON.parse(H.Version2, p); - if (U) { - var S = new B(); - return S.initiator = U.initiator, S.errorMessage = U.errorMessage, S.limit = U.limit, S.consumed = U.consumed, S.cost = U.cost, S.payment = U.payment, S.transfers = U.transfers, S.sizeEstimate = U.sizeEstimate, S.effects = U.effects, S.currentPrice = U?.currentPrice, S.refund = U?.refund, S.originExecutionResultV2 = U, S; + var A; + return A = x, x.fromJSON = function(N) { + if (N?.Version2) { + var k = i.TypedJSON.parse(N.Version2, d); + if (k) { + var j = new A(); + return j.initiator = k.initiator, j.errorMessage = k.errorMessage, j.limit = k.limit, j.consumed = k.consumed, j.cost = k.cost, j.payment = k.payment, j.transfers = k.transfers, j.sizeEstimate = k.sizeEstimate, j.effects = k.effects, j.currentPrice = k?.currentPrice, j.refund = k?.refund, j.originExecutionResultV2 = k, j; } - } else if (H?.Version1) { - var T = i.TypedJSON.parse(H.Version1, h); - if (T) return B.fromV1(T); + } else if (N?.Version1) { + var D = i.TypedJSON.parse(N.Version1, b); + if (D) return A.fromV1(D); } throw new Error("Incorrect RPC response structure"); - }, N.fromV1 = function(H) { - var U = new B(), S = [], T = []; - if (H.success) { - for (var E = 0, M = H.success.effect.transforms; E < M.length; E++) { - var _ = M[E]; - if (S.push(new y.Transform(_.key, _.transform)), _.transform.isWriteTransfer()) { - var w = _.transform.parseAsWriteTransfer(); - if (w) { - var A = new b.Transfer(); - A.amount = w.amount, A.transactionHash = u.TransactionHash.fromDeployHash(w?.deployHash), A.from = new f.InitiatorAddr(void 0, w.from), A.gas = w.gas, A.id = w.id, A.source = w.source, A.target = w.target, A.to = w.to, T.push(A); + }, x.fromV1 = function(N) { + var k = new A(), j = [], D = []; + if (N.success) { + for (var T = 0, L = N.success.effect.transforms; T < L.length; T++) { + var R = L[T]; + if (j.push(new w.Transform(R.key, R.transform)), R.transform.isWriteTransfer()) { + var M = R.transform.parseAsWriteTransfer(); + if (M) { + var P = new C.Transfer(); + P.amount = M.amount, P.transactionHash = m.TransactionHash.fromDeployHash(M?.deployHash), P.from = new f.InitiatorAddr(void 0, M.from), P.gas = M.gas, P.id = M.id, P.source = M.source, P.target = M.target, P.to = M.to, D.push(P); } } } - return U.limit = 0, U.consumed = H.success.cost, U.cost = H.success.cost, U.payment = null, U.transfers = T, U.effects = S, U.refund = 0, U.currentPrice = 1, U.originExecutionResultV1 = H, U; + return k.limit = 0, k.consumed = N.success.cost, k.cost = N.success.cost, k.payment = null, k.transfers = D, k.effects = j, k.refund = 0, k.currentPrice = 1, k.originExecutionResultV1 = N, k; } - if (H.failure) { - for (var j = 0, V = H.failure.effect.transforms; j < V.length; j++) _ = V[j], S.push(new y.Transform(_.key, _.transform)); - return U.errorMessage = H.failure.errorMessage, U.consumed = H.failure.cost, U.effects = S, U.originExecutionResultV1 = H, U; + if (N.failure) { + for (var H = 0, K = N.failure.effect.transforms; H < K.length; H++) R = K[H], j.push(new w.Transform(R.key, R.transform)); + return k.errorMessage = N.failure.errorMessage, k.consumed = N.failure.cost, k.effects = j, k.originExecutionResultV1 = N, k; } throw new Error("Invalid ExecutionResultV1 structure"); - }, N.toJSON = function(H) { - return new i.TypedJSON(B).toPlainJson(H); - }, r([(0, i.jsonMember)({ constructor: f.InitiatorAddr, deserializer: function(H) { - if (H) return f.InitiatorAddr.fromJSON(H); - }, serializer: function(H) { - return H.toJSON(); - } }), a("design:type", f.InitiatorAddr)], N.prototype, "initiator", void 0), r([(0, i.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), a("design:type", String)], N.prototype, "errorMessage", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { - if (H) return m.BigNumber.from(H).toNumber(); - }, serializer: function(H) { - return m.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "limit", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { - if (H) return m.BigNumber.from(H).toNumber(); - }, serializer: function(H) { - if (H) return m.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "consumed", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { - if (H) return m.BigNumber.from(H).toNumber(); - }, serializer: function(H) { - if (H) return m.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "refund", void 0), r([(0, i.jsonMember)({ constructor: Number, name: "current_price" }), a("design:type", Number)], N.prototype, "currentPrice", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { - if (H) return m.BigNumber.from(H).toNumber(); - }, serializer: function(H) { - return m.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "cost", void 0), r([(0, i.jsonMember)({ constructor: i.AnyT }), a("design:type", Object)], N.prototype, "payment", void 0), r([(0, i.jsonArrayMember)(b.Transfer, { name: "transfers", deserializer: function(H) { - return H.map(function(U) { - return b.Transfer.fromJSON(U); + }, x.toJSON = function(N) { + return new i.TypedJSON(A).toPlainJson(N); + }, r([(0, i.jsonMember)({ constructor: f.InitiatorAddr, deserializer: function(N) { + if (N) return f.InitiatorAddr.fromJSON(N); + }, serializer: function(N) { + return N.toJSON(); + } }), o("design:type", f.InitiatorAddr)], x.prototype, "initiator", void 0), r([(0, i.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), o("design:type", String)], x.prototype, "errorMessage", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(N) { + if (N) return p.BigNumber.from(N).toNumber(); + }, serializer: function(N) { + return p.BigNumber.from(N).toString(); + } }), o("design:type", Number)], x.prototype, "limit", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(N) { + if (N) return p.BigNumber.from(N).toNumber(); + }, serializer: function(N) { + if (N) return p.BigNumber.from(N).toString(); + } }), o("design:type", Number)], x.prototype, "consumed", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(N) { + if (N) return p.BigNumber.from(N).toNumber(); + }, serializer: function(N) { + if (N) return p.BigNumber.from(N).toString(); + } }), o("design:type", Number)], x.prototype, "refund", void 0), r([(0, i.jsonMember)({ constructor: Number, name: "current_price" }), o("design:type", Number)], x.prototype, "currentPrice", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(N) { + if (N) return p.BigNumber.from(N).toNumber(); + }, serializer: function(N) { + return p.BigNumber.from(N).toString(); + } }), o("design:type", Number)], x.prototype, "cost", void 0), r([(0, i.jsonMember)({ constructor: i.AnyT }), o("design:type", Object)], x.prototype, "payment", void 0), r([(0, i.jsonArrayMember)(C.Transfer, { name: "transfers", deserializer: function(N) { + return N.map(function(k) { + return C.Transfer.fromJSON(k); }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), r([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], N.prototype, "sizeEstimate", void 0), r([(0, i.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], N.prototype, "effects", void 0), B = r([i.jsonObject], N); + } }), o("design:type", Array)], x.prototype, "transfers", void 0), r([(0, i.jsonMember)({ constructor: Number }), o("design:type", Number)], x.prototype, "sizeEstimate", void 0), r([(0, i.jsonArrayMember)(w.Transform, { name: "effects" }), o("design:type", Array)], x.prototype, "effects", void 0), A = r([i.jsonObject], x); }(); - n.ExecutionResult = I; - var k = function() { - function N() { + n.ExecutionResult = E; + var B = function() { + function x() { this.transfers = [], this.effects = []; } - return r([(0, i.jsonMember)({ constructor: t.Hash, name: "block_hash", deserializer: function(B) { - if (B) return t.Hash.fromJSON(B); - }, serializer: function(B) { - return B.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), r([(0, i.jsonArrayMember)(b.Transfer, { name: "transfers", deserializer: function(B) { - return B.map(function(H) { - return b.Transfer.fromJSON(H); + return r([(0, i.jsonMember)({ constructor: a.Hash, name: "block_hash", deserializer: function(A) { + if (A) return a.Hash.fromJSON(A); + }, serializer: function(A) { + return A.toJSON(); + } }), o("design:type", a.Hash)], x.prototype, "blockHash", void 0), r([(0, i.jsonArrayMember)(C.Transfer, { name: "transfers", deserializer: function(A) { + return A.map(function(N) { + return C.Transfer.fromJSON(N); }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), r([(0, i.jsonMember)({ name: "limit", constructor: Number, deserializer: function(B) { - if (B) return m.BigNumber.from(B).toNumber(); - }, serializer: function(B) { - if (B) return m.BigNumber.from(B).toString(); - } }), a("design:type", Number)], N.prototype, "limit", void 0), r([(0, i.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(B) { - if (B) return m.BigNumber.from(B).toNumber(); - }, serializer: function(B) { - return m.BigNumber.from(B).toString(); - } }), a("design:type", Number)], N.prototype, "consumed", void 0), r([(0, i.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], N.prototype, "effects", void 0), r([(0, i.jsonArrayMember)(d.Message, { name: "messages" }), a("design:type", Array)], N.prototype, "messages", void 0), r([(0, i.jsonMember)({ name: "error", constructor: String, preserveNull: !0 }), a("design:type", String)], N.prototype, "errorMessage", void 0), r([i.jsonObject], N); - }(); - n.SpeculativeExecutionResult = k; - var R = function() { - function N(H, U, S) { - this.blockHash = H, this.blockHeight = U, this.executionResult = S; + } }), o("design:type", Array)], x.prototype, "transfers", void 0), r([(0, i.jsonMember)({ name: "limit", constructor: Number, deserializer: function(A) { + if (A) return p.BigNumber.from(A).toNumber(); + }, serializer: function(A) { + if (A) return p.BigNumber.from(A).toString(); + } }), o("design:type", Number)], x.prototype, "limit", void 0), r([(0, i.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(A) { + if (A) return p.BigNumber.from(A).toNumber(); + }, serializer: function(A) { + return p.BigNumber.from(A).toString(); + } }), o("design:type", Number)], x.prototype, "consumed", void 0), r([(0, i.jsonArrayMember)(w.Transform, { name: "effects" }), o("design:type", Array)], x.prototype, "effects", void 0), r([(0, i.jsonArrayMember)(v.Message, { name: "messages" }), o("design:type", Array)], x.prototype, "messages", void 0), r([(0, i.jsonMember)({ name: "error", constructor: String, preserveNull: !0 }), o("design:type", String)], x.prototype, "errorMessage", void 0), r([i.jsonObject], x); + }(); + n.SpeculativeExecutionResult = B; + var O = function() { + function x(N, k, j) { + this.blockHash = N, this.blockHeight = k, this.executionResult = j; } - var B; - return B = N, N.fromV1 = function(H, U) { - if (H.length === 0) throw new Error("Missing ExecutionInfo.fromV1 results"); - var S = H[0], T = U ?? 0; - return new B(S.blockHash, T, I.fromV1(S.result)); - }, r([(0, i.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(H) { - return t.Hash.fromJSON(H); - }, serializer: function(H) { - return H.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], N.prototype, "blockHeight", void 0), r([(0, i.jsonMember)({ name: "execution_result", constructor: I, deserializer: function(H) { - if (H) return I.fromJSON(H); - } }), a("design:type", I)], N.prototype, "executionResult", void 0), B = r([i.jsonObject, a("design:paramtypes", [t.Hash, Number, I])], N); + var A; + return A = x, x.fromV1 = function(N, k) { + if (N.length === 0) throw new Error("Missing ExecutionInfo.fromV1 results"); + var j = N[0], D = k ?? 0; + return new A(j.blockHash, D, E.fromV1(j.result)); + }, r([(0, i.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(N) { + return a.Hash.fromJSON(N); + }, serializer: function(N) { + return N.toJSON(); + } }), o("design:type", a.Hash)], x.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), o("design:type", Number)], x.prototype, "blockHeight", void 0), r([(0, i.jsonMember)({ name: "execution_result", constructor: E, deserializer: function(N) { + if (N) return E.fromJSON(N); + } }), o("design:type", E)], x.prototype, "executionResult", void 0), A = r([i.jsonObject, o("design:paramtypes", [a.Hash, Number, E])], x); }(); - n.ExecutionInfo = R; - var L = function() { - function N() { + n.ExecutionInfo = O; + var I = function() { + function x() { } - var B; - return B = N, N.fromV1 = function(H, U) { - if (H.length === 0) return new B(); - var S = H[0], T = U ?? 0, E = new B(); - return E.blockHash = S.blockHash, E.blockHeight = T, E.executionResult = I.fromV1(S.result), E; - }, r([(0, i.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(H) { - return t.Hash.fromJSON(H); - }, serializer: function(H) { - return H.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], N.prototype, "blockHeight", void 0), r([(0, i.jsonMember)({ name: "execution_result", constructor: I, deserializer: function(H) { - if (H) return I.fromJSON(H); - } }), a("design:type", I)], N.prototype, "executionResult", void 0), B = r([i.jsonObject], N); - }(); - n.DeployExecutionInfo = L; - }, 7889: function(x, n, c) { - var r = this && this.__decorate || function(t, f, b, y) { - var u, d = arguments.length, l = d < 3 ? f : y === null ? y = Object.getOwnPropertyDescriptor(f, b) : y; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, f, b, y); - else for (var s = t.length - 1; s >= 0; s--) (u = t[s]) && (l = (d < 3 ? u(l) : d > 3 ? u(f, b, l) : u(f, b)) || l); - return d > 3 && l && Object.defineProperty(f, b, l), l; - }, a = this && this.__metadata || function(t, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(t, f); + var A; + return A = x, x.fromV1 = function(N, k) { + if (N.length === 0) return new A(); + var j = N[0], D = k ?? 0, T = new A(); + return T.blockHash = j.blockHash, T.blockHeight = D, T.executionResult = E.fromV1(j.result), T; + }, r([(0, i.jsonMember)({ name: "block_hash", constructor: a.Hash, deserializer: function(N) { + return a.Hash.fromJSON(N); + }, serializer: function(N) { + return N.toJSON(); + } }), o("design:type", a.Hash)], x.prototype, "blockHash", void 0), r([(0, i.jsonMember)({ name: "block_height", constructor: Number }), o("design:type", Number)], x.prototype, "blockHeight", void 0), r([(0, i.jsonMember)({ name: "execution_result", constructor: E, deserializer: function(N) { + if (N) return E.fromJSON(N); + } }), o("design:type", E)], x.prototype, "executionResult", void 0), A = r([i.jsonObject], x); + }(); + n.DeployExecutionInfo = I; + }, 7889(g, n, s) { + var r = this && this.__decorate || function(a, f, C, w) { + var m, v = arguments.length, l = v < 3 ? f : w === null ? w = Object.getOwnPropertyDescriptor(f, C) : w; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(a, f, C, w); + else for (var u = a.length - 1; u >= 0; u--) (m = a[u]) && (l = (v < 3 ? m(l) : v > 3 ? m(f, C, l) : m(f, C)) || l); + return v > 3 && l && Object.defineProperty(f, C, l), l; + }, o = this && this.__metadata || function(a, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(a, f); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.HexBytes = void 0; - var i = c(9592), m = function() { - function t(b) { - this.bytes = b; + var i = s(9592), p = function() { + function a(C) { + this.bytes = C; } var f; - return f = t, t.prototype.toHex = function() { - return Array.from(this.bytes).map(function(b) { - return b.toString(16).padStart(2, "0"); + return f = a, a.prototype.toHex = function() { + return Array.from(this.bytes).map(function(C) { + return C.toString(16).padStart(2, "0"); }).join(""); - }, t.prototype.toJSON = function() { + }, a.prototype.toJSON = function() { return this.toHex(); - }, t.fromHex = function(b) { - var y = new Uint8Array(b.match(/.{1,2}/g).map(function(u) { - return parseInt(u, 16); + }, a.fromHex = function(C) { + var w = new Uint8Array(C.match(/.{1,2}/g).map(function(m) { + return parseInt(m, 16); })); - return new f(y); - }, t.fromJSON = function(b) { - return f.fromHex(b); - }, t.prototype.toString = function() { + return new f(w); + }, a.fromJSON = function(C) { + return f.fromHex(C); + }, a.prototype.toString = function() { return this.toHex(); - }, r([(0, i.jsonMember)(Uint8Array), a("design:type", Uint8Array)], t.prototype, "bytes", void 0), f = r([i.jsonObject, a("design:paramtypes", [Uint8Array])], t); - }(); - n.HexBytes = m; - }, 3771: function(x, n, c) { - var r = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + }, r([(0, i.jsonMember)(Uint8Array), o("design:type", Uint8Array)], a.prototype, "bytes", void 0), f = r([i.jsonObject, o("design:paramtypes", [Uint8Array])], a); + }(); + n.HexBytes = p; + }, 3771(g, n, s) { + var r = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, o = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.InitiatorAddr = void 0; - var i = c(9592), m = c(9449), t = c(3401), f = c(9213), b = function() { - function y(d, l) { - this.publicKey = d, this.accountHash = l; + var i = s(9592), p = s(9449), a = s(3401), f = s(9213), C = function() { + function w(v, l) { + this.publicKey = v, this.accountHash = l; } - var u; - return u = y, y.prototype.toBytes = function() { - var d; - if (this.accountHash) return (d = new f.CalltableSerialization()).addField(0, Uint8Array.of(1)), d.addField(1, this.accountHash.toBytes()), d.toBytes(); - if (this.publicKey) return (d = new f.CalltableSerialization()).addField(0, Uint8Array.of(0)), d.addField(1, this.publicKey.bytes()), d.toBytes(); + var m; + return m = w, w.prototype.toBytes = function() { + var v; + if (this.accountHash) return (v = new f.CalltableSerialization()).addField(0, Uint8Array.of(1)), v.addField(1, this.accountHash.toBytes()), v.toBytes(); + if (this.publicKey) return (v = new f.CalltableSerialization()).addField(0, Uint8Array.of(0)), v.addField(1, this.publicKey.bytes()), v.toBytes(); throw new Error("Unable to serialize InitiatorAddr"); - }, y.fromJSON = function(d) { - var l = new u(), s = d?.publicKey || d?.PublicKey, v = d?.accountHash || d?.AccountHash; - return s ? l.publicKey = m.PublicKey.fromHex(s) : v && (l.accountHash = t.AccountHash.fromString(v)), l; - }, y.prototype.toJSON = function() { + }, w.fromJSON = function(v) { + var l = new m(), u = v?.publicKey || v?.PublicKey, y = v?.accountHash || v?.AccountHash; + return u ? l.publicKey = p.PublicKey.fromHex(u) : y && (l.accountHash = a.AccountHash.fromString(y)), l; + }, w.prototype.toJSON = function() { return this.accountHash ? { AccountHash: this.accountHash.toPrefixedString() } : this.publicKey ? { PublicKey: this.publicKey.toHex() } : void 0; - }, r([(0, i.jsonMember)({ name: "PublicKey", constructor: m.PublicKey }), a("design:type", m.PublicKey)], y.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "AccountHash", constructor: t.AccountHash }), a("design:type", t.AccountHash)], y.prototype, "accountHash", void 0), u = r([i.jsonObject, a("design:paramtypes", [m.PublicKey, t.AccountHash])], y); - }(); - n.InitiatorAddr = b; - }, 3903: function(x, n, c) { - var r = this && this.__decorate || function(d, l, s, v) { - var p, h = arguments.length, O = h < 3 ? l : v === null ? v = Object.getOwnPropertyDescriptor(l, s) : v; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(d, l, s, v); - else for (var I = d.length - 1; I >= 0; I--) (p = d[I]) && (O = (h < 3 ? p(O) : h > 3 ? p(l, s, O) : p(l, s)) || O); - return h > 3 && O && Object.defineProperty(l, s, O), O; - }, a = this && this.__metadata || function(d, l) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, l); + }, r([(0, i.jsonMember)({ name: "PublicKey", constructor: p.PublicKey }), o("design:type", p.PublicKey)], w.prototype, "publicKey", void 0), r([(0, i.jsonMember)({ name: "AccountHash", constructor: a.AccountHash }), o("design:type", a.AccountHash)], w.prototype, "accountHash", void 0), m = r([i.jsonObject, o("design:paramtypes", [p.PublicKey, a.AccountHash])], w); + }(); + n.InitiatorAddr = C; + }, 3903(g, n, s) { + var r = this && this.__decorate || function(v, l, u, y) { + var d, b = arguments.length, _ = b < 3 ? l : y === null ? y = Object.getOwnPropertyDescriptor(l, u) : y; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(v, l, u, y); + else for (var E = v.length - 1; E >= 0; E--) (d = v[E]) && (_ = (b < 3 ? d(_) : b > 3 ? d(l, u, _) : d(l, u)) || _); + return b > 3 && _ && Object.defineProperty(l, u, _), _; + }, o = this && this.__metadata || function(v, l) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, l); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Message = n.MessagePayload = n.MessageTopic = n.MessageTopicSummary = void 0; - var i = c(9592), m = c(3401), t = c(2625), f = function() { - function d() { + var i = s(9592), p = s(3401), a = s(2625), f = function() { + function v() { } - return r([(0, i.jsonMember)({ name: "message_count", constructor: Number }), a("design:type", Number)], d.prototype, "messageCount", void 0), r([(0, i.jsonMember)({ name: "blocktime", constructor: Number }), a("design:type", Number)], d.prototype, "blockTime", void 0), r([i.jsonObject], d); + return r([(0, i.jsonMember)({ name: "message_count", constructor: Number }), o("design:type", Number)], v.prototype, "messageCount", void 0), r([(0, i.jsonMember)({ name: "blocktime", constructor: Number }), o("design:type", Number)], v.prototype, "blockTime", void 0), r([i.jsonObject], v); }(); n.MessageTopicSummary = f; - var b = function() { - function d() { + var C = function() { + function v() { } - return r([(0, i.jsonMember)({ name: "topic_name", constructor: String }), a("design:type", String)], d.prototype, "topicName", void 0), r([(0, i.jsonMember)({ name: "topic_name_hash", constructor: m.Hash, deserializer: function(l) { - return m.Hash.fromJSON(l); + return r([(0, i.jsonMember)({ name: "topic_name", constructor: String }), o("design:type", String)], v.prototype, "topicName", void 0), r([(0, i.jsonMember)({ name: "topic_name_hash", constructor: p.Hash, deserializer: function(l) { + return p.Hash.fromJSON(l); }, serializer: function(l) { return l.toJSON(); - } }), a("design:type", m.Hash)], d.prototype, "topicNameHash", void 0), r([i.jsonObject], d); + } }), o("design:type", p.Hash)], v.prototype, "topicNameHash", void 0), r([i.jsonObject], v); }(); - n.MessageTopic = b; - var y = function() { - function d() { + n.MessageTopic = C; + var w = function() { + function v() { } - return r([(0, i.jsonMember)({ name: "String", constructor: String }), a("design:type", String)], d.prototype, "string", void 0), r([(0, i.jsonMember)({ name: "Bytes", constructor: t.ModuleBytes }), a("design:type", t.ModuleBytes)], d.prototype, "bytes", void 0), r([i.jsonObject], d); + return r([(0, i.jsonMember)({ name: "String", constructor: String }), o("design:type", String)], v.prototype, "string", void 0), r([(0, i.jsonMember)({ name: "Bytes", constructor: a.ModuleBytes }), o("design:type", a.ModuleBytes)], v.prototype, "bytes", void 0), r([i.jsonObject], v); }(); - n.MessagePayload = y; - var u = function() { - function d() { + n.MessagePayload = w; + var m = function() { + function v() { } - return r([(0, i.jsonMember)({ name: "message", constructor: y }), a("design:type", y)], d.prototype, "message", void 0), r([(0, i.jsonMember)({ name: "topic_name", constructor: String }), a("design:type", String)], d.prototype, "topicName", void 0), r([(0, i.jsonMember)({ name: "topic_name_hash", constructor: m.Hash, deserializer: function(l) { - return m.Hash.fromJSON(l); + return r([(0, i.jsonMember)({ name: "message", constructor: w }), o("design:type", w)], v.prototype, "message", void 0), r([(0, i.jsonMember)({ name: "topic_name", constructor: String }), o("design:type", String)], v.prototype, "topicName", void 0), r([(0, i.jsonMember)({ name: "topic_name_hash", constructor: p.Hash, deserializer: function(l) { + return p.Hash.fromJSON(l); }, serializer: function(l) { return l.toJSON(); - } }), a("design:type", m.Hash)], d.prototype, "topicNameHash", void 0), r([(0, i.jsonMember)({ name: "hash_addr", constructor: m.Hash, deserializer: function(l) { - return m.Hash.fromJSON(l); + } }), o("design:type", p.Hash)], v.prototype, "topicNameHash", void 0), r([(0, i.jsonMember)({ name: "hash_addr", constructor: p.Hash, deserializer: function(l) { + return p.Hash.fromJSON(l); }, serializer: function(l) { return l.toJSON(); - } }), a("design:type", m.Hash)], d.prototype, "hashAddr", void 0), r([(0, i.jsonMember)({ name: "block_index", constructor: Number }), a("design:type", Number)], d.prototype, "blockIndex", void 0), r([(0, i.jsonMember)({ name: "topic_index", constructor: Number }), a("design:type", Number)], d.prototype, "topicIndex", void 0), r([i.jsonObject], d); - }(); - n.Message = u; - }, 8765: function(x, n, c) { - var r = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + } }), o("design:type", p.Hash)], v.prototype, "hashAddr", void 0), r([(0, i.jsonMember)({ name: "block_index", constructor: Number }), o("design:type", Number)], v.prototype, "blockIndex", void 0), r([(0, i.jsonMember)({ name: "topic_index", constructor: Number }), o("design:type", Number)], v.prototype, "topicIndex", void 0), r([i.jsonObject], v); + }(); + n.Message = m; + }, 8765(g, n, s) { + var r = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, o = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.MinimalBlockInfo = void 0; - var i = c(9592), m = c(9449), t = c(3401), f = c(6500), b = function() { - function y() { + var i = s(9592), p = s(9449), a = s(3401), f = s(6500), C = function() { + function w() { } - return r([(0, i.jsonMember)({ name: "creator", constructor: m.PublicKey, deserializer: function(u) { - return m.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", m.PublicKey)], y.prototype, "creator", void 0), r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], y.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "hash", constructor: t.Hash, deserializer: function(u) { - return t.Hash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.Hash)], y.prototype, "hash", void 0), r([(0, i.jsonMember)({ name: "height", constructor: Number }), a("design:type", Number)], y.prototype, "height", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: t.Hash, deserializer: function(u) { - return t.Hash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.Hash)], y.prototype, "stateRootHash", void 0), r([(0, i.jsonMember)({ name: "timestamp", constructor: f.Timestamp, deserializer: function(u) { - return f.Timestamp.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", f.Timestamp)], y.prototype, "timestamp", void 0), r([i.jsonObject], y); - }(); - n.MinimalBlockInfo = b; - }, 9153: function(x, n, c) { - var r = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + return r([(0, i.jsonMember)({ name: "creator", constructor: p.PublicKey, deserializer: function(m) { + return p.PublicKey.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", p.PublicKey)], w.prototype, "creator", void 0), r([(0, i.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], w.prototype, "eraID", void 0), r([(0, i.jsonMember)({ name: "hash", constructor: a.Hash, deserializer: function(m) { + return a.Hash.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", a.Hash)], w.prototype, "hash", void 0), r([(0, i.jsonMember)({ name: "height", constructor: Number }), o("design:type", Number)], w.prototype, "height", void 0), r([(0, i.jsonMember)({ name: "state_root_hash", constructor: a.Hash, deserializer: function(m) { + return a.Hash.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", a.Hash)], w.prototype, "stateRootHash", void 0), r([(0, i.jsonMember)({ name: "timestamp", constructor: f.Timestamp, deserializer: function(m) { + return f.Timestamp.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", f.Timestamp)], w.prototype, "timestamp", void 0), r([i.jsonObject], w); + }(); + n.MinimalBlockInfo = C; + }, 9153(g, n, s) { + var r = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, o = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.NamedKeyValue = n.NamedKey = void 0; - var i = c(9592), m = c(3401), t = c(5466), f = function() { - function y(u, d) { - this.name = u, this.key = d; + var i = s(9592), p = s(3401), a = s(5466), f = function() { + function w(m, v) { + this.name = m, this.key = v; } - return r([(0, i.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], y.prototype, "name", void 0), r([(0, i.jsonMember)({ name: "key", constructor: m.Key, deserializer: function(u) { - if (u) return m.Key.newKey(u); - }, serializer: function(u) { - if (u) return u.toPrefixedString(); - } }), a("design:type", m.Key)], y.prototype, "key", void 0), r([i.jsonObject, a("design:paramtypes", [String, m.Key])], y); + return r([(0, i.jsonMember)({ name: "name", constructor: String }), o("design:type", String)], w.prototype, "name", void 0), r([(0, i.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(m) { + if (m) return p.Key.newKey(m); + }, serializer: function(m) { + if (m) return m.toPrefixedString(); + } }), o("design:type", p.Key)], w.prototype, "key", void 0), r([i.jsonObject, o("design:paramtypes", [String, p.Key])], w); }(); n.NamedKey = f; - var b = function() { - function y(u, d) { - this.name = u, this.namedKey = d; - } - return r([(0, i.jsonMember)({ name: "name", constructor: t.CLValue, deserializer: function(u) { - if (u) return t.CLValueParser.fromJSON(u); - }, serializer: function(u) { - if (u) return t.CLValueParser.toJSON(u); - } }), a("design:type", t.CLValue)], y.prototype, "name", void 0), r([(0, i.jsonMember)({ name: "named_key", constructor: t.CLValue, deserializer: function(u) { - if (u) return t.CLValueParser.fromJSON(u); - }, serializer: function(u) { - if (u) return t.CLValueParser.toJSON(u); - } }), a("design:type", t.CLValue)], y.prototype, "namedKey", void 0), r([i.jsonObject, a("design:paramtypes", [t.CLValue, t.CLValue])], y); - }(); - n.NamedKeyValue = b; - }, 4613: function(x, n, c) { - var r = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, a = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + var C = function() { + function w(m, v) { + this.name = m, this.namedKey = v; + } + return r([(0, i.jsonMember)({ name: "name", constructor: a.CLValue, deserializer: function(m) { + if (m) return a.CLValueParser.fromJSON(m); + }, serializer: function(m) { + if (m) return a.CLValueParser.toJSON(m); + } }), o("design:type", a.CLValue)], w.prototype, "name", void 0), r([(0, i.jsonMember)({ name: "named_key", constructor: a.CLValue, deserializer: function(m) { + if (m) return a.CLValueParser.fromJSON(m); + }, serializer: function(m) { + if (m) return a.CLValueParser.toJSON(m); + } }), o("design:type", a.CLValue)], w.prototype, "namedKey", void 0), r([i.jsonObject, o("design:paramtypes", [a.CLValue, a.CLValue])], w); + }(); + n.NamedKeyValue = C; + }, 4613(g, n, s) { + var r = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, o = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.NamedUserGroup = n.Package = n.EntityVersionAndHash = n.EntityVersionKey = void 0; - var i = c(9592), m = c(3401), t = function() { - function u(d, l) { - this.entityVersion = d, this.protocolVersionMajor = l; + var i = s(9592), p = s(3401), a = function() { + function m(v, l) { + this.entityVersion = v, this.protocolVersionMajor = l; } - return r([(0, i.jsonMember)({ name: "entity_version", constructor: Number }), a("design:type", Number)], u.prototype, "entityVersion", void 0), r([(0, i.jsonMember)({ name: "protocol_version_major", constructor: Number }), a("design:type", Number)], u.prototype, "protocolVersionMajor", void 0), r([i.jsonObject, a("design:paramtypes", [Number, Number])], u); + return r([(0, i.jsonMember)({ name: "entity_version", constructor: Number }), o("design:type", Number)], m.prototype, "entityVersion", void 0), r([(0, i.jsonMember)({ name: "protocol_version_major", constructor: Number }), o("design:type", Number)], m.prototype, "protocolVersionMajor", void 0), r([i.jsonObject, o("design:paramtypes", [Number, Number])], m); }(); - n.EntityVersionKey = t; + n.EntityVersionKey = a; var f = function() { - function u(d, l) { - this.addressableEntity = d, this.entityVersionKey = l; + function m(v, l) { + this.addressableEntity = v, this.entityVersionKey = l; } - return r([(0, i.jsonMember)({ name: "entity_addr", constructor: m.EntityAddr, deserializer: function(d) { - return m.EntityAddr.fromJSON(d); - }, serializer: function(d) { - return d.toJSON(); - } }), a("design:type", m.EntityAddr)], u.prototype, "addressableEntity", void 0), r([(0, i.jsonMember)({ name: "entity_version_key", constructor: t }), a("design:type", t)], u.prototype, "entityVersionKey", void 0), r([i.jsonObject, a("design:paramtypes", [m.EntityAddr, t])], u); + return r([(0, i.jsonMember)({ name: "entity_addr", constructor: p.EntityAddr, deserializer: function(v) { + return p.EntityAddr.fromJSON(v); + }, serializer: function(v) { + return v.toJSON(); + } }), o("design:type", p.EntityAddr)], m.prototype, "addressableEntity", void 0), r([(0, i.jsonMember)({ name: "entity_version_key", constructor: a }), o("design:type", a)], m.prototype, "entityVersionKey", void 0), r([i.jsonObject, o("design:paramtypes", [p.EntityAddr, a])], m); }(); n.EntityVersionAndHash = f; - var b = function() { - function u() { + var C = function() { + function m() { } - return r([(0, i.jsonArrayMember)(f, { name: "versions" }), a("design:type", Array)], u.prototype, "versions", void 0), r([(0, i.jsonArrayMember)(f, { name: "disabled_versions" }), a("design:type", Array)], u.prototype, "disabledVersions", void 0), r([(0, i.jsonMember)({ name: "lock_status", constructor: String }), a("design:type", String)], u.prototype, "lockStatus", void 0), r([(0, i.jsonArrayMember)(String, { name: "groups" }), a("design:type", Array)], u.prototype, "groups", void 0), r([i.jsonObject], u); + return r([(0, i.jsonArrayMember)(f, { name: "versions" }), o("design:type", Array)], m.prototype, "versions", void 0), r([(0, i.jsonArrayMember)(f, { name: "disabled_versions" }), o("design:type", Array)], m.prototype, "disabledVersions", void 0), r([(0, i.jsonMember)({ name: "lock_status", constructor: String }), o("design:type", String)], m.prototype, "lockStatus", void 0), r([(0, i.jsonArrayMember)(String, { name: "groups" }), o("design:type", Array)], m.prototype, "groups", void 0), r([i.jsonObject], m); }(); - n.Package = b; - var y = function() { - function u(d, l) { - this.groupName = d, this.groupUsers = l; + n.Package = C; + var w = function() { + function m(v, l) { + this.groupName = v, this.groupUsers = l; } - return r([(0, i.jsonMember)({ name: "group_name", constructor: String }), a("design:type", String)], u.prototype, "groupName", void 0), r([(0, i.jsonArrayMember)(m.URef, { name: "group_users", serializer: function(d) { - return d.map(function(l) { + return r([(0, i.jsonMember)({ name: "group_name", constructor: String }), o("design:type", String)], m.prototype, "groupName", void 0), r([(0, i.jsonArrayMember)(p.URef, { name: "group_users", serializer: function(v) { + return v.map(function(l) { return l.toJSON(); }); - }, deserializer: function(d) { - if (d) return d.map(function(l) { - return m.URef.fromJSON(l); + }, deserializer: function(v) { + if (v) return v.map(function(l) { + return p.URef.fromJSON(l); }); - } }), a("design:type", Array)], u.prototype, "groupUsers", void 0), r([i.jsonObject, a("design:paramtypes", [String, Array])], u); - }(); - n.NamedUserGroup = y; - }, 5e3: function(x, n, c) { - var r = this && this.__decorate || function(b, y, u, d) { - var l, s = arguments.length, v = s < 3 ? y : d === null ? d = Object.getOwnPropertyDescriptor(y, u) : d; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, d); - else for (var p = b.length - 1; p >= 0; p--) (l = b[p]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + } }), o("design:type", Array)], m.prototype, "groupUsers", void 0), r([i.jsonObject, o("design:paramtypes", [String, Array])], m); + }(); + n.NamedUserGroup = w; + }, 5e3(g, n, s) { + var r = this && this.__decorate || function(C, w, m, v) { + var l, u = arguments.length, y = u < 3 ? w : v === null ? v = Object.getOwnPropertyDescriptor(w, m) : v; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") y = Reflect.decorate(C, w, m, v); + else for (var d = C.length - 1; d >= 0; d--) (l = C[d]) && (y = (u < 3 ? l(y) : u > 3 ? l(w, m, y) : l(w, m)) || y); + return u > 3 && y && Object.defineProperty(w, m, y), y; + }, o = this && this.__metadata || function(C, w) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(C, w); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.PrepaymentKind = void 0; - var i = c(9592), m = c(7889), t = c(3401), f = function() { - function b() { + var i = s(9592), p = s(7889), a = s(3401), f = function() { + function C() { } - return r([(0, i.jsonMember)({ name: "receipt", constructor: t.Hash, deserializer: function(y) { - return t.Hash.fromJSON(y); - }, serializer: function(y) { - return y.toJSON(); - } }), a("design:type", t.Hash)], b.prototype, "receipt", void 0), r([(0, i.jsonMember)({ name: "prepayment_data", constructor: m.HexBytes, deserializer: function(y) { - return m.HexBytes.fromJSON(y); - }, serializer: function(y) { - return y.toJSON(); - } }), a("design:type", m.HexBytes)], b.prototype, "prepaymentData", void 0), r([(0, i.jsonMember)({ name: "prepayment_kind", constructor: Number }), a("design:type", Number)], b.prototype, "prepaymentKind", void 0), r([i.jsonObject], b); + return r([(0, i.jsonMember)({ name: "receipt", constructor: a.Hash, deserializer: function(w) { + return a.Hash.fromJSON(w); + }, serializer: function(w) { + return w.toJSON(); + } }), o("design:type", a.Hash)], C.prototype, "receipt", void 0), r([(0, i.jsonMember)({ name: "prepayment_data", constructor: p.HexBytes, deserializer: function(w) { + return p.HexBytes.fromJSON(w); + }, serializer: function(w) { + return w.toJSON(); + } }), o("design:type", p.HexBytes)], C.prototype, "prepaymentData", void 0), r([(0, i.jsonMember)({ name: "prepayment_kind", constructor: Number }), o("design:type", Number)], C.prototype, "prepaymentKind", void 0), r([i.jsonObject], C); }(); n.PrepaymentKind = f; - }, 6200: function(x, n, c) { - var r = this && this.__decorate || function(l, s, v, p) { - var h, O = arguments.length, I = O < 3 ? s : p === null ? p = Object.getOwnPropertyDescriptor(s, v) : p; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(l, s, v, p); - else for (var k = l.length - 1; k >= 0; k--) (h = l[k]) && (I = (O < 3 ? h(I) : O > 3 ? h(s, v, I) : h(s, v)) || I); - return O > 3 && I && Object.defineProperty(s, v, I), I; - }, a = this && this.__metadata || function(l, s) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, s); + }, 6200(g, n, s) { + var r = this && this.__decorate || function(l, u, y, d) { + var b, _ = arguments.length, E = _ < 3 ? u : d === null ? d = Object.getOwnPropertyDescriptor(u, y) : d; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(l, u, y, d); + else for (var B = l.length - 1; B >= 0; B--) (b = l[B]) && (E = (_ < 3 ? b(E) : _ > 3 ? b(u, y, E) : b(u, y)) || E); + return _ > 3 && E && Object.defineProperty(u, y, E), E; + }, o = this && this.__metadata || function(l, u) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, u); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.PricingMode = n.PrepaidMode = n.FixedMode = n.PaymentLimitedMode = void 0; - var i = c(9592), m = c(3401), t = c(5466), f = c(9213), b = function() { + var i = s(9592), p = s(3401), a = s(5466), f = s(9213), C = function() { function l() { } return l.prototype.toBytes = function() { - var s = new f.CalltableSerialization(); - return s.addField(0, t.CLValue.newCLUint8(0).bytes()), s.addField(1, t.CLValue.newCLUint64(this.paymentAmount).bytes()), s.addField(2, t.CLValue.newCLUint8(this.gasPriceTolerance).bytes()), s.addField(3, t.CLValue.newCLValueBool(this.standardPayment).bytes()), s.toBytes(); - }, r([(0, i.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), a("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), r([(0, i.jsonMember)({ name: "payment_amount", constructor: Number }), a("design:type", Number)], l.prototype, "paymentAmount", void 0), r([(0, i.jsonMember)({ name: "standard_payment", constructor: Boolean }), a("design:type", Boolean)], l.prototype, "standardPayment", void 0), r([i.jsonObject], l); + var u = new f.CalltableSerialization(); + return u.addField(0, a.CLValue.newCLUint8(0).bytes()), u.addField(1, a.CLValue.newCLUint64(this.paymentAmount).bytes()), u.addField(2, a.CLValue.newCLUint8(this.gasPriceTolerance).bytes()), u.addField(3, a.CLValue.newCLValueBool(this.standardPayment).bytes()), u.toBytes(); + }, r([(0, i.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), o("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), r([(0, i.jsonMember)({ name: "payment_amount", constructor: Number }), o("design:type", Number)], l.prototype, "paymentAmount", void 0), r([(0, i.jsonMember)({ name: "standard_payment", constructor: Boolean }), o("design:type", Boolean)], l.prototype, "standardPayment", void 0), r([i.jsonObject], l); }(); - n.PaymentLimitedMode = b; - var y = function() { + n.PaymentLimitedMode = C; + var w = function() { function l() { } return l.prototype.toBytes = function() { - var s = new f.CalltableSerialization(); - return s.addField(0, t.CLValue.newCLUint8(1).bytes()), s.addField(1, t.CLValue.newCLUint8(this.gasPriceTolerance).bytes()), s.addField(2, t.CLValue.newCLUint8(this.additionalComputationFactor).bytes()), s.toBytes(); - }, r([(0, i.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), a("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), r([(0, i.jsonMember)({ name: "additional_computation_factor", constructor: Number }), a("design:type", Number)], l.prototype, "additionalComputationFactor", void 0), r([i.jsonObject], l); + var u = new f.CalltableSerialization(); + return u.addField(0, a.CLValue.newCLUint8(1).bytes()), u.addField(1, a.CLValue.newCLUint8(this.gasPriceTolerance).bytes()), u.addField(2, a.CLValue.newCLUint8(this.additionalComputationFactor).bytes()), u.toBytes(); + }, r([(0, i.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), o("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), r([(0, i.jsonMember)({ name: "additional_computation_factor", constructor: Number }), o("design:type", Number)], l.prototype, "additionalComputationFactor", void 0), r([i.jsonObject], l); }(); - n.FixedMode = y; - var u = function() { + n.FixedMode = w; + var m = function() { function l() { } return l.prototype.toBytes = function() { - var s = new f.CalltableSerialization(); - return s.addField(0, t.CLValue.newCLUint8(2).bytes()), s.addField(1, this.receipt.toBytes()), s.toBytes(); - }, r([(0, i.jsonMember)({ name: "receipt", constructor: m.Hash, deserializer: function(s) { - return m.Hash.fromJSON(s); - }, serializer: function(s) { - return s.toJSON(); - } }), a("design:type", m.Hash)], l.prototype, "receipt", void 0), r([i.jsonObject], l); - }(); - n.PrepaidMode = u; - var d = function() { + var u = new f.CalltableSerialization(); + return u.addField(0, a.CLValue.newCLUint8(2).bytes()), u.addField(1, this.receipt.toBytes()), u.toBytes(); + }, r([(0, i.jsonMember)({ name: "receipt", constructor: p.Hash, deserializer: function(u) { + return p.Hash.fromJSON(u); + }, serializer: function(u) { + return u.toJSON(); + } }), o("design:type", p.Hash)], l.prototype, "receipt", void 0), r([i.jsonObject], l); + }(); + n.PrepaidMode = m; + var v = function() { function l() { } return l.prototype.toBytes = function() { @@ -25556,25 +24601,25 @@ function B6() { if (this.fixed) return this.fixed.toBytes(); if (this.prepaid) return this.prepaid.toBytes(); throw new Error("Unable to serialize PricingMode"); - }, r([(0, i.jsonMember)({ name: "PaymentLimited", constructor: b }), a("design:type", b)], l.prototype, "paymentLimited", void 0), r([(0, i.jsonMember)({ name: "Fixed", constructor: y }), a("design:type", y)], l.prototype, "fixed", void 0), r([(0, i.jsonMember)({ name: "Prepaid", constructor: u }), a("design:type", u)], l.prototype, "prepaid", void 0), r([i.jsonObject], l); + }, r([(0, i.jsonMember)({ name: "PaymentLimited", constructor: C }), o("design:type", C)], l.prototype, "paymentLimited", void 0), r([(0, i.jsonMember)({ name: "Fixed", constructor: w }), o("design:type", w)], l.prototype, "fixed", void 0), r([(0, i.jsonMember)({ name: "Prepaid", constructor: m }), o("design:type", m)], l.prototype, "prepaid", void 0), r([i.jsonObject], l); }(); - n.PricingMode = d; - }, 2428: function(x, n, c) { - var r = this && this.__importDefault || function(y) { - return y && y.__esModule ? y : { default: y }; + n.PricingMode = v; + }, 2428(g, n, s) { + var r = this && this.__importDefault || function(w) { + return w && w.__esModule ? w : { default: w }; }; Object.defineProperty(n, "__esModule", { value: !0 }), n.deserializeDisabledVersions = n.serializeRewards = n.deserializeRewards = n.serializeArgs = n.deserializeArgs = n.dehumanizerTTL = n.humanizerTTL = n.undefinedSafeByteArrayJsonDeserializer = n.byteArrayJsonDeserializer = n.undefinedSafeByteArrayJsonSerializer = n.byteArrayJsonSerializer = void 0; - var a = c(9592), i = r(c(6123)), m = c(9960), t = c(7372), f = c(5466); - n.byteArrayJsonSerializer = function(y) { - return t.Conversions.encodeBase16(y); - }, n.undefinedSafeByteArrayJsonSerializer = function(y) { - if (y) return t.Conversions.encodeBase16(y); - }, n.byteArrayJsonDeserializer = function(y) { - return t.Conversions.decodeBase16(y); - }, n.undefinedSafeByteArrayJsonDeserializer = function(y) { - if (y) return t.Conversions.decodeBase16(y); + var o = s(9592), i = r(s(6123)), p = s(9960), a = s(7372), f = s(5466); + n.byteArrayJsonSerializer = function(w) { + return a.Conversions.encodeBase16(w); + }, n.undefinedSafeByteArrayJsonSerializer = function(w) { + if (w) return a.Conversions.encodeBase16(w); + }, n.byteArrayJsonDeserializer = function(w) { + return a.Conversions.decodeBase16(w); + }, n.undefinedSafeByteArrayJsonDeserializer = function(w) { + if (w) return a.Conversions.decodeBase16(w); }; - var b = i.default.humanizer({ spacer: "", serialComma: !1, conjunction: " ", delimiter: " ", language: "shortEn", languages: { shortEn: { d: function() { + var C = i.default.humanizer({ spacer: "", serialComma: !1, conjunction: " ", delimiter: " ", language: "shortEn", languages: { shortEn: { d: function() { return "day"; }, h: function() { return "h"; @@ -25585,1761 +24630,1764 @@ function B6() { }, ms: function() { return "ms"; } } } }); - n.humanizerTTL = function(y) { - return b(y); - }, n.dehumanizerTTL = function(y) { - return y.split(" ").map(function(u) { - if (u.includes("ms")) return Number(u.replace("ms", "")); - if (u.includes("s") && !u.includes("m")) return 1e3 * Number(u.replace("s", "")); - if (u.includes("m") && !u.includes("s")) return 60 * Number(u.replace("m", "")) * 1e3; - if (u.includes("h")) return 60 * Number(u.replace("h", "")) * 60 * 1e3; - if (u.includes("day")) return 24 * Number(u.replace("day", "")) * 60 * 60 * 1e3; + n.humanizerTTL = function(w) { + return C(w); + }, n.dehumanizerTTL = function(w) { + return w.split(" ").map(function(m) { + if (m.includes("ms")) return Number(m.replace("ms", "")); + if (m.includes("s") && !m.includes("m")) return 1e3 * Number(m.replace("s", "")); + if (m.includes("m") && !m.includes("s")) return 60 * Number(m.replace("m", "")) * 1e3; + if (m.includes("h")) return 60 * Number(m.replace("h", "")) * 60 * 1e3; + if (m.includes("day")) return 24 * Number(m.replace("day", "")) * 60 * 60 * 1e3; throw Error("Unsupported TTL unit"); - }).reduce(function(u, d) { - return u + d; + }).reduce(function(m, v) { + return m + v; }); - }, n.deserializeArgs = function(y) { - var u = new a.TypedJSON(m.Args); - if (y.Named && Array.isArray(y.Named)) return u.parse({ args: y.Named }); - if (Array.isArray(y)) return u.parse({ args: y }); + }, n.deserializeArgs = function(w) { + var m = new o.TypedJSON(p.Args); + if (w.Named && Array.isArray(w.Named)) return m.parse({ args: w.Named }); + if (Array.isArray(w)) return m.parse({ args: w }); throw new Error("Invalid argument format for deserialization."); - }, n.serializeArgs = function(y, u) { - u === void 0 && (u = !1); - var d = new a.TypedJSON(m.Args).toPlainJson(y), l = Object.values(d)[0]; - return u ? { Named: l } : l; - }, n.deserializeRewards = function(y) { - var u = new Map(Array.from(y, function(d) { - return [d[0], d[1].map(function(l) { + }, n.serializeArgs = function(w, m) { + m === void 0 && (m = !1); + var v = new o.TypedJSON(p.Args).toPlainJson(w), l = Object.values(v)[0]; + return m ? { Named: l } : l; + }, n.deserializeRewards = function(w) { + var m = new Map(Array.from(w, function(v) { + return [v[0], v[1].map(function(l) { return f.CLValueUInt512.fromJSON(l); })]; })); - if (u.size !== Array.from(y).length) throw Error("Duplicate key exists."); - return u; - }, n.serializeRewards = function(y) { - return Array.from(y, function(u) { - return [u[0], u[1].map(function(d) { - return d.toJSON(); + if (m.size !== Array.from(w).length) throw Error("Duplicate key exists."); + return m; + }, n.serializeRewards = function(w) { + return Array.from(w, function(m) { + return [m[0], m[1].map(function(v) { + return v.toJSON(); })]; }); - }, n.deserializeDisabledVersions = function(y) { - return Array.isArray(y) && Array.isArray(y[0]) ? y : y.map(function(u) { - var d = u.protocol_version_major; - return [u.contract_version, d]; + }, n.deserializeDisabledVersions = function(w) { + return Array.isArray(w) && Array.isArray(w[0]) ? w : w.map(function(m) { + var v = m.protocol_version_major; + return [m.contract_version, v]; }); }; - }, 121: function(x, n, c) { - var r = this && this.__decorate || function(H, U, S, T) { - var E, M = arguments.length, _ = M < 3 ? U : T === null ? T = Object.getOwnPropertyDescriptor(U, S) : T; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(H, U, S, T); - else for (var w = H.length - 1; w >= 0; w--) (E = H[w]) && (_ = (M < 3 ? E(_) : M > 3 ? E(U, S, _) : E(U, S)) || _); - return M > 3 && _ && Object.defineProperty(U, S, _), _; - }, a = this && this.__metadata || function(H, U) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(H, U); + }, 121(g, n, s) { + var r = this && this.__decorate || function(N, k, j, D) { + var T, L = arguments.length, R = L < 3 ? k : D === null ? D = Object.getOwnPropertyDescriptor(k, j) : D; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(N, k, j, D); + else for (var M = N.length - 1; M >= 0; M--) (T = N[M]) && (R = (L < 3 ? T(R) : L > 3 ? T(k, j, R) : T(k, j)) || R); + return L > 3 && R && Object.defineProperty(k, j, R), R; + }, o = this && this.__metadata || function(N, k) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(N, k); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.StoredValue = void 0; - var i = c(9592), m = c(602), t = c(6838), f = c(402), b = c(5495), y = c(2142), u = c(8148), d = c(3750), l = c(4820), s = c(4613), v = c(3903), p = c(9153), h = c(111), O = c(5e3), I = c(2535), k = c(8263), R = c(5466), L = c(978), N = c(5463), B = function() { - function H() { + var i = s(9592), p = s(602), a = s(6838), f = s(402), C = s(5495), w = s(2142), m = s(8148), v = s(3750), l = s(4820), u = s(4613), y = s(3903), d = s(9153), b = s(111), _ = s(5e3), E = s(2535), B = s(8263), O = s(5466), I = s(978), x = s(5463), A = function() { + function N() { } - return r([(0, i.jsonMember)({ name: "CLValue", constructor: R.CLValue, deserializer: function(U) { - if (U) return R.CLValueParser.fromJSON(U); - }, serializer: function(U) { - if (U) return R.CLValueParser.toJSON(U); - } }), a("design:type", R.CLValue)], H.prototype, "clValue", void 0), r([(0, i.jsonMember)({ name: "Account", constructor: m.Account }), a("design:type", m.Account)], H.prototype, "account", void 0), r([(0, i.jsonMember)({ name: "Contract", constructor: I.Contract }), a("design:type", I.Contract)], H.prototype, "contract", void 0), r([(0, i.jsonMember)({ name: "ContractWasm", constructor: N.ContractWasm }), a("design:type", N.ContractWasm)], H.prototype, "ContractWasm", void 0), r([(0, i.jsonMember)({ name: "ContractPackage", constructor: k.ContractPackage }), a("design:type", k.ContractPackage)], H.prototype, "contractPackage", void 0), r([(0, i.jsonMember)({ name: "Transfer", constructor: t.Transfer, deserializer: function(U) { - if (U) return t.Transfer.fromJSON(U); - } }), a("design:type", t.Transfer)], H.prototype, "transfer", void 0), r([(0, i.jsonMember)({ name: "DeployInfo", constructor: f.DeployInfo }), a("design:type", f.DeployInfo)], H.prototype, "deployInfo", void 0), r([(0, i.jsonMember)({ name: "EraInfo", constructor: b.EraInfo }), a("design:type", b.EraInfo)], H.prototype, "eraInfo", void 0), r([(0, i.jsonMember)({ name: "Bid", constructor: y.Bid }), a("design:type", y.Bid)], H.prototype, "bid", void 0), r([(0, i.jsonArrayMember)(u.UnbondingPurse, { name: "Withdraw" }), a("design:type", Array)], H.prototype, "withdraw", void 0), r([(0, i.jsonMember)({ name: "Unbonding", constructor: u.UnbondingPurse }), a("design:type", u.UnbondingPurse)], H.prototype, "unbonding", void 0), r([(0, i.jsonMember)({ name: "AddressableEntity", constructor: d.AddressableEntity }), a("design:type", d.AddressableEntity)], H.prototype, "addressableEntity", void 0), r([(0, i.jsonMember)({ name: "BidKind", constructor: l.BidKind }), a("design:type", l.BidKind)], H.prototype, "bidKind", void 0), r([(0, i.jsonMember)({ name: "Package", constructor: s.Package }), a("design:type", s.Package)], H.prototype, "package", void 0), r([(0, i.jsonMember)({ name: "ByteCode", constructor: L.SystemByteCode, serializer: function(U) { - if (U) return U.toString(); - } }), a("design:type", L.SystemByteCode)], H.prototype, "byteCode", void 0), r([(0, i.jsonMember)({ name: "MessageTopic", constructor: v.MessageTopicSummary }), a("design:type", v.MessageTopicSummary)], H.prototype, "messageTopic", void 0), r([(0, i.jsonMember)({ name: "Message", constructor: String }), a("design:type", String)], H.prototype, "message", void 0), r([(0, i.jsonMember)({ name: "NamedKey", constructor: p.NamedKeyValue }), a("design:type", p.NamedKeyValue)], H.prototype, "namedKey", void 0), r([(0, i.jsonMember)({ name: "Prepayment", constructor: O.PrepaymentKind }), a("design:type", O.PrepaymentKind)], H.prototype, "prepayment", void 0), r([(0, i.jsonMember)({ name: "EntryPoint", constructor: h.EntryPointValue }), a("design:type", h.EntryPointValue)], H.prototype, "entryPoint", void 0), r([(0, i.jsonMember)({ name: "RawBytes", constructor: String }), a("design:type", String)], H.prototype, "rawBytes", void 0), r([i.jsonObject], H); - }(); - n.StoredValue = B; - }, 6500: function(x, n, c) { - var r = this && this.__decorate || function(b, y, u, d) { - var l, s = arguments.length, v = s < 3 ? y : d === null ? d = Object.getOwnPropertyDescriptor(y, u) : d; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, d); - else for (var p = b.length - 1; p >= 0; p--) (l = b[p]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + return r([(0, i.jsonMember)({ name: "CLValue", constructor: O.CLValue, deserializer: function(k) { + if (k) return O.CLValueParser.fromJSON(k); + }, serializer: function(k) { + if (k) return O.CLValueParser.toJSON(k); + } }), o("design:type", O.CLValue)], N.prototype, "clValue", void 0), r([(0, i.jsonMember)({ name: "Account", constructor: p.Account }), o("design:type", p.Account)], N.prototype, "account", void 0), r([(0, i.jsonMember)({ name: "Contract", constructor: E.Contract }), o("design:type", E.Contract)], N.prototype, "contract", void 0), r([(0, i.jsonMember)({ name: "ContractWasm", constructor: x.ContractWasm }), o("design:type", x.ContractWasm)], N.prototype, "ContractWasm", void 0), r([(0, i.jsonMember)({ name: "ContractPackage", constructor: B.ContractPackage }), o("design:type", B.ContractPackage)], N.prototype, "contractPackage", void 0), r([(0, i.jsonMember)({ name: "Transfer", constructor: a.Transfer, deserializer: function(k) { + if (k) return a.Transfer.fromJSON(k); + } }), o("design:type", a.Transfer)], N.prototype, "transfer", void 0), r([(0, i.jsonMember)({ name: "DeployInfo", constructor: f.DeployInfo }), o("design:type", f.DeployInfo)], N.prototype, "deployInfo", void 0), r([(0, i.jsonMember)({ name: "EraInfo", constructor: C.EraInfo }), o("design:type", C.EraInfo)], N.prototype, "eraInfo", void 0), r([(0, i.jsonMember)({ name: "Bid", constructor: w.Bid }), o("design:type", w.Bid)], N.prototype, "bid", void 0), r([(0, i.jsonArrayMember)(m.UnbondingPurse, { name: "Withdraw" }), o("design:type", Array)], N.prototype, "withdraw", void 0), r([(0, i.jsonMember)({ name: "Unbonding", constructor: m.UnbondingPurse }), o("design:type", m.UnbondingPurse)], N.prototype, "unbonding", void 0), r([(0, i.jsonMember)({ name: "AddressableEntity", constructor: v.AddressableEntity }), o("design:type", v.AddressableEntity)], N.prototype, "addressableEntity", void 0), r([(0, i.jsonMember)({ name: "BidKind", constructor: l.BidKind }), o("design:type", l.BidKind)], N.prototype, "bidKind", void 0), r([(0, i.jsonMember)({ name: "Package", constructor: u.Package }), o("design:type", u.Package)], N.prototype, "package", void 0), r([(0, i.jsonMember)({ name: "ByteCode", constructor: I.SystemByteCode, serializer: function(k) { + if (k) return k.toString(); + } }), o("design:type", I.SystemByteCode)], N.prototype, "byteCode", void 0), r([(0, i.jsonMember)({ name: "MessageTopic", constructor: y.MessageTopicSummary }), o("design:type", y.MessageTopicSummary)], N.prototype, "messageTopic", void 0), r([(0, i.jsonMember)({ name: "Message", constructor: String }), o("design:type", String)], N.prototype, "message", void 0), r([(0, i.jsonMember)({ name: "NamedKey", constructor: d.NamedKeyValue }), o("design:type", d.NamedKeyValue)], N.prototype, "namedKey", void 0), r([(0, i.jsonMember)({ name: "Prepayment", constructor: _.PrepaymentKind }), o("design:type", _.PrepaymentKind)], N.prototype, "prepayment", void 0), r([(0, i.jsonMember)({ name: "EntryPoint", constructor: b.EntryPointValue }), o("design:type", b.EntryPointValue)], N.prototype, "entryPoint", void 0), r([(0, i.jsonMember)({ name: "RawBytes", constructor: String }), o("design:type", String)], N.prototype, "rawBytes", void 0), r([i.jsonObject], N); + }(); + n.StoredValue = A; + }, 6500(g, n, s) { + var r = this && this.__decorate || function(C, w, m, v) { + var l, u = arguments.length, y = u < 3 ? w : v === null ? v = Object.getOwnPropertyDescriptor(w, m) : v; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") y = Reflect.decorate(C, w, m, v); + else for (var d = C.length - 1; d >= 0; d--) (l = C[d]) && (y = (u < 3 ? l(y) : u > 3 ? l(w, m, y) : l(w, m)) || y); + return u > 3 && y && Object.defineProperty(w, m, y), y; + }, o = this && this.__metadata || function(C, w) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(C, w); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Duration = n.Timestamp = void 0; - var i = c(9592), m = c(2428), t = function() { - function b(u) { - this.date = u; + var i = s(9592), p = s(2428), a = function() { + function C(m) { + this.date = m; } - var y; - return y = b, b.prototype.toMilliseconds = function() { + var w; + return w = C, C.prototype.toMilliseconds = function() { return this.date.getTime(); - }, b.prototype.toJSON = function() { + }, C.prototype.toJSON = function() { return this.date.toISOString(); - }, b.fromJSON = function(u) { - return new y(new Date(u)); - }, b.prototype.toDate = function() { + }, C.fromJSON = function(m) { + return new w(new Date(m)); + }, C.prototype.toDate = function() { return this.date; - }, r([(0, i.jsonMember)({ constructor: Date }), a("design:type", Date)], b.prototype, "date", void 0), y = r([i.jsonObject, a("design:paramtypes", [Date])], b); + }, r([(0, i.jsonMember)({ constructor: Date }), o("design:type", Date)], C.prototype, "date", void 0), w = r([i.jsonObject, o("design:paramtypes", [Date])], C); }(); - n.Timestamp = t; + n.Timestamp = a; var f = function() { - function b(u) { - this.duration = u; - } - var y; - return y = b, b.prototype.toJSON = function() { - return (0, m.humanizerTTL)(this.duration); - }, b.fromJSON = function(u) { - var d = (0, m.dehumanizerTTL)(u); - return new y(d); - }, b.prototype.toDurationString = function() { + function C(m) { + this.duration = m; + } + var w; + return w = C, C.prototype.toJSON = function() { + return (0, p.humanizerTTL)(this.duration); + }, C.fromJSON = function(m) { + var v = (0, p.dehumanizerTTL)(m); + return new w(v); + }, C.prototype.toDurationString = function() { return new Date(this.duration).toISOString().substring(11, 19); - }, b.parseDurationString = function(u) { - var d = u.match(/(\d+)([smhd])/g); - if (!d) throw new Error("Invalid duration format"); - for (var l = 0, s = 0, v = d; s < v.length; s++) { - var p = v[s], h = parseInt(p.slice(0, -1)); - switch (p.slice(-1)) { + }, C.parseDurationString = function(m) { + var v = m.match(/(\d+)([smhd])/g); + if (!v) throw new Error("Invalid duration format"); + for (var l = 0, u = 0, y = v; u < y.length; u++) { + var d = y[u], b = parseInt(d.slice(0, -1)); + switch (d.slice(-1)) { case "s": - l += 1e3 * h; + l += 1e3 * b; break; case "m": - l += 6e4 * h; + l += 6e4 * b; break; case "h": - l += 36e5 * h; + l += 36e5 * b; break; case "d": - l += 864e5 * h; + l += 864e5 * b; } } return l; - }, b.prototype.toMilliseconds = function() { + }, C.prototype.toMilliseconds = function() { return this.duration; - }, r([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], b.prototype, "duration", void 0), y = r([i.jsonObject, a("design:paramtypes", [Number])], b); + }, r([(0, i.jsonMember)({ constructor: Number }), o("design:type", Number)], C.prototype, "duration", void 0), w = r([i.jsonObject, o("design:paramtypes", [Number])], C); }(); n.Duration = f; - }, 9125: function(x, n, c) { - var r, a = c(8287).Buffer, i = this && this.__extends || (r = function(w, A) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(j, V) { - j.__proto__ = V; - } || function(j, V) { - for (var D in V) Object.prototype.hasOwnProperty.call(V, D) && (j[D] = V[D]); - }, r(w, A); - }, function(w, A) { - if (typeof A != "function" && A !== null) throw new TypeError("Class extends value " + String(A) + " is not a constructor or null"); - function j() { - this.constructor = w; - } - r(w, A), w.prototype = A === null ? Object.create(A) : (j.prototype = A.prototype, new j()); - }), m = this && this.__decorate || function(w, A, j, V) { - var D, z = arguments.length, J = z < 3 ? A : V === null ? V = Object.getOwnPropertyDescriptor(A, j) : V; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") J = Reflect.decorate(w, A, j, V); - else for (var G = w.length - 1; G >= 0; G--) (D = w[G]) && (J = (z < 3 ? D(J) : z > 3 ? D(A, j, J) : D(A, j)) || J); - return z > 3 && J && Object.defineProperty(A, j, J), J; - }, t = this && this.__metadata || function(w, A) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, A); + }, 9125(g, n, s) { + var r, o = s(8287).Buffer, i = this && this.__extends || (r = function(M, P) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(H, K) { + H.__proto__ = K; + } || function(H, K) { + for (var V in K) Object.prototype.hasOwnProperty.call(K, V) && (H[V] = K[V]); + }, r(M, P); + }, function(M, P) { + if (typeof P != "function" && P !== null) throw new TypeError("Class extends value " + String(P) + " is not a constructor or null"); + function H() { + this.constructor = M; + } + r(M, P), M.prototype = P === null ? Object.create(P) : (H.prototype = P.prototype, new H()); + }), p = this && this.__decorate || function(M, P, H, K) { + var V, U = arguments.length, F = U < 3 ? P : K === null ? K = Object.getOwnPropertyDescriptor(P, H) : K; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") F = Reflect.decorate(M, P, H, K); + else for (var Q = M.length - 1; Q >= 0; Q--) (V = M[Q]) && (F = (U < 3 ? V(F) : U > 3 ? V(P, H, F) : V(P, H)) || F); + return U > 3 && F && Object.defineProperty(P, H, F), F; + }, a = this && this.__metadata || function(M, P) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(M, P); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.TransactionWrapper = n.Transaction = n.TransactionV1 = n.Approval = n.TransactionHash = n.TransactionVersion = n.TransactionCategory = n.ErrTransactionV1FromJson = n.ErrInvalidApprovalSignature = n.ErrInvalidTransactionHash = n.TransactionError = void 0; - var f, b, y = c(9592), u = c(8905), d = c(3401), l = c(6694), s = c(6500), v = c(3771), p = c(6200), h = c(7012), O = c(2151), I = c(5731), k = c(9449), R = c(7889), L = c(9960), N = c(678), B = c(5596), H = c(9213), U = function(w) { - function A() { - return w !== null && w.apply(this, arguments) || this; + var f, C, w = s(9592), m = s(8905), v = s(3401), l = s(6694), u = s(6500), y = s(3771), d = s(6200), b = s(7012), _ = s(2151), E = s(5731), B = s(9449), O = s(7889), I = s(9960), x = s(678), A = s(5596), N = s(9213), k = function(M) { + function P() { + return M !== null && M.apply(this, arguments) || this; } - return i(A, w), A; + return i(P, M), P; }(Error); - n.TransactionError = U, n.ErrInvalidTransactionHash = new U("invalid transaction hash"), n.ErrInvalidApprovalSignature = new U("invalid approval signature"), n.ErrTransactionV1FromJson = new U("The JSON can't be parsed as a TransactionV1."), (b = n.TransactionCategory || (n.TransactionCategory = {}))[b.Mint = 0] = "Mint", b[b.Auction = 1] = "Auction", b[b.InstallUpgrade = 2] = "InstallUpgrade", b[b.Large = 3] = "Large", b[b.Medium = 4] = "Medium", b[b.Small = 5] = "Small", (f = n.TransactionVersion || (n.TransactionVersion = {}))[f.V1 = 0] = "V1", f[f.Deploy = 1] = "Deploy"; - var S = function(w) { - function A(V, D) { - var z = this; - return V && ((z = w.call(this, V.toBytes()) || this).deploy = V), D && ((z = w.call(this, D.toBytes()) || this).transactionV1 = D), z; - } - var j; - return i(A, w), j = A, A.fromDeployHash = function(V) { - return new j(V, void 0); - }, A.fromTransactionHash = function(V) { - return new j(void 0, V); - }, A.prototype.getHash = function() { + n.TransactionError = k, n.ErrInvalidTransactionHash = new k("invalid transaction hash"), n.ErrInvalidApprovalSignature = new k("invalid approval signature"), n.ErrTransactionV1FromJson = new k("The JSON can't be parsed as a TransactionV1."), (C = n.TransactionCategory || (n.TransactionCategory = {}))[C.Mint = 0] = "Mint", C[C.Auction = 1] = "Auction", C[C.InstallUpgrade = 2] = "InstallUpgrade", C[C.Large = 3] = "Large", C[C.Medium = 4] = "Medium", C[C.Small = 5] = "Small", (f = n.TransactionVersion || (n.TransactionVersion = {}))[f.V1 = 0] = "V1", f[f.Deploy = 1] = "Deploy"; + var j = function(M) { + function P(K, V) { + var U = this; + return K && ((U = M.call(this, K.toBytes()) || this).deploy = K), V && ((U = M.call(this, V.toBytes()) || this).transactionV1 = V), U; + } + var H; + return i(P, M), H = P, P.fromDeployHash = function(K) { + return new H(K, void 0); + }, P.fromTransactionHash = function(K) { + return new H(void 0, K); + }, P.prototype.getHash = function() { return this.deploy || this.transactionV1; - }, A.prototype.toHex = function() { - var V; - return ((V = this.getHash()) === null || V === void 0 ? void 0 : V.toHex()) || ""; - }, A.prototype.toBytes = function() { - var V; - return ((V = this.getHash()) === null || V === void 0 ? void 0 : V.toBytes()) || new Uint8Array(); - }, A.prototype.toJSON = function() { + }, P.prototype.toHex = function() { + var K; + return ((K = this.getHash()) === null || K === void 0 ? void 0 : K.toHex()) || ""; + }, P.prototype.toBytes = function() { + var K; + return ((K = this.getHash()) === null || K === void 0 ? void 0 : K.toBytes()) || new Uint8Array(); + }, P.prototype.toJSON = function() { return this.toHex(); - }, A.prototype.equals = function(V) { - var D, z = (D = this.getHash()) === null || D === void 0 ? void 0 : D.toBytes(), J = V.toBytes(); - return !(!z || z.length !== J.length) && z.every(function(G, Q) { - return G === J[Q]; + }, P.prototype.equals = function(K) { + var V, U = (V = this.getHash()) === null || V === void 0 ? void 0 : V.toBytes(), F = K.toBytes(); + return !(!U || U.length !== F.length) && U.every(function(Q, ne) { + return Q === F[ne]; }); - }, m([(0, y.jsonMember)({ name: "Deploy", constructor: d.Hash, deserializer: function(V) { - if (V) return d.Hash.fromJSON(V); - }, serializer: function(V) { - if (V) return V.toJSON(); - } }), t("design:type", d.Hash)], A.prototype, "deploy", void 0), m([(0, y.jsonMember)({ name: "Version1", constructor: d.Hash, deserializer: function(V) { - if (V) return d.Hash.fromJSON(V); - }, serializer: function(V) { - if (V) return V.toJSON(); - } }), t("design:type", d.Hash)], A.prototype, "transactionV1", void 0), j = m([y.jsonObject, t("design:paramtypes", [d.Hash, d.Hash])], A); - }(d.Hash); - n.TransactionHash = S; - var T = function() { - function w(A, j) { - this.signer = A, this.signature = j; + }, p([(0, w.jsonMember)({ name: "Deploy", constructor: v.Hash, deserializer: function(K) { + if (K) return v.Hash.fromJSON(K); + }, serializer: function(K) { + if (K) return K.toJSON(); + } }), a("design:type", v.Hash)], P.prototype, "deploy", void 0), p([(0, w.jsonMember)({ name: "Version1", constructor: v.Hash, deserializer: function(K) { + if (K) return v.Hash.fromJSON(K); + }, serializer: function(K) { + if (K) return K.toJSON(); + } }), a("design:type", v.Hash)], P.prototype, "transactionV1", void 0), H = p([w.jsonObject, a("design:paramtypes", [v.Hash, v.Hash])], P); + }(v.Hash); + n.TransactionHash = j; + var D = function() { + function M(P, H) { + this.signer = P, this.signature = H; } - return w.toBytes = function(A) { - var j = (0, N.toBytesU32)(A.length), V = (0, u.concat)(A.map(function(D) { - return (0, u.concat)([Uint8Array.from(a.from(D.signer.toString(), "hex")), Uint8Array.from(a.from(D.signature.toString(), "hex"))]); + return M.toBytes = function(P) { + var H = (0, x.toBytesU32)(P.length), K = (0, m.concat)(P.map(function(V) { + return (0, m.concat)([Uint8Array.from(o.from(V.signer.toString(), "hex")), Uint8Array.from(o.from(V.signature.toString(), "hex"))]); })); - return (0, u.concat)([j, V]); - }, m([(0, y.jsonMember)({ name: "signer", constructor: k.PublicKey, deserializer: function(A) { - return k.PublicKey.fromJSON(A); - }, serializer: function(A) { - return A.toJSON(); - } }), t("design:type", k.PublicKey)], w.prototype, "signer", void 0), m([(0, y.jsonMember)({ name: "signature", constructor: R.HexBytes, deserializer: function(A) { - return R.HexBytes.fromJSON(A); - }, serializer: function(A) { - return A.toJSON(); - } }), t("design:type", R.HexBytes)], w.prototype, "signature", void 0), m([y.jsonObject, t("design:paramtypes", [k.PublicKey, R.HexBytes])], w); - }(); - n.Approval = T; - var E = function() { - function w(j, V, D) { - this.hash = j, this.payload = V, this.approvals = D; + return (0, m.concat)([H, K]); + }, p([(0, w.jsonMember)({ name: "signer", constructor: B.PublicKey, deserializer: function(P) { + return B.PublicKey.fromJSON(P); + }, serializer: function(P) { + return P.toJSON(); + } }), a("design:type", B.PublicKey)], M.prototype, "signer", void 0), p([(0, w.jsonMember)({ name: "signature", constructor: O.HexBytes, deserializer: function(P) { + return O.HexBytes.fromJSON(P); + }, serializer: function(P) { + return P.toJSON(); + } }), a("design:type", O.HexBytes)], M.prototype, "signature", void 0), p([w.jsonObject, a("design:paramtypes", [B.PublicKey, O.HexBytes])], M); + }(); + n.Approval = D; + var T = function() { + function M(H, K, V) { + this.hash = H, this.payload = K, this.approvals = V; } - var A; - return A = w, w.prototype.validate = function() { - var j = this.payload.toBytes(), V = new d.Hash((0, N.byteHash)(j)); - if (!this.hash.equals(V)) throw n.ErrInvalidTransactionHash; - for (var D = 0, z = this.approvals; D < z.length; D++) { - var J = z[D]; - if (!J.signer.verifySignature(this.hash.toBytes(), J.signature.bytes)) throw n.ErrInvalidApprovalSignature; + var P; + return P = M, M.prototype.validate = function() { + var H = this.payload.toBytes(), K = new v.Hash((0, x.byteHash)(H)); + if (!this.hash.equals(K)) throw n.ErrInvalidTransactionHash; + for (var V = 0, U = this.approvals; V < U.length; V++) { + var F = U[V]; + if (!F.signer.verifySignature(this.hash.toBytes(), F.signature.bytes)) throw n.ErrInvalidApprovalSignature; } return !0; - }, w.prototype.sign = function(j) { - var V = j.signAndAddAlgorithmBytes(this.hash.toBytes()), D = new R.HexBytes(V); - this.approvals || (this.approvals = []), this.approvals.push(new T(j.publicKey, D)); - }, w.prototype.toBytes = function() { - return new H.CalltableSerialization().addField(A.HASH_FIELD_INDEX, this.hash.toBytes()).addField(A.PAYLOAD_FIELD_INDEX, this.payload.toBytes()).addField(A.APPROVALS_FIELD_INDEX, T.toBytes(this.approvals)).toBytes(); - }, w.setSignature = function(j, V, D) { - var z = new R.HexBytes(V); - return j.approvals.push(new T(D, z)), j; - }, w.newTransactionV1 = function(j, V, D) { - return new A(j, V, D); - }, w.makeTransactionV1 = function(j) { - var V = j.toBytes(), D = new d.Hash((0, N.byteHash)(V)); - return new A(D, j, []); - }, w.fromJSON = function(j) { - var V, D, z, J, G, Q; + }, M.prototype.sign = function(H) { + var K = H.signAndAddAlgorithmBytes(this.hash.toBytes()), V = new O.HexBytes(K); + this.approvals || (this.approvals = []), this.approvals.push(new D(H.publicKey, V)); + }, M.prototype.toBytes = function() { + return new N.CalltableSerialization().addField(P.HASH_FIELD_INDEX, this.hash.toBytes()).addField(P.PAYLOAD_FIELD_INDEX, this.payload.toBytes()).addField(P.APPROVALS_FIELD_INDEX, D.toBytes(this.approvals)).toBytes(); + }, M.setSignature = function(H, K, V) { + var U = new O.HexBytes(K); + return H.approvals.push(new D(V, U)), H; + }, M.newTransactionV1 = function(H, K, V) { + return new P(H, K, V); + }, M.makeTransactionV1 = function(H) { + var K = H.toBytes(), V = new v.Hash((0, x.byteHash)(K)); + return new P(V, H, []); + }, M.fromJSON = function(H) { + var K, V, U, F, Q, ne; try { - var ee = typeof j == "string" ? JSON.parse(j) : j, Z = (J = (z = (D = (V = ee?.transaction) === null || V === void 0 ? void 0 : V.Version1) !== null && D !== void 0 ? D : ee?.Version1) !== null && z !== void 0 ? z : ee) !== null && J !== void 0 ? J : null; - if (!Z?.hash || !(!((G = Z?.payload) === null || G === void 0) && G.initiator_addr) || !(Q = new y.TypedJSON(A).parse(Z))) throw n.ErrTransactionV1FromJson; - } catch (q) { - throw new Error("Serialization error: ".concat(q.message)); - } - return Q.validate(), Q; - }, w.HASH_FIELD_INDEX = 0, w.PAYLOAD_FIELD_INDEX = 1, w.APPROVALS_FIELD_INDEX = 2, w.toJSON = function(j) { - return new y.TypedJSON(A).toPlainJson(j); - }, m([(0, y.jsonMember)({ name: "hash", constructor: d.Hash, deserializer: function(j) { - return d.Hash.fromJSON(j); - }, serializer: function(j) { - return j.toJSON(); - } }), t("design:type", d.Hash)], w.prototype, "hash", void 0), m([(0, y.jsonMember)({ name: "payload", constructor: B.TransactionV1Payload }), t("design:type", B.TransactionV1Payload)], w.prototype, "payload", void 0), m([(0, y.jsonArrayMember)(function() { - return T; - }), t("design:type", Array)], w.prototype, "approvals", void 0), A = m([y.jsonObject, t("design:paramtypes", [d.Hash, B.TransactionV1Payload, Array])], w); + var te = typeof H == "string" ? JSON.parse(H) : H, X = (F = (U = (V = (K = te?.transaction) === null || K === void 0 ? void 0 : K.Version1) !== null && V !== void 0 ? V : te?.Version1) !== null && U !== void 0 ? U : te) !== null && F !== void 0 ? F : null; + if (!X?.hash || !(!((Q = X?.payload) === null || Q === void 0) && Q.initiator_addr) || !(ne = new w.TypedJSON(P).parse(X))) throw n.ErrTransactionV1FromJson; + } catch (Z) { + throw new Error("Serialization error: ".concat(Z.message)); + } + return ne.validate(), ne; + }, M.HASH_FIELD_INDEX = 0, M.PAYLOAD_FIELD_INDEX = 1, M.APPROVALS_FIELD_INDEX = 2, M.toJSON = function(H) { + return new w.TypedJSON(P).toPlainJson(H); + }, p([(0, w.jsonMember)({ name: "hash", constructor: v.Hash, deserializer: function(H) { + return v.Hash.fromJSON(H); + }, serializer: function(H) { + return H.toJSON(); + } }), a("design:type", v.Hash)], M.prototype, "hash", void 0), p([(0, w.jsonMember)({ name: "payload", constructor: A.TransactionV1Payload }), a("design:type", A.TransactionV1Payload)], M.prototype, "payload", void 0), p([(0, w.jsonArrayMember)(function() { + return D; + }), a("design:type", Array)], M.prototype, "approvals", void 0), P = p([w.jsonObject, a("design:paramtypes", [v.Hash, A.TransactionV1Payload, Array])], M); }(); - n.TransactionV1 = E; - var M = function() { - function w(j, V, D, z, J, G, Q, ee, Z, q, se, ue, ce) { - if (this.hash = j, this.chainName = V, this.timestamp = D, this.ttl = z, this.initiatorAddr = J, this.pricingMode = G, this.args = Q, this.target = ee, this.entryPoint = Z, this.scheduling = q, this.approvals = se, this.originDeployV1 = ce, this.originTransactionV1 = ue, !this.originDeployV1 && !this.originTransactionV1) throw new Error("Incorrect Transaction instance. Missing originTransactionV1 or originDeploy"); + n.TransactionV1 = T; + var L = function() { + function M(H, K, V, U, F, Q, ne, te, X, Z, fe, le, Se) { + if (this.hash = H, this.chainName = K, this.timestamp = V, this.ttl = U, this.initiatorAddr = F, this.pricingMode = Q, this.args = ne, this.target = te, this.entryPoint = X, this.scheduling = Z, this.approvals = fe, this.originDeployV1 = Se, this.originTransactionV1 = le, !this.originDeployV1 && !this.originTransactionV1) throw new Error("Incorrect Transaction instance. Missing originTransactionV1 or originDeploy"); if (this.originDeployV1 && this.originTransactionV1) throw new Error("Incorrect Transaction instance. Should be only one of originTransactionV1 or originDeploy"); } - var A; - return A = w, w.prototype.getDeploy = function() { + var P; + return P = M, M.prototype.getDeploy = function() { return this.originDeployV1; - }, w.prototype.getTransactionV1 = function() { + }, M.prototype.getTransactionV1 = function() { return this.originTransactionV1; - }, w.prototype.getTransactionWrapper = function() { - return new _(this.originDeployV1, this.originTransactionV1); - }, w.prototype.validate = function() { + }, M.prototype.getTransactionWrapper = function() { + return new R(this.originDeployV1, this.originTransactionV1); + }, M.prototype.validate = function() { if (this.originTransactionV1) return this.originTransactionV1.validate(); if (this.originDeployV1) return this.originDeployV1.validate(); throw new Error("Incorrect Transaction instance. Missing origin value"); - }, w.prototype.sign = function(j) { - var V = j.signAndAddAlgorithmBytes(this.hash.toBytes()); - this.setSignature(V, j.publicKey); - }, w.prototype.setSignature = function(j, V) { - var D = new R.HexBytes(j), z = new T(V, D); - if (this.originTransactionV1) this.originTransactionV1.approvals.push(z); + }, M.prototype.sign = function(H) { + var K = H.signAndAddAlgorithmBytes(this.hash.toBytes()); + this.setSignature(K, H.publicKey); + }, M.prototype.setSignature = function(H, K) { + var V = new O.HexBytes(H), U = new D(K, V); + if (this.originTransactionV1) this.originTransactionV1.approvals.push(U); else { if (!this.originDeployV1) throw new Error("Incorrect Transaction instance. Missing origin value"); - this.originDeployV1.approvals.push(z); + this.originDeployV1.approvals.push(U); } - }, w.prototype.toBytes = function() { - if (this.originDeployV1) return (0, u.concat)([Uint8Array.of(0), this.originDeployV1.toBytes()]); - if (this.originTransactionV1) return (0, u.concat)([Uint8Array.of(1), this.originTransactionV1.toBytes()]); + }, M.prototype.toBytes = function() { + if (this.originDeployV1) return (0, m.concat)([Uint8Array.of(0), this.originDeployV1.toBytes()]); + if (this.originTransactionV1) return (0, m.concat)([Uint8Array.of(1), this.originTransactionV1.toBytes()]); throw new Error("Incorrect Transaction instance. Missing origin value"); - }, w.fromTransactionV1 = function(j) { - return new A(S.fromTransactionHash(j.hash), j.payload.chainName, j.payload.timestamp, j.payload.ttl, j.payload.initiatorAddr, j.payload.pricingMode, j.payload.fields.args, j.payload.fields.target, j.payload.fields.entryPoint, j.payload.fields.scheduling, j.approvals, j, void 0); - }, w.fromDeploy = function(j) { - return l.Deploy.newTransactionFromDeploy(j); - }, w.fromJSON = function(j) { + }, M.fromTransactionV1 = function(H) { + return new P(j.fromTransactionHash(H.hash), H.payload.chainName, H.payload.timestamp, H.payload.ttl, H.payload.initiatorAddr, H.payload.pricingMode, H.payload.fields.args, H.payload.fields.target, H.payload.fields.entryPoint, H.payload.fields.scheduling, H.approvals, H, void 0); + }, M.fromDeploy = function(H) { + return l.Deploy.newTransactionFromDeploy(H); + }, M.fromJSON = function(H) { try { - var V = E.fromJSON(j); - return A.fromTransactionV1(V); + var K = T.fromJSON(H); + return P.fromTransactionV1(K); } catch { } try { - var D = l.Deploy.fromJSON(j); - return A.fromDeploy(D); + var V = l.Deploy.fromJSON(H); + return P.fromDeploy(V); } catch { } throw new Error("The JSON can't be parsed as a Transaction."); - }, w.prototype.toJSON = function() { - if (this.originTransactionV1) return E.toJSON(this.originTransactionV1); + }, M.prototype.toJSON = function() { + if (this.originTransactionV1) return T.toJSON(this.originTransactionV1); if (this.originDeployV1) return l.Deploy.toJSON(this.originDeployV1); throw new Error("Incorrect Transaction instance. Missing origin value"); - }, m([(0, y.jsonMember)({ name: "hash", constructor: S }), t("design:type", S)], w.prototype, "hash", void 0), m([(0, y.jsonMember)({ name: "chain_name", constructor: String }), t("design:type", String)], w.prototype, "chainName", void 0), m([(0, y.jsonMember)({ name: "timestamp", constructor: s.Timestamp }), t("design:type", s.Timestamp)], w.prototype, "timestamp", void 0), m([(0, y.jsonMember)({ name: "ttl", constructor: s.Duration }), t("design:type", s.Duration)], w.prototype, "ttl", void 0), m([(0, y.jsonMember)({ name: "initiator_addr", constructor: v.InitiatorAddr }), t("design:type", v.InitiatorAddr)], w.prototype, "initiatorAddr", void 0), m([(0, y.jsonMember)({ name: "pricing_mode", constructor: p.PricingMode }), t("design:type", p.PricingMode)], w.prototype, "pricingMode", void 0), m([(0, y.jsonMember)(function() { - return L.Args; - }), t("design:type", L.Args)], w.prototype, "args", void 0), m([(0, y.jsonMember)({ name: "target", constructor: h.TransactionTarget }), t("design:type", h.TransactionTarget)], w.prototype, "target", void 0), m([(0, y.jsonMember)({ name: "entry_point", constructor: O.TransactionEntryPoint }), t("design:type", O.TransactionEntryPoint)], w.prototype, "entryPoint", void 0), m([(0, y.jsonMember)({ name: "scheduling", constructor: I.TransactionScheduling }), t("design:type", I.TransactionScheduling)], w.prototype, "scheduling", void 0), m([(0, y.jsonArrayMember)(T), t("design:type", Array)], w.prototype, "approvals", void 0), A = m([y.jsonObject, t("design:paramtypes", [S, String, s.Timestamp, s.Duration, v.InitiatorAddr, p.PricingMode, L.Args, h.TransactionTarget, O.TransactionEntryPoint, I.TransactionScheduling, Array, E, l.Deploy])], w); + }, p([(0, w.jsonMember)({ name: "hash", constructor: j }), a("design:type", j)], M.prototype, "hash", void 0), p([(0, w.jsonMember)({ name: "chain_name", constructor: String }), a("design:type", String)], M.prototype, "chainName", void 0), p([(0, w.jsonMember)({ name: "timestamp", constructor: u.Timestamp }), a("design:type", u.Timestamp)], M.prototype, "timestamp", void 0), p([(0, w.jsonMember)({ name: "ttl", constructor: u.Duration }), a("design:type", u.Duration)], M.prototype, "ttl", void 0), p([(0, w.jsonMember)({ name: "initiator_addr", constructor: y.InitiatorAddr }), a("design:type", y.InitiatorAddr)], M.prototype, "initiatorAddr", void 0), p([(0, w.jsonMember)({ name: "pricing_mode", constructor: d.PricingMode }), a("design:type", d.PricingMode)], M.prototype, "pricingMode", void 0), p([(0, w.jsonMember)(function() { + return I.Args; + }), a("design:type", I.Args)], M.prototype, "args", void 0), p([(0, w.jsonMember)({ name: "target", constructor: b.TransactionTarget }), a("design:type", b.TransactionTarget)], M.prototype, "target", void 0), p([(0, w.jsonMember)({ name: "entry_point", constructor: _.TransactionEntryPoint }), a("design:type", _.TransactionEntryPoint)], M.prototype, "entryPoint", void 0), p([(0, w.jsonMember)({ name: "scheduling", constructor: E.TransactionScheduling }), a("design:type", E.TransactionScheduling)], M.prototype, "scheduling", void 0), p([(0, w.jsonArrayMember)(D), a("design:type", Array)], M.prototype, "approvals", void 0), P = p([w.jsonObject, a("design:paramtypes", [j, String, u.Timestamp, u.Duration, y.InitiatorAddr, d.PricingMode, I.Args, b.TransactionTarget, _.TransactionEntryPoint, E.TransactionScheduling, Array, T, l.Deploy])], M); }(); - n.Transaction = M; - var _ = function() { - function w(j, V) { - this.deploy = j, this.transactionV1 = V; + n.Transaction = L; + var R = function() { + function M(H, K) { + this.deploy = H, this.transactionV1 = K; } - var A; - return A = w, w.toJSON = function(j) { - return new y.TypedJSON(A).toPlainJson(j); - }, m([(0, y.jsonMember)(function() { + var P; + return P = M, M.toJSON = function(H) { + return new w.TypedJSON(P).toPlainJson(H); + }, p([(0, w.jsonMember)(function() { return l.Deploy; - }, { name: "Deploy" }), t("design:type", l.Deploy)], w.prototype, "deploy", void 0), m([(0, y.jsonMember)({ name: "Version1", constructor: E, deserializer: function(j) { - if (j) return E.fromJSON(j); - } }), t("design:type", E)], w.prototype, "transactionV1", void 0), A = m([y.jsonObject, t("design:paramtypes", [l.Deploy, E])], w); - }(); - n.TransactionWrapper = _; - }, 6586: function(x, n, c) { - var r, a = this && this.__extends || (r = function(_, w) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(A, j) { - A.__proto__ = j; - } || function(A, j) { - for (var V in j) Object.prototype.hasOwnProperty.call(j, V) && (A[V] = j[V]); - }, r(_, w); - }, function(_, w) { - if (typeof w != "function" && w !== null) throw new TypeError("Class extends value " + String(w) + " is not a constructor or null"); - function A() { - this.constructor = _; + }, { name: "Deploy" }), a("design:type", l.Deploy)], M.prototype, "deploy", void 0), p([(0, w.jsonMember)({ name: "Version1", constructor: T, deserializer: function(H) { + if (H) return T.fromJSON(H); + } }), a("design:type", T)], M.prototype, "transactionV1", void 0), P = p([w.jsonObject, a("design:paramtypes", [l.Deploy, T])], M); + }(); + n.TransactionWrapper = R; + }, 6586(g, n, s) { + var r, o = this && this.__extends || (r = function(R, M) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(P, H) { + P.__proto__ = H; + } || function(P, H) { + for (var K in H) Object.prototype.hasOwnProperty.call(H, K) && (P[K] = H[K]); + }, r(R, M); + }, function(R, M) { + if (typeof M != "function" && M !== null) throw new TypeError("Class extends value " + String(M) + " is not a constructor or null"); + function P() { + this.constructor = R; } - r(_, w), _.prototype = w === null ? Object.create(w) : (A.prototype = w.prototype, new A()); + r(R, M), R.prototype = M === null ? Object.create(M) : (P.prototype = M.prototype, new P()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.SessionBuilder = n.ContractCallBuilder = n.NativeChangeBidPublicKeyBuilder = n.NativeActivateBidBuilder = n.NativeRedelegateBuilder = n.NativeUndelegateBuilder = n.NativeDelegateBuilder = n.NativeWithdrawBidBuilder = n.NativeAddBidBuilder = n.NativeTransferBuilder = void 0; - var i = c(3771), m = c(6200), t = c(7012), f = c(2151), b = c(5731), y = c(9960), u = c(3401), d = c(9125), l = c(5596), s = c(6500), v = c(5466), p = c(2625), h = c(6694), O = c(8389), I = c(7909), k = function() { - function _() { - this._timestamp = new s.Timestamp(/* @__PURE__ */ new Date()), this._ttl = new s.Duration(18e5), this._scheduling = new b.TransactionScheduling({}); - } - return _.prototype.from = function(w) { - return this._initiatorAddr = new i.InitiatorAddr(w), this; - }, _.prototype.fromAccountHash = function(w) { - return this._initiatorAddr = new i.InitiatorAddr(void 0, w), this; - }, _.prototype.chainName = function(w) { - return this._chainName = w, this; - }, _.prototype.contractHash = function(w) { - return this._contractHash = w, this; - }, _.prototype.timestamp = function(w) { - return this._timestamp = w, this; - }, _.prototype.ttl = function(w) { - return this._ttl = new s.Duration(w), this; - }, _.prototype.payment = function(w, A) { - A === void 0 && (A = 1); - var j = new m.PricingMode(), V = new m.PaymentLimitedMode(); - return V.standardPayment = !0, V.paymentAmount = w, V.gasPriceTolerance = A, j.paymentLimited = V, this._pricingMode = j, this; - }, _.prototype._getDefaultDeployHeader = function() { - var w = h.DeployHeader.default(); - return w.account = this._initiatorAddr.publicKey, w.chainName = this._chainName, w.timestamp = this._timestamp, w.ttl = this._ttl, w; - }, _.prototype._getStandardPayment = function() { - var w, A; - if (!(!((A = (w = this._pricingMode) === null || w === void 0 ? void 0 : w.paymentLimited) === null || A === void 0) && A.paymentAmount)) throw new Error("PaymentAmount is not specified"); - return p.ExecutableDeployItem.standardPayment(this._pricingMode.paymentLimited.paymentAmount.toString()); - }, _.prototype.build = function() { - var w = l.TransactionV1Payload.build({ initiatorAddr: this._initiatorAddr, timestamp: this._timestamp, ttl: this._ttl, chainName: this._chainName, pricingMode: this._pricingMode, args: this._runtimeArgs, transactionTarget: this._invocationTarget, entryPoint: this._entryPoint, scheduling: this._scheduling }), A = d.TransactionV1.makeTransactionV1(w); - return d.Transaction.fromTransactionV1(A); - }, _; - }(), R = function(_) { - function w() { - var A = _.call(this) || this; - return A._amount = v.CLValue.newCLUInt512("0"), A._amountRow = "0", A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Transfer), A; - } - return a(w, _), w.prototype.target = function(A) { - return this._publicKey = A, this._target = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.targetAccountHash = function(A) { - return this._target = v.CLValue.newCLByteArray(A.toBytes()), this; - }, w.prototype.amount = function(A) { - return this._amountRow = A, this._amount = v.CLValue.newCLUInt512(A), this; - }, w.prototype.id = function(A) { - return this._idTransfer = A, this; - }, w.prototype.build = function() { - var A = y.Args.fromMap({}); - return A.insert("target", this._target), A.insert("amount", this._amount), this._idTransfer && A.insert("id", v.CLValue.newCLOption(v.CLValue.newCLUint64(this._idTransfer))), this._runtimeArgs = A, _.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var A, j = new p.ExecutableDeployItem(); - j.transfer = p.TransferDeployItem.newTransfer(this._amountRow, this._publicKey, void 0, this._idTransfer); + var i = s(3771), p = s(6200), a = s(7012), f = s(2151), C = s(5731), w = s(9960), m = s(3401), v = s(9125), l = s(5596), u = s(6500), y = s(5466), d = s(2625), b = s(6694), _ = s(8389), E = s(7909), B = function() { + function R() { + this._timestamp = new u.Timestamp(/* @__PURE__ */ new Date()), this._ttl = new u.Duration(18e5), this._scheduling = new C.TransactionScheduling({}); + } + return R.prototype.from = function(M) { + return this._initiatorAddr = new i.InitiatorAddr(M), this; + }, R.prototype.fromAccountHash = function(M) { + return this._initiatorAddr = new i.InitiatorAddr(void 0, M), this; + }, R.prototype.chainName = function(M) { + return this._chainName = M, this; + }, R.prototype.contractHash = function(M) { + return this._contractHash = M, this; + }, R.prototype.timestamp = function(M) { + return this._timestamp = M, this; + }, R.prototype.ttl = function(M) { + return this._ttl = new u.Duration(M), this; + }, R.prototype.payment = function(M, P) { + P === void 0 && (P = 1); + var H = new p.PricingMode(), K = new p.PaymentLimitedMode(); + return K.standardPayment = !0, K.paymentAmount = M, K.gasPriceTolerance = P, H.paymentLimited = K, this._pricingMode = H, this; + }, R.prototype._getDefaultDeployHeader = function() { + var M, P, H = b.DeployHeader.default(); + return H.account = this._initiatorAddr.publicKey, H.chainName = this._chainName, H.timestamp = this._timestamp, H.ttl = this._ttl, !((M = this._pricingMode.paymentLimited) === null || M === void 0) && M.gasPriceTolerance && (H.gasPrice = (P = this._pricingMode.paymentLimited) === null || P === void 0 ? void 0 : P.gasPriceTolerance), H; + }, R.prototype._getStandardPayment = function() { + var M, P; + if (!(!((P = (M = this._pricingMode) === null || M === void 0 ? void 0 : M.paymentLimited) === null || P === void 0) && P.paymentAmount)) throw new Error("PaymentAmount is not specified"); + return d.ExecutableDeployItem.standardPayment(this._pricingMode.paymentLimited.paymentAmount.toString()); + }, R.prototype.build = function() { + var M = l.TransactionV1Payload.build({ initiatorAddr: this._initiatorAddr, timestamp: this._timestamp, ttl: this._ttl, chainName: this._chainName, pricingMode: this._pricingMode, args: this._runtimeArgs, transactionTarget: this._invocationTarget, entryPoint: this._entryPoint, scheduling: this._scheduling }), P = v.TransactionV1.makeTransactionV1(M); + return v.Transaction.fromTransactionV1(P); + }, R; + }(), O = function(R) { + function M() { + var P = R.call(this) || this; + return P._amount = y.CLValue.newCLUInt512("0"), P._amountRow = "0", P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Transfer), P; + } + return o(M, R), M.prototype.target = function(P) { + return this._publicKey = P, this._target = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.targetAccountHash = function(P) { + return this._target = y.CLValue.newCLByteArray(P.toBytes()), this; + }, M.prototype.amount = function(P) { + return this._amountRow = P, this._amount = y.CLValue.newCLUInt512(P), this; + }, M.prototype.id = function(P) { + return this._idTransfer = P, this; + }, M.prototype.build = function() { + var P = w.Args.fromMap({}); + return P.insert("target", this._target), P.insert("amount", this._amount), this._idTransfer && P.insert("id", y.CLValue.newCLOption(y.CLValue.newCLUint64(this._idTransfer))), this._runtimeArgs = P, R.prototype.build.call(this); + }, M.prototype.buildFor1_5 = function() { + var P, H = new d.ExecutableDeployItem(); + H.transfer = d.TransferDeployItem.newTransfer(this._amountRow, this._publicKey, void 0, this._idTransfer); try { - A = this._getStandardPayment(); - } catch (D) { - if (D.message !== "PaymentAmount is not specified") throw D; - A = p.ExecutableDeployItem.standardPayment("100000000"); - } - var V = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), A, j); - return d.Transaction.fromDeploy(V); - }, w; - }(k); - n.NativeTransferBuilder = R; - var L = function(_) { - function w() { - var A = _.call(this) || this; - return A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.AddBid), A; - } - return a(w, _), w.prototype.validator = function(A) { - return this._validator = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.amount = function(A) { - return this._amount = v.CLValue.newCLUInt512(A), this; - }, w.prototype.delegationRate = function(A) { - return this._delegationRate = v.CLValue.newCLUint8(A), this; - }, w.prototype.minimumDelegationAmount = function(A) { - return this._minimumDelegationAmount = v.CLValue.newCLUint64(A), this; - }, w.prototype.maximumDelegationAmount = function(A) { - return this._maximumDelegationAmount = v.CLValue.newCLUint64(A), this; - }, w.prototype.reservedSlots = function(A) { - return this._reservedSlots = v.CLValue.newCLUInt32(A), this; - }, w.prototype.build = function() { - var A = y.Args.fromMap({}); - return A.insert("public_key", this._validator), A.insert("amount", this._amount), A.insert("delegation_rate", this._delegationRate), this._minimumDelegationAmount && A.insert("minimum_delegation_amount", this._minimumDelegationAmount), this._maximumDelegationAmount && A.insert("maximum_delegation_amount", this._maximumDelegationAmount), this._reservedSlots && A.insert("reserved_slots", this._reservedSlots), this._runtimeArgs = A, _.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var A, j; + P = this._getStandardPayment(); + } catch (V) { + if (V.message !== "PaymentAmount is not specified") throw V; + P = d.ExecutableDeployItem.standardPayment("100000000"); + } + var K = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), P, H); + return v.Transaction.fromDeploy(K); + }, M; + }(B); + n.NativeTransferBuilder = O; + var I = function(R) { + function M() { + var P = R.call(this) || this; + return P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.AddBid), P; + } + return o(M, R), M.prototype.validator = function(P) { + return this._validator = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.amount = function(P) { + return this._amount = y.CLValue.newCLUInt512(P), this; + }, M.prototype.delegationRate = function(P) { + return this._delegationRate = y.CLValue.newCLUint8(P), this; + }, M.prototype.minimumDelegationAmount = function(P) { + return this._minimumDelegationAmount = y.CLValue.newCLUint64(P), this; + }, M.prototype.maximumDelegationAmount = function(P) { + return this._maximumDelegationAmount = y.CLValue.newCLUint64(P), this; + }, M.prototype.reservedSlots = function(P) { + return this._reservedSlots = y.CLValue.newCLUInt32(P), this; + }, M.prototype.build = function() { + var P = w.Args.fromMap({}); + return P.insert("public_key", this._validator), P.insert("amount", this._amount), P.insert("delegation_rate", this._delegationRate), this._minimumDelegationAmount && P.insert("minimum_delegation_amount", this._minimumDelegationAmount), this._maximumDelegationAmount && P.insert("maximum_delegation_amount", this._maximumDelegationAmount), this._reservedSlots && P.insert("reserved_slots", this._reservedSlots), this._runtimeArgs = P, R.prototype.build.call(this); + }, M.prototype.buildFor1_5 = function() { + var P, H; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - var V = y.Args.fromMap({}); - V.insert("public_key", this._validator), V.insert("amount", this._amount), V.insert("delegation_rate", this._delegationRate), this._minimumDelegationAmount && V.insert("minimum_delegation_amount", this._minimumDelegationAmount), this._maximumDelegationAmount && V.insert("maximum_delegation_amount", this._maximumDelegationAmount), this._reservedSlots && V.insert("reserved_slots", this._reservedSlots), this._runtimeArgs = V; - var D = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; - if (!D) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); - var z = new p.ExecutableDeployItem(); - z.storedContractByHash = new p.StoredContractByHash(u.ContractHash.newContract(D), I.AuctionManagerEntryPoint.addBid, V); - var J = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), z); - return d.Transaction.fromDeploy(J); - }, w; - }(k); - n.NativeAddBidBuilder = L; - var N = function(_) { - function w() { - var A = _.call(this) || this; - return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.WithdrawBid), A; - } - return a(w, _), w.prototype.validator = function(A) { - return this._validator = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.amount = function(A) { - return this._amount = v.CLValue.newCLUInt512(A), this; - }, w.prototype.build = function() { - return this._runtimeArgs = y.Args.fromMap({ public_key: this._validator, amount: this._amount }), _.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var A, j; - this._runtimeArgs = y.Args.fromMap({ public_key: this._validator, amount: this._amount }); - var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; + var K = w.Args.fromMap({}); + K.insert("public_key", this._validator), K.insert("amount", this._amount), K.insert("delegation_rate", this._delegationRate), this._minimumDelegationAmount && K.insert("minimum_delegation_amount", this._minimumDelegationAmount), this._maximumDelegationAmount && K.insert("maximum_delegation_amount", this._maximumDelegationAmount), this._reservedSlots && K.insert("reserved_slots", this._reservedSlots), this._runtimeArgs = K; + var V = (H = (P = this._contractHash) !== null && P !== void 0 ? P : _.AuctionManagerContractHashMap[this._chainName]) !== null && H !== void 0 ? H : _.AuctionManagerContractHashMap.casper; if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); - var D = new p.ExecutableDeployItem(); - D.storedContractByHash = new p.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.withdrawBid, this._runtimeArgs); - var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); - return d.Transaction.fromDeploy(z); - }, w; - }(k); - n.NativeWithdrawBidBuilder = N; - var B = function(_) { - function w() { - var A = _.call(this) || this; - return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Delegate), A; - } - return a(w, _), w.prototype.validator = function(A) { - return this._validator = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.amount = function(A) { - return this._amount = v.CLValue.newCLUInt512(A), this; - }, w.prototype.build = function() { + var U = new d.ExecutableDeployItem(); + U.storedContractByHash = new d.StoredContractByHash(m.ContractHash.newContract(V), E.AuctionManagerEntryPoint.addBid, K); + var F = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), U); + return v.Transaction.fromDeploy(F); + }, M; + }(B); + n.NativeAddBidBuilder = I; + var x = function(R) { + function M() { + var P = R.call(this) || this; + return P._amount = y.CLValue.newCLUInt512("0"), P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.WithdrawBid), P; + } + return o(M, R), M.prototype.validator = function(P) { + return this._validator = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.amount = function(P) { + return this._amount = y.CLValue.newCLUInt512(P), this; + }, M.prototype.build = function() { + return this._runtimeArgs = w.Args.fromMap({ public_key: this._validator, amount: this._amount }), R.prototype.build.call(this); + }, M.prototype.buildFor1_5 = function() { + var P, H; + this._runtimeArgs = w.Args.fromMap({ public_key: this._validator, amount: this._amount }); + var K = (H = (P = this._contractHash) !== null && P !== void 0 ? P : _.AuctionManagerContractHashMap[this._chainName]) !== null && H !== void 0 ? H : _.AuctionManagerContractHashMap.casper; + if (!K) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); + var V = new d.ExecutableDeployItem(); + V.storedContractByHash = new d.StoredContractByHash(m.ContractHash.newContract(K), E.AuctionManagerEntryPoint.withdrawBid, this._runtimeArgs); + var U = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), V); + return v.Transaction.fromDeploy(U); + }, M; + }(B); + n.NativeWithdrawBidBuilder = x; + var A = function(R) { + function M() { + var P = R.call(this) || this; + return P._amount = y.CLValue.newCLUInt512("0"), P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Delegate), P; + } + return o(M, R), M.prototype.validator = function(P) { + return this._validator = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.amount = function(P) { + return this._amount = y.CLValue.newCLUInt512(P), this; + }, M.prototype.build = function() { if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), _.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var A, j; + return this._runtimeArgs = w.Args.fromMap({ delegator: y.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), R.prototype.build.call(this); + }, M.prototype.buildFor1_5 = function() { + var P, H; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; - if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); - var D = new p.ExecutableDeployItem(); - D.storedContractByHash = new p.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.delegate, y.Args.fromMap({ validator: this._validator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); - var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); - return d.Transaction.fromDeploy(z); - }, w; - }(k); - n.NativeDelegateBuilder = B; - var H = function(_) { - function w() { - var A = _.call(this) || this; - return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Undelegate), A; - } - return a(w, _), w.prototype.validator = function(A) { - return this._validator = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.amount = function(A) { - return this._amount = v.CLValue.newCLUInt512(A), this; - }, w.prototype.build = function() { + var K = (H = (P = this._contractHash) !== null && P !== void 0 ? P : _.AuctionManagerContractHashMap[this._chainName]) !== null && H !== void 0 ? H : _.AuctionManagerContractHashMap.casper; + if (!K) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); + var V = new d.ExecutableDeployItem(); + V.storedContractByHash = new d.StoredContractByHash(m.ContractHash.newContract(K), E.AuctionManagerEntryPoint.delegate, w.Args.fromMap({ validator: this._validator, delegator: y.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); + var U = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), V); + return v.Transaction.fromDeploy(U); + }, M; + }(B); + n.NativeDelegateBuilder = A; + var N = function(R) { + function M() { + var P = R.call(this) || this; + return P._amount = y.CLValue.newCLUInt512("0"), P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Undelegate), P; + } + return o(M, R), M.prototype.validator = function(P) { + return this._validator = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.amount = function(P) { + return this._amount = y.CLValue.newCLUInt512(P), this; + }, M.prototype.build = function() { if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), _.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var A, j; + return this._runtimeArgs = w.Args.fromMap({ delegator: y.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), R.prototype.build.call(this); + }, M.prototype.buildFor1_5 = function() { + var P, H; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; - if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); - var D = new p.ExecutableDeployItem(); - D.storedContractByHash = new p.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.undelegate, y.Args.fromMap({ validator: this._validator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); - var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); - return d.Transaction.fromDeploy(z); - }, w; - }(k); - n.NativeUndelegateBuilder = H; - var U = function(_) { - function w() { - var A = _.call(this) || this; - return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Redelegate), A; - } - return a(w, _), w.prototype.validator = function(A) { - return this._validator = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.newValidator = function(A) { - return this._newValidator = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.amount = function(A) { - return this._amount = v.CLValue.newCLUInt512(A), this; - }, w.prototype.build = function() { + var K = (H = (P = this._contractHash) !== null && P !== void 0 ? P : _.AuctionManagerContractHashMap[this._chainName]) !== null && H !== void 0 ? H : _.AuctionManagerContractHashMap.casper; + if (!K) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); + var V = new d.ExecutableDeployItem(); + V.storedContractByHash = new d.StoredContractByHash(m.ContractHash.newContract(K), E.AuctionManagerEntryPoint.undelegate, w.Args.fromMap({ validator: this._validator, delegator: y.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); + var U = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), V); + return v.Transaction.fromDeploy(U); + }, M; + }(B); + n.NativeUndelegateBuilder = N; + var k = function(R) { + function M() { + var P = R.call(this) || this; + return P._amount = y.CLValue.newCLUInt512("0"), P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Redelegate), P; + } + return o(M, R), M.prototype.validator = function(P) { + return this._validator = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.newValidator = function(P) { + return this._newValidator = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.amount = function(P) { + return this._amount = y.CLValue.newCLUInt512(P), this; + }, M.prototype.build = function() { if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount, new_validator: this._newValidator }), _.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var A, j; + return this._runtimeArgs = w.Args.fromMap({ delegator: y.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount, new_validator: this._newValidator }), R.prototype.build.call(this); + }, M.prototype.buildFor1_5 = function() { + var P, H; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; - if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); - var D = new p.ExecutableDeployItem(); - D.storedContractByHash = new p.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.redelegate, y.Args.fromMap({ validator: this._validator, new_validator: this._newValidator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); - var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); - return d.Transaction.fromDeploy(z); - }, w; - }(k); - n.NativeRedelegateBuilder = U; - var S = function(_) { - function w() { - var A = _.call(this) || this; - return A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.ActivateBid), A; - } - return a(w, _), w.prototype.validator = function(A) { - return this._validator = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.build = function() { - return this._runtimeArgs = y.Args.fromMap({ validator: this._validator }), _.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var A, j; - this._runtimeArgs = y.Args.fromMap({ validator: this._validator }); - var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; - if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); - var D = new p.ExecutableDeployItem(); - D.storedContractByHash = new p.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.activateBid, this._runtimeArgs); - var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); - return d.Transaction.fromDeploy(z); - }, w; - }(k); - n.NativeActivateBidBuilder = S; - var T = function(_) { - function w() { - var A = _.call(this) || this; - return A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.ChangeBidPublicKey), A; - } - return a(w, _), w.prototype.previousPublicKey = function(A) { - return this._public_key = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.newPublicKey = function(A) { - return this._new_public_key = v.CLValue.newCLPublicKey(A), this; - }, w.prototype.build = function() { - return this._runtimeArgs = y.Args.fromMap({ public_key: this._public_key, new_public_key: this._new_public_key }), _.prototype.build.call(this); - }, w; - }(k); - n.NativeChangeBidPublicKeyBuilder = T; - var E = function(_) { - function w() { - return _.call(this) || this; - } - return a(w, _), w.prototype.byHash = function(A) { - var j = new t.TransactionInvocationTarget(); - j.byHash = u.Hash.fromHex(A), this._transactionInvocationTarget = j; - var V = new t.StoredTarget(); - return V.id = j, V.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, V), this; - }, w.prototype.byName = function(A) { - var j = new t.TransactionInvocationTarget(); - j.byName = A, this._transactionInvocationTarget = j; - var V = new t.StoredTarget(); - return V.id = j, V.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, V), this; - }, w.prototype.byPackageHash = function(A, j) { - var V = new t.ByPackageHashInvocationTarget(); - V.addr = u.Hash.fromHex(A), V.version = j; - var D = new t.TransactionInvocationTarget(); - D.byPackageHash = V, this._transactionInvocationTarget = D; - var z = new t.StoredTarget(); - return z.id = D, z.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, z), this; - }, w.prototype.byPackageName = function(A, j) { - var V = new t.ByPackageNameInvocationTarget(); - V.name = A, V.version = j; - var D = new t.TransactionInvocationTarget(); - D.byPackageName = V, this._transactionInvocationTarget = D; - var z = new t.StoredTarget(); - return z.id = D, z.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, z), this; - }, w.prototype.entryPoint = function(A) { - return this._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Custom, A), this; - }, w.prototype.runtimeArgs = function(A) { - return this._runtimeArgs = A, this; - }, w.prototype.buildFor1_5 = function() { + var K = (H = (P = this._contractHash) !== null && P !== void 0 ? P : _.AuctionManagerContractHashMap[this._chainName]) !== null && H !== void 0 ? H : _.AuctionManagerContractHashMap.casper; + if (!K) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); + var V = new d.ExecutableDeployItem(); + V.storedContractByHash = new d.StoredContractByHash(m.ContractHash.newContract(K), E.AuctionManagerEntryPoint.redelegate, w.Args.fromMap({ validator: this._validator, new_validator: this._newValidator, delegator: y.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); + var U = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), V); + return v.Transaction.fromDeploy(U); + }, M; + }(B); + n.NativeRedelegateBuilder = k; + var j = function(R) { + function M() { + var P = R.call(this) || this; + return P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.ActivateBid), P; + } + return o(M, R), M.prototype.validator = function(P) { + return this._validator = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.build = function() { + return this._runtimeArgs = w.Args.fromMap({ validator: this._validator }), R.prototype.build.call(this); + }, M.prototype.buildFor1_5 = function() { + var P, H; + this._runtimeArgs = w.Args.fromMap({ validator: this._validator }); + var K = (H = (P = this._contractHash) !== null && P !== void 0 ? P : _.AuctionManagerContractHashMap[this._chainName]) !== null && H !== void 0 ? H : _.AuctionManagerContractHashMap.casper; + if (!K) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); + var V = new d.ExecutableDeployItem(); + V.storedContractByHash = new d.StoredContractByHash(m.ContractHash.newContract(K), E.AuctionManagerEntryPoint.activateBid, this._runtimeArgs); + var U = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), V); + return v.Transaction.fromDeploy(U); + }, M; + }(B); + n.NativeActivateBidBuilder = j; + var D = function(R) { + function M() { + var P = R.call(this) || this; + return P._invocationTarget = new a.TransactionTarget({}), P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.ChangeBidPublicKey), P; + } + return o(M, R), M.prototype.previousPublicKey = function(P) { + return this._public_key = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.newPublicKey = function(P) { + return this._new_public_key = y.CLValue.newCLPublicKey(P), this; + }, M.prototype.build = function() { + return this._runtimeArgs = w.Args.fromMap({ public_key: this._public_key, new_public_key: this._new_public_key }), R.prototype.build.call(this); + }, M; + }(B); + n.NativeChangeBidPublicKeyBuilder = D; + var T = function(R) { + function M() { + return R.call(this) || this; + } + return o(M, R), M.prototype.byHash = function(P) { + var H = new a.TransactionInvocationTarget(); + H.byHash = m.Hash.fromHex(P), this._transactionInvocationTarget = H; + var K = new a.StoredTarget(); + return K.id = H, K.runtime = a.TransactionRuntime.vmCasperV1(), this._invocationTarget = new a.TransactionTarget(void 0, K), this; + }, M.prototype.byName = function(P) { + var H = new a.TransactionInvocationTarget(); + H.byName = P, this._transactionInvocationTarget = H; + var K = new a.StoredTarget(); + return K.id = H, K.runtime = a.TransactionRuntime.vmCasperV1(), this._invocationTarget = new a.TransactionTarget(void 0, K), this; + }, M.prototype.byPackageHash = function(P, H, K) { + K === void 0 && (K = null); + var V = new a.ByPackageHashInvocationTarget(); + V.addr = m.Hash.fromHex(P), V.version = H, V.protocolVersionMajor = K; + var U = new a.TransactionInvocationTarget(); + U.byPackageHash = V, this._transactionInvocationTarget = U; + var F = new a.StoredTarget(); + return F.id = U, F.runtime = a.TransactionRuntime.vmCasperV1(), this._invocationTarget = new a.TransactionTarget(void 0, F), this; + }, M.prototype.byPackageName = function(P, H, K) { + K === void 0 && (K = null); + var V = new a.ByPackageNameInvocationTarget(); + V.name = P, V.version = H, V.protocolVersionMajor = K; + var U = new a.TransactionInvocationTarget(); + U.byPackageName = V, this._transactionInvocationTarget = U; + var F = new a.StoredTarget(); + return F.id = U, F.runtime = a.TransactionRuntime.vmCasperV1(), this._invocationTarget = new a.TransactionTarget(void 0, F), this; + }, M.prototype.entryPoint = function(P) { + return this._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Custom, P), this; + }, M.prototype.runtimeArgs = function(P) { + return this._runtimeArgs = P, this; + }, M.prototype.buildFor1_5 = function() { if (!this._entryPoint.customEntryPoint) throw new Error("EntryPoint is not specified"); - var A = new p.ExecutableDeployItem(); - this._transactionInvocationTarget.byHash ? A.storedContractByHash = new p.StoredContractByHash(u.ContractHash.newContract(this._transactionInvocationTarget.byHash.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageHash ? A.storedVersionedContractByHash = new p.StoredVersionedContractByHash(u.ContractHash.newContract(this._transactionInvocationTarget.byPackageHash.addr.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageHash.version) : this._transactionInvocationTarget.byName ? A.storedContractByName = new p.StoredContractByName(this._transactionInvocationTarget.byName, this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageName && (A.storedVersionedContractByName = new p.StoredVersionedContractByName(this._transactionInvocationTarget.byPackageName.name, this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageName.version)); - var j = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), A); - return d.Transaction.fromDeploy(j); - }, w; - }(k); - n.ContractCallBuilder = E; - var M = function(_) { - function w() { - var A = _.call(this) || this; - return A._isInstallOrUpgrade = !1, A._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Call), A; - } - return a(w, _), w.prototype.wasm = function(A) { - var j = new t.SessionTarget(); - return j.moduleBytes = A, j.isInstallUpgrade = this._isInstallOrUpgrade, j.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, void 0, j), this; - }, w.prototype.installOrUpgrade = function() { - var A; - return this._isInstallOrUpgrade = !0, !((A = this._invocationTarget) === null || A === void 0) && A.session && (this._invocationTarget.session.isInstallUpgrade = !0), this; - }, w.prototype.runtimeArgs = function(A) { - return this._runtimeArgs = A, this; - }, w.prototype.buildFor1_5 = function() { - var A; - if (!(!((A = this._invocationTarget.session) === null || A === void 0) && A.moduleBytes)) throw new Error("EntryPoint is not specified"); - var j = p.ExecutableDeployItem.newModuleBytes(this._invocationTarget.session.moduleBytes, this._runtimeArgs), V = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), j); - return d.Transaction.fromDeploy(V); - }, w; - }(k); - n.SessionBuilder = M; - }, 2151: function(x, n, c) { - var r = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, a = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + var P = new d.ExecutableDeployItem(); + this._transactionInvocationTarget.byHash ? P.storedContractByHash = new d.StoredContractByHash(m.ContractHash.newContract(this._transactionInvocationTarget.byHash.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageHash ? P.storedVersionedContractByHash = new d.StoredVersionedContractByHash(m.ContractHash.newContract(this._transactionInvocationTarget.byPackageHash.addr.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageHash.version) : this._transactionInvocationTarget.byName ? P.storedContractByName = new d.StoredContractByName(this._transactionInvocationTarget.byName, this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageName && (P.storedVersionedContractByName = new d.StoredVersionedContractByName(this._transactionInvocationTarget.byPackageName.name, this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageName.version)); + var H = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), P); + return v.Transaction.fromDeploy(H); + }, M; + }(B); + n.ContractCallBuilder = T; + var L = function(R) { + function M() { + var P = R.call(this) || this; + return P._isInstallOrUpgrade = !1, P._entryPoint = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Call), P; + } + return o(M, R), M.prototype.wasm = function(P) { + var H = new a.SessionTarget(); + return H.moduleBytes = P, H.isInstallUpgrade = this._isInstallOrUpgrade, H.runtime = a.TransactionRuntime.vmCasperV1(), this._invocationTarget = new a.TransactionTarget(void 0, void 0, H), this; + }, M.prototype.installOrUpgrade = function() { + var P; + return this._isInstallOrUpgrade = !0, !((P = this._invocationTarget) === null || P === void 0) && P.session && (this._invocationTarget.session.isInstallUpgrade = !0), this; + }, M.prototype.runtimeArgs = function(P) { + return this._runtimeArgs = P, this; + }, M.prototype.buildFor1_5 = function() { + var P; + if (!(!((P = this._invocationTarget.session) === null || P === void 0) && P.moduleBytes)) throw new Error("EntryPoint is not specified"); + var H = d.ExecutableDeployItem.newModuleBytes(this._invocationTarget.session.moduleBytes, this._runtimeArgs), K = b.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), H); + return v.Transaction.fromDeploy(K); + }, M; + }(B); + n.SessionBuilder = L; + }, 2151(g, n, s) { + var r = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, o = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.TransactionEntryPoint = n.TransactionEntryPointTag = n.TransactionEntryPointEnum = void 0; - var i, m, t = c(9592), f = c(5466), b = c(9213); - (function(u) { - u.Custom = "Custom", u.Transfer = "Transfer", u.AddBid = "AddBid", u.WithdrawBid = "WithdrawBid", u.Delegate = "Delegate", u.Undelegate = "Undelegate", u.Redelegate = "Redelegate", u.ActivateBid = "ActivateBid", u.ChangeBidPublicKey = "ChangeBidPublicKey", u.Call = "Call", u.AddReservations = "AddReservations", u.CancelReservations = "CancelReservations"; - })(i = n.TransactionEntryPointEnum || (n.TransactionEntryPointEnum = {})), function(u) { - u[u.Call = 0] = "Call", u[u.Custom = 1] = "Custom", u[u.Transfer = 2] = "Transfer", u[u.AddBid = 3] = "AddBid", u[u.WithdrawBid = 4] = "WithdrawBid", u[u.Delegate = 5] = "Delegate", u[u.Undelegate = 6] = "Undelegate", u[u.Redelegate = 7] = "Redelegate", u[u.ActivateBid = 8] = "ActivateBid", u[u.ChangeBidPublicKey = 9] = "ChangeBidPublicKey", u[u.AddReservations = 10] = "AddReservations", u[u.CancelReservations = 11] = "CancelReservations"; - }(m = n.TransactionEntryPointTag || (n.TransactionEntryPointTag = {})); - var y = function() { - function u(l, s) { - if (l === i.Custom && !s) throw new Error("When specifying Custom entry point, customEntryPoint must be provided"); - this.type = l, this.customEntryPoint = s; + var i, p, a = s(9592), f = s(5466), C = s(9213); + (function(m) { + m.Custom = "Custom", m.Transfer = "Transfer", m.AddBid = "AddBid", m.WithdrawBid = "WithdrawBid", m.Delegate = "Delegate", m.Undelegate = "Undelegate", m.Redelegate = "Redelegate", m.ActivateBid = "ActivateBid", m.ChangeBidPublicKey = "ChangeBidPublicKey", m.Call = "Call", m.AddReservations = "AddReservations", m.CancelReservations = "CancelReservations"; + })(i = n.TransactionEntryPointEnum || (n.TransactionEntryPointEnum = {})), function(m) { + m[m.Call = 0] = "Call", m[m.Custom = 1] = "Custom", m[m.Transfer = 2] = "Transfer", m[m.AddBid = 3] = "AddBid", m[m.WithdrawBid = 4] = "WithdrawBid", m[m.Delegate = 5] = "Delegate", m[m.Undelegate = 6] = "Undelegate", m[m.Redelegate = 7] = "Redelegate", m[m.ActivateBid = 8] = "ActivateBid", m[m.ChangeBidPublicKey = 9] = "ChangeBidPublicKey", m[m.AddReservations = 10] = "AddReservations", m[m.CancelReservations = 11] = "CancelReservations"; + }(p = n.TransactionEntryPointTag || (n.TransactionEntryPointTag = {})); + var w = function() { + function m(l, u) { + if (l === i.Custom && !u) throw new Error("When specifying Custom entry point, customEntryPoint must be provided"); + this.type = l, this.customEntryPoint = u; } - var d; - return d = u, u.prototype.tag = function() { + var v; + return v = m, m.prototype.tag = function() { switch (this.type) { case i.Transfer: - return m.Transfer; + return p.Transfer; case i.AddBid: - return m.AddBid; + return p.AddBid; case i.WithdrawBid: - return m.WithdrawBid; + return p.WithdrawBid; case i.Delegate: - return m.Delegate; + return p.Delegate; case i.Undelegate: - return m.Undelegate; + return p.Undelegate; case i.Redelegate: - return m.Redelegate; + return p.Redelegate; case i.ActivateBid: - return m.ActivateBid; + return p.ActivateBid; case i.ChangeBidPublicKey: - return m.ChangeBidPublicKey; + return p.ChangeBidPublicKey; case i.Call: - return m.Call; + return p.Call; case i.AddReservations: - return m.AddReservations; + return p.AddReservations; case i.CancelReservations: - return m.CancelReservations; + return p.CancelReservations; case i.Custom: - return m.Custom; + return p.Custom; default: throw new Error("Unknown TransactionEntryPointTag"); } - }, u.prototype.toBytes = function() { - var l = new b.CalltableSerialization(), s = this.tag(); - if (l.addField(0, Uint8Array.from([s])), this.type === i.Custom && this.customEntryPoint) { - var v = f.CLValue.newCLString(this.customEntryPoint).bytes(); - l.addField(1, v); + }, m.prototype.toBytes = function() { + var l = new C.CalltableSerialization(), u = this.tag(); + if (l.addField(0, Uint8Array.from([u])), this.type === i.Custom && this.customEntryPoint) { + var y = f.CLValue.newCLString(this.customEntryPoint).bytes(); + l.addField(1, y); } return l.toBytes(); - }, u.prototype.toJSON = function() { + }, m.prototype.toJSON = function() { return this.type === i.Custom && this.customEntryPoint ? { Custom: this.customEntryPoint } : this.type; - }, u.fromJSON = function(l) { - if (l?.Custom) return new d(i.Custom, l.Custom); + }, m.fromJSON = function(l) { + if (l?.Custom) return new v(i.Custom, l.Custom); switch (l) { case i.Transfer: - return new d(i.Transfer); + return new v(i.Transfer); case i.AddBid: - return new d(i.AddBid); + return new v(i.AddBid); case i.WithdrawBid: - return new d(i.WithdrawBid); + return new v(i.WithdrawBid); case i.Delegate: - return new d(i.Delegate); + return new v(i.Delegate); case i.Undelegate: - return new d(i.Undelegate); + return new v(i.Undelegate); case i.Redelegate: - return new d(i.Redelegate); + return new v(i.Redelegate); case i.ActivateBid: - return new d(i.ActivateBid); + return new v(i.ActivateBid); case i.ChangeBidPublicKey: - return new d(i.ChangeBidPublicKey); + return new v(i.ChangeBidPublicKey); case i.Call: - return new d(i.Call); + return new v(i.Call); case i.AddReservations: - return new d(i.AddReservations); + return new v(i.AddReservations); case i.CancelReservations: - return new d(i.CancelReservations); + return new v(i.CancelReservations); default: throw new Error("Unknown entry point"); } - }, u.fromBytes = function(l) { - var s = b.CalltableSerialization.fromBytes(l), v = s.getField(0); - if (!v || v.length !== 1) throw new Error("Invalid tag bytes"); - var p = v[0], h = function() { - switch (p) { - case m.Transfer: + }, m.fromBytes = function(l) { + var u = C.CalltableSerialization.fromBytes(l), y = u.getField(0); + if (!y || y.length !== 1) throw new Error("Invalid tag bytes"); + var d = y[0], b = function() { + switch (d) { + case p.Transfer: return i.Transfer; - case m.AddBid: + case p.AddBid: return i.AddBid; - case m.WithdrawBid: + case p.WithdrawBid: return i.WithdrawBid; - case m.Delegate: + case p.Delegate: return i.Delegate; - case m.Undelegate: + case p.Undelegate: return i.Undelegate; - case m.Redelegate: + case p.Redelegate: return i.Redelegate; - case m.ActivateBid: + case p.ActivateBid: return i.ActivateBid; - case m.ChangeBidPublicKey: + case p.ChangeBidPublicKey: return i.ChangeBidPublicKey; - case m.Call: + case p.Call: return i.Call; - case m.AddReservations: + case p.AddReservations: return i.AddReservations; - case m.CancelReservations: + case p.CancelReservations: return i.CancelReservations; - case m.Custom: + case p.Custom: return i.Custom; default: throw new Error("Unknown tag"); } }(); - if (h === i.Custom) { - var O = s.getField(1); - if (!O) throw new Error("Missing custom entry point bytes for Custom type"); - var I = b.CalltableSerialization.fromBytes(O), k = I.getField(0); - if (!k || k[0] !== 1) throw new Error("Invalid flag for Custom type"); - var R = I.getField(1); - if (!R) throw new Error("Invalid custom entry point bytes"); - var L = f.CLValueString.fromBytes(R).result.toString(); - return new d(h, L); - } - return new d(h); - }, r([(0, t.jsonMember)({ constructor: String }), a("design:type", String)], u.prototype, "type", void 0), r([(0, t.jsonMember)({ constructor: String }), a("design:type", String)], u.prototype, "customEntryPoint", void 0), d = r([t.jsonObject, a("design:paramtypes", [String, String])], u); - }(); - n.TransactionEntryPoint = y; - }, 5731: function(x, n, c) { - var r = this && this.__decorate || function(s, v, p, h) { - var O, I = arguments.length, k = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, p) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, p, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (I < 3 ? O(k) : I > 3 ? O(v, p, k) : O(v, p)) || k); - return I > 3 && k && Object.defineProperty(v, p, k), k; - }, a = this && this.__metadata || function(s, v) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); + if (b === i.Custom) { + var _ = u.getField(1); + if (!_) throw new Error("Missing custom entry point bytes for Custom type"); + var E = C.CalltableSerialization.fromBytes(_), B = E.getField(0); + if (!B || B[0] !== 1) throw new Error("Invalid flag for Custom type"); + var O = E.getField(1); + if (!O) throw new Error("Invalid custom entry point bytes"); + var I = f.CLValueString.fromBytes(O).result.toString(); + return new v(b, I); + } + return new v(b); + }, r([(0, a.jsonMember)({ constructor: String }), o("design:type", String)], m.prototype, "type", void 0), r([(0, a.jsonMember)({ constructor: String }), o("design:type", String)], m.prototype, "customEntryPoint", void 0), v = r([a.jsonObject, o("design:paramtypes", [String, String])], m); + }(); + n.TransactionEntryPoint = w; + }, 5731(g, n, s) { + var r = this && this.__decorate || function(u, y, d, b) { + var _, E = arguments.length, B = E < 3 ? y : b === null ? b = Object.getOwnPropertyDescriptor(y, d) : b; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(u, y, d, b); + else for (var O = u.length - 1; O >= 0; O--) (_ = u[O]) && (B = (E < 3 ? _(B) : E > 3 ? _(y, d, B) : _(y, d)) || B); + return E > 3 && B && Object.defineProperty(y, d, B), B; + }, o = this && this.__metadata || function(u, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, y); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.TransactionScheduling = n.FutureTimestampScheduling = n.FutureEraScheduling = n.TransactionSchedulingTag = void 0; - var i, m = c(9592), t = c(6500), f = c(5466), b = c(9213), y = c(678); - (function(s) { - s[s.Native = 0] = "Native", s[s.FutureEra = 1] = "FutureEra", s[s.FutureTimestamp = 2] = "FutureTimestamp"; + var i, p = s(9592), a = s(6500), f = s(5466), C = s(9213), w = s(678); + (function(u) { + u[u.Native = 0] = "Native", u[u.FutureEra = 1] = "FutureEra", u[u.FutureTimestamp = 2] = "FutureTimestamp"; })(i = n.TransactionSchedulingTag || (n.TransactionSchedulingTag = {})); - var u = function() { - function s(v) { - this.eraID = v; + var m = function() { + function u(y) { + this.eraID = y; } - return s.prototype.toBytes = function() { - var v = new b.CalltableSerialization(); - return v.addField(0, Uint8Array.of(1)), v.addField(1, f.CLValue.newCLUint64(this.eraID).bytes()), v.toBytes(); - }, r([(0, m.jsonMember)({ constructor: Number, name: "EraID" }), a("design:type", Number)], s.prototype, "eraID", void 0), r([m.jsonObject, a("design:paramtypes", [Number])], s); + return u.prototype.toBytes = function() { + var y = new C.CalltableSerialization(); + return y.addField(0, Uint8Array.of(1)), y.addField(1, f.CLValue.newCLUint64(this.eraID).bytes()), y.toBytes(); + }, r([(0, p.jsonMember)({ constructor: Number, name: "EraID" }), o("design:type", Number)], u.prototype, "eraID", void 0), r([p.jsonObject, o("design:paramtypes", [Number])], u); }(); - n.FutureEraScheduling = u; - var d = function() { - function s(v) { - this.timestamp = v; - } - return s.prototype.toBytes = function() { - var v = new b.CalltableSerialization(); - return v.addField(0, Uint8Array.of(2)), v.addField(1, (0, y.toBytesU64)(Date.parse(this.timestamp.toJSON()))), v.toBytes(); - }, r([(0, m.jsonMember)({ name: "FutureTimestamp", constructor: t.Timestamp, deserializer: function(v) { - return t.Timestamp.fromJSON(v); - }, serializer: function(v) { - return v.toJSON(); - } }), a("design:type", t.Timestamp)], s.prototype, "timestamp", void 0), r([m.jsonObject, a("design:paramtypes", [t.Timestamp])], s); + n.FutureEraScheduling = m; + var v = function() { + function u(y) { + this.timestamp = y; + } + return u.prototype.toBytes = function() { + var y = new C.CalltableSerialization(); + return y.addField(0, Uint8Array.of(2)), y.addField(1, (0, w.toBytesU64)(Date.parse(this.timestamp.toJSON()))), y.toBytes(); + }, r([(0, p.jsonMember)({ name: "FutureTimestamp", constructor: a.Timestamp, deserializer: function(y) { + return a.Timestamp.fromJSON(y); + }, serializer: function(y) { + return y.toJSON(); + } }), o("design:type", a.Timestamp)], u.prototype, "timestamp", void 0), r([p.jsonObject, o("design:paramtypes", [a.Timestamp])], u); }(); - n.FutureTimestampScheduling = d; + n.FutureTimestampScheduling = v; var l = function() { - function s(p, h, O) { - this.standard = p, this.futureEra = h, this.futureTimestamp = O; + function u(d, b, _) { + this.standard = d, this.futureEra = b, this.futureTimestamp = _; } - var v; - return v = s, s.prototype.tag = function() { + var y; + return y = u, u.prototype.tag = function() { return this.standard ? i.Native : this.futureEra ? i.FutureEra : this.futureTimestamp ? i.FutureTimestamp : 0; - }, s.prototype.toBytes = function() { + }, u.prototype.toBytes = function() { if (this.standard) { - var p = new b.CalltableSerialization(); - return p.addField(0, Uint8Array.of(0)), p.toBytes(); + var d = new C.CalltableSerialization(); + return d.addField(0, Uint8Array.of(0)), d.toBytes(); } if (this.futureEra) return this.futureEra.toBytes(); if (this.futureTimestamp) return this.futureTimestamp.toBytes(); throw new Error("Unable to serialize TransactionScheduling"); - }, s.fromJSON = function(p) { - if (p === "Standard") return new v({}); - if (typeof p == "object") { - if ("FutureEra" in p) return new v(void 0, new u(p.FutureEra)); - if ("FutureTimestamp" in p) return new v(void 0, void 0, new d(p.FutureEra)); + }, u.fromJSON = function(d) { + if (d === "Standard") return new y({}); + if (typeof d == "object") { + if ("FutureEra" in d) return new y(void 0, new m(d.FutureEra)); + if ("FutureTimestamp" in d) return new y(void 0, void 0, new v(d.FutureEra)); } throw new Error("Invalid JSON format for TransactionScheduling"); - }, s.prototype.toJSON = function() { + }, u.prototype.toJSON = function() { if (this.standard) return "Standard"; if (this.futureTimestamp) return { FutureTimestamp: this.futureTimestamp.timestamp.date.toISOString() }; if (this.futureEra) return { FutureEra: this.futureEra.eraID }; throw new Error("Unknown scheduling type"); - }, s.fromBytes = function(p) { - var h = b.CalltableSerialization.fromBytes(p), O = h.getField(0); - if (!O || O.length !== 1) throw new Error("Invalid or missing tag in serialized TransactionScheduling"); - var I = O[0]; - switch (I) { + }, u.fromBytes = function(d) { + var b = C.CalltableSerialization.fromBytes(d), _ = b.getField(0); + if (!_ || _.length !== 1) throw new Error("Invalid or missing tag in serialized TransactionScheduling"); + var E = _[0]; + switch (E) { case i.Native: - return new v({}); + return new y({}); case i.FutureEra: - var k = h.getField(1); - if (!k) throw new Error("Missing eraID field for FutureEra scheduling"); - var R = (0, y.fromBytesU64)(k).toNumber(); - return new v(void 0, new u(R)); + var B = b.getField(1); + if (!B) throw new Error("Missing eraID field for FutureEra scheduling"); + var O = (0, w.fromBytesU64)(B).toNumber(); + return new y(void 0, new m(O)); case i.FutureTimestamp: - var L = h.getField(1); - if (!L) throw new Error("Missing timestamp field for FutureTimestamp scheduling"); - var N = (0, y.fromBytesU64)(L).toNumber(), B = new t.Timestamp(new Date(N)); - return new v(void 0, void 0, new d(B)); + var I = b.getField(1); + if (!I) throw new Error("Missing timestamp field for FutureTimestamp scheduling"); + var x = (0, w.fromBytesU64)(I).toNumber(), A = new a.Timestamp(new Date(x)); + return new y(void 0, void 0, new v(A)); default: - throw new Error("Unknown TransactionSchedulingTag: ".concat(I)); + throw new Error("Unknown TransactionSchedulingTag: ".concat(E)); } - }, r([(0, m.jsonMember)({ name: "Standard", constructor: Object }), a("design:type", Object)], s.prototype, "standard", void 0), r([(0, m.jsonMember)({ name: "FutureEra", constructor: u }), a("design:type", u)], s.prototype, "futureEra", void 0), r([(0, m.jsonMember)({ name: "FutureTimestamp", constructor: d }), a("design:type", d)], s.prototype, "futureTimestamp", void 0), v = r([m.jsonObject, a("design:paramtypes", [Object, u, d])], s); + }, r([(0, p.jsonMember)({ name: "Standard", constructor: Object }), o("design:type", Object)], u.prototype, "standard", void 0), r([(0, p.jsonMember)({ name: "FutureEra", constructor: m }), o("design:type", m)], u.prototype, "futureEra", void 0), r([(0, p.jsonMember)({ name: "FutureTimestamp", constructor: v }), o("design:type", v)], u.prototype, "futureTimestamp", void 0), y = r([p.jsonObject, o("design:paramtypes", [Object, m, v])], u); }(); n.TransactionScheduling = l; - }, 7012: function(x, n, c) { - var r = this && this.__decorate || function(R, L, N, B) { - var H, U = arguments.length, S = U < 3 ? L : B === null ? B = Object.getOwnPropertyDescriptor(L, N) : B; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") S = Reflect.decorate(R, L, N, B); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (S = (U < 3 ? H(S) : U > 3 ? H(L, N, S) : H(L, N)) || S); - return U > 3 && S && Object.defineProperty(L, N, S), S; - }, a = this && this.__metadata || function(R, L) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); - }, i = this && this.__importDefault || function(R) { - return R && R.__esModule ? R : { default: R }; + }, 7012(g, n, s) { + var r = this && this.__decorate || function(B, O, I, x) { + var A, N = arguments.length, k = N < 3 ? O : x === null ? x = Object.getOwnPropertyDescriptor(O, I) : x; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(B, O, I, x); + else for (var j = B.length - 1; j >= 0; j--) (A = B[j]) && (k = (N < 3 ? A(k) : N > 3 ? A(O, I, k) : A(O, I)) || k); + return N > 3 && k && Object.defineProperty(O, I, k), k; + }, o = this && this.__metadata || function(B, O) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(B, O); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.TransactionTarget = n.SessionTarget = n.StoredTarget = n.TransactionInvocationTarget = n.ByPackageNameInvocationTarget = n.ByPackageHashInvocationTarget = n.TransactionRuntime = void 0; - var m = i(c(5187)), t = c(6077), f = c(8905), b = c(9592), y = c(3401), u = c(5466), d = c(9213), l = c(2428), s = function() { - function R() { - this._tag = L.VM_CASPER_V1_TAG; + var i = s(6077), p = s(8905), a = s(9592), f = s(3401), C = s(5466), w = s(9213), m = s(2428), v = s(8389), l = function() { + function B() { + this._tag = O.VM_CASPER_V1_TAG; } - var L; - return L = R, R.fromJSON = function(N) { - switch (N) { + var O; + return O = B, B.fromJSON = function(I) { + switch (I) { case "VmCasperV1": - return L.vmCasperV1(); + return O.vmCasperV1(); case "VmCasperV2": - return L.vmCasperV2(); + return O.vmCasperV2(); default: - throw new Error("Unknown TransactionRuntime '".concat(N, "'")); + throw new Error("Unknown TransactionRuntime '".concat(I, "'")); } - }, R.prototype.toJSON = function() { + }, B.prototype.toJSON = function() { switch (this._tag) { - case L.VM_CASPER_V1_TAG: + case O.VM_CASPER_V1_TAG: return "VmCasperV1"; - case L.VM_CASPER_V2_TAG: + case O.VM_CASPER_V2_TAG: return "VmCasperV2"; default: throw new Error("Unknown TransactionRuntime '".concat(this._tag, "'")); } - }, R.vmCasperV1 = function() { - var N = new L(); - return N._tag = L.VM_CASPER_V1_TAG, N; - }, R.vmCasperV2 = function() { - var N = new L(); - return N._tag = L.VM_CASPER_V2_TAG, N; - }, R.prototype.toBytes = function() { - return new d.CalltableSerialization().addField(L.TAG_FIELD_INDEX, Uint8Array.of(this._tag)).toBytes(); - }, R.VM_CASPER_V1_TAG = 0, R.VM_CASPER_V2_TAG = 1, R.TAG_FIELD_INDEX = 0, L = r([b.jsonObject], R); - }(); - n.TransactionRuntime = s; - var v = function() { - function R() { + }, B.vmCasperV1 = function() { + var I = new O(); + return I._tag = O.VM_CASPER_V1_TAG, I; + }, B.vmCasperV2 = function() { + var I = new O(); + return I._tag = O.VM_CASPER_V2_TAG, I; + }, B.prototype.toBytes = function() { + return new w.CalltableSerialization().addField(O.TAG_FIELD_INDEX, Uint8Array.of(this._tag)).toBytes(); + }, B.VM_CASPER_V1_TAG = 0, B.VM_CASPER_V2_TAG = 1, B.TAG_FIELD_INDEX = 0, O = r([a.jsonObject], B); + }(); + n.TransactionRuntime = l; + var u = function() { + function B() { } - return R.prototype.toBytes = function() { - var L = new d.CalltableSerialization(), N = this.version ? u.CLValue.newCLOption(u.CLValue.newCLUInt32(t.BigNumber.from(this.version))).bytes() : new u.CLValueOption(null, new u.CLTypeOption(u.CLTypeUInt32)).bytes(); - return L.addField(0, Uint8Array.of(2)), L.addField(1, this.addr.toBytes()), L.addField(2, N), L.toBytes(); - }, r([(0, b.jsonMember)({ name: "addr", constructor: y.Hash, deserializer: function(L) { - return y.Hash.fromJSON(L); - }, serializer: function(L) { - return L.toJSON(); - } }), a("design:type", y.Hash)], R.prototype, "addr", void 0), r([(0, b.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), r([b.jsonObject], R); + return B.prototype.toBytes = function() { + var O = new w.CalltableSerialization(), I = this.version ? C.CLValue.newCLOption(C.CLValue.newCLUInt32(i.BigNumber.from(this.version))).bytes() : new C.CLValueOption(null, new C.CLTypeOption(C.CLTypeUInt32)).bytes(); + return O.addField(0, Uint8Array.of(2)), O.addField(1, this.addr.toBytes()), O.addField(2, I), this.protocolVersionMajor && O.addField(3, C.CLValue.newCLUInt32(i.BigNumber.from(this.protocolVersionMajor)).bytes()), O.toBytes(); + }, r([(0, a.jsonMember)({ name: "addr", constructor: f.Hash, deserializer: function(O) { + return f.Hash.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", f.Hash)], B.prototype, "addr", void 0), r([(0, a.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), o("design:type", Number)], B.prototype, "version", void 0), r([(0, a.jsonMember)({ name: "protocol_version_major", constructor: Number, isRequired: !1, preserveNull: !1 }), o("design:type", Object)], B.prototype, "protocolVersionMajor", void 0), r([a.jsonObject], B); }(); - n.ByPackageHashInvocationTarget = v; - var p = function() { - function R() { + n.ByPackageHashInvocationTarget = u; + var y = function() { + function B() { } - return R.prototype.toBytes = function() { - var L = new d.CalltableSerialization(), N = this.version ? u.CLValue.newCLOption(u.CLValue.newCLUInt32(t.BigNumber.from(this.version))).bytes() : new u.CLValueOption(null, new u.CLTypeOption(u.CLTypeUInt32)).bytes(); - return L.addField(0, Uint8Array.of(3)), L.addField(1, u.CLValue.newCLString(this.name).bytes()), L.addField(2, N), L.toBytes(); - }, r([(0, b.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], R.prototype, "name", void 0), r([(0, b.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), r([b.jsonObject], R); + return B.prototype.toBytes = function() { + var O = new w.CalltableSerialization(), I = this.version ? C.CLValue.newCLOption(C.CLValue.newCLUInt32(i.BigNumber.from(this.version))).bytes() : new C.CLValueOption(null, new C.CLTypeOption(C.CLTypeUInt32)).bytes(); + return O.addField(0, Uint8Array.of(3)), O.addField(1, C.CLValue.newCLString(this.name).bytes()), O.addField(2, I), this.protocolVersionMajor && O.addField(3, C.CLValue.newCLUInt32(i.BigNumber.from(this.protocolVersionMajor)).bytes()), O.toBytes(); + }, r([(0, a.jsonMember)({ name: "name", constructor: String }), o("design:type", String)], B.prototype, "name", void 0), r([(0, a.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), o("design:type", Number)], B.prototype, "version", void 0), r([(0, a.jsonMember)({ name: "protocol_version_major", constructor: Number, isRequired: !1, preserveNull: !1 }), o("design:type", Object)], B.prototype, "protocolVersionMajor", void 0), r([a.jsonObject], B); }(); - n.ByPackageNameInvocationTarget = p; - var h = function() { - function R() { + n.ByPackageNameInvocationTarget = y; + var d = function() { + function B() { } - var L; - return L = R, R.prototype.toBytes = function() { - var N; - if (this.byHash) return (N = new d.CalltableSerialization()).addField(0, Uint8Array.of(0)), N.addField(1, this.byHash.toBytes()), N.toBytes(); - if (this.byName) return (N = new d.CalltableSerialization()).addField(0, Uint8Array.of(1)), N.addField(1, u.CLValue.newCLString(this.byName).bytes()), N.toBytes(); + var O; + return O = B, B.prototype.toBytes = function() { + var I; + if (this.byHash) return (I = new w.CalltableSerialization()).addField(0, Uint8Array.of(0)), I.addField(1, this.byHash.toBytes()), I.toBytes(); + if (this.byName) return (I = new w.CalltableSerialization()).addField(0, Uint8Array.of(1)), I.addField(1, C.CLValue.newCLString(this.byName).bytes()), I.toBytes(); if (this.byPackageHash) return this.byPackageHash.toBytes(); if (this.byPackageName) return this.byPackageName.toBytes(); throw new Error("Can not convert TransactionInvocationTarget to bytes. Missing values from initialization"); - }, R.fromBytes = function(N) { - var B = d.CalltableSerialization.fromBytes(N), H = B.getField(0); - if (!H || H.length !== 1) throw new Error("Invalid or missing tag in serialized TransactionInvocationTarget"); - var U = H[0], S = new L(); - switch (U) { + }, B.fromBytes = function(I) { + var x = w.CalltableSerialization.fromBytes(I), A = x.getField(0); + if (!A || A.length !== 1) throw new Error("Invalid or missing tag in serialized TransactionInvocationTarget"); + var N = A[0], k = new O(); + switch (N) { case 0: - var T = B.getField(1); - if (!T) throw new Error("Missing hash field for ByHash target"); - return S.byHash = y.Hash.fromBytes(T).result, S; + var j = x.getField(1); + if (!j) throw new Error("Missing hash field for ByHash target"); + return k.byHash = f.Hash.fromBytes(j).result, k; case 1: - if (!(j = B.getField(1))) throw new Error("Missing name field for ByName target"); - return S.byName = u.CLValueString.fromBytes(j).result.toString(), S; + if (!(K = x.getField(1))) throw new Error("Missing name field for ByName target"); + return k.byName = C.CLValueString.fromBytes(K).result.toString(), k; case 2: - var E = B.getField(1), M = B.getField(2); - if (!E || !M) throw new Error("Missing fields for ByPackageHash target"); - var _ = y.Hash.fromBytes(E), w = u.CLValueOption.fromBytes(M, new u.CLTypeOption(u.CLTypeUInt32)).result.toString(), A = new v(); - return A.addr = _.result, A.version = t.BigNumber.from(w).toNumber(), S.byPackageHash = A, S; + var D = x.getField(1), T = x.getField(2), L = x.getField(3); + if (!D || !T) throw new Error("Missing fields for ByPackageHash target"); + var R = null; + L && (R = C.CLValueUInt32.fromBytes(L).result.toNumber()); + var M = f.Hash.fromBytes(D), P = C.CLValueOption.fromBytes(T, new C.CLTypeOption(C.CLTypeUInt32)).result.toString(), H = new u(); + return H.addr = M.result, H.version = i.BigNumber.from(P).toNumber(), H.protocolVersionMajor = R, k.byPackageHash = H, k; case 3: - var j = B.getField(1); - if (M = B.getField(2), !j || !M) throw new Error("Missing fields for ByPackageName target"); - var V = u.CLValueString.fromBytes(j).result.toString(), D = (w = u.CLValueOption.fromBytes(M, new u.CLTypeOption(u.CLTypeUInt32)).result.toString(), new p()); - return D.version = t.BigNumber.from(w).toNumber(), D.name = V, S.byPackageName = D, S; + var K = x.getField(1); + if (T = x.getField(2), L = x.getField(3), !K || !T) throw new Error("Missing fields for ByPackageName target"); + R = null, L && (R = C.CLValueUInt32.fromBytes(L).result.toNumber()); + var V = C.CLValueString.fromBytes(K).result.toString(), U = (P = C.CLValueOption.fromBytes(T, new C.CLTypeOption(C.CLTypeUInt32)).result.toString(), new y()); + return U.version = i.BigNumber.from(P).toNumber(), U.name = V, U.protocolVersionMajor = R, k.byPackageName = U, k; default: - throw new Error("Unknown TransactionInvocationTarget tag: ".concat(U)); + throw new Error("Unknown TransactionInvocationTarget tag: ".concat(N)); } - }, r([(0, b.jsonMember)({ name: "ByHash", isRequired: !1, constructor: y.Hash, deserializer: function(N) { - if (N) return y.Hash.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", y.Hash)], R.prototype, "byHash", void 0), r([(0, b.jsonMember)({ name: "ByName", isRequired: !1, constructor: String }), a("design:type", String)], R.prototype, "byName", void 0), r([(0, b.jsonMember)({ name: "ByPackageHash", isRequired: !1, constructor: v }), a("design:type", v)], R.prototype, "byPackageHash", void 0), r([(0, b.jsonMember)({ name: "ByPackageName", isRequired: !1, constructor: p }), a("design:type", p)], R.prototype, "byPackageName", void 0), L = r([b.jsonObject], R); + }, r([(0, a.jsonMember)({ name: "ByHash", isRequired: !1, constructor: f.Hash, deserializer: function(I) { + if (I) return f.Hash.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), o("design:type", f.Hash)], B.prototype, "byHash", void 0), r([(0, a.jsonMember)({ name: "ByName", isRequired: !1, constructor: String }), o("design:type", String)], B.prototype, "byName", void 0), r([(0, a.jsonMember)({ name: "ByPackageHash", isRequired: !1, constructor: u }), o("design:type", u)], B.prototype, "byPackageHash", void 0), r([(0, a.jsonMember)({ name: "ByPackageName", isRequired: !1, constructor: y }), o("design:type", y)], B.prototype, "byPackageName", void 0), O = r([a.jsonObject], B); }(); - n.TransactionInvocationTarget = h; - var O = function() { - function R() { + n.TransactionInvocationTarget = d; + var b = function() { + function B() { } - return R.prototype.toBytes = function() { - var L = new d.CalltableSerialization(); - return L.addField(0, Uint8Array.of(1)), L.addField(1, this.id.toBytes()), L.addField(2, this.runtime.toBytes()), L.toBytes(); - }, r([(0, b.jsonMember)({ name: "id", constructor: h }), a("design:type", h)], R.prototype, "id", void 0), r([(0, b.jsonMember)({ name: "runtime", constructor: s, deserializer: function(L) { - if (L) return s.fromJSON(L); - }, serializer: function(L) { - return L.toJSON(); - } }), a("design:type", s)], R.prototype, "runtime", void 0), r([b.jsonObject], R); + return B.prototype.toBytes = function() { + var O = new w.CalltableSerialization(); + return O.addField(0, Uint8Array.of(1)), O.addField(1, this.id.toBytes()), O.addField(2, this.runtime.toBytes()), O.toBytes(); + }, r([(0, a.jsonMember)({ name: "id", constructor: d }), o("design:type", d)], B.prototype, "id", void 0), r([(0, a.jsonMember)({ name: "runtime", constructor: l, deserializer: function(O) { + if (O) return l.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", l)], B.prototype, "runtime", void 0), r([a.jsonObject], B); }(); - n.StoredTarget = O; - var I = function() { - function R() { + n.StoredTarget = b; + var _ = function() { + function B() { } - return R.prototype.toBytes = function() { - var L = new Uint8Array(new Uint32Array([this.moduleBytes.length]).buffer), N = new d.CalltableSerialization(); - return N.addField(0, Uint8Array.of(2)), N.addField(1, new Uint8Array([this.isInstallUpgrade ? 1 : 0])), N.addField(2, this.runtime.toBytes()), N.addField(3, (0, f.concat)([L, this.moduleBytes])), N.toBytes(); - }, r([(0, b.jsonMember)({ name: "module_bytes", constructor: Uint8Array, deserializer: l.byteArrayJsonDeserializer, serializer: l.byteArrayJsonSerializer }), a("design:type", Uint8Array)], R.prototype, "moduleBytes", void 0), r([(0, b.jsonMember)({ name: "runtime", constructor: s, deserializer: function(L) { - if (L) return s.fromJSON(L); - }, serializer: function(L) { - return L.toJSON(); - } }), a("design:type", s)], R.prototype, "runtime", void 0), r([(0, b.jsonMember)({ name: "is_install_upgrade", constructor: Boolean }), a("design:type", Boolean)], R.prototype, "isInstallUpgrade", void 0), r([b.jsonObject], R); + return B.prototype.toBytes = function() { + var O = new Uint8Array(new Uint32Array([this.moduleBytes.length]).buffer), I = new w.CalltableSerialization(); + return I.addField(0, Uint8Array.of(2)), I.addField(1, new Uint8Array([this.isInstallUpgrade ? 1 : 0])), I.addField(2, this.runtime.toBytes()), I.addField(3, (0, p.concat)([O, this.moduleBytes])), I.toBytes(); + }, r([(0, a.jsonMember)({ name: "module_bytes", constructor: Uint8Array, deserializer: m.byteArrayJsonDeserializer, serializer: m.byteArrayJsonSerializer }), o("design:type", Uint8Array)], B.prototype, "moduleBytes", void 0), r([(0, a.jsonMember)({ name: "runtime", constructor: l, deserializer: function(O) { + if (O) return l.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", l)], B.prototype, "runtime", void 0), r([(0, a.jsonMember)({ name: "is_install_upgrade", constructor: Boolean }), o("design:type", Boolean)], B.prototype, "isInstallUpgrade", void 0), r([a.jsonObject], B); }(); - n.SessionTarget = I; - var k = function() { - function R(N, B, H) { - this.native = N, this.stored = B, this.session = H; + n.SessionTarget = _; + var E = function() { + function B(I, x, A) { + this.native = I, this.stored = x, this.session = A; } - var L; - return L = R, R.prototype.toBytes = function() { + var O; + return O = B, B.prototype.toBytes = function() { if (this.native) { - var N = new d.CalltableSerialization(); - return N.addField(0, Uint8Array.of(0)), N.toBytes(); + var I = new w.CalltableSerialization(); + return I.addField(0, Uint8Array.of(0)), I.toBytes(); } if (this.stored) return this.stored.toBytes(); if (this.session) return this.session.toBytes(); throw new Error("Can not convert TransactionTarget to bytes. Missing values ( native | stored | session ) from initialization"); - }, R.fromJSON = function(N) { - var B = new L(); - if (typeof N == "string" && N === "Native") B.native = {}; - else if (N.Stored) { - var H = new b.TypedJSON(O); - B.stored = H.parse(N.Stored); - } else N.Session && (H = new b.TypedJSON(I), B.session = H.parse(N.Session)); - return B; - }, R.prototype.toJSON = function() { + }, B.fromJSON = function(I) { + var x = new O(); + if (typeof I == "string" && I === "Native") x.native = {}; + else if (I.Stored) { + var A = new a.TypedJSON(b); + x.stored = A.parse(I.Stored); + } else I.Session && (A = new a.TypedJSON(_), x.session = A.parse(I.Session)); + return x; + }, B.prototype.toJSON = function() { if (this.native !== void 0) return "Native"; - if (this.stored !== void 0) return { Stored: new b.TypedJSON(O).toPlainJson(this.stored) }; - if (this.session !== void 0) return { Session: new b.TypedJSON(I).toPlainJson(this.session) }; + if (this.stored !== void 0) return { Stored: new a.TypedJSON(b).toPlainJson(this.stored) }; + if (this.session !== void 0) return { Session: new a.TypedJSON(_).toPlainJson(this.session) }; throw new Error("unknown target type"); - }, R.newTransactionTargetFromSession = function(N) { - var B = new L(); - if (N.transfer !== void 0) return B.native = {}, B; - if (N.moduleBytes !== void 0) { - var H = new I(); - return H.moduleBytes = N.moduleBytes.moduleBytes, H.runtime = s.vmCasperV1(), B.session = H, B; - } - if (N.storedContractByHash !== void 0) { - var U = new O(); - return (M = new h()).byHash = N.storedContractByHash.hash.hash, U.runtime = s.vmCasperV1(), U.id = M, B.stored = U, B; - } - if (N.storedContractByName !== void 0) return U = new O(), (M = new h()).byName = N.storedContractByName.name, U.runtime = s.vmCasperV1(), U.id = M, B.stored = U, B; - if (N.storedVersionedContractByHash !== void 0) { - var S = void 0; - if (N.storedVersionedContractByHash.version !== void 0 && !(0, m.default)(N.storedVersionedContractByHash.version)) { - var T = parseInt(N.storedVersionedContractByHash.version.toString(), 10); - isNaN(T) || (S = T); + }, B.newTransactionTargetFromSession = function(I) { + var x = new O(); + if (I.transfer !== void 0) return x.native = {}, x; + if (I.moduleBytes !== void 0) { + var A = new _(); + return A.moduleBytes = I.moduleBytes.moduleBytes, A.runtime = l.vmCasperV1(), x.session = A, x; + } + if (I.storedContractByHash !== void 0) { + var N = new b(); + return (T = new d()).byHash = I.storedContractByHash.hash.hash, N.runtime = l.vmCasperV1(), N.id = T, x.stored = N, x; + } + if (I.storedContractByName !== void 0) return N = new b(), (T = new d()).byName = I.storedContractByName.name, N.runtime = l.vmCasperV1(), N.id = T, x.stored = N, x; + if (I.storedVersionedContractByHash !== void 0) { + var k = void 0; + if (I.storedVersionedContractByHash.version !== void 0 && !(0, v.isNull)(I.storedVersionedContractByHash.version)) { + var j = parseInt(I.storedVersionedContractByHash.version.toString(), 10); + isNaN(j) || (k = j); } - var E = new v(); - return E.addr = N.storedVersionedContractByHash.hash.hash, E.version = S, (M = new h()).byPackageHash = E, (U = new O()).runtime = s.vmCasperV1(), U.id = M, B.stored = U, B; - } - if (N.storedVersionedContractByName !== void 0) { - S = void 0, N.storedVersionedContractByName.version === void 0 || (0, m.default)(N.storedVersionedContractByName.version) || (T = parseInt(N.storedVersionedContractByName.version.toString(), 10), isNaN(T) || (S = T)); - var M, _ = new p(); - return _.name = N.storedVersionedContractByName.name, _.version = S, (M = new h()).byPackageName = _, (U = new O()).runtime = s.vmCasperV1(), U.id = M, B.stored = U, B; - } - return new L(); - }, r([(0, b.jsonMember)({ constructor: Object, name: "Native" }), a("design:type", Object)], R.prototype, "native", void 0), r([(0, b.jsonMember)({ name: "Stored", constructor: O }), a("design:type", O)], R.prototype, "stored", void 0), r([(0, b.jsonMember)({ name: "Session", constructor: I }), a("design:type", I)], R.prototype, "session", void 0), L = r([b.jsonObject, a("design:paramtypes", [Object, O, I])], R); - }(); - n.TransactionTarget = k; - }, 5596: function(x, n, c) { - var r = this && this.__decorate || function(I, k, R, L) { - var N, B = arguments.length, H = B < 3 ? k : L === null ? L = Object.getOwnPropertyDescriptor(k, R) : L; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") H = Reflect.decorate(I, k, R, L); - else for (var U = I.length - 1; U >= 0; U--) (N = I[U]) && (H = (B < 3 ? N(H) : B > 3 ? N(k, R, H) : N(k, R)) || H); - return B > 3 && H && Object.defineProperty(k, R, H), H; - }, a = this && this.__metadata || function(I, k) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(I, k); + var D = new u(); + return D.addr = I.storedVersionedContractByHash.hash.hash, D.version = k, D.protocolVersionMajor = null, (T = new d()).byPackageHash = D, (N = new b()).runtime = l.vmCasperV1(), N.id = T, x.stored = N, x; + } + if (I.storedVersionedContractByName !== void 0) { + k = void 0, I.storedVersionedContractByName.version === void 0 || (0, v.isNull)(I.storedVersionedContractByName.version) || (j = parseInt(I.storedVersionedContractByName.version.toString(), 10), isNaN(j) || (k = j)); + var T, L = new y(); + return L.name = I.storedVersionedContractByName.name, L.version = k, L.protocolVersionMajor = null, (T = new d()).byPackageName = L, (N = new b()).runtime = l.vmCasperV1(), N.id = T, x.stored = N, x; + } + return new O(); + }, r([(0, a.jsonMember)({ constructor: Object, name: "Native" }), o("design:type", Object)], B.prototype, "native", void 0), r([(0, a.jsonMember)({ name: "Stored", constructor: b }), o("design:type", b)], B.prototype, "stored", void 0), r([(0, a.jsonMember)({ name: "Session", constructor: _ }), o("design:type", _)], B.prototype, "session", void 0), O = r([a.jsonObject, o("design:paramtypes", [Object, b, _])], B); + }(); + n.TransactionTarget = E; + }, 5596(g, n, s) { + var r = this && this.__decorate || function(E, B, O, I) { + var x, A = arguments.length, N = A < 3 ? B : I === null ? I = Object.getOwnPropertyDescriptor(B, O) : I; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") N = Reflect.decorate(E, B, O, I); + else for (var k = E.length - 1; k >= 0; k--) (x = E[k]) && (N = (A < 3 ? x(N) : A > 3 ? x(B, O, N) : x(B, O)) || N); + return A > 3 && N && Object.defineProperty(B, O, N), N; + }, o = this && this.__metadata || function(E, B) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(E, B); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.TransactionV1Payload = n.PayloadFields = void 0; - var i = c(9592), m = c(3771), t = c(6500), f = c(6200), b = c(9960), y = c(7012), u = c(2151), d = c(5731), l = c(9213), s = c(2428), v = c(5466), p = c(678), h = function() { - function I() { + var i = s(9592), p = s(3771), a = s(6500), f = s(6200), C = s(9960), w = s(7012), m = s(2151), v = s(5731), l = s(9213), u = s(2428), y = s(5466), d = s(678), b = function() { + function E() { this.fields = /* @__PURE__ */ new Map(); } - var k; - return k = I, I.build = function(R, L, N, B) { - var H = []; - if (R || H.push("args"), L || H.push("transactionTarget"), N || H.push("transactionEntryPoint"), B || H.push("transactionScheduling"), H.length > 0) throw new Error("Failed to build PayloadFields: Missing or invalid fields: ".concat(H.join(", "), ".")); - var U = new k(); - return U.args = R, U.target = L, U.entryPoint = N, U.scheduling = B, U; - }, I.prototype.addField = function(R, L) { - this.fields.set(R, L); - }, I.prototype.getFieldValue = function(R) { - return this.fields.get(R); - }, I.prototype.toBytes = function() { - var R = new ArrayBuffer(1024), L = new DataView(R), N = 0; - N = (0, p.writeInteger)(L, N, this.fields.size); - for (var B = 0, H = Array.from(this.fields.entries()); B < H.length; B++) { - var U = H[B], S = U[0], T = U[1]; - N + 2 > R.byteLength && (R = (0, p.expandBuffer)(R, N + 2), L = new DataView(R)), (N = (0, p.writeUShort)(L, N, S)) + T.length > R.byteLength && (R = (0, p.expandBuffer)(R, N + T.length), L = new DataView(R)), N = (0, p.writeBytes)(L, N, T); - } - return new Uint8Array(R, 0, N); + var B; + return B = E, E.build = function(O, I, x, A) { + var N = []; + if (O || N.push("args"), I || N.push("transactionTarget"), x || N.push("transactionEntryPoint"), A || N.push("transactionScheduling"), N.length > 0) throw new Error("Failed to build PayloadFields: Missing or invalid fields: ".concat(N.join(", "), ".")); + var k = new B(); + return k.args = O, k.target = I, k.entryPoint = x, k.scheduling = A, k; + }, E.prototype.addField = function(O, I) { + this.fields.set(O, I); + }, E.prototype.getFieldValue = function(O) { + return this.fields.get(O); + }, E.prototype.toBytes = function() { + var O = new ArrayBuffer(1024), I = new DataView(O), x = 0; + x = (0, d.writeInteger)(I, x, this.fields.size); + for (var A = 0, N = Array.from(this.fields.entries()); A < N.length; A++) { + var k = N[A], j = k[0], D = k[1]; + x + 2 > O.byteLength && (O = (0, d.expandBuffer)(O, x + 2), I = new DataView(O)), (x = (0, d.writeUShort)(I, x, j)) + D.length > O.byteLength && (O = (0, d.expandBuffer)(O, x + D.length), I = new DataView(O)), x = (0, d.writeBytes)(I, x, D); + } + return new Uint8Array(O, 0, x); }, r([(0, i.jsonMember)(function() { - return b.Args; - }, { deserializer: s.deserializeArgs, serializer: function(R) { - return (0, s.serializeArgs)(R, !0); - } }), a("design:type", b.Args)], I.prototype, "args", void 0), r([(0, i.jsonMember)({ name: "target", constructor: y.TransactionTarget, deserializer: function(R) { - return y.TransactionTarget.fromJSON(R); - }, serializer: function(R) { - return R.toJSON(); - } }), a("design:type", y.TransactionTarget)], I.prototype, "target", void 0), r([(0, i.jsonMember)({ name: "entry_point", constructor: u.TransactionEntryPoint, deserializer: function(R) { - return u.TransactionEntryPoint.fromJSON(R); - }, serializer: function(R) { - return R.toJSON(); - } }), a("design:type", u.TransactionEntryPoint)], I.prototype, "entryPoint", void 0), r([(0, i.jsonMember)({ name: "scheduling", constructor: d.TransactionScheduling, deserializer: function(R) { - return d.TransactionScheduling.fromJSON(R); - }, serializer: function(R) { - return R.toJSON(); - } }), a("design:type", d.TransactionScheduling)], I.prototype, "scheduling", void 0), k = r([i.jsonObject], I); + return C.Args; + }, { deserializer: u.deserializeArgs, serializer: function(O) { + return (0, u.serializeArgs)(O, !0); + } }), o("design:type", C.Args)], E.prototype, "args", void 0), r([(0, i.jsonMember)({ name: "target", constructor: w.TransactionTarget, deserializer: function(O) { + return w.TransactionTarget.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", w.TransactionTarget)], E.prototype, "target", void 0), r([(0, i.jsonMember)({ name: "entry_point", constructor: m.TransactionEntryPoint, deserializer: function(O) { + return m.TransactionEntryPoint.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", m.TransactionEntryPoint)], E.prototype, "entryPoint", void 0), r([(0, i.jsonMember)({ name: "scheduling", constructor: v.TransactionScheduling, deserializer: function(O) { + return v.TransactionScheduling.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", v.TransactionScheduling)], E.prototype, "scheduling", void 0), B = r([i.jsonObject], E); }(); - n.PayloadFields = h; - var O = function() { - function I() { + n.PayloadFields = b; + var _ = function() { + function E() { } - var k; - return k = I, I.prototype.toBytes = function() { - var R = new ArrayBuffer(1024), L = new DataView(R), N = 0; - L.setUint8(N, 0), (N += 1) + 4 > R.byteLength && (R = (0, p.expandBuffer)(R, N + 4), L = new DataView(R)), L.setUint32(N, this.fields.args.args.size, !0), N += 4; - for (var B = 0, H = Array.from(this.fields.args.args.entries()); B < H.length; B++) { - var U = H[B], S = U[0], T = U[1], E = new b.NamedArg(S, T), M = b.NamedArg.toBytesWithNamedArg(E); - N + M.length > R.byteLength && (R = (0, p.expandBuffer)(R, N + M.length), L = new DataView(R)), new Uint8Array(R, N).set(M), N += M.length; - } - var _ = new Uint8Array(R, 0, N), w = new h(), A = new Uint8Array(_.length + 4); - new DataView(A.buffer).setUint32(0, _.length, !0), A.set(_, 4), w.addField(0, A); - var j = this.fields.target.toBytes(), V = new Uint8Array(j.length + 4); - new DataView(V.buffer).setUint32(0, j.length, !0), V.set(j, 4), w.addField(1, V); - var D = this.fields.entryPoint.toBytes(), z = new Uint8Array(D.length + 4); - new DataView(z.buffer).setUint32(0, D.length, !0), z.set(D, 4), w.addField(2, z); - var J = this.fields.scheduling.toBytes(), G = new Uint8Array(J.length + 4); - return new DataView(G.buffer).setUint32(0, J.length, !0), G.set(J, 4), w.addField(3, G), new l.CalltableSerialization().addField(0, this.initiatorAddr.toBytes()).addField(1, v.CLValue.newCLUint64(this.timestamp.toMilliseconds()).bytes()).addField(2, v.CLValue.newCLUint64(this.ttl.duration).bytes()).addField(3, v.CLValue.newCLString(this.chainName).bytes()).addField(4, this.pricingMode.toBytes()).addField(5, w.toBytes()).toBytes(); - }, I.build = function(R) { - var L = R.initiatorAddr, N = R.args, B = R.ttl, H = R.entryPoint, U = R.pricingMode, S = R.timestamp, T = R.transactionTarget, E = R.scheduling, M = R.chainName, _ = h.build(N, T, H, E), w = new k(); - return w.initiatorAddr = L, w.ttl = B, w.pricingMode = U, w.timestamp = S, w.chainName = M, w.fields = _, w; - }, r([(0, i.jsonMember)({ name: "initiator_addr", constructor: m.InitiatorAddr, deserializer: function(R) { - return m.InitiatorAddr.fromJSON(R); - }, serializer: function(R) { - return R.toJSON(); - } }), a("design:type", m.InitiatorAddr)], I.prototype, "initiatorAddr", void 0), r([(0, i.jsonMember)({ name: "timestamp", constructor: t.Timestamp, deserializer: function(R) { - return t.Timestamp.fromJSON(R); - }, serializer: function(R) { - return R.toJSON(); - } }), a("design:type", t.Timestamp)], I.prototype, "timestamp", void 0), r([(0, i.jsonMember)({ name: "ttl", constructor: t.Duration, deserializer: function(R) { - return t.Duration.fromJSON(R); - }, serializer: function(R) { - return R.toJSON(); - } }), a("design:type", t.Duration)], I.prototype, "ttl", void 0), r([(0, i.jsonMember)({ name: "pricing_mode", constructor: f.PricingMode }), a("design:type", f.PricingMode)], I.prototype, "pricingMode", void 0), r([(0, i.jsonMember)({ name: "chain_name", constructor: String }), a("design:type", String)], I.prototype, "chainName", void 0), r([(0, i.jsonMember)({ name: "fields", constructor: h }), a("design:type", h)], I.prototype, "fields", void 0), k = r([i.jsonObject], I); - }(); - n.TransactionV1Payload = O; - }, 6838: function(x, n, c) { - var r = this && this.__decorate || function(v, p, h, O) { - var I, k = arguments.length, R = k < 3 ? p : O === null ? O = Object.getOwnPropertyDescriptor(p, h) : O; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(v, p, h, O); - else for (var L = v.length - 1; L >= 0; L--) (I = v[L]) && (R = (k < 3 ? I(R) : k > 3 ? I(p, h, R) : I(p, h)) || R); - return k > 3 && R && Object.defineProperty(p, h, R), R; - }, a = this && this.__metadata || function(v, p) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, p); + var B; + return B = E, E.prototype.toBytes = function() { + var O = new ArrayBuffer(1024), I = new DataView(O), x = 0; + I.setUint8(x, 0), (x += 1) + 4 > O.byteLength && (O = (0, d.expandBuffer)(O, x + 4), I = new DataView(O)), I.setUint32(x, this.fields.args.args.size, !0), x += 4; + for (var A = 0, N = Array.from(this.fields.args.args.entries()); A < N.length; A++) { + var k = N[A], j = k[0], D = k[1], T = new C.NamedArg(j, D), L = C.NamedArg.toBytesWithNamedArg(T); + x + L.length > O.byteLength && (O = (0, d.expandBuffer)(O, x + L.length), I = new DataView(O)), new Uint8Array(O, x).set(L), x += L.length; + } + var R = new Uint8Array(O, 0, x), M = new b(), P = new Uint8Array(R.length + 4); + new DataView(P.buffer).setUint32(0, R.length, !0), P.set(R, 4), M.addField(0, P); + var H = this.fields.target.toBytes(), K = new Uint8Array(H.length + 4); + new DataView(K.buffer).setUint32(0, H.length, !0), K.set(H, 4), M.addField(1, K); + var V = this.fields.entryPoint.toBytes(), U = new Uint8Array(V.length + 4); + new DataView(U.buffer).setUint32(0, V.length, !0), U.set(V, 4), M.addField(2, U); + var F = this.fields.scheduling.toBytes(), Q = new Uint8Array(F.length + 4); + return new DataView(Q.buffer).setUint32(0, F.length, !0), Q.set(F, 4), M.addField(3, Q), new l.CalltableSerialization().addField(0, this.initiatorAddr.toBytes()).addField(1, y.CLValue.newCLUint64(this.timestamp.toMilliseconds()).bytes()).addField(2, y.CLValue.newCLUint64(this.ttl.duration).bytes()).addField(3, y.CLValue.newCLString(this.chainName).bytes()).addField(4, this.pricingMode.toBytes()).addField(5, M.toBytes()).toBytes(); + }, E.build = function(O) { + var I = O.initiatorAddr, x = O.args, A = O.ttl, N = O.entryPoint, k = O.pricingMode, j = O.timestamp, D = O.transactionTarget, T = O.scheduling, L = O.chainName, R = b.build(x, D, N, T), M = new B(); + return M.initiatorAddr = I, M.ttl = A, M.pricingMode = k, M.timestamp = j, M.chainName = L, M.fields = R, M; + }, r([(0, i.jsonMember)({ name: "initiator_addr", constructor: p.InitiatorAddr, deserializer: function(O) { + return p.InitiatorAddr.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", p.InitiatorAddr)], E.prototype, "initiatorAddr", void 0), r([(0, i.jsonMember)({ name: "timestamp", constructor: a.Timestamp, deserializer: function(O) { + return a.Timestamp.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", a.Timestamp)], E.prototype, "timestamp", void 0), r([(0, i.jsonMember)({ name: "ttl", constructor: a.Duration, deserializer: function(O) { + return a.Duration.fromJSON(O); + }, serializer: function(O) { + return O.toJSON(); + } }), o("design:type", a.Duration)], E.prototype, "ttl", void 0), r([(0, i.jsonMember)({ name: "pricing_mode", constructor: f.PricingMode }), o("design:type", f.PricingMode)], E.prototype, "pricingMode", void 0), r([(0, i.jsonMember)({ name: "chain_name", constructor: String }), o("design:type", String)], E.prototype, "chainName", void 0), r([(0, i.jsonMember)({ name: "fields", constructor: b }), o("design:type", b)], E.prototype, "fields", void 0), B = r([i.jsonObject], E); + }(); + n.TransactionV1Payload = _; + }, 6838(g, n, s) { + var r = this && this.__decorate || function(y, d, b, _) { + var E, B = arguments.length, O = B < 3 ? d : _ === null ? _ = Object.getOwnPropertyDescriptor(d, b) : _; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(y, d, b, _); + else for (var I = y.length - 1; I >= 0; I--) (E = y[I]) && (O = (B < 3 ? E(O) : B > 3 ? E(d, b, O) : E(d, b)) || O); + return B > 3 && O && Object.defineProperty(d, b, O), O; + }, o = this && this.__metadata || function(y, d) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, d); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Transfer = n.TransferV2 = n.TransferV1 = void 0; - var i = c(9592), m = c(9125), t = c(3771), f = c(3401), b = c(5466), y = c(6077), u = function() { - function v() { + var i = s(9592), p = s(9125), a = s(3771), f = s(3401), C = s(5466), w = s(6077), m = function() { + function y() { } - return r([(0, i.jsonMember)({ constructor: b.CLValueUInt512, deserializer: function(p) { - return b.CLValueUInt512.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", b.CLValueUInt512)], v.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "deploy_hash", constructor: f.Hash, deserializer: function(p) { - return f.Hash.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", f.Hash)], v.prototype, "deployHash", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(p) { - return f.AccountHash.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", f.AccountHash)], v.prototype, "from", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(p) { - return y.BigNumber.from(p).toNumber(); - }, serializer: function(p) { - return y.BigNumber.from(p).toString(); - } }), a("design:type", Number)], v.prototype, "gas", void 0), r([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(p) { - return f.URef.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", f.URef)], v.prototype, "source", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(p) { - return f.URef.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", f.URef)], v.prototype, "target", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(p) { - if (p) return f.AccountHash.fromJSON(p); - }, serializer: function(p) { - if (p) return p.toJSON(); - } }), a("design:type", f.AccountHash)], v.prototype, "to", void 0), r([i.jsonObject], v); - }(); - n.TransferV1 = u; - var d = function() { - function v() { + return r([(0, i.jsonMember)({ constructor: C.CLValueUInt512, deserializer: function(d) { + return C.CLValueUInt512.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", C.CLValueUInt512)], y.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "deploy_hash", constructor: f.Hash, deserializer: function(d) { + return f.Hash.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", f.Hash)], y.prototype, "deployHash", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(d) { + return f.AccountHash.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", f.AccountHash)], y.prototype, "from", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(d) { + return w.BigNumber.from(d).toNumber(); + }, serializer: function(d) { + return w.BigNumber.from(d).toString(); + } }), o("design:type", Number)], y.prototype, "gas", void 0), r([(0, i.jsonMember)({ constructor: Number }), o("design:type", Number)], y.prototype, "id", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(d) { + return f.URef.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", f.URef)], y.prototype, "source", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(d) { + return f.URef.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", f.URef)], y.prototype, "target", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(d) { + if (d) return f.AccountHash.fromJSON(d); + }, serializer: function(d) { + if (d) return d.toJSON(); + } }), o("design:type", f.AccountHash)], y.prototype, "to", void 0), r([i.jsonObject], y); + }(); + n.TransferV1 = m; + var v = function() { + function y() { } - return r([(0, i.jsonMember)({ constructor: b.CLValueUInt512, deserializer: function(p) { - return b.CLValueUInt512.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", b.CLValueUInt512)], v.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "transaction_hash", constructor: m.TransactionHash }), a("design:type", m.TransactionHash)], v.prototype, "transactionHash", void 0), r([(0, i.jsonMember)({ constructor: t.InitiatorAddr, deserializer: function(p) { - return t.InitiatorAddr.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", t.InitiatorAddr)], v.prototype, "from", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(p) { - return y.BigNumber.from(p).toNumber(); - }, serializer: function(p) { - return y.BigNumber.from(p).toString(); - } }), a("design:type", Number)], v.prototype, "gas", void 0), r([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(p) { - return f.URef.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", f.URef)], v.prototype, "source", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(p) { - return f.URef.fromJSON(p); - }, serializer: function(p) { - return p.toJSON(); - } }), a("design:type", f.URef)], v.prototype, "target", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(p) { - if (p) return f.AccountHash.fromJSON(p); - }, serializer: function(p) { - if (p) return p.toJSON(); - } }), a("design:type", f.AccountHash)], v.prototype, "to", void 0), r([i.jsonObject], v); - }(); - n.TransferV2 = d; + return r([(0, i.jsonMember)({ constructor: C.CLValueUInt512, deserializer: function(d) { + return C.CLValueUInt512.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", C.CLValueUInt512)], y.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "transaction_hash", constructor: p.TransactionHash }), o("design:type", p.TransactionHash)], y.prototype, "transactionHash", void 0), r([(0, i.jsonMember)({ constructor: a.InitiatorAddr, deserializer: function(d) { + return a.InitiatorAddr.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", a.InitiatorAddr)], y.prototype, "from", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(d) { + return w.BigNumber.from(d).toNumber(); + }, serializer: function(d) { + return w.BigNumber.from(d).toString(); + } }), o("design:type", Number)], y.prototype, "gas", void 0), r([(0, i.jsonMember)({ constructor: Number }), o("design:type", Number)], y.prototype, "id", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(d) { + return f.URef.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", f.URef)], y.prototype, "source", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(d) { + return f.URef.fromJSON(d); + }, serializer: function(d) { + return d.toJSON(); + } }), o("design:type", f.URef)], y.prototype, "target", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(d) { + if (d) return f.AccountHash.fromJSON(d); + }, serializer: function(d) { + if (d) return d.toJSON(); + } }), o("design:type", f.AccountHash)], y.prototype, "to", void 0), r([i.jsonObject], y); + }(); + n.TransferV2 = v; var l = function() { - function v() { + function y() { } - return r([(0, i.jsonMember)({ name: "Version1", constructor: u }), a("design:type", u)], v.prototype, "Version1", void 0), r([(0, i.jsonMember)({ name: "Version2", constructor: d }), a("design:type", d)], v.prototype, "Version2", void 0), r([i.jsonObject], v); - }(), s = function() { - function v() { + return r([(0, i.jsonMember)({ name: "Version1", constructor: m }), o("design:type", m)], y.prototype, "Version1", void 0), r([(0, i.jsonMember)({ name: "Version2", constructor: v }), o("design:type", v)], y.prototype, "Version2", void 0), r([i.jsonObject], y); + }(), u = function() { + function y() { } - var p; - return p = v, v.prototype.getTransferV1 = function() { + var d; + return d = y, y.prototype.getTransferV1 = function() { return this.originTransferV1; - }, v.prototype.getTransferV2 = function() { + }, y.prototype.getTransferV2 = function() { return this.originTransferV2; - }, v.fromJSON = function(h) { - var O = i.TypedJSON.parse(h, l); - if (O?.Version2) { - var I = new p(); - return I.amount = O.Version2.amount, I.transactionHash = O.Version2.transactionHash, I.from = O.Version2.from, I.gas = O.Version2.gas, I.id = O.Version2.id, I.source = O.Version2.source, I.target = O.Version2.target, I.to = O.Version2.to, I.originTransferV2 = O.Version2, I; - } - if (O?.Version1) return p.fromTransferV1(O.Version1); - var k = i.TypedJSON.parse(h, u); - if (k) return p.fromTransferV1(k); + }, y.fromJSON = function(b) { + var _ = i.TypedJSON.parse(b, l); + if (_?.Version2) { + var E = new d(); + return E.amount = _.Version2.amount, E.transactionHash = _.Version2.transactionHash, E.from = _.Version2.from, E.gas = _.Version2.gas, E.id = _.Version2.id, E.source = _.Version2.source, E.target = _.Version2.target, E.to = _.Version2.to, E.originTransferV2 = _.Version2, E; + } + if (_?.Version1) return d.fromTransferV1(_.Version1); + var B = i.TypedJSON.parse(b, m); + if (B) return d.fromTransferV1(B); throw new Error("Incorrect RPC response structure"); - }, v.fromTransferV1 = function(h) { - var O = new p(); - return O.amount = h.amount, O.transactionHash = m.TransactionHash.fromDeployHash(h.deployHash), O.from = new t.InitiatorAddr(void 0, h.from), O.gas = h.gas, O.id = h.id, O.source = h.source, O.target = h.target, O.to = h.to, O.originTransferV1 = h, O; - }, r([(0, i.jsonMember)({ constructor: b.CLValueUInt512, deserializer: function(h) { - return b.CLValueUInt512.fromJSON(h); - }, serializer: function(h) { - return h.toJSON(); - } }), a("design:type", b.CLValueUInt512)], v.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "transaction_hash", constructor: m.TransactionHash }), a("design:type", m.TransactionHash)], v.prototype, "transactionHash", void 0), r([(0, i.jsonMember)({ constructor: t.InitiatorAddr, deserializer: function(h) { - return t.InitiatorAddr.fromJSON(h); - }, serializer: function(h) { - return h.toJSON(); - } }), a("design:type", t.InitiatorAddr)], v.prototype, "from", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(h) { - return y.BigNumber.from(h).toNumber(); - }, serializer: function(h) { - return y.BigNumber.from(h).toString(); - } }), a("design:type", Number)], v.prototype, "gas", void 0), r([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(h) { - return f.URef.fromJSON(h); - }, serializer: function(h) { - return h.toJSON(); - } }), a("design:type", f.URef)], v.prototype, "source", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(h) { - return f.URef.fromJSON(h); - }, serializer: function(h) { - return h.toJSON(); - } }), a("design:type", f.URef)], v.prototype, "target", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(h) { - if (h) return f.AccountHash.fromJSON(h); - }, serializer: function(h) { - if (h) return h.toJSON(); - } }), a("design:type", f.AccountHash)], v.prototype, "to", void 0), p = r([i.jsonObject], v); - }(); - n.Transfer = s; - }, 8057: function(x, n, c) { - var r = this && this.__decorate || function(s, v, p, h) { - var O, I = arguments.length, k = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, p) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, p, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (I < 3 ? O(k) : I > 3 ? O(v, p, k) : O(v, p)) || k); - return I > 3 && k && Object.defineProperty(v, p, k), k; - }, a = this && this.__metadata || function(s, v) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); + }, y.fromTransferV1 = function(b) { + var _ = new d(); + return _.amount = b.amount, _.transactionHash = p.TransactionHash.fromDeployHash(b.deployHash), _.from = new a.InitiatorAddr(void 0, b.from), _.gas = b.gas, _.id = b.id, _.source = b.source, _.target = b.target, _.to = b.to, _.originTransferV1 = b, _; + }, r([(0, i.jsonMember)({ constructor: C.CLValueUInt512, deserializer: function(b) { + return C.CLValueUInt512.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", C.CLValueUInt512)], y.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "transaction_hash", constructor: p.TransactionHash }), o("design:type", p.TransactionHash)], y.prototype, "transactionHash", void 0), r([(0, i.jsonMember)({ constructor: a.InitiatorAddr, deserializer: function(b) { + return a.InitiatorAddr.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", a.InitiatorAddr)], y.prototype, "from", void 0), r([(0, i.jsonMember)({ constructor: Number, deserializer: function(b) { + return w.BigNumber.from(b).toNumber(); + }, serializer: function(b) { + return w.BigNumber.from(b).toString(); + } }), o("design:type", Number)], y.prototype, "gas", void 0), r([(0, i.jsonMember)({ constructor: Number }), o("design:type", Number)], y.prototype, "id", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(b) { + return f.URef.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", f.URef)], y.prototype, "source", void 0), r([(0, i.jsonMember)({ constructor: f.URef, deserializer: function(b) { + return f.URef.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", f.URef)], y.prototype, "target", void 0), r([(0, i.jsonMember)({ constructor: f.AccountHash, deserializer: function(b) { + if (b) return f.AccountHash.fromJSON(b); + }, serializer: function(b) { + if (b) return b.toJSON(); + } }), o("design:type", f.AccountHash)], y.prototype, "to", void 0), d = r([i.jsonObject], y); + }(); + n.Transfer = u; + }, 8057(g, n, s) { + var r = this && this.__decorate || function(u, y, d, b) { + var _, E = arguments.length, B = E < 3 ? y : b === null ? b = Object.getOwnPropertyDescriptor(y, d) : b; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(u, y, d, b); + else for (var O = u.length - 1; O >= 0; O--) (_ = u[O]) && (B = (E < 3 ? _(B) : E > 3 ? _(y, d, B) : _(y, d)) || B); + return E > 3 && B && Object.defineProperty(y, d, B), B; + }, o = this && this.__metadata || function(u, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, y); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.NamedKeyKind = n.TransformKey = n.Transform = n.TransformKind = void 0; - var i = c(9592), m = c(3401), t = c(9960), f = c(2428), b = c(1527), y = function() { - function s(p) { - this.data = p; + var i = s(9592), p = s(3401), a = s(9960), f = s(2428), C = s(1527), w = function() { + function u(d) { + this.data = d; } - var v; - return v = s, Object.defineProperty(s.prototype, "transformationData", { get: function() { + var y; + return y = u, Object.defineProperty(u.prototype, "transformationData", { get: function() { return this.data; - }, enumerable: !1, configurable: !0 }), s.fromJSON = function(p) { - if (!p) throw new Error("TransformKind: fromJSON on empty string"); - return new v(p); - }, s.prototype.toJSON = function() { + }, enumerable: !1, configurable: !0 }), u.fromJSON = function(d) { + if (!d) throw new Error("TransformKind: fromJSON on empty string"); + return new y(d); + }, u.prototype.toJSON = function() { return this.data; - }, s.prototype.isWriteTransfer = function() { + }, u.prototype.isWriteTransfer = function() { return this.isTransformation("WriteTransfer"); - }, s.prototype.isWriteAccount = function() { + }, u.prototype.isWriteAccount = function() { return this.isTransformation("WriteAccount") || this.isTransformation("Write") && this.isTransformation("Account"); - }, s.prototype.isCLValueWrite = function() { + }, u.prototype.isCLValueWrite = function() { return this.isTransformation("WriteCLValue"); - }, s.prototype.isWriteContract = function() { - var p; + }, u.prototype.isWriteContract = function() { + var d; if (this.isTransformation("WriteContract")) return !0; - var h = new i.TypedJSON(b.RawWriteContract).parse(this.data); - return !!(!((p = h?.Write) === null || p === void 0) && p.Contract); - }, s.prototype.isWriteWithdraw = function() { + var b = new i.TypedJSON(C.RawWriteContract).parse(this.data); + return !!(!((d = b?.Write) === null || d === void 0) && d.Contract); + }, u.prototype.isWriteWithdraw = function() { return this.isTransformation("WriteWithdraw"); - }, s.prototype.isWriteUnbonding = function() { + }, u.prototype.isWriteUnbonding = function() { return this.isTransformation("WriteUnbonding"); - }, s.prototype.isWriteCLValue = function() { + }, u.prototype.isWriteCLValue = function() { return this.isTransformation("CLValue"); - }, s.prototype.isWritePackage = function() { + }, u.prototype.isWritePackage = function() { return this.isTransformation("Package"); - }, s.prototype.isWriteAddressableEntity = function() { + }, u.prototype.isWriteAddressableEntity = function() { return this.isTransformation("AddressableEntity"); - }, s.prototype.isWriteBidKind = function() { + }, u.prototype.isWriteBidKind = function() { return this.isTransformation("BidKind"); - }, s.prototype.isWriteNamedKey = function() { + }, u.prototype.isWriteNamedKey = function() { return this.isTransformation("NamedKey"); - }, s.prototype.isWriteMessage = function() { + }, u.prototype.isWriteMessage = function() { return this.isTransformation("Message"); - }, s.prototype.isWriteMessageTopic = function() { + }, u.prototype.isWriteMessageTopic = function() { return this.isTransformation("MessageTopic"); - }, s.prototype.isWriteBid = function() { + }, u.prototype.isWriteBid = function() { return this.isTransformation("WriteBid"); - }, s.prototype.isAddUint512 = function() { + }, u.prototype.isAddUint512 = function() { return this.isTransformation("AddUInt512"); - }, s.prototype.isWriteDeployInfo = function() { + }, u.prototype.isWriteDeployInfo = function() { return this.isTransformation("WriteDeployInfo"); - }, s.prototype.isWriteContractPackage = function() { - var p; + }, u.prototype.isWriteContractPackage = function() { + var d; if (this.isTransformation("WriteContractPackage")) return !0; - var h = new i.TypedJSON(b.RawWriteContractPackage).parse(this.data); - return !!(!((p = h?.Write) === null || p === void 0) && p.ContractPackage); - }, s.prototype.parseAsWriteTransfer = function() { - var p = new i.TypedJSON(b.RawWriteTransferTransform).parse(this.data); - if (!p || !p.WriteTransfer) throw new Error("Error parsing as WriteTransfer"); - return p.WriteTransfer; - }, s.prototype.parseAsWriteWithdraws = function() { - var p = new i.TypedJSON(b.RawWriteWithdrawals).parse(this.data); - return p && p.UnbondingPurses ? p.UnbondingPurses : []; - }, s.prototype.parseAsWriteAddressableEntity = function() { - var p, h = new i.TypedJSON(b.TranformAddressableEntityRawData).parse(this.data); - if (!(!((p = h?.Write) === null || p === void 0) && p.AddressableEntity)) throw new Error("Error parsing as AddressableEntity"); - return h.Write.AddressableEntity; - }, s.prototype.parseAsWritePackage = function() { - var p, h = new i.TypedJSON(b.PackageRawData).parse(this.data); - if (!(!((p = h?.Write) === null || p === void 0) && p.Package)) throw new Error("Error parsing as Package"); - return h.Write.Package; - }, s.prototype.parseAsWriteBidKind = function() { - var p, h = new i.TypedJSON(b.BidKindRawData).parse(this.data); - if (!(!((p = h?.Write) === null || p === void 0) && p.BidKind)) throw new Error("Error parsing as BidKind"); - return h.Write.BidKind; - }, s.prototype.parseAsWriteNamedKey = function() { - var p = new i.TypedJSON(b.RawDataNamedKey).parse(this.data); - if (!p || !p.Write || !p.Write.NamedKey) throw new Error("Error parsing as NamedKeyKind"); - return p.Write.NamedKey; - }, s.prototype.parseAsWriteMessage = function() { - var p = new i.TypedJSON(b.RawDataMessage).parse(this.data); - if (!p || !p.Write || !p.Write.Message) throw new Error("Error parsing as MessageChecksum"); - return p.Write.Message; - }, s.prototype.parseAsWriteMessageTopic = function() { - var p = new i.TypedJSON(b.RawDataMessageTopic).parse(this.data); - if (!p || !p.Write || !p.Write.MessageTopic) throw new Error("Error parsing as MessageTopicSummary"); - return p.Write.MessageTopic; - }, s.prototype.parseAsWriteUnbondings = function() { - var p = new i.TypedJSON(b.RawWriteUnbonding).parse(this.data); - if (!p || !p.UnbondingPurses) throw new Error("Error parsing as UnbondingPurse array"); - return p.UnbondingPurses; - }, s.prototype.parseAsUInt512 = function() { - var p = new i.TypedJSON(b.RawUInt512).parse(this.data); - if (!p || !p.UInt512) throw new Error("Error parsing as CLValueUInt512"); - return p.UInt512; - }, s.prototype.parseAsWriteAccount = function() { - var p, h, O = new i.TypedJSON(b.RawWriteAccount2XTransform).parse(this.data); - if (!((h = (p = O?.Write) === null || p === void 0 ? void 0 : p.Account) === null || h === void 0) && h.accountHash && O.Write.Account.accountHash.toPrefixedString() !== "account-hash-0000000000000000000000000000000000000000000000000000000000000000") return O.Write.Account.accountHash; - var I = new i.TypedJSON(b.RawWriteAccount1XTransform).parse(this.data); - if (!I?.WriteAccount) throw new Error("Error parsing as WriteAccount"); - return I.WriteAccount; - }, s.prototype.parseAsWriteDeployInfo = function() { - var p = new i.TypedJSON(b.RawWriteDeployInfo).parse(this.data); - if (!p || !p.WriteDeployInfo) throw new Error("Error parsing as DeployInfo"); - return p.WriteDeployInfo; - }, s.prototype.parseAsWriteCLValue = function() { - var p, h = new i.TypedJSON(b.RawWriteCLValue).parse(this.data); - if (h && h.WriteCLValue) return h.WriteCLValue; - var O = new i.TypedJSON(b.RawWriteCLValueV2).parse(this.data); - if (!O || !O.Write || !O?.Write.CLValue) throw new Error("Error parsing as RawWriteCLValueV2"); - return (p = O.Write) === null || p === void 0 ? void 0 : p.CLValue; - }, s.prototype.parseAsWriteContract = function() { - var p, h = new i.TypedJSON(b.RawWriteContract).parse(this.data); - if (!h || !(!((p = h.Write) === null || p === void 0) && p.Contract)) throw new Error("Error parsing as WriteContract"); - return h.Write.Contract; - }, s.prototype.parseAsWriteContractPackage = function() { - var p, h = new i.TypedJSON(b.RawWriteContractPackage).parse(this.data); - if (!h || !(!((p = h.Write) === null || p === void 0) && p.ContractPackage)) throw new Error("Error parsing as WriteContractPackage"); - return h.Write.ContractPackage; - }, s.prototype.containsKeyRecursive = function(p, h) { - for (var O in p) - if (O.includes(h) || typeof p[O] == "object" && p[O] !== null && this.containsKeyRecursive(p[O], h)) return !0; + var b = new i.TypedJSON(C.RawWriteContractPackage).parse(this.data); + return !!(!((d = b?.Write) === null || d === void 0) && d.ContractPackage); + }, u.prototype.parseAsWriteTransfer = function() { + var d = new i.TypedJSON(C.RawWriteTransferTransform).parse(this.data); + if (!d || !d.WriteTransfer) throw new Error("Error parsing as WriteTransfer"); + return d.WriteTransfer; + }, u.prototype.parseAsWriteWithdraws = function() { + var d = new i.TypedJSON(C.RawWriteWithdrawals).parse(this.data); + return d && d.UnbondingPurses ? d.UnbondingPurses : []; + }, u.prototype.parseAsWriteAddressableEntity = function() { + var d, b = new i.TypedJSON(C.TranformAddressableEntityRawData).parse(this.data); + if (!(!((d = b?.Write) === null || d === void 0) && d.AddressableEntity)) throw new Error("Error parsing as AddressableEntity"); + return b.Write.AddressableEntity; + }, u.prototype.parseAsWritePackage = function() { + var d, b = new i.TypedJSON(C.PackageRawData).parse(this.data); + if (!(!((d = b?.Write) === null || d === void 0) && d.Package)) throw new Error("Error parsing as Package"); + return b.Write.Package; + }, u.prototype.parseAsWriteBidKind = function() { + var d, b = new i.TypedJSON(C.BidKindRawData).parse(this.data); + if (!(!((d = b?.Write) === null || d === void 0) && d.BidKind)) throw new Error("Error parsing as BidKind"); + return b.Write.BidKind; + }, u.prototype.parseAsWriteNamedKey = function() { + var d = new i.TypedJSON(C.RawDataNamedKey).parse(this.data); + if (!d || !d.Write || !d.Write.NamedKey) throw new Error("Error parsing as NamedKeyKind"); + return d.Write.NamedKey; + }, u.prototype.parseAsWriteMessage = function() { + var d = new i.TypedJSON(C.RawDataMessage).parse(this.data); + if (!d || !d.Write || !d.Write.Message) throw new Error("Error parsing as MessageChecksum"); + return d.Write.Message; + }, u.prototype.parseAsWriteMessageTopic = function() { + var d = new i.TypedJSON(C.RawDataMessageTopic).parse(this.data); + if (!d || !d.Write || !d.Write.MessageTopic) throw new Error("Error parsing as MessageTopicSummary"); + return d.Write.MessageTopic; + }, u.prototype.parseAsWriteUnbondings = function() { + var d = new i.TypedJSON(C.RawWriteUnbonding).parse(this.data); + if (!d || !d.UnbondingPurses) throw new Error("Error parsing as UnbondingPurse array"); + return d.UnbondingPurses; + }, u.prototype.parseAsUInt512 = function() { + var d = new i.TypedJSON(C.RawUInt512).parse(this.data); + if (!d || !d.UInt512) throw new Error("Error parsing as CLValueUInt512"); + return d.UInt512; + }, u.prototype.parseAsWriteAccount = function() { + var d, b, _ = new i.TypedJSON(C.RawWriteAccount2XTransform).parse(this.data); + if (!((b = (d = _?.Write) === null || d === void 0 ? void 0 : d.Account) === null || b === void 0) && b.accountHash && _.Write.Account.accountHash.toPrefixedString() !== "account-hash-0000000000000000000000000000000000000000000000000000000000000000") return _.Write.Account.accountHash; + var E = new i.TypedJSON(C.RawWriteAccount1XTransform).parse(this.data); + if (!E?.WriteAccount) throw new Error("Error parsing as WriteAccount"); + return E.WriteAccount; + }, u.prototype.parseAsWriteDeployInfo = function() { + var d = new i.TypedJSON(C.RawWriteDeployInfo).parse(this.data); + if (!d || !d.WriteDeployInfo) throw new Error("Error parsing as DeployInfo"); + return d.WriteDeployInfo; + }, u.prototype.parseAsWriteCLValue = function() { + var d, b = new i.TypedJSON(C.RawWriteCLValue).parse(this.data); + if (b && b.WriteCLValue) return b.WriteCLValue; + var _ = new i.TypedJSON(C.RawWriteCLValueV2).parse(this.data); + if (!_ || !_.Write || !_?.Write.CLValue) throw new Error("Error parsing as RawWriteCLValueV2"); + return (d = _.Write) === null || d === void 0 ? void 0 : d.CLValue; + }, u.prototype.parseAsWriteContract = function() { + var d, b = new i.TypedJSON(C.RawWriteContract).parse(this.data); + if (!b || !(!((d = b.Write) === null || d === void 0) && d.Contract)) throw new Error("Error parsing as WriteContract"); + return b.Write.Contract; + }, u.prototype.parseAsWriteContractPackage = function() { + var d, b = new i.TypedJSON(C.RawWriteContractPackage).parse(this.data); + if (!b || !(!((d = b.Write) === null || d === void 0) && d.ContractPackage)) throw new Error("Error parsing as WriteContractPackage"); + return b.Write.ContractPackage; + }, u.prototype.containsKeyRecursive = function(d, b) { + for (var _ in d) + if (_.includes(b) || typeof d[_] == "object" && d[_] !== null && this.containsKeyRecursive(d[_], b)) return !0; return !1; - }, s.prototype.isTransformation = function(p) { - return typeof this.data == "string" ? this.data.includes(p) : typeof this.data == "object" && this.data !== null && this.containsKeyRecursive(this.data, p); - }, v = r([i.jsonObject, a("design:paramtypes", [Object])], s); + }, u.prototype.isTransformation = function(d) { + return typeof this.data == "string" ? this.data.includes(d) : typeof this.data == "object" && this.data !== null && this.containsKeyRecursive(this.data, d); + }, y = r([i.jsonObject, o("design:paramtypes", [Object])], u); }(); - n.TransformKind = y; - var u = function() { - function s(v, p) { - this.key = v, this.kind = p; + n.TransformKind = w; + var m = function() { + function u(y, d) { + this.key = y, this.kind = d; } - return r([(0, i.jsonMember)({ name: "key", constructor: m.Key, deserializer: function(v) { - if (v) return m.Key.newKey(v); - }, serializer: function(v) { - if (v) return v.toPrefixedString(); - } }), a("design:type", m.Key)], s.prototype, "key", void 0), r([(0, i.jsonMember)({ name: "kind", constructor: y, deserializer: function(v) { - if (v) return y.fromJSON(v); - }, serializer: function(v) { - if (v) return v.toJSON(); - } }), a("design:type", y)], s.prototype, "kind", void 0), r([i.jsonObject, a("design:paramtypes", [m.Key, y])], s); + return r([(0, i.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(y) { + if (y) return p.Key.newKey(y); + }, serializer: function(y) { + if (y) return y.toPrefixedString(); + } }), o("design:type", p.Key)], u.prototype, "key", void 0), r([(0, i.jsonMember)({ name: "kind", constructor: w, deserializer: function(y) { + if (y) return w.fromJSON(y); + }, serializer: function(y) { + if (y) return y.toJSON(); + } }), o("design:type", w)], u.prototype, "kind", void 0), r([i.jsonObject, o("design:paramtypes", [p.Key, w])], u); }(); - n.Transform = u; - var d = function() { - function s() { + n.Transform = m; + var v = function() { + function u() { } - return r([(0, i.jsonMember)({ name: "key", constructor: m.Key, deserializer: function(v) { - if (v) return m.Key.newKey(v); - }, serializer: function(v) { - if (v) return v.toPrefixedString(); - } }), a("design:type", m.Key)], s.prototype, "key", void 0), r([(0, i.jsonMember)({ name: "transform", constructor: y, deserializer: function(v) { - if (v) return y.fromJSON(v); - }, serializer: function(v) { - if (v) return v.toJSON(); - } }), a("design:type", y)], s.prototype, "transform", void 0), r([i.jsonObject], s); + return r([(0, i.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(y) { + if (y) return p.Key.newKey(y); + }, serializer: function(y) { + if (y) return y.toPrefixedString(); + } }), o("design:type", p.Key)], u.prototype, "key", void 0), r([(0, i.jsonMember)({ name: "transform", constructor: w, deserializer: function(y) { + if (y) return w.fromJSON(y); + }, serializer: function(y) { + if (y) return y.toJSON(); + } }), o("design:type", w)], u.prototype, "transform", void 0), r([i.jsonObject], u); }(); - n.TransformKey = d; + n.TransformKey = v; var l = function() { - function s() { + function u() { } return r([(0, i.jsonMember)(function() { - return t.Args; - }, { deserializer: f.deserializeArgs, serializer: function(v) { - return (0, f.serializeArgs)(v, !1); - } }), a("design:type", t.Args)], s.prototype, "namedKey", void 0), r([(0, i.jsonMember)(function() { - return t.Args; - }, { deserializer: f.deserializeArgs, serializer: function(v) { - return (0, f.serializeArgs)(v, !1); - } }), a("design:type", t.Args)], s.prototype, "name", void 0), r([i.jsonObject], s); + return a.Args; + }, { deserializer: f.deserializeArgs, serializer: function(y) { + return (0, f.serializeArgs)(y, !1); + } }), o("design:type", a.Args)], u.prototype, "namedKey", void 0), r([(0, i.jsonMember)(function() { + return a.Args; + }, { deserializer: f.deserializeArgs, serializer: function(y) { + return (0, f.serializeArgs)(y, !1); + } }), o("design:type", a.Args)], u.prototype, "name", void 0), r([i.jsonObject], u); }(); n.NamedKeyKind = l; - }, 1527: function(x, n, c) { - var r = this && this.__decorate || function(ie, fe, Te, Se) { - var te, ye = arguments.length, ve = ye < 3 ? fe : Se === null ? Se = Object.getOwnPropertyDescriptor(fe, Te) : Se; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") ve = Reflect.decorate(ie, fe, Te, Se); - else for (var F = ie.length - 1; F >= 0; F--) (te = ie[F]) && (ve = (ye < 3 ? te(ve) : ye > 3 ? te(fe, Te, ve) : te(fe, Te)) || ve); - return ye > 3 && ve && Object.defineProperty(fe, Te, ve), ve; - }, a = this && this.__metadata || function(ie, fe) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(ie, fe); + }, 1527(g, n, s) { + var r = this && this.__decorate || function(de, me, Oe, Ce) { + var G, ie = arguments.length, we = ie < 3 ? me : Ce === null ? Ce = Object.getOwnPropertyDescriptor(me, Oe) : Ce; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") we = Reflect.decorate(de, me, Oe, Ce); + else for (var z = de.length - 1; z >= 0; z--) (G = de[z]) && (we = (ie < 3 ? G(we) : ie > 3 ? G(me, Oe, we) : G(me, Oe)) || we); + return ie > 3 && we && Object.defineProperty(me, Oe, we), we; + }, o = this && this.__metadata || function(de, me) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(de, me); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.RawWriteAccount1XTransform = n.RawWriteAccount2XTransform = n.RawWriteAccount2XTransformWrite = n.RawWriteAccount2XTransformAccount = n.RawWriteContractPackage = n.WriteContractPackage = n.RawWriteContract = n.WriteContract = n.RawWriteCLValueV2 = n.WriteCLValue = n.RawWriteCLValue = n.RawWriteDeployInfo = n.RawUInt512 = n.RawWriteUnbonding = n.RawDataMessageTopic = n.WriteMessageTopic = n.RawDataMessage = n.WriteMessage = n.RawDataNamedKey = n.BidKindRawData = n.TranformBidKindData = n.PackageRawData = n.TranformPackageData = n.TranformAddressableEntityRawData = n.TranformAddressableEntity = n.RawWriteTransferTransform = n.RawWriteWithdrawals = n.WriteTransfer = void 0; - var i = c(9592), m = c(8148), t = c(8057), f = c(3750), b = c(4613), y = c(4820), u = c(3903), d = c(5466), l = c(402), s = c(6077), v = c(3401), p = c(2535), h = c(8263), O = function() { - function ie() { + var i = s(9592), p = s(8148), a = s(8057), f = s(3750), C = s(4613), w = s(4820), m = s(3903), v = s(5466), l = s(402), u = s(6077), y = s(3401), d = s(2535), b = s(8263), _ = function() { + function de() { + } + return r([(0, i.jsonMember)({ name: "id", constructor: Number, preserveNull: !0 }), o("design:type", Number)], de.prototype, "id", void 0), r([(0, i.jsonMember)({ name: "to", constructor: y.AccountHash, preserveNull: !0, deserializer: function(me) { + if (me) return y.AccountHash.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), o("design:type", y.AccountHash)], de.prototype, "to", void 0), r([(0, i.jsonMember)({ name: "deploy_hash", constructor: y.Hash, deserializer: function(me) { + if (me) return y.Hash.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), o("design:type", y.Hash)], de.prototype, "deployHash", void 0), r([(0, i.jsonMember)({ name: "from", constructor: y.AccountHash, deserializer: function(me) { + return y.AccountHash.fromJSON(me); + }, serializer: function(me) { + return me.toJSON(); + } }), o("design:type", y.AccountHash)], de.prototype, "from", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: v.CLValueUInt512, deserializer: function(me) { + return v.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + return me.toJSON(); + } }), o("design:type", v.CLValueUInt512)], de.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "source", constructor: y.URef, deserializer: function(me) { + return y.URef.fromJSON(me); + }, serializer: function(me) { + return me.toJSON(); + } }), o("design:type", y.URef)], de.prototype, "source", void 0), r([(0, i.jsonMember)({ name: "target", constructor: y.URef, deserializer: function(me) { + return y.URef.fromJSON(me); + }, serializer: function(me) { + return me.toJSON(); + } }), o("design:type", y.URef)], de.prototype, "target", void 0), r([(0, i.jsonMember)({ name: "gas", constructor: Number, deserializer: function(me) { + return u.BigNumber.from(me).toNumber(); + }, serializer: function(me) { + return u.BigNumber.from(me).toString(); + } }), o("design:type", Number)], de.prototype, "gas", void 0), r([i.jsonObject], de); + }(); + n.WriteTransfer = _; + var E = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "id", constructor: Number, preserveNull: !0 }), a("design:type", Number)], ie.prototype, "id", void 0), r([(0, i.jsonMember)({ name: "to", constructor: v.AccountHash, preserveNull: !0, deserializer: function(fe) { - if (fe) return v.AccountHash.fromJSON(fe); - }, serializer: function(fe) { - if (fe) return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "to", void 0), r([(0, i.jsonMember)({ name: "deploy_hash", constructor: v.Hash, deserializer: function(fe) { - if (fe) return v.Hash.fromJSON(fe); - }, serializer: function(fe) { - if (fe) return fe.toJSON(); - } }), a("design:type", v.Hash)], ie.prototype, "deployHash", void 0), r([(0, i.jsonMember)({ name: "from", constructor: v.AccountHash, deserializer: function(fe) { - return v.AccountHash.fromJSON(fe); - }, serializer: function(fe) { - return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "from", void 0), r([(0, i.jsonMember)({ name: "amount", constructor: d.CLValueUInt512, deserializer: function(fe) { - return d.CLValueUInt512.fromJSON(fe); - }, serializer: function(fe) { - return fe.toJSON(); - } }), a("design:type", d.CLValueUInt512)], ie.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "source", constructor: v.URef, deserializer: function(fe) { - return v.URef.fromJSON(fe); - }, serializer: function(fe) { - return fe.toJSON(); - } }), a("design:type", v.URef)], ie.prototype, "source", void 0), r([(0, i.jsonMember)({ name: "target", constructor: v.URef, deserializer: function(fe) { - return v.URef.fromJSON(fe); - }, serializer: function(fe) { - return fe.toJSON(); - } }), a("design:type", v.URef)], ie.prototype, "target", void 0), r([(0, i.jsonMember)({ name: "gas", constructor: Number, deserializer: function(fe) { - return s.BigNumber.from(fe).toNumber(); - }, serializer: function(fe) { - return s.BigNumber.from(fe).toString(); - } }), a("design:type", Number)], ie.prototype, "gas", void 0), r([i.jsonObject], ie); - }(); - n.WriteTransfer = O; - var I = function() { - function ie() { + return r([(0, i.jsonArrayMember)(p.UnbondingPurse, { name: "WriteWithdraw" }), o("design:type", Array)], de.prototype, "UnbondingPurses", void 0), r([i.jsonObject], de); + }(); + n.RawWriteWithdrawals = E; + var B = function() { + function de() { } - return r([(0, i.jsonArrayMember)(m.UnbondingPurse, { name: "WriteWithdraw" }), a("design:type", Array)], ie.prototype, "UnbondingPurses", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "WriteTransfer", constructor: _ }), o("design:type", _)], de.prototype, "WriteTransfer", void 0), r([i.jsonObject], de); }(); - n.RawWriteWithdrawals = I; - var k = function() { - function ie() { - } - return r([(0, i.jsonMember)({ name: "WriteTransfer", constructor: O }), a("design:type", O)], ie.prototype, "WriteTransfer", void 0), r([i.jsonObject], ie); - }(); - n.RawWriteTransferTransform = k; - var R = function() { - function ie() { + n.RawWriteTransferTransform = B; + var O = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "AddressableEntity", constructor: f.AddressableEntity }), a("design:type", f.AddressableEntity)], ie.prototype, "AddressableEntity", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "AddressableEntity", constructor: f.AddressableEntity }), o("design:type", f.AddressableEntity)], de.prototype, "AddressableEntity", void 0), r([i.jsonObject], de); }(); - n.TranformAddressableEntity = R; - var L = function() { - function ie() { + n.TranformAddressableEntity = O; + var I = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Write", constructor: R }), a("design:type", R)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Write", constructor: O }), o("design:type", O)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.TranformAddressableEntityRawData = L; - var N = function() { - function ie() { + n.TranformAddressableEntityRawData = I; + var x = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Package", constructor: b.Package }), a("design:type", b.Package)], ie.prototype, "Package", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Package", constructor: C.Package }), o("design:type", C.Package)], de.prototype, "Package", void 0), r([i.jsonObject], de); }(); - n.TranformPackageData = N; - var B = function() { - function ie() { + n.TranformPackageData = x; + var A = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Write", constructor: N }), a("design:type", N)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Write", constructor: x }), o("design:type", x)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.PackageRawData = B; - var H = function() { - function ie() { + n.PackageRawData = A; + var N = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "BidKind", constructor: y.BidKind }), a("design:type", y.BidKind)], ie.prototype, "BidKind", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "BidKind", constructor: w.BidKind }), o("design:type", w.BidKind)], de.prototype, "BidKind", void 0), r([i.jsonObject], de); }(); - n.TranformBidKindData = H; - var U = function() { - function ie() { + n.TranformBidKindData = N; + var k = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Write", constructor: H }), a("design:type", H)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Write", constructor: N }), o("design:type", N)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.BidKindRawData = U; - var S = function() { - function ie() { + n.BidKindRawData = k; + var j = function() { + function de() { } return r([(0, i.jsonMember)(function() { - return t.NamedKeyKind; - }, { name: "NamedKey" }), a("design:type", t.NamedKeyKind)], ie.prototype, "NamedKey", void 0), r([i.jsonObject], ie); - }(), T = function() { - function ie() { + return a.NamedKeyKind; + }, { name: "NamedKey" }), o("design:type", a.NamedKeyKind)], de.prototype, "NamedKey", void 0), r([i.jsonObject], de); + }(), D = function() { + function de() { } - return r([(0, i.jsonMember)({ constructor: S, name: "Write" }), a("design:type", S)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ constructor: j, name: "Write" }), o("design:type", j)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.RawDataNamedKey = T; - var E = function() { - function ie() { + n.RawDataNamedKey = D; + var T = function() { + function de() { } - return r([(0, i.jsonMember)({ constructor: String, name: "Message" }), a("design:type", String)], ie.prototype, "Message", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ constructor: String, name: "Message" }), o("design:type", String)], de.prototype, "Message", void 0), r([i.jsonObject], de); }(); - n.WriteMessage = E; - var M = function() { - function ie() { + n.WriteMessage = T; + var L = function() { + function de() { } - return r([(0, i.jsonMember)({ constructor: E, name: "Write" }), a("design:type", E)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ constructor: T, name: "Write" }), o("design:type", T)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.RawDataMessage = M; - var _ = function() { - function ie() { + n.RawDataMessage = L; + var R = function() { + function de() { } - return r([(0, i.jsonMember)({ constructor: u.MessageTopicSummary, name: "MessageTopic" }), a("design:type", u.MessageTopicSummary)], ie.prototype, "MessageTopic", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ constructor: m.MessageTopicSummary, name: "MessageTopic" }), o("design:type", m.MessageTopicSummary)], de.prototype, "MessageTopic", void 0), r([i.jsonObject], de); }(); - n.WriteMessageTopic = _; - var w = function() { - function ie() { + n.WriteMessageTopic = R; + var M = function() { + function de() { } - return r([(0, i.jsonMember)({ constructor: _, name: "Write" }), a("design:type", _)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ constructor: R, name: "Write" }), o("design:type", R)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.RawDataMessageTopic = w; - var A = function() { - function ie() { + n.RawDataMessageTopic = M; + var P = function() { + function de() { } - return r([(0, i.jsonArrayMember)(m.UnbondingPurse, { name: "WriteUnbonding" }), a("design:type", Array)], ie.prototype, "UnbondingPurses", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonArrayMember)(p.UnbondingPurse, { name: "WriteUnbonding" }), o("design:type", Array)], de.prototype, "UnbondingPurses", void 0), r([i.jsonObject], de); }(); - n.RawWriteUnbonding = A; - var j = function() { - function ie() { + n.RawWriteUnbonding = P; + var H = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "AddUInt512", constructor: d.CLValueUInt512, deserializer: function(fe) { - if (fe) return d.CLValueUInt512.fromJSON(fe); - }, serializer: function(fe) { - if (fe) return fe.toJSON(); - } }), a("design:type", d.CLValueUInt512)], ie.prototype, "UInt512", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "AddUInt512", constructor: v.CLValueUInt512, deserializer: function(me) { + if (me) return v.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), o("design:type", v.CLValueUInt512)], de.prototype, "UInt512", void 0), r([i.jsonObject], de); }(); - n.RawUInt512 = j; - var V = function() { - function ie() { + n.RawUInt512 = H; + var K = function() { + function de() { } - return r([(0, i.jsonMember)({ constructor: l.DeployInfo, name: "WriteDeployInfo" }), a("design:type", l.DeployInfo)], ie.prototype, "WriteDeployInfo", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ constructor: l.DeployInfo, name: "WriteDeployInfo" }), o("design:type", l.DeployInfo)], de.prototype, "WriteDeployInfo", void 0), r([i.jsonObject], de); }(); - n.RawWriteDeployInfo = V; - var D = function() { - function ie() { + n.RawWriteDeployInfo = K; + var V = function() { + function de() { } return r([(0, i.jsonMember)(function() { - return d.CLValue; - }, { deserializer: function(fe) { - if (fe) return d.CLValueParser.fromJSON(fe); - }, serializer: function(fe) { - if (fe) return d.CLValueParser.toJSON(fe); - }, name: "WriteCLValue" }), a("design:type", d.CLValue)], ie.prototype, "WriteCLValue", void 0), r([i.jsonObject], ie); - }(); - n.RawWriteCLValue = D; - var z = function() { - function ie() { + return v.CLValue; + }, { deserializer: function(me) { + if (me) return v.CLValueParser.fromJSON(me); + }, serializer: function(me) { + if (me) return v.CLValueParser.toJSON(me); + }, name: "WriteCLValue" }), o("design:type", v.CLValue)], de.prototype, "WriteCLValue", void 0), r([i.jsonObject], de); + }(); + n.RawWriteCLValue = V; + var U = function() { + function de() { } return r([(0, i.jsonMember)(function() { - return d.CLValue; - }, { deserializer: function(fe) { - if (fe) return d.CLValueParser.fromJSON(fe); - }, serializer: function(fe) { - if (fe) return d.CLValueParser.toJSON(fe); - }, name: "CLValue" }), a("design:type", d.CLValue)], ie.prototype, "CLValue", void 0), r([i.jsonObject], ie); - }(); - n.WriteCLValue = z; - var J = function() { - function ie() { - } - return r([(0, i.jsonMember)({ name: "Write", constructor: z }), a("design:type", z)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return v.CLValue; + }, { deserializer: function(me) { + if (me) return v.CLValueParser.fromJSON(me); + }, serializer: function(me) { + if (me) return v.CLValueParser.toJSON(me); + }, name: "CLValue" }), o("design:type", v.CLValue)], de.prototype, "CLValue", void 0), r([i.jsonObject], de); }(); - n.RawWriteCLValueV2 = J; - var G = function() { - function ie() { + n.WriteCLValue = U; + var F = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Contract", constructor: p.Contract }), a("design:type", p.Contract)], ie.prototype, "Contract", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Write", constructor: U }), o("design:type", U)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.WriteContract = G; + n.RawWriteCLValueV2 = F; var Q = function() { - function ie() { + function de() { } - return r([(0, i.jsonMember)({ name: "Write", constructor: G }), a("design:type", G)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Contract", constructor: d.Contract }), o("design:type", d.Contract)], de.prototype, "Contract", void 0), r([i.jsonObject], de); }(); - n.RawWriteContract = Q; - var ee = function() { - function ie() { + n.WriteContract = Q; + var ne = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "ContractPackage", constructor: h.ContractPackage }), a("design:type", h.ContractPackage)], ie.prototype, "ContractPackage", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Write", constructor: Q }), o("design:type", Q)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.WriteContractPackage = ee; - var Z = function() { - function ie() { + n.RawWriteContract = ne; + var te = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Write", constructor: ee }), a("design:type", ee)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "ContractPackage", constructor: b.ContractPackage }), o("design:type", b.ContractPackage)], de.prototype, "ContractPackage", void 0), r([i.jsonObject], de); }(); - n.RawWriteContractPackage = Z; - var q = function() { - function ie() { + n.WriteContractPackage = te; + var X = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "account_hash", constructor: v.AccountHash, deserializer: function(fe) { - if (fe) return v.AccountHash.fromJSON(fe); - }, serializer: function(fe) { - return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "accountHash", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Write", constructor: te }), o("design:type", te)], de.prototype, "Write", void 0), r([i.jsonObject], de); }(); - n.RawWriteAccount2XTransformAccount = q; - var se = function() { - function ie() { + n.RawWriteContractPackage = X; + var Z = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Account", constructor: q }), a("design:type", q)], ie.prototype, "Account", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "account_hash", constructor: y.AccountHash, deserializer: function(me) { + if (me) return y.AccountHash.fromJSON(me); + }, serializer: function(me) { + return me.toJSON(); + } }), o("design:type", y.AccountHash)], de.prototype, "accountHash", void 0), r([i.jsonObject], de); }(); - n.RawWriteAccount2XTransformWrite = se; - var ue = function() { - function ie() { + n.RawWriteAccount2XTransformAccount = Z; + var fe = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "Write", constructor: se }), a("design:type", se)], ie.prototype, "Write", void 0), r([i.jsonObject], ie); + return r([(0, i.jsonMember)({ name: "Account", constructor: Z }), o("design:type", Z)], de.prototype, "Account", void 0), r([i.jsonObject], de); }(); - n.RawWriteAccount2XTransform = ue; - var ce = function() { - function ie() { + n.RawWriteAccount2XTransformWrite = fe; + var le = function() { + function de() { } - return r([(0, i.jsonMember)({ name: "WriteAccount", constructor: v.AccountHash, deserializer: function(fe) { - if (fe) return v.AccountHash.fromJSON(fe); - }, serializer: function(fe) { - return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "WriteAccount", void 0), r([i.jsonObject], ie); - }(); - n.RawWriteAccount1XTransform = ce; - }, 8148: function(x, n, c) { - var r = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + return r([(0, i.jsonMember)({ name: "Write", constructor: fe }), o("design:type", fe)], de.prototype, "Write", void 0), r([i.jsonObject], de); + }(); + n.RawWriteAccount2XTransform = le; + var Se = function() { + function de() { + } + return r([(0, i.jsonMember)({ name: "WriteAccount", constructor: y.AccountHash, deserializer: function(me) { + if (me) return y.AccountHash.fromJSON(me); + }, serializer: function(me) { + return me.toJSON(); + } }), o("design:type", y.AccountHash)], de.prototype, "WriteAccount", void 0), r([i.jsonObject], de); + }(); + n.RawWriteAccount1XTransform = Se; + }, 8148(g, n, s) { + var r = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, o = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.UnbondingPurse = void 0; - var i = c(9592), m = c(3401), t = c(9449), f = c(5466), b = function() { - function y() { + var i = s(9592), p = s(3401), a = s(9449), f = s(5466), C = function() { + function w() { } - return r([(0, i.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(u) { - return f.CLValueUInt512.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", f.CLValueUInt512)], y.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "bonding_purse", constructor: m.URef, deserializer: function(u) { - return m.URef.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", m.URef)], y.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "era_of_creation", constructor: Number }), a("design:type", Number)], y.prototype, "eraOfCreation", void 0), r([(0, i.jsonMember)({ name: "unbonder_public_key", constructor: t.PublicKey, deserializer: function(u) { - return t.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.PublicKey)], y.prototype, "unbonderPublicKey", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: t.PublicKey, deserializer: function(u) { - return t.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.PublicKey)], y.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "new_validator", constructor: t.PublicKey, deserializer: function(u) { - if (u) return t.PublicKey.fromJSON(u); - }, serializer: function(u) { - if (u) return u.toJSON(); - } }), a("design:type", t.PublicKey)], y.prototype, "newValidator", void 0), r([i.jsonObject], y); - }(); - n.UnbondingPurse = b; - }, 6459: function(x, n, c) { - var r = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + return r([(0, i.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(m) { + return f.CLValueUInt512.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", f.CLValueUInt512)], w.prototype, "amount", void 0), r([(0, i.jsonMember)({ name: "bonding_purse", constructor: p.URef, deserializer: function(m) { + return p.URef.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", p.URef)], w.prototype, "bondingPurse", void 0), r([(0, i.jsonMember)({ name: "era_of_creation", constructor: Number }), o("design:type", Number)], w.prototype, "eraOfCreation", void 0), r([(0, i.jsonMember)({ name: "unbonder_public_key", constructor: a.PublicKey, deserializer: function(m) { + return a.PublicKey.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", a.PublicKey)], w.prototype, "unbonderPublicKey", void 0), r([(0, i.jsonMember)({ name: "validator_public_key", constructor: a.PublicKey, deserializer: function(m) { + return a.PublicKey.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", a.PublicKey)], w.prototype, "validatorPublicKey", void 0), r([(0, i.jsonMember)({ name: "new_validator", constructor: a.PublicKey, deserializer: function(m) { + if (m) return a.PublicKey.fromJSON(m); + }, serializer: function(m) { + if (m) return m.toJSON(); + } }), o("design:type", a.PublicKey)], w.prototype, "newValidator", void 0), r([i.jsonObject], w); + }(); + n.UnbondingPurse = C; + }, 6459(g, n, s) { + var r = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, o = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.ValidatorWeightAuction = n.ValidatorWeightEraEnd = void 0; - var i = c(9592), m = c(9449), t = c(5466), f = function() { - function y() { + var i = s(9592), p = s(9449), a = s(5466), f = function() { + function w() { } - return r([(0, i.jsonMember)({ constructor: m.PublicKey, deserializer: function(u) { - return m.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", m.PublicKey)], y.prototype, "validator", void 0), r([(0, i.jsonMember)({ constructor: t.CLValueUInt512, deserializer: function(u) { - return t.CLValueUInt512.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.CLValueUInt512)], y.prototype, "weight", void 0), r([i.jsonObject], y); + return r([(0, i.jsonMember)({ constructor: p.PublicKey, deserializer: function(m) { + return p.PublicKey.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", p.PublicKey)], w.prototype, "validator", void 0), r([(0, i.jsonMember)({ constructor: a.CLValueUInt512, deserializer: function(m) { + return a.CLValueUInt512.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", a.CLValueUInt512)], w.prototype, "weight", void 0), r([i.jsonObject], w); }(); n.ValidatorWeightEraEnd = f; - var b = function() { - function y() { + var C = function() { + function w() { } - return r([(0, i.jsonMember)({ name: "public_key", constructor: m.PublicKey, deserializer: function(u) { - return m.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", m.PublicKey)], y.prototype, "validator", void 0), r([(0, i.jsonMember)({ constructor: t.CLValueUInt512, deserializer: function(u) { - return t.CLValueUInt512.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.CLValueUInt512)], y.prototype, "weight", void 0), r([i.jsonObject], y); - }(); - n.ValidatorWeightAuction = b; - }, 6028: (x, n) => { + return r([(0, i.jsonMember)({ name: "public_key", constructor: p.PublicKey, deserializer: function(m) { + return p.PublicKey.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", p.PublicKey)], w.prototype, "validator", void 0), r([(0, i.jsonMember)({ constructor: a.CLValueUInt512, deserializer: function(m) { + return a.CLValueUInt512.fromJSON(m); + }, serializer: function(m) { + return m.toJSON(); + } }), o("design:type", a.CLValueUInt512)], w.prototype, "weight", void 0), r([i.jsonObject], w); + }(); + n.ValidatorWeightAuction = C; + }, 6028(g, n) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueAny = void 0; - var c = function() { - function r(a) { - this.data = a; + var s = function() { + function r(o) { + this.data = o; } return r.prototype.bytes = function() { return this.data; @@ -27349,12 +26397,12 @@ function B6() { return this.bytes(); }, r; }(); - n.CLValueAny = c; - }, 7948: (x, n) => { + n.CLValueAny = s; + }, 7948(g, n) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueBool = void 0; - var c = function() { - function r(a) { - this.value = a; + var s = function() { + function r(o) { + this.value = o; } return r.prototype.bytes = function() { return new Uint8Array([this.value ? 1 : 0]); @@ -27364,48 +26412,48 @@ function B6() { return this.value; }, r.prototype.getValue = function() { return this.value; - }, r.fromBytes = function(a) { - if (a.length === 0) throw new Error("Empty byte array"); - if (a[0] === 1) return { result: new r(!0), bytes: a.subarray(1) }; - if (a[0] === 0) return { result: new r(!1), bytes: a.subarray(1) }; + }, r.fromBytes = function(o) { + if (o.length === 0) throw new Error("Empty byte array"); + if (o[0] === 1) return { result: new r(!0), bytes: o.subarray(1) }; + if (o[0] === 0) return { result: new r(!1), bytes: o.subarray(1) }; throw new Error("Invalid bool value"); }, r; }(); - n.CLValueBool = c; - }, 6837: (x, n) => { + n.CLValueBool = s; + }, 6837(g, n) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueByteArray = void 0; - var c = function() { - function r(a) { - this.data = a; + var s = function() { + function r(o) { + this.data = o; } return r.prototype.bytes = function() { return this.data; }, r.prototype.toJSON = function() { return this.bytes(); }, r.prototype.toString = function() { - return Array.from(this.data, function(a) { - return a.toString(16).padStart(2, "0"); + return Array.from(this.data, function(o) { + return o.toString(16).padStart(2, "0"); }).join(""); - }, r.fromBytes = function(a, i) { - return { result: new r(a.subarray(0, i.size)), bytes: a.subarray(i.size) }; + }, r.fromBytes = function(o, i) { + return { result: new r(o.subarray(0, i.size)), bytes: o.subarray(i.size) }; }, r; }(); - n.CLValueByteArray = c; - }, 1282: (x, n, c) => { + n.CLValueByteArray = s; + }, 1282(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValue = void 0; - var r = c(2884), a = c(1402), i = c(7948), m = c(5334), t = c(2045), f = c(5216), b = c(6837), y = c(1501), u = c(5729), d = c(8864), l = c(8441), s = c(7992), v = c(6167), p = c(6028), h = function() { - function O(I) { - this.type = I; + var r = s(2884), o = s(1402), i = s(7948), p = s(5334), a = s(2045), f = s(5216), C = s(6837), w = s(1501), m = s(5729), v = s(8864), l = s(8441), u = s(7992), y = s(6167), d = s(6028), b = function() { + function _(E) { + this.type = E; } - return O.prototype.getType = function() { + return _.prototype.getType = function() { return this.type instanceof r.CLTypeDynamic ? this.type.inner : this.type; - }, O.prototype.toString = function() { + }, _.prototype.toString = function() { return this.getValueByType().toString(); - }, O.prototype.toJSON = function() { + }, _.prototype.toJSON = function() { return this.getValueByType().toJSON(); - }, O.prototype.bytes = function() { + }, _.prototype.bytes = function() { return this.getValueByType().bytes(); - }, O.prototype.getValueByType = function() { + }, _.prototype.getValueByType = function() { switch (this.type.getTypeID()) { case r.TypeID.Bool: return this.bool; @@ -27456,201 +26504,201 @@ function B6() { default: throw new Error("Type in getValueByType method of CLValue is not implemented"); } - }, O.prototype.getKey = function() { + }, _.prototype.getKey = function() { if (!this.key) throw new Error("Key property is empty in CLValue, type is ".concat(this.type.toString())); return this.key; - }, O.newCLKey = function(I) { - var k = new O(r.CLTypeKey); - return k.key = I, k; - }, O.newCLUref = function(I) { - var k = new O(r.CLTypeUref); - return k.uref = I, k; - }, O.newCLPublicKey = function(I) { - var k = new O(r.CLTypePublicKey); - return k.publicKey = I, k; - }, O.newCLAny = function(I) { - var k = new O(r.CLTypeAny); - return k.any = new p.CLValueAny(I), k; - }, O.newCLValueBool = function(I) { - var k = new O(r.CLTypeBool); - return k.bool = new i.CLValueBool(I), k; - }, O.newCLByteArray = function(I) { - var k = new O(new r.CLTypeByteArray(I.length)); - return k.byteArray = new b.CLValueByteArray(I), k; - }, O.newCLList = function(I, k) { - k === void 0 && (k = []); - var R = new r.CLTypeList(I), L = new O(R); - return L.list = new f.CLValueList(R, k), L; - }, O.newCLMap = function(I, k) { - var R = new r.CLTypeMap(I, k), L = new O(R); - return L.map = new d.CLValueMap(R), L; - }, O.newCLOption = function(I, k) { - var R = I === null ? k || r.CLTypeAny : I.type, L = new r.CLTypeOption(R), N = new O(L); - return N.option = new t.CLValueOption(I, L), N; - }, O.newCLResult = function(I, k, R, L) { - var N = new r.CLTypeResult(I, k), B = new O(N); - return B.result = new y.CLValueResult(N, L, R), B; - }, O.newCLString = function(I) { - var k = new O(r.CLTypeString); - return k.stringVal = new u.CLValueString(I), k; - }, O.newCLTuple1 = function(I) { - var k = new r.CLTypeTuple1(I.type), R = new O(k); - return R.tuple1 = new l.CLValueTuple1(k, I), R; - }, O.newCLTuple2 = function(I, k) { - var R = new r.CLTypeTuple2(I.type, k.type), L = new O(R); - return L.tuple2 = new s.CLValueTuple2(R, I, k), L; - }, O.newCLTuple3 = function(I, k, R) { - var L = new r.CLTypeTuple3(I.type, k.type, R.type), N = new O(L); - return N.tuple3 = new v.CLValueTuple3(L, I, k, R), N; - }, O.newCLUnit = function() { - var I = new O(r.CLTypeUnit); - return I.unit = new m.CLValueUnit(), I; - }, O.newCLInt32 = function(I) { - var k = new O(r.CLTypeInt32); - return k.i32 = new a.CLValueInt32(I), k; - }, O.newCLInt64 = function(I) { - var k = new O(r.CLTypeInt64); - return k.i64 = new a.CLValueInt64(I), k; - }, O.newCLUint8 = function(I) { - var k = new O(r.CLTypeUInt8); - return k.ui8 = new a.CLValueUInt8(I), k; - }, O.newCLUInt32 = function(I) { - var k = new O(r.CLTypeUInt32); - return k.ui32 = new a.CLValueUInt32(I), k; - }, O.newCLUint64 = function(I) { - var k = new O(r.CLTypeUInt64); - return k.ui64 = new a.CLValueUInt64(I), k; - }, O.newCLUInt128 = function(I) { - var k = new O(r.CLTypeUInt128); - return k.ui128 = new a.CLValueUInt128(I), k; - }, O.newCLUInt256 = function(I) { - var k = new O(r.CLTypeUInt256); - return k.ui256 = new a.CLValueUInt256(I), k; - }, O.newCLUInt512 = function(I) { - var k = new O(r.CLTypeUInt512); - return k.ui512 = new a.CLValueUInt512(I), k; - }, O; - }(); - n.CLValue = h; - }, 5216: (x, n, c) => { + }, _.newCLKey = function(E) { + var B = new _(r.CLTypeKey); + return B.key = E, B; + }, _.newCLUref = function(E) { + var B = new _(r.CLTypeUref); + return B.uref = E, B; + }, _.newCLPublicKey = function(E) { + var B = new _(r.CLTypePublicKey); + return B.publicKey = E, B; + }, _.newCLAny = function(E) { + var B = new _(r.CLTypeAny); + return B.any = new d.CLValueAny(E), B; + }, _.newCLValueBool = function(E) { + var B = new _(r.CLTypeBool); + return B.bool = new i.CLValueBool(E), B; + }, _.newCLByteArray = function(E) { + var B = new _(new r.CLTypeByteArray(E.length)); + return B.byteArray = new C.CLValueByteArray(E), B; + }, _.newCLList = function(E, B) { + B === void 0 && (B = []); + var O = new r.CLTypeList(E), I = new _(O); + return I.list = new f.CLValueList(O, B), I; + }, _.newCLMap = function(E, B) { + var O = new r.CLTypeMap(E, B), I = new _(O); + return I.map = new v.CLValueMap(O), I; + }, _.newCLOption = function(E, B) { + var O = E === null ? B || r.CLTypeAny : E.type, I = new r.CLTypeOption(O), x = new _(I); + return x.option = new a.CLValueOption(E, I), x; + }, _.newCLResult = function(E, B, O, I) { + var x = new r.CLTypeResult(E, B), A = new _(x); + return A.result = new w.CLValueResult(x, I, O), A; + }, _.newCLString = function(E) { + var B = new _(r.CLTypeString); + return B.stringVal = new m.CLValueString(E), B; + }, _.newCLTuple1 = function(E) { + var B = new r.CLTypeTuple1(E.type), O = new _(B); + return O.tuple1 = new l.CLValueTuple1(B, E), O; + }, _.newCLTuple2 = function(E, B) { + var O = new r.CLTypeTuple2(E.type, B.type), I = new _(O); + return I.tuple2 = new u.CLValueTuple2(O, E, B), I; + }, _.newCLTuple3 = function(E, B, O) { + var I = new r.CLTypeTuple3(E.type, B.type, O.type), x = new _(I); + return x.tuple3 = new y.CLValueTuple3(I, E, B, O), x; + }, _.newCLUnit = function() { + var E = new _(r.CLTypeUnit); + return E.unit = new p.CLValueUnit(), E; + }, _.newCLInt32 = function(E) { + var B = new _(r.CLTypeInt32); + return B.i32 = new o.CLValueInt32(E), B; + }, _.newCLInt64 = function(E) { + var B = new _(r.CLTypeInt64); + return B.i64 = new o.CLValueInt64(E), B; + }, _.newCLUint8 = function(E) { + var B = new _(r.CLTypeUInt8); + return B.ui8 = new o.CLValueUInt8(E), B; + }, _.newCLUInt32 = function(E) { + var B = new _(r.CLTypeUInt32); + return B.ui32 = new o.CLValueUInt32(E), B; + }, _.newCLUint64 = function(E) { + var B = new _(r.CLTypeUInt64); + return B.ui64 = new o.CLValueUInt64(E), B; + }, _.newCLUInt128 = function(E) { + var B = new _(r.CLTypeUInt128); + return B.ui128 = new o.CLValueUInt128(E), B; + }, _.newCLUInt256 = function(E) { + var B = new _(r.CLTypeUInt256); + return B.ui256 = new o.CLValueUInt256(E), B; + }, _.newCLUInt512 = function(E) { + var B = new _(r.CLTypeUInt512); + return B.ui512 = new o.CLValueUInt512(E), B; + }, _; + }(); + n.CLValue = b; + }, 5216(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueList = void 0; - var r = c(8905), a = c(2884), i = c(1402), m = c(731), t = c(678), f = function() { - function b(y, u) { - u === void 0 && (u = []), this.type = y, this.elements = u; + var r = s(8905), o = s(2884), i = s(1402), p = s(731), a = s(678), f = function() { + function C(w, m) { + m === void 0 && (m = []), this.type = w, this.elements = m; } - return b.prototype.bytes = function() { - var y, u, d = this.elements.map(function(l) { + return C.prototype.bytes = function() { + var w, m, v = this.elements.map(function(l) { return l.bytes(); }); - return ((u = (y = this == null ? void 0 : this.type) === null || y === void 0 ? void 0 : y.elementsType) === null || u === void 0 ? void 0 : u.getTypeID()) !== a.TypeID.Any && d.splice(0, 0, (0, t.toBytesU32)(this.size())), (0, r.concat)(d); - }, b.prototype.toString = function() { - var y = this.elements.map(function(u) { - return '"'.concat(u.toString(), '"'); + return ((m = (w = this == null ? void 0 : this.type) === null || w === void 0 ? void 0 : w.elementsType) === null || m === void 0 ? void 0 : m.getTypeID()) !== o.TypeID.Any && v.splice(0, 0, (0, a.toBytesU32)(this.size())), (0, r.concat)(v); + }, C.prototype.toString = function() { + var w = this.elements.map(function(m) { + return '"'.concat(m.toString(), '"'); }); - return "[".concat(y.join(","), "]"); - }, b.prototype.isEmpty = function() { + return "[".concat(w.join(","), "]"); + }, C.prototype.isEmpty = function() { return this.size() === 0; - }, b.prototype.append = function(y) { - this.elements.push(y); - }, b.prototype.remove = function(y) { - this.elements.splice(y, 1); - }, b.prototype.pop = function() { + }, C.prototype.append = function(w) { + this.elements.push(w); + }, C.prototype.remove = function(w) { + this.elements.splice(w, 1); + }, C.prototype.pop = function() { return this.elements.pop(); - }, b.prototype.size = function() { + }, C.prototype.size = function() { return this.elements.length; - }, b.prototype.set = function(y, u) { - if (y >= this.elements.length) throw new Error("List index out of bounds."); - this.elements[y] = u; - }, b.prototype.get = function(y) { - if (y >= this.elements.length) throw new Error("List index out of bounds."); - return this.elements[y]; - }, b.prototype.toJSON = function() { - return this.elements.map(function(y) { - return y.toJSON(); + }, C.prototype.set = function(w, m) { + if (w >= this.elements.length) throw new Error("List index out of bounds."); + this.elements[w] = m; + }, C.prototype.get = function(w) { + if (w >= this.elements.length) throw new Error("List index out of bounds."); + return this.elements[w]; + }, C.prototype.toJSON = function() { + return this.elements.map(function(w) { + return w.toJSON(); }); - }, b.fromBytes = function(y, u) { - for (var d, l = i.CLValueUInt32.fromBytes(y), s = l.result, v = l.bytes, p = s.toNumber(), h = ((d = u?.elementsType) === null || d === void 0 ? void 0 : d.getTypeID()) === a.TypeID.Any ? y : v, O = [], I = 0; I < p; I++) if (h.length) { - var k = m.CLValueParser.fromBytesByType(h, u.elementsType), R = k.result, L = k.bytes; - if (!R) continue; - O.push(R), h = L; + }, C.fromBytes = function(w, m) { + for (var v, l = i.CLValueUInt32.fromBytes(w), u = l.result, y = l.bytes, d = u.toNumber(), b = ((v = m?.elementsType) === null || v === void 0 ? void 0 : v.getTypeID()) === o.TypeID.Any ? w : y, _ = [], E = 0; E < d; E++) if (b.length) { + var B = p.CLValueParser.fromBytesByType(b, m.elementsType), O = B.result, I = B.bytes; + if (!O) continue; + _.push(O), b = I; } - return O.length === 0 ? { result: new b(u, []), bytes: h } : { result: new b(u, O), bytes: h }; - }, b; + return _.length === 0 ? { result: new C(m, []), bytes: b } : { result: new C(m, _), bytes: b }; + }, C; }(); n.CLValueList = f; - }, 8864: function(x, n, c) { - var r = this && this.__spreadArray || function(y, u, d) { - if (d || arguments.length === 2) for (var l, s = 0, v = u.length; s < v; s++) !l && s in u || (l || (l = Array.prototype.slice.call(u, 0, s)), l[s] = u[s]); - return y.concat(l || Array.prototype.slice.call(u)); + }, 8864(g, n, s) { + var r = this && this.__spreadArray || function(w, m, v) { + if (v || arguments.length === 2) for (var l, u = 0, y = m.length; u < y; u++) !l && u in m || (l || (l = Array.prototype.slice.call(m, 0, u)), l[u] = m[u]); + return w.concat(l || Array.prototype.slice.call(m)); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueMap = void 0; - var a = c(8905), i = c(1282), m = c(1402), t = c(731), f = c(678), b = function() { - function y(u, d, l) { - this.indexedData = /* @__PURE__ */ new Map(), this.type = u, this.data = d ?? [], this.indexedData = l ?? /* @__PURE__ */ new Map(); - } - return y.prototype.bytes = function() { - var u = Array.from(this.data).map(function(d) { - var l = d.inner1.bytes(), s = d.inner2.bytes(); - return (0, a.concat)([l, s]); + var o = s(8905), i = s(1282), p = s(1402), a = s(731), f = s(678), C = function() { + function w(m, v, l) { + this.indexedData = /* @__PURE__ */ new Map(), this.type = m, this.data = v ?? [], this.indexedData = l ?? /* @__PURE__ */ new Map(); + } + return w.prototype.bytes = function() { + var m = Array.from(this.data).map(function(v) { + var l = v.inner1.bytes(), u = v.inner2.bytes(); + return (0, o.concat)([l, u]); }); - return (0, a.concat)(r([(0, f.toBytesU32)(this.data.length)], u, !0)); - }, y.prototype.getMap = function() { - var u = {}; - return this.indexedData.forEach(function(d, l) { - u[l] = d; - }), u; - }, y.prototype.getData = function() { + return (0, o.concat)(r([(0, f.toBytesU32)(this.data.length)], m, !0)); + }, w.prototype.getMap = function() { + var m = {}; + return this.indexedData.forEach(function(v, l) { + m[l] = v; + }), m; + }, w.prototype.getData = function() { return r([], this.data, !0); - }, y.prototype.toString = function() { - var u = []; - return this.indexedData.forEach(function(d, l) { - u.push("(".concat(l, '="').concat(d.toString(), '")')); - }), u.join(""); - }, y.prototype.toJSON = function() { - var u = /* @__PURE__ */ new Map(); - return this.data.forEach(function(d) { - var l = d.value(), s = l[0], v = l[1]; - u.set(s, v); - }), u; - }, y.prototype.find = function(u) { - var d = this.indexedData.get(u); - return [d, d !== void 0]; - }, y.prototype.get = function(u) { - return this.indexedData.get(u); - }, y.prototype.findAny = function(u) { - for (var d = 0, l = u; d < l.length; d++) { - var s = l[d], v = this.indexedData.get(s); - if (v !== void 0) return [v, !0]; + }, w.prototype.toString = function() { + var m = []; + return this.indexedData.forEach(function(v, l) { + m.push("(".concat(l, '="').concat(v.toString(), '")')); + }), m.join(""); + }, w.prototype.toJSON = function() { + var m = /* @__PURE__ */ new Map(); + return this.data.forEach(function(v) { + var l = v.value(), u = l[0], y = l[1]; + m.set(u, y); + }), m; + }, w.prototype.find = function(m) { + var v = this.indexedData.get(m); + return [v, v !== void 0]; + }, w.prototype.get = function(m) { + return this.indexedData.get(m); + }, w.prototype.findAny = function(m) { + for (var v = 0, l = m; v < l.length; v++) { + var u = l[v], y = this.indexedData.get(u); + if (y !== void 0) return [y, !0]; } return [void 0, !1]; - }, y.prototype.length = function() { + }, w.prototype.length = function() { return this.indexedData.size; - }, y.prototype.append = function(u, d) { - if (u.type !== this.type.key) return new Error("invalid key type"); - if (d.type !== this.type.val) return new Error("invalid value type"); - var l = u.toString(); + }, w.prototype.append = function(m, v) { + if (m.type !== this.type.key) return new Error("invalid key type"); + if (v.type !== this.type.val) return new Error("invalid value type"); + var l = m.toString(); if (this.indexedData.has(l)) return new Error("map key already exists"); - var s = i.CLValue.newCLTuple2(u, d).tuple2; - return s ? (this.data.push(s), this.indexedData.set(l, d), null) : new Error("no tuple"); - }, y.fromBytes = function(u, d) { - var l, s, v = new y(d), p = m.CLValueUInt32.fromBytes(u), h = p.result, O = p.bytes, I = h.toNumber(), k = O; - if (I === 0) return { result: v, bytes: k }; - for (var R = 0; R < I; R++) if (k.length) try { - var L = t.CLValueParser.fromBytesByType(k, d.key); - k = (l = L?.bytes) !== null && l !== void 0 ? l : []; - var N = t.CLValueParser.fromBytesByType(L.bytes, d.val); - k = (s = N?.bytes) !== null && s !== void 0 ? s : [], v.append(L?.result, N?.result); + var u = i.CLValue.newCLTuple2(m, v).tuple2; + return u ? (this.data.push(u), this.indexedData.set(l, v), null) : new Error("no tuple"); + }, w.fromBytes = function(m, v) { + var l, u, y = new w(v), d = p.CLValueUInt32.fromBytes(m), b = d.result, _ = d.bytes, E = b.toNumber(), B = _; + if (E === 0) return { result: y, bytes: B }; + for (var O = 0; O < E; O++) if (B.length) try { + var I = a.CLValueParser.fromBytesByType(B, v.key); + B = (l = I?.bytes) !== null && l !== void 0 ? l : []; + var x = a.CLValueParser.fromBytesByType(I.bytes, v.val); + B = (u = x?.bytes) !== null && u !== void 0 ? u : [], y.append(I?.result, x?.result); } catch { } - return { result: v, bytes: k }; - }, y; + return { result: y, bytes: B }; + }, w; }(); - n.CLValueMap = b; - }, 1842: (x, n, c) => { + n.CLValueMap = C; + }, 1842(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueNumeric = void 0; - var r = c(6077), a = function() { - function i(m, t) { - this.value = r.BigNumber.from(m), this.originalBytes = t; + var r = s(6077), o = function() { + function i(p, a) { + this.value = r.BigNumber.from(p), this.originalBytes = a; } return i.prototype.toString = function() { return this.value.toString(); @@ -27662,420 +26710,434 @@ function B6() { return this.value; }, i; }(); - n.CLValueNumeric = a; - }, 2462: function(x, n, c) { - var r, a = this && this.__extends || (r = function(b, y) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, d) { - u.__proto__ = d; - } || function(u, d) { - for (var l in d) Object.prototype.hasOwnProperty.call(d, l) && (u[l] = d[l]); - }, r(b, y); - }, function(b, y) { - if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + n.CLValueNumeric = o; + }, 2462(g, n, s) { + var r, o = this && this.__extends || (r = function(C, w) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, v) { + m.__proto__ = v; + } || function(m, v) { + for (var l in v) Object.prototype.hasOwnProperty.call(v, l) && (m[l] = v[l]); + }, r(C, w); + }, function(C, w) { + if (typeof w != "function" && w !== null) throw new TypeError("Class extends value " + String(w) + " is not a constructor or null"); + function m() { + this.constructor = C; } - r(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + r(C, w), C.prototype = w === null ? Object.create(w) : (m.prototype = w.prototype, new m()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueInt32 = void 0; - var i = c(6077), m = c(2884), t = c(678), f = function(b) { - function y(u) { - return b.call(this, u) || this; - } - return a(y, b), y.prototype.bytes = function() { - return (0, t.toBytesI32)(this.value); - }, y.fromBytes = function(u) { - if (u.length < m.Int32ByteSize) throw new Error("buffer size is too small"); - var d = Uint8Array.from(u.subarray(0, 4)); - return { result: new y(i.BigNumber.from(d.slice().reverse()).fromTwos(32)), bytes: u.subarray(4) }; - }, y; - }(c(1842).CLValueNumeric); + var i = s(6077), p = s(2884), a = s(678), f = function(C) { + function w(m) { + return C.call(this, m) || this; + } + return o(w, C), w.prototype.bytes = function() { + return (0, a.toBytesI32)(this.value); + }, w.fromBytes = function(m) { + if (m.length < p.Int32ByteSize) throw new Error("buffer size is too small"); + var v = Uint8Array.from(m.subarray(0, 4)); + return { result: new w(i.BigNumber.from(v.slice().reverse()).fromTwos(32)), bytes: m.subarray(4) }; + }, w; + }(s(1842).CLValueNumeric); n.CLValueInt32 = f; - }, 3741: function(x, n, c) { - var r, a = this && this.__extends || (r = function(b, y) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, d) { - u.__proto__ = d; - } || function(u, d) { - for (var l in d) Object.prototype.hasOwnProperty.call(d, l) && (u[l] = d[l]); - }, r(b, y); - }, function(b, y) { - if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + }, 3741(g, n, s) { + var r, o = this && this.__extends || (r = function(C, w) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, v) { + m.__proto__ = v; + } || function(m, v) { + for (var l in v) Object.prototype.hasOwnProperty.call(v, l) && (m[l] = v[l]); + }, r(C, w); + }, function(C, w) { + if (typeof w != "function" && w !== null) throw new TypeError("Class extends value " + String(w) + " is not a constructor or null"); + function m() { + this.constructor = C; } - r(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + r(C, w), C.prototype = w === null ? Object.create(w) : (m.prototype = w.prototype, new m()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueInt64 = void 0; - var i = c(6077), m = c(2884), t = c(678), f = function(b) { - function y(u) { - return b.call(this, u) || this; - } - return a(y, b), y.prototype.bytes = function() { - return (0, t.toBytesI64)(this.value); - }, y.fromBytes = function(u) { - if (u.length < m.Int64ByteSize) throw new Error("buffer size is too small"); - var d = Uint8Array.from(u.subarray(0, 8)), l = i.BigNumber.from(d.slice().reverse()).fromTwos(64), s = u.subarray(8); - return { result: new y(l), bytes: s }; - }, y; - }(c(1842).CLValueNumeric); + var i = s(6077), p = s(2884), a = s(678), f = function(C) { + function w(m) { + return C.call(this, m) || this; + } + return o(w, C), w.prototype.bytes = function() { + return (0, a.toBytesI64)(this.value); + }, w.fromBytes = function(m) { + if (m.length < p.Int64ByteSize) throw new Error("buffer size is too small"); + var v = Uint8Array.from(m.subarray(0, 8)), l = i.BigNumber.from(v.slice().reverse()).fromTwos(64), u = m.subarray(8); + return { result: new w(l), bytes: u }; + }, w; + }(s(1842).CLValueNumeric); n.CLValueInt64 = f; - }, 5515: function(x, n, c) { - var r, a = this && this.__extends || (r = function(y, u) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, l) { - d.__proto__ = l; - } || function(d, l) { - for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (d[s] = l[s]); - }, r(y, u); - }, function(y, u) { - if (typeof u != "function" && u !== null) throw new TypeError("Class extends value " + String(u) + " is not a constructor or null"); - function d() { - this.constructor = y; + }, 5515(g, n, s) { + var r, o = this && this.__extends || (r = function(w, m) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(v, l) { + v.__proto__ = l; + } || function(v, l) { + for (var u in l) Object.prototype.hasOwnProperty.call(l, u) && (v[u] = l[u]); + }, r(w, m); + }, function(w, m) { + if (typeof m != "function" && m !== null) throw new TypeError("Class extends value " + String(m) + " is not a constructor or null"); + function v() { + this.constructor = w; } - r(y, u), y.prototype = u === null ? Object.create(u) : (d.prototype = u.prototype, new d()); + r(w, m), w.prototype = m === null ? Object.create(m) : (v.prototype = m.prototype, new v()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueUInt128 = void 0; - var i = c(2996), m = c(678), t = c(1842), f = c(8389), b = function(y) { - function u(d, l) { - return y.call(this, d, l) || this; - } - return a(u, y), u.prototype.bytes = function() { - return this.originalBytes && (0, f.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, m.toBytesU128)(this.value); - }, u.fromBytes = function(d) { - return (0, i.fromBytesUInt128)(d); - }, u; - }(t.CLValueNumeric); - n.CLValueUInt128 = b; - }, 6295: function(x, n, c) { - var r, a = this && this.__extends || (r = function(y, u) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, l) { - d.__proto__ = l; - } || function(d, l) { - for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (d[s] = l[s]); - }, r(y, u); - }, function(y, u) { - if (typeof u != "function" && u !== null) throw new TypeError("Class extends value " + String(u) + " is not a constructor or null"); - function d() { - this.constructor = y; + var i = s(2996), p = s(678), a = s(1842), f = s(8389), C = function(w) { + function m(v, l) { + return w.call(this, v, l) || this; + } + return o(m, w), m.prototype.bytes = function() { + return this.originalBytes && (0, f.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, p.toBytesU128)(this.value); + }, m.fromBytes = function(v) { + return (0, i.fromBytesUInt128)(v); + }, m; + }(a.CLValueNumeric); + n.CLValueUInt128 = C; + }, 6295(g, n, s) { + var r, o = this && this.__extends || (r = function(w, m) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(v, l) { + v.__proto__ = l; + } || function(v, l) { + for (var u in l) Object.prototype.hasOwnProperty.call(l, u) && (v[u] = l[u]); + }, r(w, m); + }, function(w, m) { + if (typeof m != "function" && m !== null) throw new TypeError("Class extends value " + String(m) + " is not a constructor or null"); + function v() { + this.constructor = w; } - r(y, u), y.prototype = u === null ? Object.create(u) : (d.prototype = u.prototype, new d()); + r(w, m), w.prototype = m === null ? Object.create(m) : (v.prototype = m.prototype, new v()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueUInt256 = void 0; - var i = c(2996), m = c(678), t = c(1842), f = c(8389), b = function(y) { - function u(d, l) { - return y.call(this, d, l) || this; - } - return a(u, y), u.prototype.bytes = function() { - return this.originalBytes && (0, f.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, m.toBytesU256)(this.value); - }, u.fromBytes = function(d) { - return (0, i.fromBytesUInt256)(d); - }, u; - }(t.CLValueNumeric); - n.CLValueUInt256 = b; - }, 8853: function(x, n, c) { - var r, a = this && this.__extends || (r = function(b, y) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, d) { - u.__proto__ = d; - } || function(u, d) { - for (var l in d) Object.prototype.hasOwnProperty.call(d, l) && (u[l] = d[l]); - }, r(b, y); - }, function(b, y) { - if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + var i = s(2996), p = s(678), a = s(1842), f = s(8389), C = function(w) { + function m(v, l) { + return w.call(this, v, l) || this; + } + return o(m, w), m.prototype.bytes = function() { + return this.originalBytes && (0, f.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, p.toBytesU256)(this.value); + }, m.fromBytes = function(v) { + return (0, i.fromBytesUInt256)(v); + }, m; + }(a.CLValueNumeric); + n.CLValueUInt256 = C; + }, 8853(g, n, s) { + var r, o = this && this.__extends || (r = function(C, w) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, v) { + m.__proto__ = v; + } || function(m, v) { + for (var l in v) Object.prototype.hasOwnProperty.call(v, l) && (m[l] = v[l]); + }, r(C, w); + }, function(C, w) { + if (typeof w != "function" && w !== null) throw new TypeError("Class extends value " + String(w) + " is not a constructor or null"); + function m() { + this.constructor = C; } - r(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + r(C, w), C.prototype = w === null ? Object.create(w) : (m.prototype = w.prototype, new m()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueUInt32 = void 0; - var i = c(6077), m = c(2884), t = c(678), f = function(b) { - function y(u) { - return b.call(this, u) || this; - } - return a(y, b), y.prototype.bytes = function() { - return (0, t.toBytesU32)(this.value); - }, y.fromBytes = function(u) { - if (u.length < m.Int32ByteSize) throw new Error("Buffer size is too small for UInt32"); - var d = Uint8Array.from(u.subarray(0, 4)); - return { result: new y(i.BigNumber.from(d.slice().reverse())), bytes: u.subarray(4) }; - }, y; - }(c(1842).CLValueNumeric); + var i = s(6077), p = s(2884), a = s(678), f = function(C) { + function w(m) { + return C.call(this, m) || this; + } + return o(w, C), w.prototype.bytes = function() { + return (0, a.toBytesU32)(this.value); + }, w.fromBytes = function(m) { + if (m.length < p.Int32ByteSize) throw new Error("Buffer size is too small for UInt32"); + var v = Uint8Array.from(m.subarray(0, 4)); + return { result: new w(i.BigNumber.from(v.slice().reverse())), bytes: m.subarray(4) }; + }, w; + }(s(1842).CLValueNumeric); n.CLValueUInt32 = f; - }, 4958: function(x, n, c) { - var r, a = this && this.__extends || (r = function(u, d) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { - l.__proto__ = s; - } || function(l, s) { - for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, r(u, d); - }, function(u, d) { - if (typeof d != "function" && d !== null) throw new TypeError("Class extends value " + String(d) + " is not a constructor or null"); + }, 4958(g, n, s) { + var r, o = this && this.__extends || (r = function(m, v) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, u) { + l.__proto__ = u; + } || function(l, u) { + for (var y in u) Object.prototype.hasOwnProperty.call(u, y) && (l[y] = u[y]); + }, r(m, v); + }, function(m, v) { + if (typeof v != "function" && v !== null) throw new TypeError("Class extends value " + String(v) + " is not a constructor or null"); function l() { - this.constructor = u; + this.constructor = m; } - r(u, d), u.prototype = d === null ? Object.create(d) : (l.prototype = d.prototype, new l()); + r(m, v), m.prototype = v === null ? Object.create(v) : (l.prototype = v.prototype, new l()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueUInt512 = void 0; - var i = c(6077), m = c(2996), t = c(678), f = c(1842), b = c(8389), y = function(u) { - function d(l, s) { - return u.call(this, l, s) || this; - } - return a(d, u), d.prototype.bytes = function() { - return this.originalBytes && (0, b.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, t.toBytesU512)(this.value); - }, d.fromJSON = function(l) { - var s = i.BigNumber.from(l); - if (!s.mod(1).isZero() || s.isNegative()) throw new Error("Invalid integer string: ".concat(l)); - return new d(s); - }, d.fromBytes = function(l) { - return (0, m.fromBytesUInt512)(l); - }, d; + var i = s(6077), p = s(2996), a = s(678), f = s(1842), C = s(8389), w = function(m) { + function v(l, u) { + return m.call(this, l, u) || this; + } + return o(v, m), v.prototype.bytes = function() { + return this.originalBytes && (0, C.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, a.toBytesU512)(this.value); + }, v.fromJSON = function(l) { + var u = i.BigNumber.from(l); + if (!u.mod(1).isZero() || u.isNegative()) throw new Error("Invalid integer string: ".concat(l)); + return new v(u); + }, v.fromBytes = function(l) { + return (0, p.fromBytesUInt512)(l); + }, v; }(f.CLValueNumeric); - n.CLValueUInt512 = y; - }, 530: function(x, n, c) { - var r, a = this && this.__extends || (r = function(b, y) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, d) { - u.__proto__ = d; - } || function(u, d) { - for (var l in d) Object.prototype.hasOwnProperty.call(d, l) && (u[l] = d[l]); - }, r(b, y); - }, function(b, y) { - if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + n.CLValueUInt512 = w; + }, 530(g, n, s) { + var r, o = this && this.__extends || (r = function(C, w) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, v) { + m.__proto__ = v; + } || function(m, v) { + for (var l in v) Object.prototype.hasOwnProperty.call(v, l) && (m[l] = v[l]); + }, r(C, w); + }, function(C, w) { + if (typeof w != "function" && w !== null) throw new TypeError("Class extends value " + String(w) + " is not a constructor or null"); + function m() { + this.constructor = C; } - r(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + r(C, w), C.prototype = w === null ? Object.create(w) : (m.prototype = w.prototype, new m()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueUInt64 = void 0; - var i = c(6077), m = c(2884), t = c(678), f = function(b) { - function y(u) { - return b.call(this, u) || this; - } - return a(y, b), y.prototype.bytes = function() { - return (0, t.toBytesU64)(this.value); - }, y.fromBytes = function(u) { - if (u.length < m.Int64ByteSize) throw new Error("buffer size is too small"); - var d = Uint8Array.from(u.subarray(0, 8)); - return { result: new y(i.BigNumber.from(d.slice().reverse())), bytes: u.subarray(8) }; - }, y; - }(c(1842).CLValueNumeric); + var i = s(6077), p = s(2884), a = s(678), f = function(C) { + function w(m) { + return C.call(this, m) || this; + } + return o(w, C), w.prototype.bytes = function() { + return (0, a.toBytesU64)(this.value); + }, w.fromBytes = function(m) { + if (m.length < p.Int64ByteSize) throw new Error("buffer size is too small"); + var v = Uint8Array.from(m.subarray(0, 8)); + return { result: new w(i.BigNumber.from(v.slice().reverse())), bytes: m.subarray(8) }; + }, w; + }(s(1842).CLValueNumeric); n.CLValueUInt64 = f; - }, 8778: function(x, n, c) { - var r, a = this && this.__extends || (r = function(t, f) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(b, y) { - b.__proto__ = y; - } || function(b, y) { - for (var u in y) Object.prototype.hasOwnProperty.call(y, u) && (b[u] = y[u]); - }, r(t, f); - }, function(t, f) { + }, 8778(g, n, s) { + var r, o = this && this.__extends || (r = function(a, f) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(C, w) { + C.__proto__ = w; + } || function(C, w) { + for (var m in w) Object.prototype.hasOwnProperty.call(w, m) && (C[m] = w[m]); + }, r(a, f); + }, function(a, f) { if (typeof f != "function" && f !== null) throw new TypeError("Class extends value " + String(f) + " is not a constructor or null"); - function b() { - this.constructor = t; + function C() { + this.constructor = a; } - r(t, f), t.prototype = f === null ? Object.create(f) : (b.prototype = f.prototype, new b()); + r(a, f), a.prototype = f === null ? Object.create(f) : (C.prototype = f.prototype, new C()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueUInt8 = void 0; - var i = c(678), m = function(t) { - function f(b) { - return t.call(this, b) || this; + var i = s(678), p = function(a) { + function f(C) { + return a.call(this, C) || this; } - return a(f, t), f.prototype.bytes = function() { + return o(f, a), f.prototype.bytes = function() { return (0, i.toBytesU8)(this.value); - }, f.fromBytes = function(b) { - if (b.length === 0) throw new Error("Insufficient buffer length for UInt8"); - return { result: new f(b[0]), bytes: b.subarray(1) }; + }, f.fromBytes = function(C) { + if (C.length === 0) throw new Error("Insufficient buffer length for UInt8"); + return { result: new f(C[0]), bytes: C.subarray(1) }; }, f; - }(c(1842).CLValueNumeric); - n.CLValueUInt8 = m; - }, 1402: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + }(s(1842).CLValueNumeric); + n.CLValueUInt8 = p; + }, 1402(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(6295), n), a(c(5515), n), a(c(4958), n), a(c(530), n), a(c(8778), n), a(c(8853), n), a(c(2462), n), a(c(3741), n); - }, 2045: (x, n, c) => { + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(6295), n), o(s(5515), n), o(s(4958), n), o(s(530), n), o(s(8778), n), o(s(8853), n), o(s(2462), n), o(s(3741), n); + }, 2045(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueOption = void 0; - var r = c(8905), a = c(731), i = c(1402), m = function() { - function t(f, b) { - this.type = b, this.inner = f; + var r = s(8905), o = s(731), i = s(1402), p = function() { + function a(f, C) { + this.type = C, this.inner = f; } - return t.prototype.bytes = function() { + return a.prototype.bytes = function() { if (this.isEmpty()) return Uint8Array.from([0]); var f = this.inner.bytes(); return (0, r.concat)([Uint8Array.from([1]), f]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return this.isEmpty() ? "" : this.inner.toString(); - }, t.prototype.toJSON = function() { + }, a.prototype.toJSON = function() { return this.isEmpty() ? null : this.inner.toJSON(); - }, t.prototype.isEmpty = function() { + }, a.prototype.isEmpty = function() { return this.inner === null; - }, t.prototype.value = function() { + }, a.prototype.value = function() { return this.inner; - }, t.fromBytes = function(f, b) { - var y = i.CLValueUInt8.fromBytes(f), u = y.result, d = y.bytes; - if (u.toNumber() === 0) return { result: new t(null, b), bytes: d }; - var l = a.CLValueParser.fromBytesByType(d, b.inner); - return { result: new t(l.result, b), bytes: l.bytes }; - }, t; - }(); - n.CLValueOption = m; - }, 731: (x, n, c) => { + }, a.fromBytes = function(f, C) { + var w = i.CLValueUInt8.fromBytes(f), m = w.result, v = w.bytes; + if (m.toNumber() === 0) return { result: new a(null, C), bytes: v }; + var l = o.CLValueParser.fromBytesByType(v, C.inner); + return { result: new a(l.result, C), bytes: l.bytes }; + }, a; + }(); + n.CLValueOption = p; + }, 731(g, n, s) { + var r = this && this.__assign || function() { + return r = Object.assign || function(N) { + for (var k, j = 1, D = arguments.length; j < D; j++) for (var T in k = arguments[j]) Object.prototype.hasOwnProperty.call(k, T) && (N[T] = k[T]); + return N; + }, r.apply(this, arguments); + }; Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueParser = n.ErrUnsupportedCLType = void 0; - var r = c(8905), a = c(1282), i = c(3401), m = c(9449), t = c(2884), f = c(1402), b = c(7948), y = c(6028), u = c(5334), d = c(5729), l = c(2045), s = c(5216), v = c(6837), p = c(1501), h = c(8864), O = c(8441), I = c(7992), k = c(6167), R = c(7372), L = c(678); + var o = s(8905), i = s(1282), p = s(3401), a = s(9449), f = s(2884), C = s(1402), w = s(7948), m = s(6028), v = s(5334), l = s(5729), u = s(2045), y = s(5216), d = s(6837), b = s(1501), _ = s(8864), E = s(8441), B = s(7992), O = s(6167), I = s(7372), x = s(678); n.ErrUnsupportedCLType = new Error("buffer constructor is not found"); - var N = function() { - function B() { + var A = function() { + function N() { } - return B.fromJSON = function(H) { - var U = t.CLTypeParser.fromInterface(H.cl_type), S = B.fromBytesByType(R.Conversions.decodeBase16(H.bytes), U); - return S?.result; - }, B.toJSON = function(H) { - var U = H.bytes(); - return { bytes: R.Conversions.encodeBase16(U), cl_type: H.type.toJSON() }; - }, B.toBytesWithType = function(H) { - var U = H.getType().toBytes(), S = H.bytes(); - return (0, r.concat)([(0, L.toBytesArrayU8)(S), U]); - }, B.fromBytesByType = function(H, U) { - var S = new a.CLValue(U); - if (U instanceof t.CLTypeDynamic) { - var T = t.CLTypeParser.matchBytesToCLType(H); - return S.type = new t.CLTypeDynamic(T.result.getTypeID(), T.result), { result: S, bytes: T.bytes }; - } - switch (U.getTypeID()) { - case t.TypeID.Bool: - var E = b.CLValueBool.fromBytes(H); - return S.bool = E?.result, { result: S, bytes: E.bytes }; - case t.TypeID.I32: - var M = f.CLValueInt32.fromBytes(H); - return S.i32 = M.result, { result: S, bytes: M?.bytes }; - case t.TypeID.I64: - var _ = f.CLValueInt64.fromBytes(H); - return S.i64 = _?.result, { result: S, bytes: _?.bytes }; - case t.TypeID.U8: - var w = f.CLValueUInt8.fromBytes(H); - return S.ui8 = w?.result, { result: S, bytes: w?.bytes }; - case t.TypeID.U32: - var A = f.CLValueUInt32.fromBytes(H); - return S.ui32 = A?.result, { result: S, bytes: A?.bytes }; - case t.TypeID.U64: - var j = f.CLValueUInt64.fromBytes(H); - return S.ui64 = j?.result, { result: S, bytes: j?.bytes }; - case t.TypeID.U128: - var V = f.CLValueUInt128.fromBytes(H); - return S.ui128 = V?.result, { result: S, bytes: V?.bytes }; - case t.TypeID.U256: - var D = f.CLValueUInt256.fromBytes(H); - return S.ui256 = D?.result, { result: S, bytes: D?.bytes }; - case t.TypeID.U512: - var z = f.CLValueUInt512.fromBytes(H); - return S.ui512 = z?.result, { result: S, bytes: z?.bytes }; - case t.TypeID.String: - var J = d.CLValueString.fromBytes(H); - return S.stringVal = J.result, { result: S, bytes: J?.bytes }; - case t.TypeID.Unit: - var G = u.CLValueUnit.fromBytes(H); - return S.unit = G?.result, { result: S, bytes: G?.bytes }; - case t.TypeID.Key: - var Q = i.Key.fromBytes(H); - return S.key = Q?.result, { result: S, bytes: Q?.bytes }; - case t.TypeID.URef: - var ee = i.URef.fromBytes(H); - return S.uref = ee?.result, { result: S, bytes: ee?.bytes }; - case t.TypeID.Any: - var Z = new y.CLValueAny(H); - return S.any = Z, { result: S, bytes: new Uint8Array([]) }; - case t.TypeID.PublicKey: - var q = m.PublicKey.fromBytes(H); - return S.publicKey = q?.result, { result: S, bytes: q?.bytes }; - case t.TypeID.Option: - var se = l.CLValueOption.fromBytes(H, U); - return S.option = se?.result, { result: S, bytes: se?.bytes }; - case t.TypeID.List: - var ue = s.CLValueList.fromBytes(H, U); - return S.list = ue?.result, { result: S, bytes: ue?.bytes }; - case t.TypeID.ByteArray: - var ce = v.CLValueByteArray.fromBytes(H, U); - return S.byteArray = ce?.result, { result: S, bytes: ce?.bytes }; - case t.TypeID.Result: - var ie = p.CLValueResult.fromBytes(H, U); - return S.result = ie?.result, { result: S, bytes: ie?.bytes }; - case t.TypeID.Map: - var fe = h.CLValueMap.fromBytes(H, U); - return S.map = fe?.result, { result: S, bytes: fe?.bytes }; - case t.TypeID.Tuple1: - var Te = O.CLValueTuple1.fromBytes(H, U); - return S.tuple1 = Te.result, { result: S, bytes: Te?.bytes }; - case t.TypeID.Tuple2: - var Se = I.CLValueTuple2.fromBytes(H, U); - return S.tuple2 = Se?.result, { result: S, bytes: Se?.bytes }; - case t.TypeID.Tuple3: - var te = k.CLValueTuple3.fromBytes(H, U); - return S.tuple3 = te?.result, { result: S, bytes: te?.bytes }; + return N.isListListU8 = function(k) { + return k && typeof k == "object" && k.List && typeof k.List == "object" && k.List.List === "U8"; + }, N.readU32LE = function(k) { + return k.length < 4 ? null : k[0] | k[1] << 8 | k[2] << 16 | k[3] << 24; + }, N.normalizeJsonClType = function(k) { + if (!k || !N.isListListU8(k.cl_type) || typeof k.bytes != "string") return k; + var j = I.Conversions.decodeBase16(k.bytes), D = N.readU32LE(j); + return D == null ? k : j.length === 4 + D ? r(r({}, k), { cl_type: { List: "U8" } }) : k; + }, N.fromJSON = function(k) { + var j = N.normalizeJsonClType(k), D = f.CLTypeParser.fromInterface(j.cl_type), T = N.fromBytesByType(I.Conversions.decodeBase16(j.bytes), D); + return T?.result; + }, N.toJSON = function(k) { + var j = k.bytes(); + return { bytes: I.Conversions.encodeBase16(j), cl_type: k.type.toJSON() }; + }, N.toBytesWithType = function(k) { + var j = k.getType().toBytes(), D = k.bytes(); + return (0, o.concat)([(0, x.toBytesArrayU8)(D), j]); + }, N.fromBytesByType = function(k, j) { + var D = new i.CLValue(j); + if (j instanceof f.CLTypeDynamic) { + var T = f.CLTypeParser.matchBytesToCLType(k); + return D.type = new f.CLTypeDynamic(T.result.getTypeID(), T.result), { result: D, bytes: T.bytes }; + } + switch (j.getTypeID()) { + case f.TypeID.Bool: + var L = w.CLValueBool.fromBytes(k); + return D.bool = L?.result, { result: D, bytes: L.bytes }; + case f.TypeID.I32: + var R = C.CLValueInt32.fromBytes(k); + return D.i32 = R.result, { result: D, bytes: R?.bytes }; + case f.TypeID.I64: + var M = C.CLValueInt64.fromBytes(k); + return D.i64 = M?.result, { result: D, bytes: M?.bytes }; + case f.TypeID.U8: + var P = C.CLValueUInt8.fromBytes(k); + return D.ui8 = P?.result, { result: D, bytes: P?.bytes }; + case f.TypeID.U32: + var H = C.CLValueUInt32.fromBytes(k); + return D.ui32 = H?.result, { result: D, bytes: H?.bytes }; + case f.TypeID.U64: + var K = C.CLValueUInt64.fromBytes(k); + return D.ui64 = K?.result, { result: D, bytes: K?.bytes }; + case f.TypeID.U128: + var V = C.CLValueUInt128.fromBytes(k); + return D.ui128 = V?.result, { result: D, bytes: V?.bytes }; + case f.TypeID.U256: + var U = C.CLValueUInt256.fromBytes(k); + return D.ui256 = U?.result, { result: D, bytes: U?.bytes }; + case f.TypeID.U512: + var F = C.CLValueUInt512.fromBytes(k); + return D.ui512 = F?.result, { result: D, bytes: F?.bytes }; + case f.TypeID.String: + var Q = l.CLValueString.fromBytes(k); + return D.stringVal = Q.result, { result: D, bytes: Q?.bytes }; + case f.TypeID.Unit: + var ne = v.CLValueUnit.fromBytes(k); + return D.unit = ne?.result, { result: D, bytes: ne?.bytes }; + case f.TypeID.Key: + var te = p.Key.fromBytes(k); + return D.key = te?.result, { result: D, bytes: te?.bytes }; + case f.TypeID.URef: + var X = p.URef.fromBytes(k); + return D.uref = X?.result, { result: D, bytes: X?.bytes }; + case f.TypeID.Any: + var Z = new m.CLValueAny(k); + return D.any = Z, { result: D, bytes: new Uint8Array([]) }; + case f.TypeID.PublicKey: + var fe = a.PublicKey.fromBytes(k); + return D.publicKey = fe?.result, { result: D, bytes: fe?.bytes }; + case f.TypeID.Option: + var le = u.CLValueOption.fromBytes(k, j); + return D.option = le?.result, { result: D, bytes: le?.bytes }; + case f.TypeID.List: + var Se = y.CLValueList.fromBytes(k, j); + return D.list = Se?.result, { result: D, bytes: Se?.bytes }; + case f.TypeID.ByteArray: + var de = d.CLValueByteArray.fromBytes(k, j); + return D.byteArray = de?.result, { result: D, bytes: de?.bytes }; + case f.TypeID.Result: + var me = b.CLValueResult.fromBytes(k, j); + return D.result = me?.result, { result: D, bytes: me?.bytes }; + case f.TypeID.Map: + var Oe = _.CLValueMap.fromBytes(k, j); + return D.map = Oe?.result, { result: D, bytes: Oe?.bytes }; + case f.TypeID.Tuple1: + var Ce = E.CLValueTuple1.fromBytes(k, j); + return D.tuple1 = Ce.result, { result: D, bytes: Ce?.bytes }; + case f.TypeID.Tuple2: + var G = B.CLValueTuple2.fromBytes(k, j); + return D.tuple2 = G?.result, { result: D, bytes: G?.bytes }; + case f.TypeID.Tuple3: + var ie = O.CLValueTuple3.fromBytes(k, j); + return D.tuple3 = ie?.result, { result: D, bytes: ie?.bytes }; default: throw n.ErrUnsupportedCLType; } - }, B.fromBytesWithType = function(H) { - var U = f.CLValueUInt32.fromBytes(H), S = U.result.toNumber(); - if (!S) throw new Error("Invalid length for bytes: ".concat(S)); - var T = U.bytes.subarray(0, S), E = U.bytes.subarray(S), M = t.CLTypeParser.matchBytesToCLType(E); - return { result: this.fromBytesByType(T, M.result).result, bytes: M.bytes }; - }, B; + }, N.fromBytesWithType = function(k) { + var j = C.CLValueUInt32.fromBytes(k), D = j.result.toNumber(); + if (!D) throw new Error("Invalid length for bytes: ".concat(D)); + var T = j.bytes.subarray(0, D), L = j.bytes.subarray(D), R = f.CLTypeParser.matchBytesToCLType(L); + return { result: this.fromBytesByType(T, R.result).result, bytes: R.bytes }; + }, N; }(); - n.CLValueParser = N; - }, 1501: (x, n, c) => { + n.CLValueParser = A; + }, 1501(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueResult = void 0; - var r = c(8905), a = c(731), i = c(1402), m = function() { - function t(f, b, y) { - var u = b ? f.innerOk.getName() : f.innerErr.getName(), d = y.getType().getName(); - if (u !== d) throw new Error("Inner value's type (".concat(d, ") does not match the expected type (").concat(u, ") for ").concat(b ? "Ok" : "Error", ".")); - this.type = f, this.isSuccess = b, this.inner = y; - } - return t.prototype.bytes = function() { - var f = Uint8Array.from([this.isSuccess ? 1 : 0]), b = this.inner.bytes(); - return (0, r.concat)([f, b]); - }, t.prototype.toString = function() { + var r = s(8905), o = s(731), i = s(1402), p = function() { + function a(f, C, w) { + var m = C ? f.innerOk.getName() : f.innerErr.getName(), v = w.getType().getName(); + if (m !== v) throw new Error("Inner value's type (".concat(v, ") does not match the expected type (").concat(m, ") for ").concat(C ? "Ok" : "Error", ".")); + this.type = f, this.isSuccess = C, this.inner = w; + } + return a.prototype.bytes = function() { + var f = Uint8Array.from([this.isSuccess ? 1 : 0]), C = this.inner.bytes(); + return (0, r.concat)([f, C]); + }, a.prototype.toString = function() { return this.isSuccess ? "Ok(".concat(this.inner.toString(), ")") : "Err(".concat(this.inner.toString(), ")"); - }, t.prototype.toJSON = function() { + }, a.prototype.toJSON = function() { return this.inner.toJSON(); - }, t.prototype.value = function() { + }, a.prototype.value = function() { return this.inner; - }, t.fromBytes = function(f, b) { - var y = i.CLValueUInt8.fromBytes(f), u = y.result, d = y.bytes, l = u?.toNumber() === 1, s = l ? b.innerOk : b.innerErr, v = a.CLValueParser.fromBytesByType(d, s); - return { result: new t(b, l, v?.result), bytes: v?.bytes }; - }, t; + }, a.fromBytes = function(f, C) { + var w = i.CLValueUInt8.fromBytes(f), m = w.result, v = w.bytes, l = m?.toNumber() === 1, u = l ? C.innerOk : C.innerErr, y = o.CLValueParser.fromBytesByType(v, u); + return { result: new a(C, l, y?.result), bytes: y?.bytes }; + }, a; }(); - n.CLValueResult = m; - }, 5729: (x, n, c) => { + n.CLValueResult = p; + }, 5729(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueString = void 0; - var r = c(8905), a = c(1402), i = c(678), m = function() { - function t(f) { + var r = s(8905), o = s(1402), i = s(678), p = function() { + function a(f) { this.value = f; } - return t.prototype.bytes = function() { - var f = this.sizeToBytes(this.value.length), b = new TextEncoder().encode(this.value); - return (0, r.concat)([f, b]); - }, t.prototype.sizeToBytes = function(f) { - var b = new ArrayBuffer(4); - return new DataView(b).setUint32(0, f, !0), new Uint8Array(b); - }, t.prototype.toJSON = function() { + return a.prototype.bytes = function() { + var f = this.sizeToBytes(this.value.length), C = new TextEncoder().encode(this.value); + return (0, r.concat)([f, C]); + }, a.prototype.sizeToBytes = function(f) { + var C = new ArrayBuffer(4); + return new DataView(C).setUint32(0, f, !0), new Uint8Array(C); + }, a.prototype.toJSON = function() { return this.toString(); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return this.value; - }, t.fromBytes = function(f) { - var b, y, u, d = a.CLValueUInt32.fromBytes(f), l = (b = d?.result) === null || b === void 0 ? void 0 : b.toNumber(); - return { result: new t((0, i.fromBytesString)((y = d?.bytes) === null || y === void 0 ? void 0 : y.subarray(0, l))), bytes: (u = d?.bytes) === null || u === void 0 ? void 0 : u.subarray(l) }; - }, t; + }, a.fromBytes = function(f) { + var C, w, m, v = o.CLValueUInt32.fromBytes(f), l = (C = v?.result) === null || C === void 0 ? void 0 : C.toNumber(); + return { result: new a((0, i.fromBytesString)((w = v?.bytes) === null || w === void 0 ? void 0 : w.subarray(0, l))), bytes: (m = v?.bytes) === null || m === void 0 ? void 0 : m.subarray(l) }; + }, a; }(); - n.CLValueString = m; - }, 8441: (x, n, c) => { + n.CLValueString = p; + }, 8441(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueTuple1 = void 0; - var r = c(731), a = function() { - function i(m, t) { - this.innerType = m, this.innerVal = t; + var r = s(731), o = function() { + function i(p, a) { + this.innerType = p, this.innerVal = a; } return i.prototype.bytes = function() { return this.innerVal.bytes(); @@ -28085,91 +27147,91 @@ function B6() { return this.innerVal; }, i.prototype.toJSON = function() { return [this.innerVal.toJSON()]; - }, i.fromBytes = function(m, t) { - var f = r.CLValueParser.fromBytesByType(m, t.inner); - return { result: new i(t, f?.result), bytes: f?.bytes }; + }, i.fromBytes = function(p, a) { + var f = r.CLValueParser.fromBytesByType(p, a.inner); + return { result: new i(a, f?.result), bytes: f?.bytes }; }, i; }(); - n.CLValueTuple1 = a; - }, 7992: (x, n, c) => { + n.CLValueTuple1 = o; + }, 7992(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueTuple2 = void 0; - var r = c(8905), a = c(731), i = function() { - function m(t, f, b) { - this.innerType = t, this.inner1 = f, this.inner2 = b; - } - return m.prototype.bytes = function() { - var t = this.inner1.bytes(), f = this.inner2.bytes(); - return (0, r.concat)([t, f]); - }, m.prototype.toString = function() { + var r = s(8905), o = s(731), i = function() { + function p(a, f, C) { + this.innerType = a, this.inner1 = f, this.inner2 = C; + } + return p.prototype.bytes = function() { + var a = this.inner1.bytes(), f = this.inner2.bytes(); + return (0, r.concat)([a, f]); + }, p.prototype.toString = function() { return "(".concat(this.inner1.toString(), ", ").concat(this.inner2.toString(), ")"); - }, m.prototype.toJSON = function() { + }, p.prototype.toJSON = function() { return [this.inner1.toJSON(), this.inner2.toJSON()]; - }, m.prototype.value = function() { + }, p.prototype.value = function() { return [this.inner1, this.inner2]; - }, m.fromBytes = function(t, f) { - var b = a.CLValueParser.fromBytesByType(t, f.inner1), y = a.CLValueParser.fromBytesByType(b.bytes, f.inner2); - return { result: new m(f, b?.result, y?.result), bytes: y?.bytes }; - }, m; + }, p.fromBytes = function(a, f) { + var C = o.CLValueParser.fromBytesByType(a, f.inner1), w = o.CLValueParser.fromBytesByType(C.bytes, f.inner2); + return { result: new p(f, C?.result, w?.result), bytes: w?.bytes }; + }, p; }(); n.CLValueTuple2 = i; - }, 6167: (x, n, c) => { + }, 6167(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueTuple3 = void 0; - var r = c(8905), a = c(731), i = function() { - function m(t, f, b, y) { - this.innerType = t, this.inner1 = f, this.inner2 = b, this.inner3 = y; - } - return m.prototype.bytes = function() { - var t = this.inner1.bytes(), f = this.inner2.bytes(), b = this.inner3.bytes(); - return (0, r.concat)([t, f, b]); - }, m.prototype.toString = function() { + var r = s(8905), o = s(731), i = function() { + function p(a, f, C, w) { + this.innerType = a, this.inner1 = f, this.inner2 = C, this.inner3 = w; + } + return p.prototype.bytes = function() { + var a = this.inner1.bytes(), f = this.inner2.bytes(), C = this.inner3.bytes(); + return (0, r.concat)([a, f, C]); + }, p.prototype.toString = function() { return "(".concat(this.inner1.toString(), ", ").concat(this.inner2.toString(), ", ").concat(this.inner3.toString(), ")"); - }, m.prototype.toJSON = function() { + }, p.prototype.toJSON = function() { return [this.inner1.toJSON(), this.inner2.toJSON(), this.inner3.toJSON()]; - }, m.prototype.value = function() { + }, p.prototype.value = function() { return [this.inner1, this.inner2, this.inner3]; - }, m.fromBytes = function(t, f) { - var b = a.CLValueParser.fromBytesByType(t, f.inner1), y = a.CLValueParser.fromBytesByType(b.bytes, f.inner2), u = a.CLValueParser.fromBytesByType(y.bytes, f.inner3); - return { result: new m(f, b.result, y.result, u.result), bytes: u.bytes }; - }, m; + }, p.fromBytes = function(a, f) { + var C = o.CLValueParser.fromBytesByType(a, f.inner1), w = o.CLValueParser.fromBytesByType(C.bytes, f.inner2), m = o.CLValueParser.fromBytesByType(w.bytes, f.inner3); + return { result: new p(f, C.result, w.result, m.result), bytes: m.bytes }; + }, p; }(); n.CLValueTuple3 = i; - }, 2996: (x, n, c) => { + }, 2996(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.fromBytesUInt512 = n.fromBytesUInt256 = n.fromBytesUInt128 = n.bigFromBuffer = n.bigToBytes = void 0; - var r = c(6077), a = c(1402); - n.bigToBytes = function(m) { - var t = m.toHexString().slice(2); - t.length % 2 != 0 && (t = "0" + t); - for (var f = new Uint8Array(t.length / 2), b = 0; b < t.length; b += 2) f[b / 2] = parseInt(t.slice(b, b + 2), 16); - var y = f.length, u = new Uint8Array(y + 1); - return u[0] = y, u.set(f, 1), u; - }, n.bigFromBuffer = function(m) { - for (var t = new DataView(m).getUint8(0), f = new Uint8Array(m.slice(1, t + 1)), b = "", y = 0; y < f.length; y++) { - var u = f[y]; - b += (u < 16 ? "0" : "") + u.toString(16); - } - return r.BigNumber.from("0x" + b); + var r = s(6077), o = s(1402); + n.bigToBytes = function(p) { + var a = p.toHexString().slice(2); + a.length % 2 != 0 && (a = "0" + a); + for (var f = new Uint8Array(a.length / 2), C = 0; C < a.length; C += 2) f[C / 2] = parseInt(a.slice(C, C + 2), 16); + var w = f.length, m = new Uint8Array(w + 1); + return m[0] = w, m.set(f, 1), m; + }, n.bigFromBuffer = function(p) { + for (var a = new DataView(p).getUint8(0), f = new Uint8Array(p.slice(1, a + 1)), C = "", w = 0; w < f.length; w++) { + var m = f[w]; + C += (m < 16 ? "0" : "") + m.toString(16); + } + return r.BigNumber.from("0x" + C); }; - var i = function(m, t) { - if (m.length < 1) throw new Error("Early end of stream: no data to parse."); - var f = t / 8, b = m[0]; - if (b > f) throw new Error("Formatting error: byte length ".concat(b, " exceeds expected size for ").concat(t, "-bit integer.")); - if (b + 1 > m.length) throw new Error("Early end of stream: insufficient data for specified byte length."); - var y = b === 0 ? [0] : m.subarray(1, 1 + b), u = m.subarray(1 + b); - return { result: r.BigNumber.from(y.slice().reverse()), bytes: u, originalBytes: m }; + var i = function(p, a) { + if (p.length < 1) throw new Error("Early end of stream: no data to parse."); + var f = a / 8, C = p[0]; + if (C > f) throw new Error("Formatting error: byte length ".concat(C, " exceeds expected size for ").concat(a, "-bit integer.")); + if (C + 1 > p.length) throw new Error("Early end of stream: insufficient data for specified byte length."); + var w = C === 0 ? [0] : p.subarray(1, 1 + C), m = p.subarray(1 + C); + return { result: r.BigNumber.from(w.slice().reverse()), bytes: m, originalBytes: p }; }; - n.fromBytesUInt128 = function(m) { - var t = i(m, 128); - return { result: new a.CLValueUInt128(t?.result, t?.originalBytes), bytes: t?.bytes }; - }, n.fromBytesUInt256 = function(m) { - var t = i(m, 256); - return { result: new a.CLValueUInt256(t?.result, t?.originalBytes), bytes: t?.bytes }; - }, n.fromBytesUInt512 = function(m) { - var t = i(m, 512); - return { result: new a.CLValueUInt512(t?.result, t?.originalBytes), bytes: t?.bytes }; + n.fromBytesUInt128 = function(p) { + var a = i(p, 128); + return { result: new o.CLValueUInt128(a?.result, a?.originalBytes), bytes: a?.bytes }; + }, n.fromBytesUInt256 = function(p) { + var a = i(p, 256); + return { result: new o.CLValueUInt256(a?.result, a?.originalBytes), bytes: a?.bytes }; + }, n.fromBytesUInt512 = function(p) { + var a = i(p, 512); + return { result: new o.CLValueUInt512(a?.result, a?.originalBytes), bytes: a?.bytes }; }; - }, 5334: (x, n) => { + }, 5334(g, n) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLValueUnit = void 0; - var c = function() { + var s = function() { function r() { this.obj = null; } @@ -28181,90 +27243,90 @@ function B6() { return this.obj; }, r.prototype.toJSON = function() { return this.getValue(); - }, r.fromBytes = function(a) { - if (a.byteLength > 0) throw new Error("Byte source for Unit type should be empty"); - return { result: new r(), bytes: a }; + }, r.fromBytes = function(o) { + if (o.byteLength > 0) throw new Error("Byte source for Unit type should be empty"); + return { result: new r(), bytes: o }; }, r; }(); - n.CLValueUnit = c; - }, 3103: (x, n, c) => { + n.CLValueUnit = s; + }, 3103(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeByteArray = void 0; - var r = c(8905), a = c(2393), i = c(678), m = function() { - function t(f) { + var r = s(8905), o = s(2393), i = s(678), p = function() { + function a(f) { this.size = f; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), (0, i.toBytesU32)(this.size)]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return "".concat(this.getName(), ": ").concat(this.size); - }, t.prototype.getTypeID = function() { - return a.TypeID.ByteArray; - }, t.prototype.getName = function() { - return a.TypeName.ByteArray; - }, t.prototype.getSize = function() { + }, a.prototype.getTypeID = function() { + return o.TypeID.ByteArray; + }, a.prototype.getName = function() { + return o.TypeName.ByteArray; + }, a.prototype.getSize = function() { return this.size; - }, t.prototype.toJSON = function() { + }, a.prototype.toJSON = function() { var f; return (f = {})[this.getName()] = this.size, f; - }, t.fromJSON = function(f) { + }, a.fromJSON = function(f) { if (typeof f != "number") throw new Error("Invalid JSON parsing to ByteArray type"); - return new t(f); - }, t; - }(); - n.CLTypeByteArray = m; - }, 2393: (x, n) => { - var c; - Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypePublicKey = n.CLTypeAny = n.CLTypeUref = n.CLTypeKey = n.CLTypeString = n.CLTypeUnit = n.CLTypeUInt512 = n.CLTypeUInt256 = n.CLTypeUInt128 = n.CLTypeUInt64 = n.CLTypeUInt32 = n.CLTypeUInt8 = n.CLTypeInt64 = n.CLTypeInt32 = n.CLTypeBool = n.SimpleType = n.TypeName = n.TypeID = n.Int64ByteSize = n.Int32ByteSize = void 0, n.Int32ByteSize = 4, n.Int64ByteSize = 8, function(a) { - a[a.Bool = 0] = "Bool", a[a.I32 = 1] = "I32", a[a.I64 = 2] = "I64", a[a.U8 = 3] = "U8", a[a.U32 = 4] = "U32", a[a.U64 = 5] = "U64", a[a.U128 = 6] = "U128", a[a.U256 = 7] = "U256", a[a.U512 = 8] = "U512", a[a.Unit = 9] = "Unit", a[a.String = 10] = "String", a[a.Key = 11] = "Key", a[a.URef = 12] = "URef", a[a.Option = 13] = "Option", a[a.List = 14] = "List", a[a.ByteArray = 15] = "ByteArray", a[a.Result = 16] = "Result", a[a.Map = 17] = "Map", a[a.Tuple1 = 18] = "Tuple1", a[a.Tuple2 = 19] = "Tuple2", a[a.Tuple3 = 20] = "Tuple3", a[a.Any = 21] = "Any", a[a.PublicKey = 22] = "PublicKey"; - }(c = n.TypeID || (n.TypeID = {})), n.TypeName = { Bool: "Bool", I32: "I32", I64: "I64", U8: "U8", U32: "U32", U64: "U64", U128: "U128", U256: "U256", U512: "U512", Unit: "Unit", String: "String", Key: "Key", URef: "URef", Option: "Option", List: "List", ByteArray: "ByteArray", Result: "Result", Map: "Map", Tuple1: "Tuple1", Tuple2: "Tuple2", Tuple3: "Tuple3", Any: "Any", PublicKey: "PublicKey" }; + return new a(f); + }, a; + }(); + n.CLTypeByteArray = p; + }, 2393(g, n) { + var s; + Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypePublicKey = n.CLTypeAny = n.CLTypeUref = n.CLTypeKey = n.CLTypeString = n.CLTypeUnit = n.CLTypeUInt512 = n.CLTypeUInt256 = n.CLTypeUInt128 = n.CLTypeUInt64 = n.CLTypeUInt32 = n.CLTypeUInt8 = n.CLTypeInt64 = n.CLTypeInt32 = n.CLTypeBool = n.SimpleType = n.TypeName = n.TypeID = n.Int64ByteSize = n.Int32ByteSize = void 0, n.Int32ByteSize = 4, n.Int64ByteSize = 8, function(o) { + o[o.Bool = 0] = "Bool", o[o.I32 = 1] = "I32", o[o.I64 = 2] = "I64", o[o.U8 = 3] = "U8", o[o.U32 = 4] = "U32", o[o.U64 = 5] = "U64", o[o.U128 = 6] = "U128", o[o.U256 = 7] = "U256", o[o.U512 = 8] = "U512", o[o.Unit = 9] = "Unit", o[o.String = 10] = "String", o[o.Key = 11] = "Key", o[o.URef = 12] = "URef", o[o.Option = 13] = "Option", o[o.List = 14] = "List", o[o.ByteArray = 15] = "ByteArray", o[o.Result = 16] = "Result", o[o.Map = 17] = "Map", o[o.Tuple1 = 18] = "Tuple1", o[o.Tuple2 = 19] = "Tuple2", o[o.Tuple3 = 20] = "Tuple3", o[o.Any = 21] = "Any", o[o.PublicKey = 22] = "PublicKey"; + }(s = n.TypeID || (n.TypeID = {})), n.TypeName = { Bool: "Bool", I32: "I32", I64: "I64", U8: "U8", U32: "U32", U64: "U64", U128: "U128", U256: "U256", U512: "U512", Unit: "Unit", String: "String", Key: "Key", URef: "URef", Option: "Option", List: "List", ByteArray: "ByteArray", Result: "Result", Map: "Map", Tuple1: "Tuple1", Tuple2: "Tuple2", Tuple3: "Tuple3", Any: "Any", PublicKey: "PublicKey" }; var r = function() { - function a(i, m) { - this.typeID = i, this.typeName = m; + function o(i, p) { + this.typeID = i, this.typeName = p; } - return a.prototype.toBytes = function() { + return o.prototype.toBytes = function() { return new Uint8Array([this.typeID]); - }, a.prototype.toString = function() { + }, o.prototype.toString = function() { return this.getName(); - }, a.prototype.getTypeID = function() { + }, o.prototype.getTypeID = function() { return this.typeID; - }, a.prototype.getName = function() { + }, o.prototype.getName = function() { return this.typeName; - }, a.prototype.toJSON = function() { + }, o.prototype.toJSON = function() { return this.getName(); - }, a; - }(); - n.SimpleType = r, n.CLTypeBool = new r(c.Bool, n.TypeName.Bool), n.CLTypeInt32 = new r(c.I32, n.TypeName.I32), n.CLTypeInt64 = new r(c.I64, n.TypeName.I64), n.CLTypeUInt8 = new r(c.U8, n.TypeName.U8), n.CLTypeUInt32 = new r(c.U32, n.TypeName.U32), n.CLTypeUInt64 = new r(c.U64, n.TypeName.U64), n.CLTypeUInt128 = new r(c.U128, n.TypeName.U128), n.CLTypeUInt256 = new r(c.U256, n.TypeName.U256), n.CLTypeUInt512 = new r(c.U512, n.TypeName.U512), n.CLTypeUnit = new r(c.Unit, n.TypeName.Unit), n.CLTypeString = new r(c.String, n.TypeName.String), n.CLTypeKey = new r(c.Key, n.TypeName.Key), n.CLTypeUref = new r(c.URef, n.TypeName.URef), n.CLTypeAny = new r(c.Any, n.TypeName.Any), n.CLTypePublicKey = new r(c.PublicKey, n.TypeName.PublicKey); - }, 1559: function(x, n, c) { - var r = this && this.__decorate || function(f, b, y, u) { - var d, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(f, b, y, u); - else for (var v = f.length - 1; v >= 0; v--) (d = f[v]) && (s = (l < 3 ? d(s) : l > 3 ? d(b, y, s) : d(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(f, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, b); + }, o; + }(); + n.SimpleType = r, n.CLTypeBool = new r(s.Bool, n.TypeName.Bool), n.CLTypeInt32 = new r(s.I32, n.TypeName.I32), n.CLTypeInt64 = new r(s.I64, n.TypeName.I64), n.CLTypeUInt8 = new r(s.U8, n.TypeName.U8), n.CLTypeUInt32 = new r(s.U32, n.TypeName.U32), n.CLTypeUInt64 = new r(s.U64, n.TypeName.U64), n.CLTypeUInt128 = new r(s.U128, n.TypeName.U128), n.CLTypeUInt256 = new r(s.U256, n.TypeName.U256), n.CLTypeUInt512 = new r(s.U512, n.TypeName.U512), n.CLTypeUnit = new r(s.Unit, n.TypeName.Unit), n.CLTypeString = new r(s.String, n.TypeName.String), n.CLTypeKey = new r(s.Key, n.TypeName.Key), n.CLTypeUref = new r(s.URef, n.TypeName.URef), n.CLTypeAny = new r(s.Any, n.TypeName.Any), n.CLTypePublicKey = new r(s.PublicKey, n.TypeName.PublicKey); + }, 1559(g, n, s) { + var r = this && this.__decorate || function(f, C, w, m) { + var v, l = arguments.length, u = l < 3 ? C : m === null ? m = Object.getOwnPropertyDescriptor(C, w) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") u = Reflect.decorate(f, C, w, m); + else for (var y = f.length - 1; y >= 0; y--) (v = f[y]) && (u = (l < 3 ? v(u) : l > 3 ? v(C, w, u) : v(C, w)) || u); + return l > 3 && u && Object.defineProperty(C, w, u), u; + }, o = this && this.__metadata || function(f, C) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, C); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeRaw = void 0; - var i = c(9592), m = c(8297), t = function() { - function f(b) { - this.rawMessage = b; + var i = s(9592), p = s(8297), a = function() { + function f(C) { + this.rawMessage = C; } - return f.parseCLType = function(b) { + return f.parseCLType = function(C) { try { - return m.CLTypeParser.fromRawJson(b); - } catch (y) { - throw new Error("Error parsing CLType: ".concat(y.message)); + return p.CLTypeParser.fromRawJson(C); + } catch (w) { + throw new Error("Error parsing CLType: ".concat(w.message)); } }, f.prototype.toJSON = function() { - var b, y; - return ((b = this.rawMessage) === null || b === void 0 ? void 0 : b.toString()) || ((y = this == null ? void 0 : this.rawMessage) === null || y === void 0 ? void 0 : y.toJSON()); - }, r([i.jsonObject, a("design:paramtypes", [Object])], f); + var C, w; + return ((C = this.rawMessage) === null || C === void 0 ? void 0 : C.toString()) || ((w = this == null ? void 0 : this.rawMessage) === null || w === void 0 ? void 0 : w.toJSON()); + }, r([i.jsonObject, o("design:paramtypes", [Object])], f); }(); - n.CLTypeRaw = t; - }, 7389: (x, n) => { + n.CLTypeRaw = a; + }, 7389(g, n) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeDynamic = void 0; - var c = function() { - function r(a, i) { - this.typeID = a, this.inner = i; + var s = function() { + function r(o, i) { + this.typeID = o, this.inner = i; } return r.prototype.toBytes = function() { return this.inner.toBytes(); @@ -28278,98 +27340,98 @@ function B6() { return this.inner.toJSON(); }, r; }(); - n.CLTypeDynamic = c; - }, 4854: (x, n, c) => { + n.CLTypeDynamic = s; + }, 4854(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeList = void 0; - var r = c(8905), a = c(2393), i = c(8297), m = function() { - function t(f) { + var r = s(8905), o = s(2393), i = s(8297), p = function() { + function a(f) { this.elementsType = f; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), this.elementsType.toBytes()]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return "(".concat(this.getName(), " of ").concat(this.elementsType.toString(), ")"); - }, t.prototype.getTypeID = function() { - return a.TypeID.List; - }, t.prototype.getName = function() { - return a.TypeName.List; - }, t.prototype.toJSON = function() { + }, a.prototype.getTypeID = function() { + return o.TypeID.List; + }, a.prototype.getName = function() { + return o.TypeName.List; + }, a.prototype.toJSON = function() { var f; return (f = {})[this.getName()] = this.elementsType.toJSON(), f; - }, t.fromJSON = function(f) { - return new t(i.CLTypeParser.fromInterface(f)); - }, t; + }, a.fromJSON = function(f) { + return new a(i.CLTypeParser.fromInterface(f)); + }, a; }(); - n.CLTypeList = m; - }, 6590: (x, n, c) => { + n.CLTypeList = p; + }, 6590(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeMap = n.MapJsonParsingError = void 0; - var r = c(8905), a = c(2393), i = c(8297); + var r = s(8905), o = s(2393), i = s(8297); n.MapJsonParsingError = new Error("map type parsing error"); - var m = function() { - function t(f, b) { - this.key = f, this.val = b; + var p = function() { + function a(f, C) { + this.key = f, this.val = C; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), this.key.toBytes(), this.val.toBytes()]); - }, t.prototype.toString = function() { - return "".concat(a.TypeName.Map, " (").concat(this.key.toString(), ": ").concat(this.val.toString(), ")"); - }, t.prototype.getTypeID = function() { - return a.TypeID.Map; - }, t.prototype.getName = function() { - return a.TypeName.Map; - }, t.prototype.toJSON = function() { + }, a.prototype.toString = function() { + return "".concat(o.TypeName.Map, " (").concat(this.key.toString(), ": ").concat(this.val.toString(), ")"); + }, a.prototype.getTypeID = function() { + return o.TypeID.Map; + }, a.prototype.getName = function() { + return o.TypeName.Map; + }, a.prototype.toJSON = function() { return { Map: { key: this.key.toJSON(), value: this.val.toJSON() } }; - }, t.fromJSON = function(f) { + }, a.fromJSON = function(f) { if (typeof f != "object" || f === null) throw n.MapJsonParsingError; - var b = f.key; - if (b === void 0) throw n.MapJsonParsingError; - var y = i.CLTypeParser.fromInterface(b), u = f.value; - if (u === void 0) throw n.MapJsonParsingError; - return new t(y, i.CLTypeParser.fromInterface(u)); - }, t; - }(); - n.CLTypeMap = m; - }, 9643: (x, n, c) => { + var C = f.key; + if (C === void 0) throw n.MapJsonParsingError; + var w = i.CLTypeParser.fromInterface(C), m = f.value; + if (m === void 0) throw n.MapJsonParsingError; + return new a(w, i.CLTypeParser.fromInterface(m)); + }, a; + }(); + n.CLTypeMap = p; + }, 9643(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeOption = void 0; - var r = c(8905), a = c(2393), i = c(8297), m = function() { - function t(f) { + var r = s(8905), o = s(2393), i = s(8297), p = function() { + function a(f) { this.inner = f; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), this.inner.toBytes()]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return "(".concat(this.getName(), ": ").concat(this.inner.getName(), ")"); - }, t.prototype.getTypeID = function() { - return a.TypeID.Option; - }, t.prototype.getName = function() { - return a.TypeName.Option; - }, t.prototype.toJSON = function() { + }, a.prototype.getTypeID = function() { + return o.TypeID.Option; + }, a.prototype.getName = function() { + return o.TypeName.Option; + }, a.prototype.toJSON = function() { var f; return (f = {})[this.getName()] = this.inner.toJSON(), f; - }, t.fromJSON = function(f) { - return new t(i.CLTypeParser.fromInterface(f)); - }, t; + }, a.fromJSON = function(f) { + return new a(i.CLTypeParser.fromInterface(f)); + }, a; }(); - n.CLTypeOption = m; - }, 8297: (x, n, c) => { - var r, a; + n.CLTypeOption = p; + }, 8297(g, n, s) { + var r, o; Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeParser = void 0; - var i = c(2393), m = c(9643), t = c(4854), f = c(3103), b = c(9303), y = c(6590), u = c(9299), d = c(5630), l = c(2853), s = c(1402), v = function() { - function p() { + var i = s(2393), p = s(9643), a = s(4854), f = s(3103), C = s(9303), w = s(6590), m = s(9299), v = s(5630), l = s(2853), u = s(1402), y = function() { + function d() { } - return p.getSimpleTypeByName = function(h) { - var O = p.simpleTypeByName[h]; - if (!O) throw new Error("type name is not registered, source: ".concat(h)); - return O; - }, p.fromRawJson = function(h) { + return d.getSimpleTypeByName = function(b) { + var _ = d.simpleTypeByName[b]; + if (!_) throw new Error("type name is not registered, source: ".concat(b)); + return _; + }, d.fromRawJson = function(b) { try { - return p.fromInterface(h); + return d.fromInterface(b); } catch { - return p.getSimpleTypeByName(h); + return d.getSimpleTypeByName(b); } - }, p.matchBytesToCLType = function(h) { - var O = h[0], I = h.subarray(1); - switch (O) { + }, d.matchBytesToCLType = function(b) { + var _ = b[0], E = b.subarray(1); + switch (_) { case i.TypeID.Bool: case i.TypeID.I32: case i.TypeID.I64: @@ -28385,1556 +27447,1566 @@ function B6() { case i.TypeID.URef: case i.TypeID.Any: case i.TypeID.PublicKey: - return { result: p.simpleTypeByID[O], bytes: I }; + return { result: d.simpleTypeByID[_], bytes: E }; case i.TypeID.Option: - var k = p.matchBytesToCLType(I), R = k.result, L = k.bytes; - return { result: new m.CLTypeOption(R), bytes: L }; + var B = d.matchBytesToCLType(E), O = B.result, I = B.bytes; + return { result: new p.CLTypeOption(O), bytes: I }; case i.TypeID.List: - var N = p.matchBytesToCLType(I), B = N.result, H = N.bytes; - return { result: new t.CLTypeList(B), bytes: H }; + var x = d.matchBytesToCLType(E), A = x.result, N = x.bytes; + return { result: new a.CLTypeList(A), bytes: N }; case i.TypeID.ByteArray: - var U = s.CLValueUInt32.fromBytes(I), S = U.result, T = U.bytes; - return { result: new f.CLTypeByteArray(S.toNumber()), bytes: T }; + var k = u.CLValueUInt32.fromBytes(E), j = k.result, D = k.bytes; + return { result: new f.CLTypeByteArray(j.toNumber()), bytes: D }; case i.TypeID.Result: - var E = p.matchBytesToCLType(I), M = E.result, _ = E.bytes; - if (!_) throw new Error("Missing Error type bytes in Result"); - var w = p.matchBytesToCLType(_), A = w.result, j = w.bytes; - return { result: new b.CLTypeResult(M, A), bytes: j }; + var T = d.matchBytesToCLType(E), L = T.result, R = T.bytes; + if (!R) throw new Error("Missing Error type bytes in Result"); + var M = d.matchBytesToCLType(R), P = M.result, H = M.bytes; + return { result: new C.CLTypeResult(L, P), bytes: H }; case i.TypeID.Map: - var V = p.matchBytesToCLType(I), D = V.result, z = V.bytes; - if (!z) throw new Error("Missing Key type bytes in Map"); - var J = p.matchBytesToCLType(z), G = J.result, Q = J.bytes; - return { result: new y.CLTypeMap(D, G), bytes: Q }; + var K = d.matchBytesToCLType(E), V = K.result, U = K.bytes; + if (!U) throw new Error("Missing Key type bytes in Map"); + var F = d.matchBytesToCLType(U), Q = F.result, ne = F.bytes; + return { result: new w.CLTypeMap(V, Q), bytes: ne }; case i.TypeID.Tuple1: - var ee = p.matchBytesToCLType(I), Z = ee.result, q = ee.bytes; - return { result: new u.CLTypeTuple1(Z), bytes: q }; + var te = d.matchBytesToCLType(E), X = te.result, Z = te.bytes; + return { result: new m.CLTypeTuple1(X), bytes: Z }; case i.TypeID.Tuple2: - var se = p.matchBytesToCLType(I), ue = se.result, ce = se.bytes; - if (!ce) throw new Error("Missing second tuple type bytes in CLTuple2Type"); - var ie = p.matchBytesToCLType(ce), fe = ie.result, Te = ie.bytes; - return { result: new d.CLTypeTuple2(ue, fe), bytes: Te }; + var fe = d.matchBytesToCLType(E), le = fe.result, Se = fe.bytes; + if (!Se) throw new Error("Missing second tuple type bytes in CLTuple2Type"); + var de = d.matchBytesToCLType(Se), me = de.result, Oe = de.bytes; + return { result: new v.CLTypeTuple2(le, me), bytes: Oe }; case i.TypeID.Tuple3: - var Se = p.matchBytesToCLType(I), te = Se.result, ye = Se.bytes; - if (!ye) throw new Error("Missing second tuple type bytes in CLTuple3Type"); - var ve = p.matchBytesToCLType(ye), F = ve.result, W = ve.bytes; - if (!W) throw new Error("Missing third tuple type bytes in CLTuple3Type"); - var K = p.matchBytesToCLType(W), X = K.result, ne = K.bytes; - return { result: new l.CLTypeTuple3(te, F, X), bytes: ne }; + var Ce = d.matchBytesToCLType(E), G = Ce.result, ie = Ce.bytes; + if (!ie) throw new Error("Missing second tuple type bytes in CLTuple3Type"); + var we = d.matchBytesToCLType(ie), z = we.result, J = we.bytes; + if (!J) throw new Error("Missing third tuple type bytes in CLTuple3Type"); + var q = d.matchBytesToCLType(J), re = q.result, $ = q.bytes; + return { result: new l.CLTypeTuple3(G, z, re), bytes: $ }; default: - throw p.BufferConstructorNotDetectedError; - } - }, p.fromInterface = function(h) { - return typeof h == "string" ? p.getSimpleTypeByName(h) : p.fromComplexStruct(h); - }, p.fromComplexStruct = function(h) { - if (typeof h == "object" && h !== null) { - var O = Object.keys(h); - if (O.length > 1) throw p.ComplexTypeFormatInvalidError; - var I = O[0], k = h[I]; - switch (I) { + throw d.BufferConstructorNotDetectedError; + } + }, d.fromInterface = function(b) { + return typeof b == "string" ? d.getSimpleTypeByName(b) : d.fromComplexStruct(b); + }, d.fromComplexStruct = function(b) { + if (typeof b == "object" && b !== null) { + var _ = Object.keys(b); + if (_.length > 1) throw d.ComplexTypeFormatInvalidError; + var E = _[0], B = b[E]; + switch (E) { case i.TypeName.Option: - return m.CLTypeOption.fromJSON(k); + return p.CLTypeOption.fromJSON(B); case i.TypeName.List: - return t.CLTypeList.fromJSON(k); + return a.CLTypeList.fromJSON(B); case i.TypeName.ByteArray: - return f.CLTypeByteArray.fromJSON(k); + return f.CLTypeByteArray.fromJSON(B); case i.TypeName.Result: - return b.CLTypeResult.fromJSON(k); + return C.CLTypeResult.fromJSON(B); case i.TypeName.Map: - return y.CLTypeMap.fromJSON(k); + return w.CLTypeMap.fromJSON(B); case i.TypeName.Tuple1: - return u.CLTypeTuple1.fromJSON(k); + return m.CLTypeTuple1.fromJSON(B); case i.TypeName.Tuple2: - return d.CLTypeTuple2.fromJSON(k); + return v.CLTypeTuple2.fromJSON(B); case i.TypeName.Tuple3: - return l.CLTypeTuple3.fromJSON(k); + return l.CLTypeTuple3.fromJSON(B); default: - throw p.ErrJsonConstructorNotFound; + throw d.ErrJsonConstructorNotFound; } } - throw p.ErrComplexTypeFormatNotDetected; - }, p.BufferConstructorNotDetectedError = new Error("buffer constructor not detected"), p.ComplexTypeFormatInvalidError = new Error("complex type format is invalid"), p.ErrComplexTypeFormatNotDetected = new Error("complex type format is not detected"), p.ErrJsonConstructorNotFound = new Error("json type constructor is not found"), p.simpleTypeByName = ((r = {})[i.TypeName.Bool] = i.CLTypeBool, r[i.TypeName.I32] = i.CLTypeInt32, r[i.TypeName.I64] = i.CLTypeInt64, r[i.TypeName.U8] = i.CLTypeUInt8, r[i.TypeName.U32] = i.CLTypeUInt32, r[i.TypeName.U64] = i.CLTypeUInt64, r[i.TypeName.U128] = i.CLTypeUInt128, r[i.TypeName.U256] = i.CLTypeUInt256, r[i.TypeName.U512] = i.CLTypeUInt512, r[i.TypeName.Unit] = i.CLTypeUnit, r[i.TypeName.String] = i.CLTypeString, r[i.TypeName.Key] = i.CLTypeKey, r[i.TypeName.URef] = i.CLTypeUref, r[i.TypeName.Any] = i.CLTypeAny, r[i.TypeName.PublicKey] = i.CLTypePublicKey, r), p.simpleTypeByID = ((a = {})[i.TypeID.Bool] = i.CLTypeBool, a[i.TypeID.I32] = i.CLTypeInt32, a[i.TypeID.I64] = i.CLTypeInt64, a[i.TypeID.U8] = i.CLTypeUInt8, a[i.TypeID.U32] = i.CLTypeUInt32, a[i.TypeID.U64] = i.CLTypeUInt64, a[i.TypeID.U128] = i.CLTypeUInt128, a[i.TypeID.U256] = i.CLTypeUInt256, a[i.TypeID.U512] = i.CLTypeUInt512, a[i.TypeID.Unit] = i.CLTypeUnit, a[i.TypeID.String] = i.CLTypeString, a[i.TypeID.Key] = i.CLTypeKey, a[i.TypeID.URef] = i.CLTypeUref, a[i.TypeID.Any] = i.CLTypeAny, a[i.TypeID.PublicKey] = i.CLTypePublicKey, a), p; + throw d.ErrComplexTypeFormatNotDetected; + }, d.BufferConstructorNotDetectedError = new Error("buffer constructor not detected"), d.ComplexTypeFormatInvalidError = new Error("complex type format is invalid"), d.ErrComplexTypeFormatNotDetected = new Error("complex type format is not detected"), d.ErrJsonConstructorNotFound = new Error("json type constructor is not found"), d.simpleTypeByName = ((r = {})[i.TypeName.Bool] = i.CLTypeBool, r[i.TypeName.I32] = i.CLTypeInt32, r[i.TypeName.I64] = i.CLTypeInt64, r[i.TypeName.U8] = i.CLTypeUInt8, r[i.TypeName.U32] = i.CLTypeUInt32, r[i.TypeName.U64] = i.CLTypeUInt64, r[i.TypeName.U128] = i.CLTypeUInt128, r[i.TypeName.U256] = i.CLTypeUInt256, r[i.TypeName.U512] = i.CLTypeUInt512, r[i.TypeName.Unit] = i.CLTypeUnit, r[i.TypeName.String] = i.CLTypeString, r[i.TypeName.Key] = i.CLTypeKey, r[i.TypeName.URef] = i.CLTypeUref, r[i.TypeName.Any] = i.CLTypeAny, r[i.TypeName.PublicKey] = i.CLTypePublicKey, r), d.simpleTypeByID = ((o = {})[i.TypeID.Bool] = i.CLTypeBool, o[i.TypeID.I32] = i.CLTypeInt32, o[i.TypeID.I64] = i.CLTypeInt64, o[i.TypeID.U8] = i.CLTypeUInt8, o[i.TypeID.U32] = i.CLTypeUInt32, o[i.TypeID.U64] = i.CLTypeUInt64, o[i.TypeID.U128] = i.CLTypeUInt128, o[i.TypeID.U256] = i.CLTypeUInt256, o[i.TypeID.U512] = i.CLTypeUInt512, o[i.TypeID.Unit] = i.CLTypeUnit, o[i.TypeID.String] = i.CLTypeString, o[i.TypeID.Key] = i.CLTypeKey, o[i.TypeID.URef] = i.CLTypeUref, o[i.TypeID.Any] = i.CLTypeAny, o[i.TypeID.PublicKey] = i.CLTypePublicKey, o), d; }(); - n.CLTypeParser = v; - }, 9303: (x, n, c) => { + n.CLTypeParser = y; + }, 9303(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeResult = n.ErrInvalidResultJsonFormat = void 0; - var r = c(8905), a = c(2393), i = c(8297); + var r = s(8905), o = s(2393), i = s(8297); n.ErrInvalidResultJsonFormat = new Error("invalid json format for Result type"); - var m = function() { - function t(f, b) { - this.innerOk = f, this.innerErr = b; + var p = function() { + function a(f, C) { + this.innerOk = f, this.innerErr = C; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), this.innerOk.toBytes(), this.innerErr.toBytes()]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return "(".concat(this.getName(), ": Ok(").concat(this.innerOk.getName(), "), Err(").concat(this.innerErr.getName(), "))"); - }, t.prototype.getTypeID = function() { - return a.TypeID.Result; - }, t.prototype.getName = function() { - return a.TypeName.Result; - }, t.prototype.toJSON = function() { + }, a.prototype.getTypeID = function() { + return o.TypeID.Result; + }, a.prototype.getName = function() { + return o.TypeName.Result; + }, a.prototype.toJSON = function() { var f; return (f = {})[this.getName()] = { ok: this.innerOk.toJSON(), err: this.innerErr.toJSON() }, f; - }, t.fromJSON = function(f) { + }, a.fromJSON = function(f) { if (typeof f != "object" || f === null) throw n.ErrInvalidResultJsonFormat; - var b = f.ok; - if (b === void 0) throw n.ErrInvalidResultJsonFormat; - var y = i.CLTypeParser.fromInterface(b), u = f.err; - if (u === void 0) throw n.ErrInvalidResultJsonFormat; - return new t(y, i.CLTypeParser.fromInterface(u)); - }, t; - }(); - n.CLTypeResult = m; - }, 9299: (x, n, c) => { + var C = f.ok; + if (C === void 0) throw n.ErrInvalidResultJsonFormat; + var w = i.CLTypeParser.fromInterface(C), m = f.err; + if (m === void 0) throw n.ErrInvalidResultJsonFormat; + return new a(w, i.CLTypeParser.fromInterface(m)); + }, a; + }(); + n.CLTypeResult = p; + }, 9299(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeTuple1 = void 0; - var r = c(8905), a = c(2393), i = c(8297), m = function() { - function t(f) { + var r = s(8905), o = s(2393), i = s(8297), p = function() { + function a(f) { this.inner = f; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), this.inner.toBytes()]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return "".concat(this.getName(), " (").concat(this.inner.toString(), ")"); - }, t.prototype.getTypeID = function() { - return a.TypeID.Tuple1; - }, t.prototype.getName = function() { - return a.TypeName.Tuple1; - }, t.prototype.toJSON = function() { + }, a.prototype.getTypeID = function() { + return o.TypeID.Tuple1; + }, a.prototype.getName = function() { + return o.TypeName.Tuple1; + }, a.prototype.toJSON = function() { var f; return (f = {})[this.getName()] = [this.inner.toJSON()], f; - }, t.fromJSON = function(f) { + }, a.fromJSON = function(f) { if (!Array.isArray(f) || f.length !== 1) throw new Error("invalid tuple1 type format, should be array of 1 element"); - var b = i.CLTypeParser.fromInterface(f[0]); - if (!b) throw new Error("Invalid inner type in Tuple1 JSON format"); - return new t(b); - }, t; + var C = i.CLTypeParser.fromInterface(f[0]); + if (!C) throw new Error("Invalid inner type in Tuple1 JSON format"); + return new a(C); + }, a; }(); - n.CLTypeTuple1 = m; - }, 5630: (x, n, c) => { + n.CLTypeTuple1 = p; + }, 5630(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeTuple2 = void 0; - var r = c(8905), a = c(2393), i = c(8297), m = function() { - function t(f, b) { - this.inner1 = f, this.inner2 = b; + var r = s(8905), o = s(2393), i = s(8297), p = function() { + function a(f, C) { + this.inner1 = f, this.inner2 = C; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), this.inner1.toBytes(), this.inner2.toBytes()]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return "".concat(this.getName(), " (").concat(this.inner1.toString(), ", ").concat(this.inner2.toString(), ")"); - }, t.prototype.getTypeID = function() { - return a.TypeID.Tuple2; - }, t.prototype.getName = function() { - return a.TypeName.Tuple2; - }, t.prototype.toJSON = function() { + }, a.prototype.getTypeID = function() { + return o.TypeID.Tuple2; + }, a.prototype.getName = function() { + return o.TypeName.Tuple2; + }, a.prototype.toJSON = function() { var f; return (f = {})[this.getName()] = [this.inner1.toJSON(), this.inner2.toJSON()], f; - }, t.fromJSON = function(f) { + }, a.fromJSON = function(f) { if (!Array.isArray(f) || f.length !== 2) throw new Error("invalid tuple2 type format, should be array of 2 elements"); - var b = i.CLTypeParser.fromInterface(f[0]), y = i.CLTypeParser.fromInterface(f[1]); - if (!b || !y) throw new Error("Invalid inner types in Tuple2 JSON format"); - return new t(b, y); - }, t; + var C = i.CLTypeParser.fromInterface(f[0]), w = i.CLTypeParser.fromInterface(f[1]); + if (!C || !w) throw new Error("Invalid inner types in Tuple2 JSON format"); + return new a(C, w); + }, a; }(); - n.CLTypeTuple2 = m; - }, 2853: (x, n, c) => { + n.CLTypeTuple2 = p; + }, 2853(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.CLTypeTuple3 = void 0; - var r = c(8905), a = c(2393), i = c(8297), m = function() { - function t(f, b, y) { - this.inner1 = f, this.inner2 = b, this.inner3 = y; + var r = s(8905), o = s(2393), i = s(8297), p = function() { + function a(f, C, w) { + this.inner1 = f, this.inner2 = C, this.inner3 = w; } - return t.prototype.toBytes = function() { + return a.prototype.toBytes = function() { return (0, r.concat)([Uint8Array.from([this.getTypeID()]), this.inner1.toBytes(), this.inner2.toBytes(), this.inner3.toBytes()]); - }, t.prototype.toString = function() { + }, a.prototype.toString = function() { return "".concat(this.getName(), " (").concat(this.inner1.toString(), ", ").concat(this.inner2.toString(), ", ").concat(this.inner3.toString(), ")"); - }, t.prototype.getTypeID = function() { - return a.TypeID.Tuple3; - }, t.prototype.getName = function() { - return a.TypeName.Tuple3; - }, t.prototype.toJSON = function() { + }, a.prototype.getTypeID = function() { + return o.TypeID.Tuple3; + }, a.prototype.getName = function() { + return o.TypeName.Tuple3; + }, a.prototype.toJSON = function() { var f; return (f = {})[this.getName()] = [this.inner1.toJSON(), this.inner2.toJSON(), this.inner3.toJSON()], f; - }, t.fromJSON = function(f) { + }, a.fromJSON = function(f) { if (!Array.isArray(f) || f.length !== 3) throw new Error("invalid tuple3 type format, should be array of 3 elements"); - var b = i.CLTypeParser.fromInterface(f[0]), y = i.CLTypeParser.fromInterface(f[1]), u = i.CLTypeParser.fromInterface(f[2]); - if (!b || !y || !u) throw new Error("Invalid inner types in Tuple3 JSON format"); - return new t(b, y, u); - }, t; - }(); - n.CLTypeTuple3 = m; - }, 2884: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + var C = i.CLTypeParser.fromInterface(f[0]), w = i.CLTypeParser.fromInterface(f[1]), m = i.CLTypeParser.fromInterface(f[2]); + if (!C || !w || !m) throw new Error("Invalid inner types in Tuple3 JSON format"); + return new a(C, w, m); + }, a; + }(); + n.CLTypeTuple3 = p; + }, 2884(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(3103), n), a(c(2393), n), a(c(6590), n), a(c(7389), n), a(c(4854), n), a(c(9643), n), a(c(8297), n), a(c(9303), n), a(c(9299), n), a(c(5630), n), a(c(2853), n), a(c(1559), n); - }, 5466: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(3103), n), o(s(2393), n), o(s(6590), n), o(s(7389), n), o(s(4854), n), o(s(9643), n), o(s(8297), n), o(s(9303), n), o(s(9299), n), o(s(5630), n), o(s(2853), n), o(s(1559), n); + }, 5466(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(6028), n), a(c(7948), n), a(c(6837), n), a(c(1282), n), a(c(1402), n), a(c(5216), n), a(c(8864), n), a(c(2045), n), a(c(731), n), a(c(1501), n), a(c(5729), n), a(c(8441), n), a(c(7992), n), a(c(6167), n), a(c(2996), n), a(c(5334), n), a(c(2884), n); - }, 7545: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(6028), n), o(s(7948), n), o(s(6837), n), o(s(1282), n), o(s(1402), n), o(s(5216), n), o(s(8864), n), o(s(2045), n), o(s(731), n), o(s(1501), n), o(s(5729), n), o(s(8441), n), o(s(7992), n), o(s(6167), n), o(s(2996), n), o(s(5334), n), o(s(2884), n); + }, 7545(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(602), n), a(c(3750), n), a(c(9960), n), a(c(4779), n), a(c(2142), n), a(c(4820), n), a(c(3404), n), a(c(4924), n), a(c(2535), n), a(c(8263), n), a(c(6694), n), a(c(402), n), a(c(111), n), a(c(6722), n), a(c(5495), n), a(c(8179), n), a(c(2625), n), a(c(4410), n), a(c(7889), n), a(c(3771), n), a(c(3903), n), a(c(8765), n), a(c(9153), n), a(c(4613), n), a(c(6200), n), a(c(5e3), n), a(c(121), n), a(c(6500), n), a(c(9125), n), a(c(5596), n), a(c(2151), n), a(c(5731), n), a(c(7012), n), a(c(6838), n), a(c(8057), n), a(c(8148), n), a(c(6459), n), a(c(7372), n), a(c(3401), n), a(c(5466), n), a(c(9449), n), a(c(5463), n), a(c(6586), n), a(c(678), n), a(c(2428), n); - }, 9002: function(x, n, c) { - var r, a = this && this.__extends || (r = function(u, d) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { - l.__proto__ = s; - } || function(l, s) { - for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, r(u, d); - }, function(u, d) { - if (typeof d != "function" && d !== null) throw new TypeError("Class extends value " + String(d) + " is not a constructor or null"); + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(602), n), o(s(3750), n), o(s(9960), n), o(s(4779), n), o(s(2142), n), o(s(4820), n), o(s(3404), n), o(s(4924), n), o(s(2535), n), o(s(8263), n), o(s(6694), n), o(s(402), n), o(s(111), n), o(s(6722), n), o(s(5495), n), o(s(8179), n), o(s(2625), n), o(s(4410), n), o(s(7889), n), o(s(3771), n), o(s(3903), n), o(s(8765), n), o(s(9153), n), o(s(4613), n), o(s(6200), n), o(s(5e3), n), o(s(121), n), o(s(6500), n), o(s(9125), n), o(s(5596), n), o(s(2151), n), o(s(5731), n), o(s(7012), n), o(s(6838), n), o(s(8057), n), o(s(8148), n), o(s(6459), n), o(s(7372), n), o(s(3401), n), o(s(5466), n), o(s(9449), n), o(s(5463), n), o(s(6586), n), o(s(678), n), o(s(2428), n); + }, 9002(g, n, s) { + var r, o = this && this.__extends || (r = function(m, v) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, u) { + l.__proto__ = u; + } || function(l, u) { + for (var y in u) Object.prototype.hasOwnProperty.call(u, y) && (l[y] = u[y]); + }, r(m, v); + }, function(m, v) { + if (typeof v != "function" && v !== null) throw new TypeError("Class extends value " + String(v) + " is not a constructor or null"); function l() { - this.constructor = u; - } - r(u, d), u.prototype = d === null ? Object.create(d) : (l.prototype = d.prototype, new l()); - }), i = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, m = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + this.constructor = m; + } + r(m, v), m.prototype = v === null ? Object.create(v) : (l.prototype = v.prototype, new l()); + }), i = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, p = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.AccountHash = void 0; - var t = c(9592), f = c(5869), b = c(5010), y = function(u) { - function d(s, v) { - v === void 0 && (v = ""); - var p = u.call(this, s.toBytes()) || this; - return p.originPrefix = v, p; + var a = s(9592), f = s(5869), C = s(5010), w = function(m) { + function v(u, y) { + y === void 0 && (y = ""); + var d = m.call(this, u.toBytes()) || this; + return d.originPrefix = y, d; } var l; - return a(d, u), l = d, d.fromString = function(s) { - var v = ""; - s.length === 66 && s.startsWith("00") ? v = "00" : s.startsWith(b.PrefixName.Account) && (v = b.PrefixName.Account); - var p = s.slice(v.length), h = f.Hash.fromHex(p); - return new l(h, v); - }, d.prototype.toPrefixedString = function() { - return b.PrefixName.Account + this.toHex(); - }, d.prototype.toJSON = function() { + return o(v, m), l = v, v.fromString = function(u) { + var y = ""; + u.length === 66 && u.startsWith("00") ? y = "00" : u.startsWith(C.PrefixName.Account) && (y = C.PrefixName.Account); + var d = u.slice(y.length), b = f.Hash.fromHex(d); + return new l(b, y); + }, v.prototype.toPrefixedString = function() { + return C.PrefixName.Account + this.toHex(); + }, v.prototype.toJSON = function() { return this.originPrefix + this.toHex(); - }, d.fromJSON = function(s) { - return l.fromString(s); - }, l = i([t.jsonObject, m("design:paramtypes", [f.Hash, Object])], d); + }, v.fromJSON = function(u) { + return l.fromString(u); + }, l = i([a.jsonObject, p("design:paramtypes", [f.Hash, Object])], v); }(f.Hash); - n.AccountHash = y; - }, 438: function(x, n, c) { - var r, a = this && this.__extends || (r = function(u, d) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { - l.__proto__ = s; - } || function(l, s) { - for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, r(u, d); - }, function(u, d) { - if (typeof d != "function" && d !== null) throw new TypeError("Class extends value " + String(d) + " is not a constructor or null"); + n.AccountHash = w; + }, 438(g, n, s) { + var r, o = this && this.__extends || (r = function(m, v) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, u) { + l.__proto__ = u; + } || function(l, u) { + for (var y in u) Object.prototype.hasOwnProperty.call(u, y) && (l[y] = u[y]); + }, r(m, v); + }, function(m, v) { + if (typeof v != "function" && v !== null) throw new TypeError("Class extends value " + String(v) + " is not a constructor or null"); function l() { - this.constructor = u; - } - r(u, d), u.prototype = d === null ? Object.create(d) : (l.prototype = d.prototype, new l()); - }), i = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, m = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + this.constructor = m; + } + r(m, v), m.prototype = v === null ? Object.create(v) : (l.prototype = v.prototype, new l()); + }), i = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, p = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.AddressableEntityHash = void 0; - var t = c(9592), f = c(5869), b = c(5010), y = function(u) { - function d(s, v) { - v === void 0 && (v = b.PrefixName.AddressableEntity); - var p = u.call(this, s) || this; - return p.originPrefix = v, p; + var a = s(9592), f = s(5869), C = s(5010), w = function(m) { + function v(u, y) { + y === void 0 && (y = C.PrefixName.AddressableEntity); + var d = m.call(this, u) || this; + return d.originPrefix = y, d; } var l; - return a(d, u), l = d, d.fromHex = function(s) { - var v = s.startsWith(b.PrefixName.AddressableEntity) ? b.PrefixName.AddressableEntity : "", p = f.Hash.fromHex(s.replace(v, "")); - return new l(p.toBytes(), v); - }, d.prototype.toPrefixedString = function() { - return "".concat(b.PrefixName.AddressableEntity).concat(this.toHex()); - }, d.prototype.toJSON = function() { + return o(v, m), l = v, v.fromHex = function(u) { + var y = u.startsWith(C.PrefixName.AddressableEntity) ? C.PrefixName.AddressableEntity : "", d = f.Hash.fromHex(u.replace(y, "")); + return new l(d.toBytes(), y); + }, v.prototype.toPrefixedString = function() { + return "".concat(C.PrefixName.AddressableEntity).concat(this.toHex()); + }, v.prototype.toJSON = function() { return "".concat(this.originPrefix).concat(this.toHex()); - }, d.fromJSON = function(s) { - return l.fromHex(s); - }, i([(0, t.jsonMember)({ constructor: String }), m("design:type", String)], d.prototype, "originPrefix", void 0), l = i([t.jsonObject, m("design:paramtypes", [Uint8Array, String])], d); + }, v.fromJSON = function(u) { + return l.fromHex(u); + }, i([(0, a.jsonMember)({ constructor: String }), p("design:type", String)], v.prototype, "originPrefix", void 0), l = i([a.jsonObject, p("design:paramtypes", [Uint8Array, String])], v); }(f.Hash); - n.AddressableEntityHash = y; - }, 2403: function(x, n, c) { - var r, a = c(8287).Buffer, i = this && this.__extends || (r = function(p, h) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(O, I) { - O.__proto__ = I; - } || function(O, I) { - for (var k in I) Object.prototype.hasOwnProperty.call(I, k) && (O[k] = I[k]); - }, r(p, h); - }, function(p, h) { - if (typeof h != "function" && h !== null) throw new TypeError("Class extends value " + String(h) + " is not a constructor or null"); - function O() { - this.constructor = p; - } - r(p, h), p.prototype = h === null ? Object.create(h) : (O.prototype = h.prototype, new O()); - }), m = this && this.__decorate || function(p, h, O, I) { - var k, R = arguments.length, L = R < 3 ? h : I === null ? I = Object.getOwnPropertyDescriptor(h, O) : I; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") L = Reflect.decorate(p, h, O, I); - else for (var N = p.length - 1; N >= 0; N--) (k = p[N]) && (L = (R < 3 ? k(L) : R > 3 ? k(h, O, L) : k(h, O)) || L); - return R > 3 && L && Object.defineProperty(h, O, L), L; - }, t = this && this.__metadata || function(p, h) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(p, h); + n.AddressableEntityHash = w; + }, 2403(g, n, s) { + var r, o = s(8287).Buffer, i = this && this.__extends || (r = function(d, b) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(_, E) { + _.__proto__ = E; + } || function(_, E) { + for (var B in E) Object.prototype.hasOwnProperty.call(E, B) && (_[B] = E[B]); + }, r(d, b); + }, function(d, b) { + if (typeof b != "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + function _() { + this.constructor = d; + } + r(d, b), d.prototype = b === null ? Object.create(b) : (_.prototype = b.prototype, new _()); + }), p = this && this.__decorate || function(d, b, _, E) { + var B, O = arguments.length, I = O < 3 ? b : E === null ? E = Object.getOwnPropertyDescriptor(b, _) : E; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(d, b, _, E); + else for (var x = d.length - 1; x >= 0; x--) (B = d[x]) && (I = (O < 3 ? B(I) : O > 3 ? B(b, _, I) : B(b, _)) || I); + return O > 3 && I && Object.defineProperty(b, _, I), I; + }, a = this && this.__metadata || function(d, b) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, b); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.BalanceHoldAddr = n.Hold = n.getBalanceHoldAddrTag = n.BalanceHoldAddrTagError = n.BalanceHoldAddrTag = void 0; - var f, b = c(9592), y = c(7372), u = c(5010); - (function(p) { - p[p.Gas = 0] = "Gas", p[p.Processing = 1] = "Processing"; + var f, C = s(9592), w = s(7372), m = s(5010); + (function(d) { + d[d.Gas = 0] = "Gas", d[d.Processing = 1] = "Processing"; })(f = n.BalanceHoldAddrTag || (n.BalanceHoldAddrTag = {})); - var d = function(p) { - function h(O) { - var I = p.call(this, O) || this; - return I.name = "BalanceHoldAddrTagError", I; + var v = function(d) { + function b(_) { + var E = d.call(this, _) || this; + return E.name = "BalanceHoldAddrTagError", E; } - return i(h, p), h; + return i(b, d), b; }(Error); - function l(p) { - if (p === f.Gas || p === f.Processing) return p; - throw new d("Invalid BalanceHoldAddrTag"); + function l(d) { + if (d === f.Gas || d === f.Processing) return d; + throw new v("Invalid BalanceHoldAddrTag"); } - n.BalanceHoldAddrTagError = d, n.getBalanceHoldAddrTag = l; - var s = function() { - function p(h, O) { - this.purseAddr = h, this.blockTime = O; + n.BalanceHoldAddrTagError = v, n.getBalanceHoldAddrTag = l; + var u = function() { + function d(b, _) { + this.purseAddr = b, this.blockTime = _; } - return m([(0, b.jsonMember)({ name: "PurseAddr", constructor: Uint8Array }), t("design:type", Object)], p.prototype, "purseAddr", void 0), m([(0, b.jsonMember)({ name: "BlockTime", constructor: Date, serializer: function(h) { - return new Date(h).toISOString(); - }, deserializer: function(h) { - return Date.parse(h); - } }), t("design:type", Date)], p.prototype, "blockTime", void 0), m([b.jsonObject, t("design:paramtypes", [Object, Date])], p); + return p([(0, C.jsonMember)({ name: "PurseAddr", constructor: Uint8Array }), a("design:type", Object)], d.prototype, "purseAddr", void 0), p([(0, C.jsonMember)({ name: "BlockTime", constructor: Date, serializer: function(b) { + return new Date(b).toISOString(); + }, deserializer: function(b) { + return Date.parse(b); + } }), a("design:type", Date)], d.prototype, "blockTime", void 0), p([C.jsonObject, a("design:paramtypes", [Object, Date])], d); }(); - n.Hold = s; - var v = function() { - function p(O, I) { - this.gas = O, this.processing = I; + n.Hold = u; + var y = function() { + function d(_, E) { + this.gas = _, this.processing = E; } - var h; - return h = p, p.fromString = function(O) { - var I, k, R = new Uint8Array(((I = O.match(/.{1,2}/g)) === null || I === void 0 ? void 0 : I.map(function(L) { - return parseInt(L, 16); + var b; + return b = d, d.fromString = function(_) { + var E, B, O = new Uint8Array(((E = _.match(/.{1,2}/g)) === null || E === void 0 ? void 0 : E.map(function(I) { + return parseInt(I, 16); })) || []); - return (k = h.fromBytes(R)) === null || k === void 0 ? void 0 : k.result; - }, p.prototype.toPrefixedString = function() { - var O = this.toBytes(); - return u.PrefixName.BalanceHold + y.Conversions.encodeBase16(O); - }, p.prototype.toBytes = function() { - var O = this.gas, I = f.Gas; - this.processing && (I = f.Processing, O = this.processing); - var k = new Uint8Array(41); - k[0] = I, k.set(O.purseAddr, 1); - var R = O.blockTime.getTime(), L = a.alloc(8); - return L.writeBigUInt64LE(BigInt(R)), k.set(L, 33), k; - }, p.fromBytes = function(O) { - if (O.length < 41) throw new Error("Invalid BalanceHoldAddr format"); - var I = l(O[0]), k = O.slice(1, 33), R = new DataView(O.buffer, 33).getBigUint64(0, !0), L = new Date(Number(R)), N = new s(k, L); - if (I === f.Gas) return { result: new h(N, void 0), bytes: k }; - if (I === f.Processing) return { result: new h(void 0, N), bytes: k }; - throw new d("Unexpected BalanceHoldAddr type"); - }, p.fromJSON = function(O) { - return this.fromString(O); - }, p.prototype.toJSON = function() { + return (B = b.fromBytes(O)) === null || B === void 0 ? void 0 : B.result; + }, d.prototype.toPrefixedString = function() { + var _ = this.toBytes(); + return m.PrefixName.BalanceHold + w.Conversions.encodeBase16(_); + }, d.prototype.toBytes = function() { + var _ = this.gas, E = f.Gas; + this.processing && (E = f.Processing, _ = this.processing); + var B = new Uint8Array(41); + B[0] = E, B.set(_.purseAddr, 1); + var O = _.blockTime.getTime(), I = o.alloc(8); + return I.writeBigUInt64LE(BigInt(O)), B.set(I, 33), B; + }, d.fromBytes = function(_) { + if (_.length < 41) throw new Error("Invalid BalanceHoldAddr format"); + var E = l(_[0]), B = _.slice(1, 33), O = new DataView(_.buffer, 33).getBigUint64(0, !0), I = new Date(Number(O)), x = new u(B, I); + if (E === f.Gas) return { result: new b(x, void 0), bytes: B }; + if (E === f.Processing) return { result: new b(void 0, x), bytes: B }; + throw new v("Unexpected BalanceHoldAddr type"); + }, d.fromJSON = function(_) { + return this.fromString(_); + }, d.prototype.toJSON = function() { return this.toPrefixedString(); - }, m([(0, b.jsonMember)({ name: "Gas", constructor: s }), t("design:type", s)], p.prototype, "gas", void 0), m([(0, b.jsonMember)({ name: "Processing", constructor: s }), t("design:type", s)], p.prototype, "processing", void 0), h = m([b.jsonObject, t("design:paramtypes", [s, s])], p); - }(); - n.BalanceHoldAddr = v; - }, 4561: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__decorate || function(l, s, v, p) { - var h, O = arguments.length, I = O < 3 ? s : p === null ? p = Object.getOwnPropertyDescriptor(s, v) : p; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(l, s, v, p); - else for (var k = l.length - 1; k >= 0; k--) (h = l[k]) && (I = (O < 3 ? h(I) : O > 3 ? h(s, v, I) : h(s, v)) || I); - return O > 3 && I && Object.defineProperty(s, v, I), I; - }, i = this && this.__metadata || function(l, s) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, s); - }, m = this && this.__spreadArray || function(l, s, v) { - if (v || arguments.length === 2) for (var p, h = 0, O = s.length; h < O; h++) !p && h in s || (p || (p = Array.prototype.slice.call(s, 0, h)), p[h] = s[h]); - return l.concat(p || Array.prototype.slice.call(s)); + }, p([(0, C.jsonMember)({ name: "Gas", constructor: u }), a("design:type", u)], d.prototype, "gas", void 0), p([(0, C.jsonMember)({ name: "Processing", constructor: u }), a("design:type", u)], d.prototype, "processing", void 0), b = p([C.jsonObject, a("design:paramtypes", [u, u])], d); + }(); + n.BalanceHoldAddr = y; + }, 4561(g, n, s) { + var r = s(8287).Buffer, o = this && this.__decorate || function(l, u, y, d) { + var b, _ = arguments.length, E = _ < 3 ? u : d === null ? d = Object.getOwnPropertyDescriptor(u, y) : d; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(l, u, y, d); + else for (var B = l.length - 1; B >= 0; B--) (b = l[B]) && (E = (_ < 3 ? b(E) : _ > 3 ? b(u, y, E) : b(u, y)) || E); + return _ > 3 && E && Object.defineProperty(u, y, E), E; + }, i = this && this.__metadata || function(l, u) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, u); + }, p = this && this.__spreadArray || function(l, u, y) { + if (y || arguments.length === 2) for (var d, b = 0, _ = u.length; b < _; b++) !d && b in u || (d || (d = Array.prototype.slice.call(u, 0, b)), d[b] = u[b]); + return l.concat(d || Array.prototype.slice.call(u)); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.BidAddr = n.ErrInvalidBidAddrFormat = n.ErrUnexpectedBidAddrTagInBidAddr = n.ErrInvalidBidAddrTag = n.BidAddrTag = void 0; - var t, f = c(6077), b = c(9592), y = c(5869), u = c(7889); + var a, f = s(6077), C = s(9592), w = s(5869), m = s(7889); (function(l) { - l[l.UnifiedTag = 0] = "UnifiedTag", l[l.ValidatorTag = 1] = "ValidatorTag", l[l.DelegatedAccountTag = 2] = "DelegatedAccountTag", l[l.DelegatedPurseTag = 3] = "DelegatedPurseTag", l[l.CreditTag = 4] = "CreditTag", l[l.ReservedDelegationAccountTag = 5] = "ReservedDelegationAccountTag", l[l.ReservedDelegationPurseTag = 6] = "ReservedDelegationPurseTag", l[l.UnbondAccountTag = 7] = "UnbondAccountTag", l[l.UnbondPurseTag = 8] = "UnbondPurseTag"; - })(t = n.BidAddrTag || (n.BidAddrTag = {})), n.ErrInvalidBidAddrTag = new Error("Invalid BidAddrTag"), n.ErrUnexpectedBidAddrTagInBidAddr = new Error("Unexpected BidAddrTag in BidAddr"), n.ErrInvalidBidAddrFormat = new Error("Invalid BidAddr format"); - var d = function() { + l[l.UnifiedTag = 0] = "UnifiedTag", l[l.ValidatorTag = 1] = "ValidatorTag", l[l.DelegatedAccountTag = 2] = "DelegatedAccountTag", l[l.DelegatedPurseTag = 3] = "DelegatedPurseTag", l[l.CreditTag = 4] = "CreditTag", l[l.ReservedDelegationAccountTag = 5] = "ReservedDelegationAccountTag", l[l.ReservedDelegationPurseTag = 6] = "ReservedDelegationPurseTag", l[l.UnbondAccountTag = 7] = "UnbondAccountTag", l[l.UnbondPurseTag = 8] = "UnbondPurseTag", l[l.ValidatorRevTag = 9] = "ValidatorRevTag"; + })(a = n.BidAddrTag || (n.BidAddrTag = {})), n.ErrInvalidBidAddrTag = new Error("Invalid BidAddrTag"), n.ErrUnexpectedBidAddrTagInBidAddr = new Error("Unexpected BidAddrTag in BidAddr"), n.ErrInvalidBidAddrFormat = new Error("Invalid BidAddr format"); + var v = function() { function l() { } - var s; - return s = l, l.bidAddrTag = function(v) { - var p = v; - if (!Object.values(t).includes(p)) throw n.ErrInvalidBidAddrTag; - return p; + var u; + return u = l, l.bidAddrTag = function(y) { + var d = y; + if (!Object.values(a).includes(d)) throw n.ErrInvalidBidAddrTag; + return d; }, l.prototype.getTag = function() { return this.tag; - }, l.fromHex = function(v) { - var p, h, O, I, k, R = r.from(v, "hex"); - if (R.length === 0) throw new Error("Wrong key length."); - var L = s.bidAddrTag(R[0]), N = new s(); - switch (N.tag = L, L) { - case t.UnifiedTag: - case t.ValidatorTag: - if (R.length !== 33) throw new Error("Wrong key length for ".concat(t[L], " BidAddr. Expected 33 bytes.")); - N[L === t.UnifiedTag ? "unified" : "validator"] = (p = y.Hash.fromBytes(R.slice(1, 33))) === null || p === void 0 ? void 0 : p.result; + }, l.fromHex = function(y) { + var d, b, _, E, B, O, I = r.from(y, "hex"); + if (I.length === 0) throw new Error("Wrong key length."); + var x = u.bidAddrTag(I[0]), A = new u(); + switch (A.tag = x, x) { + case a.UnifiedTag: + case a.ValidatorTag: + case a.ValidatorRevTag: + if (I.length !== 33) throw new Error("Wrong key length for ".concat(a[x], " BidAddr. Expected 33 bytes.")); + x === a.UnifiedTag ? A.unified = (d = w.Hash.fromBytes(I.slice(1, 33))) === null || d === void 0 ? void 0 : d.result : A.validator = (b = w.Hash.fromBytes(I.slice(1, 33))) === null || b === void 0 ? void 0 : b.result; break; - case t.DelegatedAccountTag: - case t.ReservedDelegationAccountTag: - case t.UnbondAccountTag: - if (R.length !== 65) throw new Error("Wrong key length for ".concat(t[L], " BidAddr. Expected 65 bytes.")); - N.validator = (h = y.Hash.fromBytes(R.slice(1, 33))) === null || h === void 0 ? void 0 : h.result, N.delegatorAccount = (O = y.Hash.fromBytes(R.slice(33))) === null || O === void 0 ? void 0 : O.result; + case a.DelegatedAccountTag: + case a.ReservedDelegationAccountTag: + case a.UnbondAccountTag: + if (I.length !== 65) throw new Error("Wrong key length for ".concat(a[x], " BidAddr. Expected 65 bytes.")); + A.validator = (_ = w.Hash.fromBytes(I.slice(1, 33))) === null || _ === void 0 ? void 0 : _.result, A.delegatorAccount = (E = w.Hash.fromBytes(I.slice(33))) === null || E === void 0 ? void 0 : E.result; break; - case t.DelegatedPurseTag: - case t.ReservedDelegationPurseTag: - case t.UnbondPurseTag: - if (R.length !== 65) throw new Error("Wrong key length for ".concat(t[L], " BidAddr. Expected 65 bytes.")); - N.validator = (I = y.Hash.fromBytes(R.slice(1, 33))) === null || I === void 0 ? void 0 : I.result, N.delegatorPurseAddress = new u.HexBytes(R.slice(33)).toHex(); + case a.DelegatedPurseTag: + case a.ReservedDelegationPurseTag: + case a.UnbondPurseTag: + if (I.length !== 65) throw new Error("Wrong key length for ".concat(a[x], " BidAddr. Expected 65 bytes.")); + A.validator = (B = w.Hash.fromBytes(I.slice(1, 33))) === null || B === void 0 ? void 0 : B.result, A.delegatorPurseAddress = new m.HexBytes(I.slice(33)).toHex(); break; - case t.CreditTag: - if (R.length !== 41) throw new Error("Wrong key length for Credit BidAddr. Expected 41 bytes."); - N.validator = (k = y.Hash.fromBytes(R.slice(1, 33))) === null || k === void 0 ? void 0 : k.result, N.eraId = R.readUInt32LE(33); + case a.CreditTag: + if (I.length !== 41) throw new Error("Wrong key length for Credit BidAddr. Expected 41 bytes."); + A.validator = (O = w.Hash.fromBytes(I.slice(1, 33))) === null || O === void 0 ? void 0 : O.result, A.eraId = I.readUInt32LE(33); break; default: - throw new Error("Wrong BidAddr tag ".concat(L, ".")); + throw new Error("Wrong BidAddr tag ".concat(x, ".")); } - return N; - }, l.fromBytes = function(v) { - if (v.length < 33) throw n.ErrInvalidBidAddrFormat; - var p = v[0], h = v.subarray(1), O = s.bidAddrTag(p), I = new s(); - I.tag = O; - var k = function(ue) { - var ce = y.Hash.fromBytes(ue), ie = ce.result, fe = ce.bytes, Te = y.Hash.fromBytes(fe); - return { validator: ie, delegator: Te.result, bytes: Te.bytes }; - }, R = function(ue) { - var ce = y.Hash.fromBytes(ue), ie = ce.result, fe = ce.bytes, Te = new u.HexBytes(fe); - return { validator: ie, delegator: Te.toHex(), bytes: Te.bytes }; + return A; + }, l.fromBytes = function(y) { + if (y.length < 33) throw n.ErrInvalidBidAddrFormat; + var d = y[0], b = y.subarray(1), _ = u.bidAddrTag(d), E = new u(); + E.tag = _; + var B = function(me) { + var Oe = w.Hash.fromBytes(me), Ce = Oe.result, G = Oe.bytes, ie = w.Hash.fromBytes(G); + return { validator: Ce, delegator: ie.result, bytes: ie.bytes }; + }, O = function(me) { + var Oe = w.Hash.fromBytes(me), Ce = Oe.result, G = Oe.bytes, ie = new m.HexBytes(G); + return { validator: Ce, delegator: ie.toHex(), bytes: ie.bytes }; }; - switch (O) { - case t.UnifiedTag: - var L = y.Hash.fromBytes(h), N = L.result, B = L.bytes; - return I.unified = N, { result: I, bytes: B }; - case t.ValidatorTag: - var H = y.Hash.fromBytes(h), U = H.result, S = H.bytes; - return I.validator = U, { result: I, bytes: S }; - case t.DelegatedAccountTag: - var T = k(h), E = T.validator, M = T.delegator, _ = T.bytes; - return I.delegatorAccount = M, I.validator = E, { result: I, bytes: _ }; - case t.CreditTag: - var w = y.Hash.fromBytes(h), A = (E = w.result, w.bytes), j = Uint8Array.from(A.subarray(0, 8)); - return I.eraId = f.BigNumber.from(j.slice().reverse()).toNumber(), I.validator = E, { result: I, bytes: A }; - case t.DelegatedPurseTag: - var V = R(h), D = (E = V.validator, M = V.delegator, V.bytes); - return I.validator = E, I.delegatorPurseAddress = M, { result: I, bytes: D }; - case t.ReservedDelegationAccountTag: - var z = k(h), J = (E = z.validator, M = z.delegator, z.bytes); - return I.validator = E, I.delegatorAccount = M, { result: I, bytes: J }; - case t.ReservedDelegationPurseTag: - var G = R(h), Q = (E = G.validator, M = G.delegator, G.bytes); - return I.validator = E, I.delegatorPurseAddress = M, { result: I, bytes: Q }; - case t.UnbondAccountTag: - var ee = k(h), Z = (E = ee.validator, M = ee.delegator, ee.bytes); - return I.validator = E, I.delegatorAccount = M, { result: I, bytes: Z }; - case t.UnbondPurseTag: - var q = R(h), se = (E = q.validator, M = q.delegator, q.bytes); - return I.validator = E, I.delegatorPurseAddress = M, { result: I, bytes: se }; + switch (_) { + case a.UnifiedTag: + var I = w.Hash.fromBytes(b), x = I.result, A = I.bytes; + return E.unified = x, { result: E, bytes: A }; + case a.ValidatorTag: + var N = w.Hash.fromBytes(b), k = N.result, j = N.bytes; + return E.validator = k, { result: E, bytes: j }; + case a.DelegatedAccountTag: + var D = B(b), T = D.validator, L = D.delegator, R = D.bytes; + return E.delegatorAccount = L, E.validator = T, { result: E, bytes: R }; + case a.CreditTag: + var M = w.Hash.fromBytes(b), P = (T = M.result, M.bytes), H = Uint8Array.from(P.subarray(0, 8)); + return E.eraId = f.BigNumber.from(H.slice().reverse()).toNumber(), E.validator = T, { result: E, bytes: P }; + case a.DelegatedPurseTag: + var K = O(b), V = (T = K.validator, L = K.delegator, K.bytes); + return E.validator = T, E.delegatorPurseAddress = L, { result: E, bytes: V }; + case a.ReservedDelegationAccountTag: + var U = B(b), F = (T = U.validator, L = U.delegator, U.bytes); + return E.validator = T, E.delegatorAccount = L, { result: E, bytes: F }; + case a.ReservedDelegationPurseTag: + var Q = O(b), ne = (T = Q.validator, L = Q.delegator, Q.bytes); + return E.validator = T, E.delegatorPurseAddress = L, { result: E, bytes: ne }; + case a.UnbondAccountTag: + var te = B(b), X = (T = te.validator, L = te.delegator, te.bytes); + return E.validator = T, E.delegatorAccount = L, { result: E, bytes: X }; + case a.UnbondPurseTag: + var Z = O(b), fe = (T = Z.validator, L = Z.delegator, Z.bytes); + return E.validator = T, E.delegatorPurseAddress = L, { result: E, bytes: fe }; + case a.ValidatorRevTag: + var le = w.Hash.fromBytes(b), Se = le.result, de = le.bytes; + return E.validator = Se, { result: E, bytes: de }; default: throw n.ErrInvalidBidAddrFormat; } }, l.prototype.toPrefixedString = function() { return "bid-addr-".concat(this.toHex()); }, l.prototype.toHex = function() { - var v = this.tag.toString(16).padStart(2, "0"); + var y = this.tag.toString(16).padStart(2, "0"); switch (this.tag) { - case t.UnifiedTag: - if (!this.unified) throw new Error("Missing 'unified' field for tag ".concat(t.UnifiedTag)); - return "".concat(v).concat(this.unified.toHex()); - case t.ValidatorTag: - if (!this.validator) throw new Error("Missing 'validator' field for tag ".concat(t.ValidatorTag)); - return "".concat(v).concat(this.validator.toHex()); - case t.DelegatedAccountTag: - if (!this.validator || !this.delegatorAccount) throw new Error("Missing 'validator' or 'delegatorAccount' field for tag ".concat(t.DelegatedAccountTag)); - return "".concat(v).concat(this.validator.toHex()).concat(this.delegatorAccount.toHex()); - case t.DelegatedPurseTag: - if (!this.validator || !this.delegatorPurseAddress) throw new Error("Missing 'validator' or 'delegatorPurseAddress' field for tag ".concat(t.DelegatedPurseTag)); - return "".concat(v).concat(this.validator.toHex()).concat(this.delegatorPurseAddress); - case t.CreditTag: - if (!this.validator || this.eraId === void 0) throw new Error("Missing 'validator' or 'eraId' field for tag ".concat(t.CreditTag)); - var p = r.alloc(8); - return p.writeUInt32LE(this.eraId, 0), "".concat(v).concat(this.validator.toHex()).concat(p.toString("hex")); - case t.ReservedDelegationAccountTag: - if (!this.validator || !this.delegatorAccount) throw new Error("Missing 'validator' or 'delegatorAccount' field for tag ".concat(t.ReservedDelegationAccountTag)); - return "".concat(v).concat(this.validator.toHex()).concat(this.delegatorAccount.toHex()); - case t.ReservedDelegationPurseTag: - if (!this.validator || !this.delegatorPurseAddress) throw new Error("Missing 'validator' or 'delegatorPurseAddress' field for tag ".concat(t.ReservedDelegationPurseTag)); - return "".concat(v).concat(this.validator.toHex()).concat(this.delegatorPurseAddress); - case t.UnbondAccountTag: - if (!this.validator || !this.delegatorAccount) throw new Error("Missing 'validator' or 'delegatorAccount' field for tag ".concat(t.UnbondAccountTag)); - return "".concat(v).concat(this.validator.toHex()).concat(this.delegatorAccount.toHex()); - case t.UnbondPurseTag: - if (!this.validator || !this.delegatorPurseAddress) throw new Error("Missing 'validator' or 'delegatorPurseAddress' field for tag ".concat(t.UnbondPurseTag)); - return "".concat(v).concat(this.validator.toHex()).concat(this.delegatorPurseAddress); + case a.UnifiedTag: + if (!this.unified) throw new Error("Missing 'unified' field for tag ".concat(a.UnifiedTag)); + return "".concat(y).concat(this.unified.toHex()); + case a.ValidatorTag: + if (!this.validator) throw new Error("Missing 'validator' field for tag ".concat(a.ValidatorTag)); + return "".concat(y).concat(this.validator.toHex()); + case a.DelegatedAccountTag: + if (!this.validator || !this.delegatorAccount) throw new Error("Missing 'validator' or 'delegatorAccount' field for tag ".concat(a.DelegatedAccountTag)); + return "".concat(y).concat(this.validator.toHex()).concat(this.delegatorAccount.toHex()); + case a.DelegatedPurseTag: + if (!this.validator || !this.delegatorPurseAddress) throw new Error("Missing 'validator' or 'delegatorPurseAddress' field for tag ".concat(a.DelegatedPurseTag)); + return "".concat(y).concat(this.validator.toHex()).concat(this.delegatorPurseAddress); + case a.CreditTag: + if (!this.validator || this.eraId === void 0) throw new Error("Missing 'validator' or 'eraId' field for tag ".concat(a.CreditTag)); + var d = r.alloc(8); + return d.writeUInt32LE(this.eraId, 0), "".concat(y).concat(this.validator.toHex()).concat(d.toString("hex")); + case a.ReservedDelegationAccountTag: + if (!this.validator || !this.delegatorAccount) throw new Error("Missing 'validator' or 'delegatorAccount' field for tag ".concat(a.ReservedDelegationAccountTag)); + return "".concat(y).concat(this.validator.toHex()).concat(this.delegatorAccount.toHex()); + case a.ReservedDelegationPurseTag: + if (!this.validator || !this.delegatorPurseAddress) throw new Error("Missing 'validator' or 'delegatorPurseAddress' field for tag ".concat(a.ReservedDelegationPurseTag)); + return "".concat(y).concat(this.validator.toHex()).concat(this.delegatorPurseAddress); + case a.UnbondAccountTag: + if (!this.validator || !this.delegatorAccount) throw new Error("Missing 'validator' or 'delegatorAccount' field for tag ".concat(a.UnbondAccountTag)); + return "".concat(y).concat(this.validator.toHex()).concat(this.delegatorAccount.toHex()); + case a.UnbondPurseTag: + if (!this.validator || !this.delegatorPurseAddress) throw new Error("Missing 'validator' or 'delegatorPurseAddress' field for tag ".concat(a.UnbondPurseTag)); + return "".concat(y).concat(this.validator.toHex()).concat(this.delegatorPurseAddress); + case a.ValidatorRevTag: + if (!this.validator) throw new Error("Missing 'validator' field for tag ".concat(a.ValidatorRevTag)); + return "".concat(y).concat(this.validator.toHex()); default: throw new Error("Unexpected BidAddr type: ".concat(this.tag)); } }, l.prototype.toBytes = function() { - var v = this.getTag(), p = function(O) { - for (var I, k = [], R = 1; R < arguments.length; R++) k[R - 1] = arguments[R]; - return I = m([r.from([O])], k.map(r.from), !0), r.concat(I); + var y = this.getTag(), d = function(_) { + for (var E, B = [], O = 1; O < arguments.length; O++) B[O - 1] = arguments[O]; + return E = p([r.from([_])], B.map(r.from), !0), r.concat(E); }; - switch (v) { - case t.UnifiedTag: - return new Uint8Array(p(v, this.unified.toBytes())); - case t.ValidatorTag: - return new Uint8Array(p(v, this.validator.toBytes())); - case t.DelegatedAccountTag: - if (this.delegatorAccount && this.validator) return new Uint8Array(p(v, this.validator.toBytes(), this.delegatorAccount.toBytes())); + switch (y) { + case a.UnifiedTag: + return new Uint8Array(d(y, this.unified.toBytes())); + case a.ValidatorTag: + return new Uint8Array(d(y, this.validator.toBytes())); + case a.DelegatedAccountTag: + if (this.delegatorAccount && this.validator) return new Uint8Array(d(y, this.validator.toBytes(), this.delegatorAccount.toBytes())); break; - case t.DelegatedPurseTag: - if (this.delegatorPurseAddress && this.validator) return new Uint8Array(p(v, this.validator.toBytes(), u.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); + case a.DelegatedPurseTag: + if (this.delegatorPurseAddress && this.validator) return new Uint8Array(d(y, this.validator.toBytes(), m.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); break; - case t.CreditTag: + case a.CreditTag: if (this.validator && this.eraId) { - var h = r.alloc(8); - return h.writeBigUInt64LE(BigInt(this.eraId), 0), new Uint8Array(p(v, this.validator.toBytes(), new Uint8Array(h))); + var b = r.alloc(8); + return b.writeBigUInt64LE(BigInt(this.eraId), 0), new Uint8Array(d(y, this.validator.toBytes(), new Uint8Array(b))); } break; - case t.ReservedDelegationAccountTag: - if (this.validator && this.delegatorAccount) return new Uint8Array(p(v, this.validator.toBytes(), this.delegatorAccount.toBytes())); + case a.ReservedDelegationAccountTag: + if (this.validator && this.delegatorAccount) return new Uint8Array(d(y, this.validator.toBytes(), this.delegatorAccount.toBytes())); break; - case t.ReservedDelegationPurseTag: - if (this.delegatorPurseAddress && this.validator) return new Uint8Array(p(v, this.validator.toBytes(), u.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); + case a.ReservedDelegationPurseTag: + if (this.delegatorPurseAddress && this.validator) return new Uint8Array(d(y, this.validator.toBytes(), m.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); break; - case t.UnbondAccountTag: - if (this.validator && this.delegatorAccount) return new Uint8Array(p(v, this.validator.toBytes(), this.delegatorAccount.toBytes())); + case a.UnbondAccountTag: + if (this.validator && this.delegatorAccount) return new Uint8Array(d(y, this.validator.toBytes(), this.delegatorAccount.toBytes())); break; - case t.UnbondPurseTag: - if (this.delegatorPurseAddress && this.validator) return new Uint8Array(p(v, this.validator.toBytes(), u.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); + case a.UnbondPurseTag: + if (this.delegatorPurseAddress && this.validator) return new Uint8Array(d(y, this.validator.toBytes(), m.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); + break; + case a.ValidatorRevTag: + if (this.validator) return new Uint8Array(d(y, this.validator.toBytes())); break; default: - throw new Error("Unexpected BidAddr type: Unknown type byte ".concat(v)); + throw new Error("Unexpected BidAddr type: Unknown type byte ".concat(y)); } - throw new Error("Unexpected BidAddr type: Missing required fields for type byte ".concat(v)); - }, l.fromJSON = function(v) { - return this.fromHex(v); + throw new Error("Unexpected BidAddr type: Missing required fields for type byte ".concat(y)); + }, l.fromJSON = function(y) { + return this.fromHex(y); }, l.prototype.toJSON = function() { return this.toPrefixedString(); - }, a([(0, b.jsonMember)({ name: "Unified", constructor: y.Hash }), i("design:type", y.Hash)], l.prototype, "unified", void 0), a([(0, b.jsonMember)({ name: "Validator", constructor: y.Hash }), i("design:type", y.Hash)], l.prototype, "validator", void 0), a([(0, b.jsonMember)({ name: "DelegatorAccount", constructor: y.Hash }), i("design:type", y.Hash)], l.prototype, "delegatorAccount", void 0), a([(0, b.jsonMember)({ name: "DelegatorPurseAddress", constructor: String }), i("design:type", String)], l.prototype, "delegatorPurseAddress", void 0), a([(0, b.jsonMember)({ name: "EraId", constructor: Number }), i("design:type", Number)], l.prototype, "eraId", void 0), s = a([b.jsonObject], l); - }(); - n.BidAddr = d; - }, 1636: function(x, n, c) { - var r, a = this && this.__extends || (r = function(s, v) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(p, h) { - p.__proto__ = h; - } || function(p, h) { - for (var O in h) Object.prototype.hasOwnProperty.call(h, O) && (p[O] = h[O]); - }, r(s, v); - }, function(s, v) { - if (typeof v != "function" && v !== null) throw new TypeError("Class extends value " + String(v) + " is not a constructor or null"); - function p() { - this.constructor = s; - } - r(s, v), s.prototype = v === null ? Object.create(v) : (p.prototype = v.prototype, new p()); - }), i = this && this.__decorate || function(s, v, p, h) { - var O, I = arguments.length, k = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, p) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, p, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (I < 3 ? O(k) : I > 3 ? O(v, p, k) : O(v, p)) || k); - return I > 3 && k && Object.defineProperty(v, p, k), k; - }, m = this && this.__metadata || function(s, v) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); + }, o([(0, C.jsonMember)({ name: "Unified", constructor: w.Hash }), i("design:type", w.Hash)], l.prototype, "unified", void 0), o([(0, C.jsonMember)({ name: "Validator", constructor: w.Hash }), i("design:type", w.Hash)], l.prototype, "validator", void 0), o([(0, C.jsonMember)({ name: "DelegatorAccount", constructor: w.Hash }), i("design:type", w.Hash)], l.prototype, "delegatorAccount", void 0), o([(0, C.jsonMember)({ name: "DelegatorPurseAddress", constructor: String }), i("design:type", String)], l.prototype, "delegatorPurseAddress", void 0), o([(0, C.jsonMember)({ name: "EraId", constructor: Number }), i("design:type", Number)], l.prototype, "eraId", void 0), u = o([C.jsonObject], l); + }(); + n.BidAddr = v; + }, 1636(g, n, s) { + var r, o = this && this.__extends || (r = function(u, y) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) { + d.__proto__ = b; + } || function(d, b) { + for (var _ in b) Object.prototype.hasOwnProperty.call(b, _) && (d[_] = b[_]); + }, r(u, y); + }, function(u, y) { + if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); + function d() { + this.constructor = u; + } + r(u, y), u.prototype = y === null ? Object.create(y) : (d.prototype = y.prototype, new d()); + }), i = this && this.__decorate || function(u, y, d, b) { + var _, E = arguments.length, B = E < 3 ? y : b === null ? b = Object.getOwnPropertyDescriptor(y, d) : b; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(u, y, d, b); + else for (var O = u.length - 1; O >= 0; O--) (_ = u[O]) && (B = (E < 3 ? _(B) : E > 3 ? _(y, d, B) : _(y, d)) || B); + return E > 3 && B && Object.defineProperty(y, d, B), B; + }, p = this && this.__metadata || function(u, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, y); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.BlockGlobalAddr = n.getBlockGlobalAddrTag = n.BlockGlobalAddrTagError = n.BlockGlobalAddrTag = void 0; - var t, f = c(9592); - (function(s) { - s[s.BlockTime = 0] = "BlockTime", s[s.MessageCount = 1] = "MessageCount"; - })(t = n.BlockGlobalAddrTag || (n.BlockGlobalAddrTag = {})); - var b = function(s) { - function v(p) { - var h = s.call(this, p) || this; - return h.name = "BlockGlobalAddrTagError", h; - } - return a(v, s), v; + var a, f = s(9592); + (function(u) { + u[u.BlockTime = 0] = "BlockTime", u[u.MessageCount = 1] = "MessageCount"; + })(a = n.BlockGlobalAddrTag || (n.BlockGlobalAddrTag = {})); + var C = function(u) { + function y(d) { + var b = u.call(this, d) || this; + return b.name = "BlockGlobalAddrTagError", b; + } + return o(y, u), y; }(Error); - function y(s) { - if (s === t.BlockTime || s === t.MessageCount) return s; - throw new b("Invalid BlockGlobalAddrTag"); + function w(u) { + if (u === a.BlockTime || u === a.MessageCount) return u; + throw new C("Invalid BlockGlobalAddrTag"); } - n.BlockGlobalAddrTagError = b, n.getBlockGlobalAddrTag = y; - var u = "time-", d = "message-count-", l = function() { - function s(p, h) { - this.blockTime = p, this.messageCount = h; + n.BlockGlobalAddrTagError = C, n.getBlockGlobalAddrTag = w; + var m = "time-", v = "message-count-", l = function() { + function u(d, b) { + this.blockTime = d, this.messageCount = b; } - var v; - return v = s, s.fromString = function(p) { - if (p.startsWith(u)) return new v({}, void 0); - if (p.startsWith(d)) return new v(void 0, {}); + var y; + return y = u, u.fromString = function(d) { + if (d.startsWith(m)) return new y({}, void 0); + if (d.startsWith(v)) return new y(void 0, {}); throw new Error("Invalid BlockGlobalAddr format"); - }, s.prototype.toPrefixedString = function() { - var p = this.blockTime ? u : d, h = "0".repeat(64); - return "".concat("block-global-").concat(p).concat(h); - }, s.fromBytes = function(p) { - var h = y(p[0]); - if (h === t.BlockTime) return { result: new v({}, void 0), bytes: p }; - if (h === t.MessageCount) return { result: new v(void 0, {}), bytes: p }; + }, u.prototype.toPrefixedString = function() { + var d = this.blockTime ? m : v, b = "0".repeat(64); + return "".concat("block-global-").concat(d).concat(b); + }, u.fromBytes = function(d) { + var b = w(d[0]); + if (b === a.BlockTime) return { result: new y({}, void 0), bytes: d }; + if (b === a.MessageCount) return { result: new y(void 0, {}), bytes: d }; throw new Error("Unexpected BlockGlobalAddr type"); - }, s.prototype.toBytes = function() { - var p = this.messageCount ? t.MessageCount : t.BlockTime; - return Uint8Array.of(p); - }, s.fromJSON = function(p) { - return this.fromString(p); - }, s.prototype.toJSON = function() { + }, u.prototype.toBytes = function() { + var d = this.messageCount ? a.MessageCount : a.BlockTime; + return Uint8Array.of(d); + }, u.fromJSON = function(d) { + return this.fromString(d); + }, u.prototype.toJSON = function() { return this.toPrefixedString(); - }, i([(0, f.jsonMember)({ name: "BlockTime", constructor: Object }), m("design:type", Object)], s.prototype, "blockTime", void 0), i([(0, f.jsonMember)({ name: "MessageCount", constructor: Object }), m("design:type", Object)], s.prototype, "messageCount", void 0), v = i([f.jsonObject, m("design:paramtypes", [Object, Object])], s); + }, i([(0, f.jsonMember)({ name: "BlockTime", constructor: Object }), p("design:type", Object)], u.prototype, "blockTime", void 0), i([(0, f.jsonMember)({ name: "MessageCount", constructor: Object }), p("design:type", Object)], u.prototype, "messageCount", void 0), y = i([f.jsonObject, p("design:paramtypes", [Object, Object])], u); }(); n.BlockGlobalAddr = l; - }, 9682: function(x, n, c) { - var r, a = this && this.__extends || (r = function(l, s) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(v, p) { - v.__proto__ = p; - } || function(v, p) { - for (var h in p) Object.prototype.hasOwnProperty.call(p, h) && (v[h] = p[h]); - }, r(l, s); - }, function(l, s) { - if (typeof s != "function" && s !== null) throw new TypeError("Class extends value " + String(s) + " is not a constructor or null"); - function v() { + }, 9682(g, n, s) { + var r, o = this && this.__extends || (r = function(l, u) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(y, d) { + y.__proto__ = d; + } || function(y, d) { + for (var b in d) Object.prototype.hasOwnProperty.call(d, b) && (y[b] = d[b]); + }, r(l, u); + }, function(l, u) { + if (typeof u != "function" && u !== null) throw new TypeError("Class extends value " + String(u) + " is not a constructor or null"); + function y() { this.constructor = l; } - r(l, s), l.prototype = s === null ? Object.create(s) : (v.prototype = s.prototype, new v()); + r(l, u), l.prototype = u === null ? Object.create(u) : (y.prototype = u.prototype, new y()); }); Object.defineProperty(n, "__esModule", { value: !0 }), n.ByteCode = void 0; - var i, m = c(8905), t = c(5869), f = c(5010); + var i, p = s(8905), a = s(5869), f = s(5010); (function(l) { l[l.EmptyKind = 0] = "EmptyKind", l[l.V1CasperWasmKind = 1] = "V1CasperWasmKind"; })(i || (i = {})); - var b = "empty-", y = "v1-wasm-", u = function(l) { - function s(v) { - var p = l.call(this, v) || this; - return p.name = "ByteCodeError", p; - } - return a(s, l), s.ErrInvalidByteCodeFormat = new s("Invalid ByteCode format"), s.ErrInvalidByteCodeKind = new s("Invalid ByteCodeKind"), s; - }(Error), d = function() { - function l(s, v) { - v === void 0 && (v = !1), this.V1CasperWasm = s, this.isEmpty = v; - } - return l.fromJSON = function(s) { - if (s.startsWith(y)) return new l(t.Hash.fromHex(s.replace(y, ""))); - if (s.startsWith(b)) return new l(void 0, !0); - throw u.ErrInvalidByteCodeFormat; + var C = "empty-", w = "v1-wasm-", m = function(l) { + function u(y) { + var d = l.call(this, y) || this; + return d.name = "ByteCodeError", d; + } + return o(u, l), u.ErrInvalidByteCodeFormat = new u("Invalid ByteCode format"), u.ErrInvalidByteCodeKind = new u("Invalid ByteCodeKind"), u; + }(Error), v = function() { + function l(u, y) { + y === void 0 && (y = !1), this.V1CasperWasm = u, this.isEmpty = y; + } + return l.fromJSON = function(u) { + if (u.startsWith(w)) return new l(a.Hash.fromHex(u.replace(w, ""))); + if (u.startsWith(C)) return new l(void 0, !0); + throw m.ErrInvalidByteCodeFormat; }, l.prototype.toJSON = function() { return this.toPrefixedString(); }, l.prototype.isEmptyCode = function() { return this.isEmpty; }, l.prototype.toPrefixedString = function() { - var s; - if (this.V1CasperWasm) return f.PrefixName.ByteCode + y + this.V1CasperWasm.toHex(); + var u; + if (this.V1CasperWasm) return f.PrefixName.ByteCode + w + this.V1CasperWasm.toHex(); if (this.isEmpty) { - var v = (s = t.Hash.fromBytes(new Uint8Array(t.Hash.ByteHashLen).fill(0))) === null || s === void 0 ? void 0 : s.result; - return f.PrefixName.ByteCode + b + v.toHex(); + var y = (u = a.Hash.fromBytes(new Uint8Array(a.Hash.ByteHashLen).fill(0))) === null || u === void 0 ? void 0 : u.result; + return f.PrefixName.ByteCode + C + y.toHex(); } throw new Error("Unexpected ByteCode type"); - }, l.fromBytes = function(s) { - var v = s[0]; - switch (this.newByteCodeKindFromByte(v)) { + }, l.fromBytes = function(u) { + var y = u[0]; + switch (this.newByteCodeKindFromByte(y)) { case i.EmptyKind: - return { result: new l(void 0, !0), bytes: s }; + return { result: new l(void 0, !0), bytes: u }; case i.V1CasperWasmKind: - var p = t.Hash.fromBytes(s.subarray(1, t.Hash.ByteHashLen + 1)); - return { result: new l(p?.result), bytes: p?.bytes }; + var d = a.Hash.fromBytes(u.subarray(1, a.Hash.ByteHashLen + 1)); + return { result: new l(d?.result), bytes: d?.bytes }; default: - throw u.ErrInvalidByteCodeFormat; + throw m.ErrInvalidByteCodeFormat; } - }, l.newByteCodeKindFromByte = function(s) { - if (s in i) return s; - throw u.ErrInvalidByteCodeKind; + }, l.newByteCodeKindFromByte = function(u) { + if (u in i) return u; + throw m.ErrInvalidByteCodeKind; }, l.prototype.toBytes = function() { if (this.V1CasperWasm) { - var s = new Uint8Array([i.V1CasperWasmKind]), v = this.V1CasperWasm.toBytes(); - return (0, m.concat)([s, v]); + var u = new Uint8Array([i.V1CasperWasmKind]), y = this.V1CasperWasm.toBytes(); + return (0, p.concat)([u, y]); } if (this.isEmpty) return new Uint8Array([i.EmptyKind]); throw new Error("Unexpected ByteCode type"); }, l; }(); - n.ByteCode = d; - }, 9975: function(x, n, c) { - var r = this && this.__decorate || function(b, y, u, d) { - var l, s = arguments.length, v = s < 3 ? y : d === null ? d = Object.getOwnPropertyDescriptor(y, u) : d; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, d); - else for (var p = b.length - 1; p >= 0; p--) (l = b[p]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + n.ByteCode = v; + }, 9975(g, n, s) { + var r = this && this.__decorate || function(C, w, m, v) { + var l, u = arguments.length, y = u < 3 ? w : v === null ? v = Object.getOwnPropertyDescriptor(w, m) : v; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") y = Reflect.decorate(C, w, m, v); + else for (var d = C.length - 1; d >= 0; d--) (l = C[d]) && (y = (u < 3 ? l(y) : u > 3 ? l(w, m, y) : l(w, m)) || y); + return u > 3 && y && Object.defineProperty(w, m, y), y; + }, o = this && this.__metadata || function(C, w) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(C, w); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.ContractHash = void 0; - var i = c(9592), m = c(5869), t = c(5010), f = function() { - function b(u, d) { - this.hash = u, this.originPrefix = d; + var i = s(9592), p = s(5869), a = s(5010), f = function() { + function C(m, v) { + this.hash = m, this.originPrefix = v; } - var y; - return y = b, b.prototype.toJSON = function() { + var w; + return w = C, C.prototype.toJSON = function() { return this.originPrefix + this.hash.toHex(); - }, b.prototype.toPrefixedWasmString = function() { - return t.PrefixName.ContractWasm + this.hash.toHex(); - }, b.prototype.toPrefixedString = function() { - return t.PrefixName.Contract + this.hash.toHex(); - }, b.fromJSON = function(u) { - return y.newContract(u); - }, b.newContract = function(u) { - var d = ""; - u.startsWith(t.PrefixName.Hash) ? d = t.PrefixName.Hash : u.startsWith(t.PrefixName.ContractWasm) ? d = t.PrefixName.ContractWasm : u.startsWith(t.PrefixName.Contract) ? d = t.PrefixName.Contract : u.startsWith(t.PrefixName.EntityContract) && (d = t.PrefixName.EntityContract); - var l = m.Hash.fromHex(u.slice(d.length)); - return new y(l, d); - }, r([(0, i.jsonMember)({ name: "Hash", constructor: m.Hash }), a("design:type", m.Hash)], b.prototype, "hash", void 0), r([(0, i.jsonMember)({ name: "originPrefix", constructor: String }), a("design:type", String)], b.prototype, "originPrefix", void 0), y = r([i.jsonObject, a("design:paramtypes", [m.Hash, String])], b); + }, C.prototype.toPrefixedWasmString = function() { + return a.PrefixName.ContractWasm + this.hash.toHex(); + }, C.prototype.toPrefixedString = function() { + return a.PrefixName.Contract + this.hash.toHex(); + }, C.fromJSON = function(m) { + return w.newContract(m); + }, C.newContract = function(m) { + var v = ""; + m.startsWith(a.PrefixName.Hash) ? v = a.PrefixName.Hash : m.startsWith(a.PrefixName.ContractWasm) ? v = a.PrefixName.ContractWasm : m.startsWith(a.PrefixName.Contract) ? v = a.PrefixName.Contract : m.startsWith(a.PrefixName.EntityContract) && (v = a.PrefixName.EntityContract); + var l = p.Hash.fromHex(m.slice(v.length)); + return new w(l, v); + }, r([(0, i.jsonMember)({ name: "Hash", constructor: p.Hash }), o("design:type", p.Hash)], C.prototype, "hash", void 0), r([(0, i.jsonMember)({ name: "originPrefix", constructor: String }), o("design:type", String)], C.prototype, "originPrefix", void 0), w = r([i.jsonObject, o("design:paramtypes", [p.Hash, String])], C); }(); n.ContractHash = f; - }, 6199: function(x, n, c) { - var r = this && this.__decorate || function(b, y, u, d) { - var l, s = arguments.length, v = s < 3 ? y : d === null ? d = Object.getOwnPropertyDescriptor(y, u) : d; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, d); - else for (var p = b.length - 1; p >= 0; p--) (l = b[p]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + }, 6199(g, n, s) { + var r = this && this.__decorate || function(C, w, m, v) { + var l, u = arguments.length, y = u < 3 ? w : v === null ? v = Object.getOwnPropertyDescriptor(w, m) : v; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") y = Reflect.decorate(C, w, m, v); + else for (var d = C.length - 1; d >= 0; d--) (l = C[d]) && (y = (u < 3 ? l(y) : u > 3 ? l(w, m, y) : l(w, m)) || y); + return u > 3 && y && Object.defineProperty(w, m, y), y; + }, o = this && this.__metadata || function(C, w) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(C, w); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.ContractPackageHash = void 0; - var i = c(9592), m = c(5869), t = c(5010), f = function() { - function b(u, d) { - this.hash = u, this.originPrefix = d; + var i = s(9592), p = s(5869), a = s(5010), f = function() { + function C(m, v) { + this.hash = m, this.originPrefix = v; } - var y; - return y = b, b.prototype.toJSON = function() { + var w; + return w = C, C.prototype.toJSON = function() { return this.originPrefix + this.hash.toHex(); - }, b.prototype.toPrefixedString = function() { - return t.PrefixName.ContractPackage + this.hash.toHex(); - }, b.fromJSON = function(u) { - return y.newContractPackage(u); - }, b.newContractPackage = function(u) { - var d = ""; - u.startsWith(t.PrefixName.Hash) ? d = t.PrefixName.Hash : u.startsWith(t.PrefixName.ContractPackageWasm) ? d = t.PrefixName.ContractPackageWasm : u.startsWith(t.PrefixName.ContractPackage) && (d = t.PrefixName.ContractPackage); - var l = m.Hash.fromHex(u.slice(d.length)); - return new y(l, d); - }, r([(0, i.jsonMember)({ name: "Hash", constructor: m.Hash }), a("design:type", m.Hash)], b.prototype, "hash", void 0), r([(0, i.jsonMember)({ name: "originPrefix", constructor: String }), a("design:type", String)], b.prototype, "originPrefix", void 0), y = r([i.jsonObject, a("design:paramtypes", [m.Hash, String])], b); + }, C.prototype.toPrefixedString = function() { + return a.PrefixName.ContractPackage + this.hash.toHex(); + }, C.fromJSON = function(m) { + return w.newContractPackage(m); + }, C.newContractPackage = function(m) { + var v = ""; + m.startsWith(a.PrefixName.Hash) ? v = a.PrefixName.Hash : m.startsWith(a.PrefixName.ContractPackageWasm) ? v = a.PrefixName.ContractPackageWasm : m.startsWith(a.PrefixName.ContractPackage) && (v = a.PrefixName.ContractPackage); + var l = p.Hash.fromHex(m.slice(v.length)); + return new w(l, v); + }, r([(0, i.jsonMember)({ name: "Hash", constructor: p.Hash }), o("design:type", p.Hash)], C.prototype, "hash", void 0), r([(0, i.jsonMember)({ name: "originPrefix", constructor: String }), o("design:type", String)], C.prototype, "originPrefix", void 0), w = r([i.jsonObject, o("design:paramtypes", [p.Hash, String])], C); }(); n.ContractPackageHash = f; - }, 5793: function(x, n, c) { - var r = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, a = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + }, 5793(g, n, s) { + var r = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, o = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.EntityAddr = n.ErrInvalidEntityKind = n.ErrInvalidEntityAddrFormat = n.EntityKindType = void 0; - var i, m = c(9592), t = c(8905), f = c(5869), b = c(5010); - (function(u) { - u[u.SystemKind = 0] = "SystemKind", u[u.AccountKind = 1] = "AccountKind", u[u.SmartContractKind = 2] = "SmartContractKind"; + var i, p = s(9592), a = s(8905), f = s(5869), C = s(5010); + (function(m) { + m[m.SystemKind = 0] = "SystemKind", m[m.AccountKind = 1] = "AccountKind", m[m.SmartContractKind = 2] = "SmartContractKind"; })(i = n.EntityKindType || (n.EntityKindType = {})), n.ErrInvalidEntityAddrFormat = new Error("invalid EntityAddr format"), n.ErrInvalidEntityKind = new Error("invalid EntityKind"); - var y = function() { - function u(l, s, v) { - this.system = l, this.account = s, this.smartContract = v; + var w = function() { + function m(l, u, y) { + this.system = l, this.account = u, this.smartContract = y; } - var d; - return d = u, u.prototype.toPrefixedString = function() { - return this.system ? "".concat(b.PrefixName.Entity, "system-").concat(this.system.toHex()) : this.account ? "".concat(b.PrefixName.Entity, "account-").concat(this.account.toHex()) : this.smartContract ? "".concat(b.PrefixName.Entity, "contract-").concat(this.smartContract.toHex()) : ""; - }, u.fromPrefixedString = function(l) { - if ((l = l.replace(b.PrefixName.Entity, "")).startsWith("system-")) { - var s = f.Hash.fromHex(l.replace("system-", "")); - return new d(s, void 0, void 0); - } - if (l.startsWith("account-")) return s = f.Hash.fromHex(l.replace("account-", "")), new d(void 0, s, void 0); - if (l.startsWith("contract-")) return s = f.Hash.fromHex(l.replace("contract-", "")), new d(void 0, void 0, s); + var v; + return v = m, m.prototype.toPrefixedString = function() { + return this.system ? "".concat(C.PrefixName.Entity, "system-").concat(this.system.toHex()) : this.account ? "".concat(C.PrefixName.Entity, "account-").concat(this.account.toHex()) : this.smartContract ? "".concat(C.PrefixName.Entity, "contract-").concat(this.smartContract.toHex()) : ""; + }, m.fromPrefixedString = function(l) { + if ((l = l.replace(C.PrefixName.Entity, "")).startsWith("system-")) { + var u = f.Hash.fromHex(l.replace("system-", "")); + return new v(u, void 0, void 0); + } + if (l.startsWith("account-")) return u = f.Hash.fromHex(l.replace("account-", "")), new v(void 0, u, void 0); + if (l.startsWith("contract-")) return u = f.Hash.fromHex(l.replace("contract-", "")), new v(void 0, void 0, u); throw n.ErrInvalidEntityAddrFormat; - }, u.prototype.toBytes = function() { - var l, s; - if (this.system) l = i.SystemKind, s = this.system.toBytes(); - else if (this.account) l = i.AccountKind, s = this.account.toBytes(); + }, m.prototype.toBytes = function() { + var l, u; + if (this.system) l = i.SystemKind, u = this.system.toBytes(); + else if (this.account) l = i.AccountKind, u = this.account.toBytes(); else { if (!this.smartContract) throw new Error("Unexpected EntityAddr type"); - l = i.SmartContractKind, s = this.smartContract.toBytes(); + l = i.SmartContractKind, u = this.smartContract.toBytes(); } - return (0, t.concat)([Uint8Array.from([l]), s]); - }, u.fromBytes = function(l) { + return (0, a.concat)([Uint8Array.from([l]), u]); + }, m.fromBytes = function(l) { if (l.length === 0) throw new Error("Buffer is empty, cannot create EntityAddr."); - var s = l[0], v = l.subarray(1), p = d.getEntityKindFromByte(s), h = f.Hash.fromBytes(v), O = h.result, I = h.bytes; - switch (p) { + var u = l[0], y = l.subarray(1), d = v.getEntityKindFromByte(u), b = f.Hash.fromBytes(y), _ = b.result, E = b.bytes; + switch (d) { case i.SystemKind: - return { result: new d(O, void 0, void 0), bytes: I }; + return { result: new v(_, void 0, void 0), bytes: E }; case i.AccountKind: - return { result: new d(void 0, O, void 0), bytes: I }; + return { result: new v(void 0, _, void 0), bytes: E }; case i.SmartContractKind: - return { result: new d(void 0, void 0, O), bytes: I }; + return { result: new v(void 0, void 0, _), bytes: E }; default: throw new Error("Invalid EntityAddr format."); } - }, u.getEntityKindFromByte = function(l) { + }, m.getEntityKindFromByte = function(l) { if (l in i) return l; throw new Error("Invalid entity kind tag."); - }, u.fromJSON = function(l) { + }, m.fromJSON = function(l) { return this.fromPrefixedString(l); - }, u.prototype.toJSON = function() { + }, m.prototype.toJSON = function() { return this.toPrefixedString(); - }, r([(0, m.jsonMember)({ constructor: f.Hash, name: "System" }), a("design:type", f.Hash)], u.prototype, "system", void 0), r([(0, m.jsonMember)({ constructor: f.Hash, name: "Account" }), a("design:type", f.Hash)], u.prototype, "account", void 0), r([(0, m.jsonMember)({ constructor: f.Hash, name: "SmartContract" }), a("design:type", f.Hash)], u.prototype, "smartContract", void 0), d = r([m.jsonObject, a("design:paramtypes", [f.Hash, f.Hash, f.Hash])], u); - }(); - n.EntityAddr = y; - }, 4172: function(x, n, c) { - var r, a = c(8287).Buffer, i = this && this.__extends || (r = function(R, L) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(N, B) { - N.__proto__ = B; - } || function(N, B) { - for (var H in B) Object.prototype.hasOwnProperty.call(B, H) && (N[H] = B[H]); - }, r(R, L); - }, function(R, L) { - if (typeof L != "function" && L !== null) throw new TypeError("Class extends value " + String(L) + " is not a constructor or null"); - function N() { - this.constructor = R; - } - r(R, L), R.prototype = L === null ? Object.create(L) : (N.prototype = L.prototype, new N()); - }), m = this && this.__decorate || function(R, L, N, B) { - var H, U = arguments.length, S = U < 3 ? L : B === null ? B = Object.getOwnPropertyDescriptor(L, N) : B; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") S = Reflect.decorate(R, L, N, B); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (S = (U < 3 ? H(S) : U > 3 ? H(L, N, S) : H(L, N)) || S); - return U > 3 && S && Object.defineProperty(L, N, S), S; - }, t = this && this.__metadata || function(R, L) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); + }, r([(0, p.jsonMember)({ constructor: f.Hash, name: "System" }), o("design:type", f.Hash)], m.prototype, "system", void 0), r([(0, p.jsonMember)({ constructor: f.Hash, name: "Account" }), o("design:type", f.Hash)], m.prototype, "account", void 0), r([(0, p.jsonMember)({ constructor: f.Hash, name: "SmartContract" }), o("design:type", f.Hash)], m.prototype, "smartContract", void 0), v = r([p.jsonObject, o("design:paramtypes", [f.Hash, f.Hash, f.Hash])], m); + }(); + n.EntityAddr = w; + }, 4172(g, n, s) { + var r, o = s(8287).Buffer, i = this && this.__extends || (r = function(O, I) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(x, A) { + x.__proto__ = A; + } || function(x, A) { + for (var N in A) Object.prototype.hasOwnProperty.call(A, N) && (x[N] = A[N]); + }, r(O, I); + }, function(O, I) { + if (typeof I != "function" && I !== null) throw new TypeError("Class extends value " + String(I) + " is not a constructor or null"); + function x() { + this.constructor = O; + } + r(O, I), O.prototype = I === null ? Object.create(I) : (x.prototype = I.prototype, new x()); + }), p = this && this.__decorate || function(O, I, x, A) { + var N, k = arguments.length, j = k < 3 ? I : A === null ? A = Object.getOwnPropertyDescriptor(I, x) : A; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") j = Reflect.decorate(O, I, x, A); + else for (var D = O.length - 1; D >= 0; D--) (N = O[D]) && (j = (k < 3 ? N(j) : k > 3 ? N(I, x, j) : N(I, x)) || j); + return k > 3 && j && Object.defineProperty(I, x, j), j; + }, a = this && this.__metadata || function(O, I) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(O, I); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.EntryPointAddr = n.getEntryPointTag = n.EntryPointError = n.EntryPointTag = void 0; - var f, b = c(9592), y = c(8905), u = c(5793), d = c(5869), l = c(7372); - (function(R) { - R[R.V1EntryPoint = 0] = "V1EntryPoint", R[R.V2EntryPoint = 1] = "V2EntryPoint"; + var f, C = s(9592), w = s(8905), m = s(5793), v = s(5869), l = s(7372); + (function(O) { + O[O.V1EntryPoint = 0] = "V1EntryPoint", O[O.V2EntryPoint = 1] = "V2EntryPoint"; })(f = n.EntryPointTag || (n.EntryPointTag = {})); - var s = function(R) { - function L(N) { - var B = R.call(this, N) || this; - return B.name = "EntryPointError", B; + var u = function(O) { + function I(x) { + var A = O.call(this, x) || this; + return A.name = "EntryPointError", A; } - return i(L, R), L; + return i(I, O), I; }(Error); - function v(R) { - if (R === f.V1EntryPoint || R === f.V2EntryPoint) return R; - throw new s("Invalid EntryPointTag"); - } - n.EntryPointError = s, n.getEntryPointTag = v; - var p = "v1-", h = "v2-", O = function() { - function R(L, N) { - this.entityAddr = L, this.nameBytes = N; - } - return m([(0, b.jsonMember)({ name: "EntityAddr", constructor: u.EntityAddr, deserializer: function(L) { - return u.EntityAddr.fromJSON(L); - }, serializer: function(L) { - return L.toJSON(); - } }), t("design:type", u.EntityAddr)], R.prototype, "entityAddr", void 0), m([(0, b.jsonMember)(Uint8Array, { name: "NameBytes" }), t("design:type", Uint8Array)], R.prototype, "nameBytes", void 0), m([b.jsonObject, t("design:paramtypes", [u.EntityAddr, Uint8Array])], R); - }(), I = function() { - function R(L, N) { - this.entityAddr = L, this.selector = N; - } - return m([(0, b.jsonMember)({ name: "EntityAddr", constructor: u.EntityAddr, deserializer: function(L) { - return u.EntityAddr.fromJSON(L); - }, serializer: function(L) { - return L.toJSON(); - } }), t("design:type", u.EntityAddr)], R.prototype, "entityAddr", void 0), m([(0, b.jsonMember)({ name: "Selector", constructor: Number }), t("design:type", Number)], R.prototype, "selector", void 0), m([b.jsonObject, t("design:paramtypes", [u.EntityAddr, Number])], R); - }(), k = function() { - function R(N, B) { - this.vmCasperV1 = N, this.vmCasperV2 = B; - } - var L; - return L = R, R.fromString = function(N) { - var B = N.lastIndexOf("-"); - if (B === -1) throw new s("Invalid EntryPoint format"); - var H = N.substring(0, B), U = N.substring(B + 1), S = a.from(U, "hex"); - if (H.startsWith(p)) { - var T = u.EntityAddr.fromPrefixedString(H.replace(p, "")), E = new Uint8Array(S); - return new L(new O(T, E)); - } - if (H.startsWith(h)) { - T = u.EntityAddr.fromPrefixedString(H.replace(h, "")); - var M = S.readUInt32LE(0); - return new L(void 0, new I(T, M)); - } - throw new s("Invalid EntryPoint format"); - }, R.prototype.toPrefixedString = function() { - if (this.vmCasperV1) return p + this.vmCasperV1.entityAddr.toPrefixedString() + "-" + l.Conversions.encodeBase16(this.vmCasperV1.nameBytes); + function y(O) { + if (O === f.V1EntryPoint || O === f.V2EntryPoint) return O; + throw new u("Invalid EntryPointTag"); + } + n.EntryPointError = u, n.getEntryPointTag = y; + var d = "v1-", b = "v2-", _ = function() { + function O(I, x) { + this.entityAddr = I, this.nameBytes = x; + } + return p([(0, C.jsonMember)({ name: "EntityAddr", constructor: m.EntityAddr, deserializer: function(I) { + return m.EntityAddr.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", m.EntityAddr)], O.prototype, "entityAddr", void 0), p([(0, C.jsonMember)(Uint8Array, { name: "NameBytes" }), a("design:type", Uint8Array)], O.prototype, "nameBytes", void 0), p([C.jsonObject, a("design:paramtypes", [m.EntityAddr, Uint8Array])], O); + }(), E = function() { + function O(I, x) { + this.entityAddr = I, this.selector = x; + } + return p([(0, C.jsonMember)({ name: "EntityAddr", constructor: m.EntityAddr, deserializer: function(I) { + return m.EntityAddr.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", m.EntityAddr)], O.prototype, "entityAddr", void 0), p([(0, C.jsonMember)({ name: "Selector", constructor: Number }), a("design:type", Number)], O.prototype, "selector", void 0), p([C.jsonObject, a("design:paramtypes", [m.EntityAddr, Number])], O); + }(), B = function() { + function O(x, A) { + this.vmCasperV1 = x, this.vmCasperV2 = A; + } + var I; + return I = O, O.fromString = function(x) { + var A = x.lastIndexOf("-"); + if (A === -1) throw new u("Invalid EntryPoint format"); + var N = x.substring(0, A), k = x.substring(A + 1), j = o.from(k, "hex"); + if (N.startsWith(d)) { + var D = m.EntityAddr.fromPrefixedString(N.replace(d, "")), T = new Uint8Array(j); + return new I(new _(D, T)); + } + if (N.startsWith(b)) { + D = m.EntityAddr.fromPrefixedString(N.replace(b, "")); + var L = j.readUInt32LE(0); + return new I(void 0, new E(D, L)); + } + throw new u("Invalid EntryPoint format"); + }, O.prototype.toPrefixedString = function() { + if (this.vmCasperV1) return d + this.vmCasperV1.entityAddr.toPrefixedString() + "-" + l.Conversions.encodeBase16(this.vmCasperV1.nameBytes); if (this.vmCasperV2) { - var N = a.alloc(4); - return N.writeUInt32LE(this.vmCasperV2.selector, 0), h + this.vmCasperV2.entityAddr.toPrefixedString() + "-" + N.toString("hex"); + var x = o.alloc(4); + return x.writeUInt32LE(this.vmCasperV2.selector, 0), b + this.vmCasperV2.entityAddr.toPrefixedString() + "-" + x.toString("hex"); } - throw new s("Unexpected EntryPointAddr type"); - }, R.prototype.toBytes = function() { - var N; + throw new u("Unexpected EntryPointAddr type"); + }, O.prototype.toBytes = function() { + var x; if (this.vmCasperV1) { - var B = new Uint8Array([f.V1EntryPoint]), H = this.vmCasperV1.entityAddr.toBytes(), U = this.vmCasperV1.nameBytes; - N = (0, y.concat)([B, H, U]); + var A = new Uint8Array([f.V1EntryPoint]), N = this.vmCasperV1.entityAddr.toBytes(), k = this.vmCasperV1.nameBytes; + x = (0, w.concat)([A, N, k]); } else { - if (!this.vmCasperV2) throw new s("Unexpected EntryPointAddr type"); - B = new Uint8Array([f.V2EntryPoint]), H = this.vmCasperV2.entityAddr.toBytes(); - var S = a.alloc(4); - S.writeUInt32LE(this.vmCasperV2.selector, 0); - var T = new Uint8Array(S); - N = (0, y.concat)([B, H, T]); - } - return N; - }, R.fromBytes = function(N) { - var B = v(N[0]), H = u.EntityAddr.fromBytes(N.slice(1)); - if (B === f.V1EntryPoint) { - var U = N.slice(1 + d.Hash.ByteHashLen, 1 + d.Hash.ByteHashLen + 32); - return { result: new L(new O(H?.result, U)), bytes: U }; - } - if (B === f.V2EntryPoint) { - var S = new DataView(N.buffer, 1 + d.Hash.ByteHashLen).getUint32(0, !0); - return { result: new L(void 0, new I(H?.result, S)), bytes: N.subarray(d.Hash.ByteHashLen) }; - } - throw new s("Unexpected EntryPointAddr type"); - }, R.fromJSON = function(N) { - return this.fromString(N); - }, R.prototype.toJSON = function() { + if (!this.vmCasperV2) throw new u("Unexpected EntryPointAddr type"); + A = new Uint8Array([f.V2EntryPoint]), N = this.vmCasperV2.entityAddr.toBytes(); + var j = o.alloc(4); + j.writeUInt32LE(this.vmCasperV2.selector, 0); + var D = new Uint8Array(j); + x = (0, w.concat)([A, N, D]); + } + return x; + }, O.fromBytes = function(x) { + var A = y(x[0]), N = m.EntityAddr.fromBytes(x.slice(1)); + if (A === f.V1EntryPoint) { + var k = x.slice(1 + v.Hash.ByteHashLen, 1 + v.Hash.ByteHashLen + 32); + return { result: new I(new _(N?.result, k)), bytes: k }; + } + if (A === f.V2EntryPoint) { + var j = new DataView(x.buffer, 1 + v.Hash.ByteHashLen).getUint32(0, !0); + return { result: new I(void 0, new E(N?.result, j)), bytes: x.subarray(v.Hash.ByteHashLen) }; + } + throw new u("Unexpected EntryPointAddr type"); + }, O.fromJSON = function(x) { + return this.fromString(x); + }, O.prototype.toJSON = function() { return this.toPrefixedString(); - }, m([(0, b.jsonMember)({ name: "VmCasperV1", constructor: O }), t("design:type", O)], R.prototype, "vmCasperV1", void 0), m([(0, b.jsonMember)({ name: "VmCasperV2", constructor: I }), t("design:type", I)], R.prototype, "vmCasperV2", void 0), L = m([b.jsonObject, t("design:paramtypes", [O, I])], R); - }(); - n.EntryPointAddr = k; - }, 4055: function(x, n, c) { - var r = this && this.__decorate || function(f, b, y, u) { - var d, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(f, b, y, u); - else for (var v = f.length - 1; v >= 0; v--) (d = f[v]) && (s = (l < 3 ? d(s) : l > 3 ? d(b, y, s) : d(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(f, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, b); + }, p([(0, C.jsonMember)({ name: "VmCasperV1", constructor: _ }), a("design:type", _)], O.prototype, "vmCasperV1", void 0), p([(0, C.jsonMember)({ name: "VmCasperV2", constructor: E }), a("design:type", E)], O.prototype, "vmCasperV2", void 0), I = p([C.jsonObject, a("design:paramtypes", [_, E])], O); + }(); + n.EntryPointAddr = B; + }, 4055(g, n, s) { + var r = this && this.__decorate || function(f, C, w, m) { + var v, l = arguments.length, u = l < 3 ? C : m === null ? m = Object.getOwnPropertyDescriptor(C, w) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") u = Reflect.decorate(f, C, w, m); + else for (var y = f.length - 1; y >= 0; y--) (v = f[y]) && (u = (l < 3 ? v(u) : l > 3 ? v(C, w, u) : v(C, w)) || u); + return l > 3 && u && Object.defineProperty(C, w, u), u; + }, o = this && this.__metadata || function(f, C) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, C); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Era = void 0; - var i = c(9592), m = c(678), t = function() { - function f(y) { - this.value = y; + var i = s(9592), p = s(678), a = function() { + function f(w) { + this.value = w; } - var b; - return b = f, f.prototype.toJSON = function() { + var C; + return C = f, f.prototype.toJSON = function() { return this.value.toString(); - }, f.fromJSON = function(y) { - var u = parseInt(y, 10); - if (isNaN(u)) throw new Error("Invalid Era value: ".concat(y)); - return new b(u); - }, f.fromBytes = function(y) { - var u = new DataView(y.buffer).getUint32(0, !0); - return new b(u); + }, f.fromJSON = function(w) { + var m = parseInt(w, 10); + if (isNaN(m)) throw new Error("Invalid Era value: ".concat(w)); + return new C(m); + }, f.fromBytes = function(w) { + var m = new DataView(w.buffer).getUint32(0, !0); + return new C(m); }, f.prototype.toBytes = function() { - return (0, m.toBytesNumber)(64, !1)(this.value); - }, r([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], f.prototype, "value", void 0), b = r([i.jsonObject, a("design:paramtypes", [Number])], f); - }(); - n.Era = t; - }, 5869: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__decorate || function(f, b, y, u) { - var d, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(f, b, y, u); - else for (var v = f.length - 1; v >= 0; v--) (d = f[v]) && (s = (l < 3 ? d(s) : l > 3 ? d(b, y, s) : d(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, i = this && this.__metadata || function(f, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, b); + return (0, p.toBytesNumber)(64, !1)(this.value); + }, r([(0, i.jsonMember)({ constructor: Number }), o("design:type", Number)], f.prototype, "value", void 0), C = r([i.jsonObject, o("design:paramtypes", [Number])], f); + }(); + n.Era = a; + }, 5869(g, n, s) { + var r = s(8287).Buffer, o = this && this.__decorate || function(f, C, w, m) { + var v, l = arguments.length, u = l < 3 ? C : m === null ? m = Object.getOwnPropertyDescriptor(C, w) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") u = Reflect.decorate(f, C, w, m); + else for (var y = f.length - 1; y >= 0; y--) (v = f[y]) && (u = (l < 3 ? v(u) : l > 3 ? v(C, w, u) : v(C, w)) || u); + return l > 3 && u && Object.defineProperty(C, w, u), u; + }, i = this && this.__metadata || function(f, C) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, C); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.Hash = void 0; - var m = c(9592), t = function() { - function f(y) { - if (y.length !== b.ByteHashLen) throw new Error("Invalid hash length, expected ".concat(b.ByteHashLen, " bytes.")); - this.hashBytes = y; - } - var b; - return b = f, f.fromHex = function(y) { - if (y.length !== b.StringHashLen) throw new Error("Invalid string length, expected ".concat(b.StringHashLen, " characters.")); - var u = Uint8Array.from(r.from(y, "hex")); - return new b(u); + var p = s(9592), a = function() { + function f(w) { + if (w.length !== C.ByteHashLen) throw new Error("Invalid hash length, expected ".concat(C.ByteHashLen, " bytes.")); + this.hashBytes = w; + } + var C; + return C = f, f.fromHex = function(w) { + if (w.length !== C.StringHashLen) throw new Error("Invalid string length, expected ".concat(C.StringHashLen, " characters.")); + var m = Uint8Array.from(r.from(w, "hex")); + return new C(m); }, f.prototype.toHex = function() { return r.from(this.hashBytes).toString("hex"); }, f.prototype.toBytes = function() { return this.hashBytes; }, f.prototype.toJSON = function() { return this.toHex(); - }, f.fromJSON = function(y) { - return b.fromHex(y); - }, f.fromBytes = function(y) { - if (y.length < b.ByteHashLen) throw new Error("Key length is less than 32 bytes."); - var u = y.subarray(0, b.ByteHashLen); - return { result: new b(u), bytes: y.subarray(b.ByteHashLen) }; - }, f.fromBuffer = function(y) { - if (y.length < b.ByteHashLen) throw new Error("Key length is not equal to 32 bytes."); - return new b(new Uint8Array(y.slice(0, b.ByteHashLen))); - }, f.createHashArray = function(y) { - if (y.length % b.ByteHashLen != 0) throw new Error("Byte array length must be a multiple of ".concat(b.ByteHashLen, ".")); - for (var u = [], d = 0; d < y.length; d += b.ByteHashLen) { - var l = y.subarray(d, d + b.ByteHashLen); - u.push(new b(l)); - } - return u; - }, f.prototype.equals = function(y) { - return this.hashBytes.length === y.hashBytes.length && this.hashBytes.every(function(u, d) { - return u === y.hashBytes[d]; + }, f.fromJSON = function(w) { + return C.fromHex(w); + }, f.fromBytes = function(w) { + if (w.length < C.ByteHashLen) throw new Error("Key length is less than 32 bytes."); + var m = w.subarray(0, C.ByteHashLen); + return { result: new C(m), bytes: w.subarray(C.ByteHashLen) }; + }, f.fromBuffer = function(w) { + if (w.length < C.ByteHashLen) throw new Error("Key length is not equal to 32 bytes."); + return new C(new Uint8Array(w.slice(0, C.ByteHashLen))); + }, f.createHashArray = function(w) { + if (w.length % C.ByteHashLen !== 0) throw new Error("Byte array length must be a multiple of ".concat(C.ByteHashLen, ".")); + for (var m = [], v = 0; v < w.length; v += C.ByteHashLen) { + var l = w.subarray(v, v + C.ByteHashLen); + m.push(new C(l)); + } + return m; + }, f.prototype.equals = function(w) { + return this.hashBytes.length === w.hashBytes.length && this.hashBytes.every(function(m, v) { + return m === w.hashBytes[v]; }); - }, f.ByteHashLen = 32, f.StringHashLen = 64, b = a([m.jsonObject, i("design:paramtypes", [Uint8Array])], f); - }(); - n.Hash = t; - }, 5010: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__decorate || function(B, H, U, S) { - var T, E = arguments.length, M = E < 3 ? H : S === null ? S = Object.getOwnPropertyDescriptor(H, U) : S; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") M = Reflect.decorate(B, H, U, S); - else for (var _ = B.length - 1; _ >= 0; _--) (T = B[_]) && (M = (E < 3 ? T(M) : E > 3 ? T(H, U, M) : T(H, U)) || M); - return E > 3 && M && Object.defineProperty(H, U, M), M; - }, i = this && this.__metadata || function(B, H) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(B, H); + }, f.ByteHashLen = 32, f.StringHashLen = 64, C = o([p.jsonObject, i("design:paramtypes", [Uint8Array])], f); + }(); + n.Hash = a; + }, 5010(g, n, s) { + var r = s(8287).Buffer, o = this && this.__decorate || function(A, N, k, j) { + var D, T = arguments.length, L = T < 3 ? N : j === null ? j = Object.getOwnPropertyDescriptor(N, k) : j; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") L = Reflect.decorate(A, N, k, j); + else for (var R = A.length - 1; R >= 0; R--) (D = A[R]) && (L = (T < 3 ? D(L) : T > 3 ? D(N, k, L) : D(N, k)) || L); + return T > 3 && L && Object.defineProperty(N, k, L), L; + }, i = this && this.__metadata || function(A, N) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(A, N); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.splitAt = n.Key = n.KEY_DEFAULT_BYTE_LENGTH = n.keyIDbyPrefix = n.typeIDbyNames = n.KeyTypeName = n.KeyTypeID = n.PrefixName = void 0; - var m, t, f, b = c(9592), y = c(9002), u = c(5869), d = c(5302), l = c(4055), s = c(5793), v = c(4561), p = c(9682), h = c(4277), O = c(3932), I = c(1636), k = c(2403), R = c(4172), L = c(53); - (function(B) { - B.Account = "account-hash-", B.AddressableEntity = "addressable-entity-", B.Hash = "hash-", B.ContractPackageWasm = "contract-package-wasm", B.ContractPackage = "contract-package-", B.ContractWasm = "contract-wasm-", B.Contract = "contract-", B.URef = "uref-", B.Transfer = "transfer-", B.DeployInfo = "deploy-", B.EraId = "era-", B.Bid = "bid-", B.Balance = "balance-", B.Withdraw = "withdraw-", B.Dictionary = "dictionary-", B.SystemContractRegistry = "system-contract-registry-", B.EraSummary = "era-summary-", B.Unbond = "unbond-", B.ChainspecRegistry = "chainspec-registry-", B.EntityContract = "entity-contract-", B.ChecksumRegistry = "checksum-registry-", B.BidAddr = "bid-addr-", B.Package = "package-", B.Entity = "entity-", B.ByteCode = "byte-code-", B.Message = "message-", B.NamedKey = "named-key-", B.BlockGlobal = "block-", B.BalanceHold = "balance-hold-", B.EntryPoint = "entry-point-"; - })(m = n.PrefixName || (n.PrefixName = {})), function(B) { - B[B.Account = 0] = "Account", B[B.Hash = 1] = "Hash", B[B.URef = 2] = "URef", B[B.Transfer = 3] = "Transfer", B[B.DeployInfo = 4] = "DeployInfo", B[B.EraId = 5] = "EraId", B[B.Balance = 6] = "Balance", B[B.Bid = 7] = "Bid", B[B.Withdraw = 8] = "Withdraw", B[B.Dictionary = 9] = "Dictionary", B[B.SystemContractRegistry = 10] = "SystemContractRegistry", B[B.EraSummary = 11] = "EraSummary", B[B.Unbond = 12] = "Unbond", B[B.ChainspecRegistry = 13] = "ChainspecRegistry", B[B.ChecksumRegistry = 14] = "ChecksumRegistry", B[B.BidAddr = 15] = "BidAddr", B[B.Package = 16] = "Package", B[B.AddressableEntity = 17] = "AddressableEntity", B[B.ByteCode = 18] = "ByteCode", B[B.Message = 19] = "Message", B[B.NamedKey = 20] = "NamedKey", B[B.BlockGlobal = 21] = "BlockGlobal", B[B.BalanceHold = 22] = "BalanceHold", B[B.EntryPoint = 23] = "EntryPoint"; - }(t = n.KeyTypeID || (n.KeyTypeID = {})), function(B) { - B.Account = "Account", B.Hash = "Hash", B.URef = "URef", B.Transfer = "Transfer", B.Deploy = "Deploy", B.Era = "Era", B.Bid = "Bid", B.Balance = "Balance", B.Withdraw = "Withdraw", B.Dictionary = "Dictionary", B.SystemContractRegistry = "SystemContractRegistry", B.EraSummary = "EraSummary", B.Unbond = "Unbond", B.ChainspecRegistry = "ChainspecRegistry", B.ChecksumRegistry = "ChecksumRegistry"; - }(f = n.KeyTypeName || (n.KeyTypeName = {})), n.typeIDbyNames = /* @__PURE__ */ new Map([[f.Account, t.Account], [f.Hash, t.Hash], [f.URef, t.URef], [f.Transfer, t.Transfer], [f.Deploy, t.DeployInfo], [f.Era, t.EraId], [f.Bid, t.Bid], [f.Balance, t.Balance], [f.Withdraw, t.Withdraw], [f.Dictionary, t.Dictionary], [f.SystemContractRegistry, t.SystemContractRegistry], [f.EraSummary, t.EraSummary], [f.Unbond, t.Unbond], [f.ChainspecRegistry, t.ChainspecRegistry], [f.ChecksumRegistry, t.ChecksumRegistry]]), n.keyIDbyPrefix = /* @__PURE__ */ new Map([[m.Account, t.Account], [m.Hash, t.Hash], [m.Transfer, t.Transfer], [m.URef, t.URef], [m.DeployInfo, t.DeployInfo], [m.EraId, t.EraId], [m.Bid, t.Bid], [m.Balance, t.Balance], [m.Withdraw, t.Withdraw], [m.Dictionary, t.Dictionary], [m.SystemContractRegistry, t.SystemContractRegistry], [m.EraSummary, t.EraSummary], [m.Unbond, t.Unbond], [m.ChainspecRegistry, t.ChainspecRegistry], [m.ChecksumRegistry, t.ChecksumRegistry], [m.BidAddr, t.BidAddr], [m.Package, t.Package], [m.Entity, t.AddressableEntity], [m.ByteCode, t.ByteCode], [m.Message, t.Message], [m.NamedKey, t.NamedKey], [m.BlockGlobal, t.BlockGlobal], [m.BalanceHold, t.BalanceHold], [m.EntryPoint, t.EntryPoint]]), n.KEY_DEFAULT_BYTE_LENGTH = 32; - var N = function() { - function B() { + var p, a, f, C = s(9592), w = s(9002), m = s(5869), v = s(5302), l = s(4055), u = s(5793), y = s(4561), d = s(9682), b = s(4277), _ = s(3932), E = s(1636), B = s(2403), O = s(4172), I = s(53); + (function(A) { + A.Account = "account-hash-", A.AddressableEntity = "addressable-entity-", A.Hash = "hash-", A.ContractPackageWasm = "contract-package-wasm", A.ContractPackage = "contract-package-", A.ContractWasm = "contract-wasm-", A.Contract = "contract-", A.URef = "uref-", A.Transfer = "transfer-", A.DeployInfo = "deploy-", A.EraId = "era-", A.Bid = "bid-", A.Balance = "balance-", A.Withdraw = "withdraw-", A.Dictionary = "dictionary-", A.SystemContractRegistry = "system-contract-registry-", A.EraSummary = "era-summary-", A.Unbond = "unbond-", A.ChainspecRegistry = "chainspec-registry-", A.EntityContract = "entity-contract-", A.ChecksumRegistry = "checksum-registry-", A.BidAddr = "bid-addr-", A.Package = "package-", A.Entity = "entity-", A.ByteCode = "byte-code-", A.Message = "message-", A.NamedKey = "named-key-", A.BlockGlobal = "block-", A.BalanceHold = "balance-hold-", A.EntryPoint = "entry-point-"; + })(p = n.PrefixName || (n.PrefixName = {})), function(A) { + A[A.Account = 0] = "Account", A[A.Hash = 1] = "Hash", A[A.URef = 2] = "URef", A[A.Transfer = 3] = "Transfer", A[A.DeployInfo = 4] = "DeployInfo", A[A.EraId = 5] = "EraId", A[A.Balance = 6] = "Balance", A[A.Bid = 7] = "Bid", A[A.Withdraw = 8] = "Withdraw", A[A.Dictionary = 9] = "Dictionary", A[A.SystemContractRegistry = 10] = "SystemContractRegistry", A[A.EraSummary = 11] = "EraSummary", A[A.Unbond = 12] = "Unbond", A[A.ChainspecRegistry = 13] = "ChainspecRegistry", A[A.ChecksumRegistry = 14] = "ChecksumRegistry", A[A.BidAddr = 15] = "BidAddr", A[A.Package = 16] = "Package", A[A.AddressableEntity = 17] = "AddressableEntity", A[A.ByteCode = 18] = "ByteCode", A[A.Message = 19] = "Message", A[A.NamedKey = 20] = "NamedKey", A[A.BlockGlobal = 21] = "BlockGlobal", A[A.BalanceHold = 22] = "BalanceHold", A[A.EntryPoint = 23] = "EntryPoint"; + }(a = n.KeyTypeID || (n.KeyTypeID = {})), function(A) { + A.Account = "Account", A.Hash = "Hash", A.URef = "URef", A.Transfer = "Transfer", A.Deploy = "Deploy", A.Era = "Era", A.Bid = "Bid", A.Balance = "Balance", A.Withdraw = "Withdraw", A.Dictionary = "Dictionary", A.SystemContractRegistry = "SystemContractRegistry", A.EraSummary = "EraSummary", A.Unbond = "Unbond", A.ChainspecRegistry = "ChainspecRegistry", A.ChecksumRegistry = "ChecksumRegistry"; + }(f = n.KeyTypeName || (n.KeyTypeName = {})), n.typeIDbyNames = /* @__PURE__ */ new Map([[f.Account, a.Account], [f.Hash, a.Hash], [f.URef, a.URef], [f.Transfer, a.Transfer], [f.Deploy, a.DeployInfo], [f.Era, a.EraId], [f.Bid, a.Bid], [f.Balance, a.Balance], [f.Withdraw, a.Withdraw], [f.Dictionary, a.Dictionary], [f.SystemContractRegistry, a.SystemContractRegistry], [f.EraSummary, a.EraSummary], [f.Unbond, a.Unbond], [f.ChainspecRegistry, a.ChainspecRegistry], [f.ChecksumRegistry, a.ChecksumRegistry]]), n.keyIDbyPrefix = /* @__PURE__ */ new Map([[p.Account, a.Account], [p.Hash, a.Hash], [p.Transfer, a.Transfer], [p.URef, a.URef], [p.DeployInfo, a.DeployInfo], [p.EraId, a.EraId], [p.Bid, a.Bid], [p.Balance, a.Balance], [p.Withdraw, a.Withdraw], [p.Dictionary, a.Dictionary], [p.SystemContractRegistry, a.SystemContractRegistry], [p.EraSummary, a.EraSummary], [p.Unbond, a.Unbond], [p.ChainspecRegistry, a.ChainspecRegistry], [p.ChecksumRegistry, a.ChecksumRegistry], [p.BidAddr, a.BidAddr], [p.Package, a.Package], [p.Entity, a.AddressableEntity], [p.ByteCode, a.ByteCode], [p.Message, a.Message], [p.NamedKey, a.NamedKey], [p.BlockGlobal, a.BlockGlobal], [p.BalanceHold, a.BalanceHold], [p.EntryPoint, a.EntryPoint]]), n.KEY_DEFAULT_BYTE_LENGTH = 32; + var x = function() { + function A() { } - var H; - return H = B, B.prototype.bytes = function(U) { - var S, T, E, M, _, w, A, j, V, D, z, J, G, Q, ee, Z, q, se, ue, ce, ie, fe, Te, Se; - U === void 0 && (U = !0); - var te = U ? Uint8Array.from([this.type]) : void 0; + var N; + return N = A, A.prototype.bytes = function(k) { + var j, D, T, L, R, M, P, H, K, V, U, F, Q, ne, te, X, Z, fe, le, Se, de, me, Oe, Ce; + k === void 0 && (k = !0); + var G = k ? Uint8Array.from([this.type]) : void 0; switch (this.type) { - case t.Balance: - return H.concatBytes((S = this.balance) === null || S === void 0 ? void 0 : S.toBytes(), te); - case t.Bid: - return H.concatBytes((T = this.bid) === null || T === void 0 ? void 0 : T.toBytes(), te); - case t.Withdraw: - return H.concatBytes((E = this.withdraw) === null || E === void 0 ? void 0 : E.toBytes(), te); - case t.SystemContractRegistry: - return H.concatBytes((M = this.systemContactRegistry) === null || M === void 0 ? void 0 : M.toBytes(), te); - case t.Unbond: - return H.concatBytes((_ = this.unbond) === null || _ === void 0 ? void 0 : _.toBytes(), te); - case t.ChainspecRegistry: - return H.concatBytes((w = this.chainspecRegistry) === null || w === void 0 ? void 0 : w.toBytes(), te); - case t.ChecksumRegistry: - return H.concatBytes((A = this.checksumRegistry) === null || A === void 0 ? void 0 : A.toBytes(), te); - case t.EraSummary: - return H.concatBytes((j = this.eraSummary) === null || j === void 0 ? void 0 : j.toBytes(), te); - case t.Account: - return H.concatBytes((V = this.account) === null || V === void 0 ? void 0 : V.toBytes(), te); - case t.Hash: - return H.concatBytes((D = this.hash) === null || D === void 0 ? void 0 : D.toBytes(), te); - case t.EraId: - return H.concatBytes((z = this.era) === null || z === void 0 ? void 0 : z.toBytes(), te); - case t.URef: - return H.concatBytes((J = this.uRef) === null || J === void 0 ? void 0 : J.bytes(), te); - case t.Transfer: - return H.concatBytes((G = this.transfer) === null || G === void 0 ? void 0 : G.toBytes(), te); - case t.DeployInfo: - return H.concatBytes((Q = this.deploy) === null || Q === void 0 ? void 0 : Q.toBytes(), te); - case t.Dictionary: - return H.concatBytes((ee = this.dictionary) === null || ee === void 0 ? void 0 : ee.toBytes(), te); - case t.BidAddr: - return H.concatBytes((Z = this.bidAddr) === null || Z === void 0 ? void 0 : Z.toBytes(), te); - case t.Package: - return H.concatBytes((q = this.package) === null || q === void 0 ? void 0 : q.toBytes(), te); - case t.AddressableEntity: - return H.concatBytes((se = this.addressableEntity) === null || se === void 0 ? void 0 : se.toBytes(), te); - case t.ByteCode: - return H.concatBytes((ue = this.byteCode) === null || ue === void 0 ? void 0 : ue.toBytes(), te); - case t.Message: - return H.concatBytes((ce = this.message) === null || ce === void 0 ? void 0 : ce.toBytes(), te); - case t.NamedKey: - return H.concatBytes((ie = this.namedKey) === null || ie === void 0 ? void 0 : ie.toBytes(), te); - case t.BlockGlobal: - return H.concatBytes((fe = this.blockGlobal) === null || fe === void 0 ? void 0 : fe.toBytes(), te); - case t.BalanceHold: - return H.concatBytes((Te = this.balanceHold) === null || Te === void 0 ? void 0 : Te.toBytes(), te); - case t.EntryPoint: - return H.concatBytes((Se = this.entryPoint) === null || Se === void 0 ? void 0 : Se.toBytes(), te); + case a.Balance: + return N.concatBytes((j = this.balance) === null || j === void 0 ? void 0 : j.toBytes(), G); + case a.Bid: + return N.concatBytes((D = this.bid) === null || D === void 0 ? void 0 : D.toBytes(), G); + case a.Withdraw: + return N.concatBytes((T = this.withdraw) === null || T === void 0 ? void 0 : T.toBytes(), G); + case a.SystemContractRegistry: + return N.concatBytes((L = this.systemContactRegistry) === null || L === void 0 ? void 0 : L.toBytes(), G); + case a.Unbond: + return N.concatBytes((R = this.unbond) === null || R === void 0 ? void 0 : R.toBytes(), G); + case a.ChainspecRegistry: + return N.concatBytes((M = this.chainspecRegistry) === null || M === void 0 ? void 0 : M.toBytes(), G); + case a.ChecksumRegistry: + return N.concatBytes((P = this.checksumRegistry) === null || P === void 0 ? void 0 : P.toBytes(), G); + case a.EraSummary: + return N.concatBytes((H = this.eraSummary) === null || H === void 0 ? void 0 : H.toBytes(), G); + case a.Account: + return N.concatBytes((K = this.account) === null || K === void 0 ? void 0 : K.toBytes(), G); + case a.Hash: + return N.concatBytes((V = this.hash) === null || V === void 0 ? void 0 : V.toBytes(), G); + case a.EraId: + return N.concatBytes((U = this.era) === null || U === void 0 ? void 0 : U.toBytes(), G); + case a.URef: + return N.concatBytes((F = this.uRef) === null || F === void 0 ? void 0 : F.bytes(), G); + case a.Transfer: + return N.concatBytes((Q = this.transfer) === null || Q === void 0 ? void 0 : Q.toBytes(), G); + case a.DeployInfo: + return N.concatBytes((ne = this.deploy) === null || ne === void 0 ? void 0 : ne.toBytes(), G); + case a.Dictionary: + return N.concatBytes((te = this.dictionary) === null || te === void 0 ? void 0 : te.toBytes(), G); + case a.BidAddr: + return N.concatBytes((X = this.bidAddr) === null || X === void 0 ? void 0 : X.toBytes(), G); + case a.Package: + return N.concatBytes((Z = this.package) === null || Z === void 0 ? void 0 : Z.toBytes(), G); + case a.AddressableEntity: + return N.concatBytes((fe = this.addressableEntity) === null || fe === void 0 ? void 0 : fe.toBytes(), G); + case a.ByteCode: + return N.concatBytes((le = this.byteCode) === null || le === void 0 ? void 0 : le.toBytes(), G); + case a.Message: + return N.concatBytes((Se = this.message) === null || Se === void 0 ? void 0 : Se.toBytes(), G); + case a.NamedKey: + return N.concatBytes((de = this.namedKey) === null || de === void 0 ? void 0 : de.toBytes(), G); + case a.BlockGlobal: + return N.concatBytes((me = this.blockGlobal) === null || me === void 0 ? void 0 : me.toBytes(), G); + case a.BalanceHold: + return N.concatBytes((Oe = this.balanceHold) === null || Oe === void 0 ? void 0 : Oe.toBytes(), G); + case a.EntryPoint: + return N.concatBytes((Ce = this.entryPoint) === null || Ce === void 0 ? void 0 : Ce.toBytes(), G); default: return new Uint8Array(); } - }, B.concatBytes = function(U, S) { - if (U === void 0 && (U = Uint8Array.from([])), S) { - var T = new Uint8Array(S.length + U.length); - return T.set(S), T.set(U, S.length), T; + }, A.concatBytes = function(k, j) { + if (k === void 0 && (k = Uint8Array.from([])), j) { + var D = new Uint8Array(j.length + k.length); + return D.set(j), D.set(k, j.length), D; } - return U; - }, B.prototype.toJSON = function() { + return k; + }, A.prototype.toJSON = function() { return r.from(this.bytes(!1)).toString("hex"); - }, B.prototype.toPrefixedString = function() { - var U, S; + }, A.prototype.toPrefixedString = function() { + var k, j; switch (this.type) { - case t.Account: + case a.Account: return this.account.toPrefixedString(); - case t.Hash: - return "".concat(m.Hash).concat((U = this.hash) === null || U === void 0 ? void 0 : U.toHex()); - case t.EraId: - return "".concat(m.EraId).concat((S = this.era) === null || S === void 0 ? void 0 : S.toJSON()); - case t.URef: + case a.Hash: + return "".concat(p.Hash).concat((k = this.hash) === null || k === void 0 ? void 0 : k.toHex()); + case a.EraId: + return "".concat(p.EraId).concat((j = this.era) === null || j === void 0 ? void 0 : j.toJSON()); + case a.URef: return this.uRef.toPrefixedString(); - case t.Transfer: + case a.Transfer: return this.transfer.toPrefixedString(); - case t.DeployInfo: - return "".concat(m.DeployInfo).concat(this.deploy.toHex()); - case t.Dictionary: - return "".concat(m.Dictionary).concat(this.dictionary.toHex()); - case t.Balance: - return "".concat(m.Balance).concat(this.balance.toHex()); - case t.Bid: - return "".concat(m.Bid).concat(this.bid.toHex()); - case t.Withdraw: - return "".concat(m.Withdraw).concat(this.withdraw.toHex()); - case t.SystemContractRegistry: - return "".concat(m.SystemContractRegistry).concat(this.systemContactRegistry.toHex()); - case t.EraSummary: - return "".concat(m.EraSummary).concat(this.eraSummary.toHex()); - case t.Unbond: - return "".concat(m.Unbond).concat(this.unbond.toHex()); - case t.ChainspecRegistry: - return "".concat(m.ChainspecRegistry).concat(this.chainspecRegistry.toHex()); - case t.ChecksumRegistry: - return "".concat(m.ChecksumRegistry).concat(this.checksumRegistry.toHex()); - case t.BidAddr: + case a.DeployInfo: + return "".concat(p.DeployInfo).concat(this.deploy.toHex()); + case a.Dictionary: + return "".concat(p.Dictionary).concat(this.dictionary.toHex()); + case a.Balance: + return "".concat(p.Balance).concat(this.balance.toHex()); + case a.Bid: + return "".concat(p.Bid).concat(this.bid.toHex()); + case a.Withdraw: + return "".concat(p.Withdraw).concat(this.withdraw.toHex()); + case a.SystemContractRegistry: + return "".concat(p.SystemContractRegistry).concat(this.systemContactRegistry.toHex()); + case a.EraSummary: + return "".concat(p.EraSummary).concat(this.eraSummary.toHex()); + case a.Unbond: + return "".concat(p.Unbond).concat(this.unbond.toHex()); + case a.ChainspecRegistry: + return "".concat(p.ChainspecRegistry).concat(this.chainspecRegistry.toHex()); + case a.ChecksumRegistry: + return "".concat(p.ChecksumRegistry).concat(this.checksumRegistry.toHex()); + case a.BidAddr: return this.bidAddr.toPrefixedString(); - case t.Package: - return "".concat(m.Package).concat(this.package.toHex()); - case t.AddressableEntity: + case a.Package: + return "".concat(p.Package).concat(this.package.toHex()); + case a.AddressableEntity: return this.addressableEntity.toPrefixedString(); - case t.ByteCode: + case a.ByteCode: return this.byteCode.toPrefixedString(); - case t.Message: + case a.Message: return this.message.toPrefixedString(); - case t.NamedKey: + case a.NamedKey: return this.namedKey.toPrefixedString(); - case t.BlockGlobal: + case a.BlockGlobal: return this.blockGlobal.toPrefixedString(); - case t.BalanceHold: + case a.BalanceHold: return this.balanceHold.toPrefixedString(); - case t.EntryPoint: + case a.EntryPoint: return this.entryPoint.toPrefixedString(); default: return ""; } - }, B.prototype.toString = function() { + }, A.prototype.toString = function() { return this.toPrefixedString(); - }, B.fromBytes = function(U) { - var S, T = U[0], E = U.subarray(1), M = new H(); - switch (M.type = T, T) { - case t.Account: - var _ = u.Hash.fromBytes(E); - return M.account = new y.AccountHash(_?.result), { result: M, bytes: _?.bytes }; - case t.Hash: - var w = u.Hash.fromBytes(E); - return M.hash = w?.result, { result: M, bytes: w?.bytes }; - case t.URef: - var A = L.URef.fromBytes(E); - return M.uRef = A?.result, { result: M, bytes: A?.bytes }; - case t.Transfer: - var j = u.Hash.fromBytes(E); - return M.transfer = new d.TransferHash(j?.result.toHex()), { result: M, bytes: j?.bytes }; - case t.DeployInfo: - var V = u.Hash.fromBytes(E); - return M.deploy = V?.result, { result: M, bytes: V?.bytes }; - case t.EraId: - var D = (0, n.splitAt)(1, E), z = D[0], J = D[1]; - return M.era = l.Era.fromBytes(z), { result: M, bytes: J }; - case t.Balance: - var G = u.Hash.fromBytes(E); - return M.balance = G?.result, { result: M, bytes: G?.bytes }; - case t.Bid: - var Q = u.Hash.fromBytes(E); - return M.bid = new y.AccountHash(Q.result), { result: M, bytes: Q?.bytes }; - case t.Withdraw: - var ee = u.Hash.fromBytes(E), Z = ee?.result; - return M.withdraw = new y.AccountHash(Z), { result: M, bytes: ee?.bytes }; - case t.Dictionary: - var q = u.Hash.fromBytes(E); - return M.dictionary = q?.result, { result: M, bytes: q?.bytes }; - case t.SystemContractRegistry: - var se = u.Hash.fromBytes(E); - return M.systemContactRegistry = se?.result, { result: M, bytes: se?.bytes }; - case t.EraSummary: - var ue = u.Hash.fromBytes(E); - return M.eraSummary = ue?.result, { result: M, bytes: ue?.bytes }; - case t.Unbond: - var ce = u.Hash.fromBytes(E), ie = ce.result, fe = ce.bytes; - return M.unbond = new y.AccountHash(ie), { result: M, bytes: fe }; - case t.ChainspecRegistry: - var Te = (0, n.splitAt)(n.KEY_DEFAULT_BYTE_LENGTH, E), Se = Te[0], te = Te[1]; - return M.chainspecRegistry = (S = u.Hash.fromBytes(Se)) === null || S === void 0 ? void 0 : S.result, { result: M, bytes: te }; - case t.ChecksumRegistry: - var ye = u.Hash.fromBytes(E); - return M.checksumRegistry = ye?.result, { result: M, bytes: ye?.bytes }; - case t.BidAddr: - var ve = v.BidAddr.fromBytes(E), F = ve.result, W = ve.bytes; - return M.bidAddr = F, { result: M, bytes: W }; - case t.Package: - var K = u.Hash.fromBytes(E); - return M.package = K?.result, { result: M, bytes: K?.bytes }; - case t.AddressableEntity: - var X = s.EntityAddr.fromBytes(E), ne = X.result, re = X.bytes; - return M.addressableEntity = ne, { result: M, bytes: re }; - case t.ByteCode: - var pe = p.ByteCode.fromBytes(E), Oe = pe.result, xe = pe.bytes; - return M.byteCode = Oe, { result: M, bytes: xe }; - case t.Message: - var Re = h.MessageAddr.fromBytes(E), De = Re.result, Le = Re.bytes; - return M.message = De, { result: M, bytes: Le }; - case t.NamedKey: - var Ve = O.NamedKeyAddr.fromBytes(E), Ze = Ve.result, Be = Ve.bytes; - return M.namedKey = Ze, { result: M, bytes: Be }; - case t.BlockGlobal: - var de = I.BlockGlobalAddr.fromBytes(E), oe = de.result, le = de.bytes; - return M.blockGlobal = oe, { result: M, bytes: le }; - case t.BalanceHold: - var me = k.BalanceHoldAddr.fromBytes(E), Ce = me.result, we = me.bytes; - return M.balanceHold = Ce, { result: M, bytes: we }; - case t.EntryPoint: - var Ie = R.EntryPointAddr.fromBytes(E), ke = Ie.result, Ne = Ie.bytes; - return M.entryPoint = ke, { result: M, bytes: Ne }; + }, A.fromBytes = function(k) { + var j, D = k[0], T = k.subarray(1), L = new N(); + switch (L.type = D, D) { + case a.Account: + var R = m.Hash.fromBytes(T); + return L.account = new w.AccountHash(R?.result), { result: L, bytes: R?.bytes }; + case a.Hash: + var M = m.Hash.fromBytes(T); + return L.hash = M?.result, { result: L, bytes: M?.bytes }; + case a.URef: + var P = I.URef.fromBytes(T); + return L.uRef = P?.result, { result: L, bytes: P?.bytes }; + case a.Transfer: + var H = m.Hash.fromBytes(T); + return L.transfer = new v.TransferHash(H?.result.toHex()), { result: L, bytes: H?.bytes }; + case a.DeployInfo: + var K = m.Hash.fromBytes(T); + return L.deploy = K?.result, { result: L, bytes: K?.bytes }; + case a.EraId: + var V = (0, n.splitAt)(1, T), U = V[0], F = V[1]; + return L.era = l.Era.fromBytes(U), { result: L, bytes: F }; + case a.Balance: + var Q = m.Hash.fromBytes(T); + return L.balance = Q?.result, { result: L, bytes: Q?.bytes }; + case a.Bid: + var ne = m.Hash.fromBytes(T); + return L.bid = new w.AccountHash(ne.result), { result: L, bytes: ne?.bytes }; + case a.Withdraw: + var te = m.Hash.fromBytes(T), X = te?.result; + return L.withdraw = new w.AccountHash(X), { result: L, bytes: te?.bytes }; + case a.Dictionary: + var Z = m.Hash.fromBytes(T); + return L.dictionary = Z?.result, { result: L, bytes: Z?.bytes }; + case a.SystemContractRegistry: + var fe = m.Hash.fromBytes(T); + return L.systemContactRegistry = fe?.result, { result: L, bytes: fe?.bytes }; + case a.EraSummary: + var le = m.Hash.fromBytes(T); + return L.eraSummary = le?.result, { result: L, bytes: le?.bytes }; + case a.Unbond: + var Se = m.Hash.fromBytes(T), de = Se.result, me = Se.bytes; + return L.unbond = new w.AccountHash(de), { result: L, bytes: me }; + case a.ChainspecRegistry: + var Oe = (0, n.splitAt)(n.KEY_DEFAULT_BYTE_LENGTH, T), Ce = Oe[0], G = Oe[1]; + return L.chainspecRegistry = (j = m.Hash.fromBytes(Ce)) === null || j === void 0 ? void 0 : j.result, { result: L, bytes: G }; + case a.ChecksumRegistry: + var ie = m.Hash.fromBytes(T); + return L.checksumRegistry = ie?.result, { result: L, bytes: ie?.bytes }; + case a.BidAddr: + var we = y.BidAddr.fromBytes(T), z = we.result, J = we.bytes; + return L.bidAddr = z, { result: L, bytes: J }; + case a.Package: + var q = m.Hash.fromBytes(T); + return L.package = q?.result, { result: L, bytes: q?.bytes }; + case a.AddressableEntity: + var re = u.EntityAddr.fromBytes(T), $ = re.result, Y = re.bytes; + return L.addressableEntity = $, { result: L, bytes: Y }; + case a.ByteCode: + var ce = d.ByteCode.fromBytes(T), ye = ce.result, ve = ce.bytes; + return L.byteCode = ye, { result: L, bytes: ve }; + case a.Message: + var Ee = b.MessageAddr.fromBytes(T), Ie = Ee.result, be = Ee.bytes; + return L.message = Ie, { result: L, bytes: be }; + case a.NamedKey: + var Ne = _.NamedKeyAddr.fromBytes(T), He = Ne.result, ae = Ne.bytes; + return L.namedKey = He, { result: L, bytes: ae }; + case a.BlockGlobal: + var oe = E.BlockGlobalAddr.fromBytes(T), ue = oe.result, he = oe.bytes; + return L.blockGlobal = ue, { result: L, bytes: he }; + case a.BalanceHold: + var _e = B.BalanceHoldAddr.fromBytes(T), Te = _e.result, Re = _e.bytes; + return L.balanceHold = Te, { result: L, bytes: Re }; + case a.EntryPoint: + var Ue = O.EntryPointAddr.fromBytes(T), De = Ue.result, ze = Ue.bytes; + return L.entryPoint = De, { result: L, bytes: ze }; default: throw new Error("Missing key type"); } - }, B.findPrefixByMap = function(U, S) { - var T = ""; - return S.forEach(function(E, M) { - U.startsWith(M) && (T = M === m.EraId && U.startsWith(m.EraSummary) ? m.EraSummary : M === m.Bid && U.startsWith(m.BidAddr) ? m.BidAddr : M === m.Balance && U.startsWith(m.BalanceHold) ? m.BalanceHold : M); - }), T; - }, B.createByType = function(U, S) { - var T = new H(); - switch (T.type = S, T.type) { - case t.EraId: - T.era = l.Era.fromJSON(U.replace(m.EraId, "")); + }, A.findPrefixByMap = function(k, j) { + var D = ""; + return j.forEach(function(T, L) { + k.startsWith(L) && (D = L === p.EraId && k.startsWith(p.EraSummary) ? p.EraSummary : L === p.Bid && k.startsWith(p.BidAddr) ? p.BidAddr : L === p.Balance && k.startsWith(p.BalanceHold) ? p.BalanceHold : L); + }), D; + }, A.createByType = function(k, j) { + var D = new N(); + switch (D.type = j, D.type) { + case a.EraId: + D.era = l.Era.fromJSON(k.replace(p.EraId, "")); break; - case t.Hash: - T.hash = u.Hash.fromHex(U.replace(m.Hash, "")); + case a.Hash: + D.hash = m.Hash.fromHex(k.replace(p.Hash, "")); break; - case t.URef: - T.uRef = L.URef.fromString(U); + case a.URef: + D.uRef = I.URef.fromString(k); break; - case t.Account: - T.account = y.AccountHash.fromString(U); + case a.Account: + D.account = w.AccountHash.fromString(k); break; - case t.Transfer: - T.transfer = d.TransferHash.fromJSON(U); + case a.Transfer: + D.transfer = v.TransferHash.fromJSON(k); break; - case t.DeployInfo: - T.deploy = u.Hash.fromHex(U.replace(m.DeployInfo, "")); + case a.DeployInfo: + D.deploy = m.Hash.fromHex(k.replace(p.DeployInfo, "")); break; - case t.Balance: - T.balance = u.Hash.fromHex(U.replace(m.Balance, "")); + case a.Balance: + D.balance = m.Hash.fromHex(k.replace(p.Balance, "")); break; - case t.Bid: - T.bid = y.AccountHash.fromString(U.replace(m.Bid, "")); + case a.Bid: + D.bid = w.AccountHash.fromString(k.replace(p.Bid, "")); break; - case t.Withdraw: - T.withdraw = y.AccountHash.fromString(U.replace(m.Withdraw, "")); + case a.Withdraw: + D.withdraw = w.AccountHash.fromString(k.replace(p.Withdraw, "")); break; - case t.Dictionary: - T.dictionary = u.Hash.fromHex(U.replace(m.Dictionary, "")); + case a.Dictionary: + D.dictionary = m.Hash.fromHex(k.replace(p.Dictionary, "")); break; - case t.SystemContractRegistry: - T.systemContactRegistry = u.Hash.fromHex(U.replace(m.SystemContractRegistry, "")); + case a.SystemContractRegistry: + D.systemContactRegistry = m.Hash.fromHex(k.replace(p.SystemContractRegistry, "")); break; - case t.EraSummary: - T.eraSummary = u.Hash.fromHex(U.replace(m.EraSummary, "")); + case a.EraSummary: + D.eraSummary = m.Hash.fromHex(k.replace(p.EraSummary, "")); break; - case t.Unbond: - T.unbond = y.AccountHash.fromString(U.replace(m.Unbond, "")); + case a.Unbond: + D.unbond = w.AccountHash.fromString(k.replace(p.Unbond, "")); break; - case t.ChainspecRegistry: - T.chainspecRegistry = u.Hash.fromHex(U.replace(m.ChainspecRegistry, "")); + case a.ChainspecRegistry: + D.chainspecRegistry = m.Hash.fromHex(k.replace(p.ChainspecRegistry, "")); break; - case t.ChecksumRegistry: - T.checksumRegistry = u.Hash.fromHex(U.replace(m.ChecksumRegistry, "")); + case a.ChecksumRegistry: + D.checksumRegistry = m.Hash.fromHex(k.replace(p.ChecksumRegistry, "")); break; - case t.BidAddr: - T.bidAddr = v.BidAddr.fromHex(U.replace(m.BidAddr, "")); + case a.BidAddr: + D.bidAddr = y.BidAddr.fromHex(k.replace(p.BidAddr, "")); break; - case t.Package: - T.package = u.Hash.fromHex(U.replace(m.Package, "")); + case a.Package: + D.package = m.Hash.fromHex(k.replace(p.Package, "")); break; - case t.AddressableEntity: - T.addressableEntity = s.EntityAddr.fromPrefixedString(U.replace(m.AddressableEntity, "")); + case a.AddressableEntity: + D.addressableEntity = u.EntityAddr.fromPrefixedString(k.replace(p.AddressableEntity, "")); break; - case t.ByteCode: - T.byteCode = p.ByteCode.fromJSON(U.replace(m.ByteCode, "")); + case a.ByteCode: + D.byteCode = d.ByteCode.fromJSON(k.replace(p.ByteCode, "")); break; - case t.Message: - T.message = h.MessageAddr.fromString(U); + case a.Message: + D.message = b.MessageAddr.fromString(k); break; - case t.NamedKey: - T.namedKey = O.NamedKeyAddr.fromString(U.replace(m.NamedKey, "")); + case a.NamedKey: + D.namedKey = _.NamedKeyAddr.fromString(k.replace(p.NamedKey, "")); break; - case t.BlockGlobal: - T.blockGlobal = I.BlockGlobalAddr.fromString(U.replace(m.BlockGlobal, "")); + case a.BlockGlobal: + D.blockGlobal = E.BlockGlobalAddr.fromString(k.replace(p.BlockGlobal, "")); break; - case t.BalanceHold: - T.balanceHold = k.BalanceHoldAddr.fromString(U.replace(m.BalanceHold, "")); + case a.BalanceHold: + D.balanceHold = B.BalanceHoldAddr.fromString(k.replace(p.BalanceHold, "")); break; - case t.EntryPoint: - T.entryPoint = R.EntryPointAddr.fromString(U.replace(m.EntryPoint, "")); + case a.EntryPoint: + D.entryPoint = O.EntryPointAddr.fromString(k.replace(p.EntryPoint, "")); break; default: - throw new Error("type is not found -> source: ".concat(U)); + throw new Error("type is not found -> source: ".concat(k)); } - return T; - }, B.parseTypeByString = function(U) { - var S = U.indexOf("("); - if (S === -1) throw new Error("invalid key format"); - var T = U.slice(5, S), E = U.slice(S + 1, -1), M = n.typeIDbyNames.get(T); - if (M === void 0) throw new Error("unexpected KeyType"); - return H.createByType(E, M); - }, B.newKey = function(U) { - if (U.length === u.Hash.StringHashLen) { - var S = u.Hash.fromHex(U), T = new H(); - return T.type = t.Hash, T.hash = S, T; - } - if (U.startsWith("Key::")) return H.parseTypeByString(U); - if (U.startsWith("00") && U.length === u.Hash.StringHashLen + 2) return H.createByType(U.slice(2), t.Account); - var E = H.findPrefixByMap(U, n.keyIDbyPrefix); - if (!E) throw new Error("prefix is not found, source: ".concat(U)); - return H.createByType(U, n.keyIDbyPrefix.get(E)); - }, a([(0, b.jsonMember)({ name: "Type", constructor: Number }), i("design:type", Number)], B.prototype, "type", void 0), a([(0, b.jsonMember)(function() { - return y.AccountHash; - }, { name: "Account" }), i("design:type", y.AccountHash)], B.prototype, "account", void 0), a([(0, b.jsonMember)({ name: "Hash", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "hash", void 0), a([(0, b.jsonMember)({ name: "URef", constructor: L.URef }), i("design:type", L.URef)], B.prototype, "uRef", void 0), a([(0, b.jsonMember)({ name: "Transfer", constructor: d.TransferHash }), i("design:type", d.TransferHash)], B.prototype, "transfer", void 0), a([(0, b.jsonMember)({ name: "Deploy", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "deploy", void 0), a([(0, b.jsonMember)({ name: "Era", constructor: l.Era }), i("design:type", l.Era)], B.prototype, "era", void 0), a([(0, b.jsonMember)({ name: "Balance", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "balance", void 0), a([(0, b.jsonMember)(function() { - return y.AccountHash; - }, { name: "Bid" }), i("design:type", y.AccountHash)], B.prototype, "bid", void 0), a([(0, b.jsonMember)(function() { - return y.AccountHash; - }, { name: "Withdraw" }), i("design:type", y.AccountHash)], B.prototype, "withdraw", void 0), a([(0, b.jsonMember)({ name: "Dictionary", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "dictionary", void 0), a([(0, b.jsonMember)({ name: "SystemContactRegistry", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "systemContactRegistry", void 0), a([(0, b.jsonMember)({ name: "EraSummary", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "eraSummary", void 0), a([(0, b.jsonMember)(function() { - return y.AccountHash; - }, { name: "Unbond" }), i("design:type", y.AccountHash)], B.prototype, "unbond", void 0), a([(0, b.jsonMember)({ name: "ChainspecRegistry", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "chainspecRegistry", void 0), a([(0, b.jsonMember)({ name: "ChecksumRegistry", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "checksumRegistry", void 0), a([(0, b.jsonMember)({ name: "BidAddr", constructor: v.BidAddr }), i("design:type", v.BidAddr)], B.prototype, "bidAddr", void 0), a([(0, b.jsonMember)({ name: "Package", constructor: u.Hash }), i("design:type", u.Hash)], B.prototype, "package", void 0), a([(0, b.jsonMember)({ name: "AddressableEntity", constructor: s.EntityAddr }), i("design:type", s.EntityAddr)], B.prototype, "addressableEntity", void 0), a([(0, b.jsonMember)({ name: "ByteCode", constructor: p.ByteCode }), i("design:type", p.ByteCode)], B.prototype, "byteCode", void 0), a([(0, b.jsonMember)({ name: "Message", constructor: h.MessageAddr }), i("design:type", h.MessageAddr)], B.prototype, "message", void 0), a([(0, b.jsonMember)({ name: "NamedKey", constructor: O.NamedKeyAddr }), i("design:type", O.NamedKeyAddr)], B.prototype, "namedKey", void 0), a([(0, b.jsonMember)({ name: "BlockGlobal", constructor: I.BlockGlobalAddr }), i("design:type", I.BlockGlobalAddr)], B.prototype, "blockGlobal", void 0), a([(0, b.jsonMember)({ name: "BalanceHold", constructor: k.BalanceHoldAddr }), i("design:type", k.BalanceHoldAddr)], B.prototype, "balanceHold", void 0), a([(0, b.jsonMember)({ name: "EntryPoint", constructor: R.EntryPointAddr }), i("design:type", R.EntryPointAddr)], B.prototype, "entryPoint", void 0), H = a([b.jsonObject], B); - }(); - n.Key = N, n.splitAt = function(B, H) { - if (B > H.length - 1) throw new Error("Early end of stream when deserializing data."); - var U = new Uint8Array(H); - return [U.subarray(0, B), U.subarray(B)]; + return D; + }, A.parseTypeByString = function(k) { + var j = k.indexOf("("); + if (j === -1) throw new Error("invalid key format"); + var D = k.slice(5, j), T = k.slice(j + 1, -1), L = n.typeIDbyNames.get(D); + if (L === void 0) throw new Error("unexpected KeyType"); + return N.createByType(T, L); + }, A.newKey = function(k) { + if (k.length === m.Hash.StringHashLen) { + var j = m.Hash.fromHex(k), D = new N(); + return D.type = a.Hash, D.hash = j, D; + } + if (k.startsWith("Key::")) return N.parseTypeByString(k); + if (k.startsWith("00") && k.length === m.Hash.StringHashLen + 2) return N.createByType(k.slice(2), a.Account); + var T = N.findPrefixByMap(k, n.keyIDbyPrefix); + if (!T) throw new Error("prefix is not found, source: ".concat(k)); + return N.createByType(k, n.keyIDbyPrefix.get(T)); + }, o([(0, C.jsonMember)({ name: "Type", constructor: Number }), i("design:type", Number)], A.prototype, "type", void 0), o([(0, C.jsonMember)(function() { + return w.AccountHash; + }, { name: "Account" }), i("design:type", w.AccountHash)], A.prototype, "account", void 0), o([(0, C.jsonMember)({ name: "Hash", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "hash", void 0), o([(0, C.jsonMember)({ name: "URef", constructor: I.URef }), i("design:type", I.URef)], A.prototype, "uRef", void 0), o([(0, C.jsonMember)({ name: "Transfer", constructor: v.TransferHash }), i("design:type", v.TransferHash)], A.prototype, "transfer", void 0), o([(0, C.jsonMember)({ name: "Deploy", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "deploy", void 0), o([(0, C.jsonMember)({ name: "Era", constructor: l.Era }), i("design:type", l.Era)], A.prototype, "era", void 0), o([(0, C.jsonMember)({ name: "Balance", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "balance", void 0), o([(0, C.jsonMember)(function() { + return w.AccountHash; + }, { name: "Bid" }), i("design:type", w.AccountHash)], A.prototype, "bid", void 0), o([(0, C.jsonMember)(function() { + return w.AccountHash; + }, { name: "Withdraw" }), i("design:type", w.AccountHash)], A.prototype, "withdraw", void 0), o([(0, C.jsonMember)({ name: "Dictionary", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "dictionary", void 0), o([(0, C.jsonMember)({ name: "SystemContactRegistry", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "systemContactRegistry", void 0), o([(0, C.jsonMember)({ name: "EraSummary", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "eraSummary", void 0), o([(0, C.jsonMember)(function() { + return w.AccountHash; + }, { name: "Unbond" }), i("design:type", w.AccountHash)], A.prototype, "unbond", void 0), o([(0, C.jsonMember)({ name: "ChainspecRegistry", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "chainspecRegistry", void 0), o([(0, C.jsonMember)({ name: "ChecksumRegistry", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "checksumRegistry", void 0), o([(0, C.jsonMember)({ name: "BidAddr", constructor: y.BidAddr }), i("design:type", y.BidAddr)], A.prototype, "bidAddr", void 0), o([(0, C.jsonMember)({ name: "Package", constructor: m.Hash }), i("design:type", m.Hash)], A.prototype, "package", void 0), o([(0, C.jsonMember)({ name: "AddressableEntity", constructor: u.EntityAddr }), i("design:type", u.EntityAddr)], A.prototype, "addressableEntity", void 0), o([(0, C.jsonMember)({ name: "ByteCode", constructor: d.ByteCode }), i("design:type", d.ByteCode)], A.prototype, "byteCode", void 0), o([(0, C.jsonMember)({ name: "Message", constructor: b.MessageAddr }), i("design:type", b.MessageAddr)], A.prototype, "message", void 0), o([(0, C.jsonMember)({ name: "NamedKey", constructor: _.NamedKeyAddr }), i("design:type", _.NamedKeyAddr)], A.prototype, "namedKey", void 0), o([(0, C.jsonMember)({ name: "BlockGlobal", constructor: E.BlockGlobalAddr }), i("design:type", E.BlockGlobalAddr)], A.prototype, "blockGlobal", void 0), o([(0, C.jsonMember)({ name: "BalanceHold", constructor: B.BalanceHoldAddr }), i("design:type", B.BalanceHoldAddr)], A.prototype, "balanceHold", void 0), o([(0, C.jsonMember)({ name: "EntryPoint", constructor: O.EntryPointAddr }), i("design:type", O.EntryPointAddr)], A.prototype, "entryPoint", void 0), N = o([C.jsonObject], A); + }(); + n.Key = x, n.splitAt = function(A, N) { + if (A > N.length - 1) throw new Error("Early end of stream when deserializing data."); + var k = new Uint8Array(N); + return [k.subarray(0, A), k.subarray(A)]; }; - }, 4277: function(x, n, c) { - var r = this && this.__decorate || function(d, l, s, v) { - var p, h = arguments.length, O = h < 3 ? l : v === null ? v = Object.getOwnPropertyDescriptor(l, s) : v; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(d, l, s, v); - else for (var I = d.length - 1; I >= 0; I--) (p = d[I]) && (O = (h < 3 ? p(O) : h > 3 ? p(l, s, O) : p(l, s)) || O); - return h > 3 && O && Object.defineProperty(l, s, O), O; - }, a = this && this.__metadata || function(d, l) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, l); + }, 4277(g, n, s) { + var r = this && this.__decorate || function(v, l, u, y) { + var d, b = arguments.length, _ = b < 3 ? l : y === null ? y = Object.getOwnPropertyDescriptor(l, u) : y; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(v, l, u, y); + else for (var E = v.length - 1; E >= 0; E--) (d = v[E]) && (_ = (b < 3 ? d(_) : b > 3 ? d(l, u, _) : d(l, u)) || _); + return b > 3 && _ && Object.defineProperty(l, u, _), _; + }, o = this && this.__metadata || function(v, l) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, l); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.MessageAddr = void 0; - var i = c(8905), m = c(9592), t = c(5869), f = c(5793), b = "topic-", y = "message-", u = function() { - function d(s, v, p) { - this.entityAddr = s, this.topicNameHash = v, this.messageIndex = p; + var i = s(8905), p = s(9592), a = s(5869), f = s(5793), C = "topic-", w = "message-", m = function() { + function v(u, y, d) { + this.entityAddr = u, this.topicNameHash = y, this.messageIndex = d; } var l; - return l = d, d.fromString = function(s) { - if (!s.startsWith(y)) throw new Error("Key not valid. It should start with '".concat(y, "'.")); - var v, p, h; - if ((s = s.substring(8)).startsWith(b)) { - if ((O = (s = s.substring(6)).split("-")).length !== 4) throw new Error("Key not valid. It should have a hash address and a topic hash."); - v = "".concat(O[0], "-").concat(O[1], "-").concat(O[2]), p = O[3]; + return l = v, v.fromString = function(u) { + if (!u.startsWith(w)) throw new Error("Key not valid. It should start with '".concat(w, "'.")); + var y, d, b; + if ((u = u.substring(8)).startsWith(C)) { + if ((_ = (u = u.substring(6)).split("-")).length !== 4) throw new Error("Key not valid. It should have a hash address and a topic hash."); + y = "".concat(_[0], "-").concat(_[1], "-").concat(_[2]), d = _[3]; } else { - var O; - if ((O = s.split("-")).length !== 5) throw new Error("Key not valid. It should have a hash address, a topic hash, and a message index."); - if (v = "".concat(O[0], "-").concat(O[1], "-").concat(O[2]), p = O[3], O[4].length === 0) throw new Error("Key not valid. Expected a non-empty message index."); - h = parseInt(O[4], 16); - } - return new l(f.EntityAddr.fromPrefixedString(v), t.Hash.fromHex(p), h); - }, d.prototype.toPrefixedString = function() { - var s = y; - return this.messageIndex || (s += b), s += this.entityAddr.toPrefixedString(), s += "-" + this.topicNameHash.toHex(), this.messageIndex !== void 0 && (s += "-".concat(this.messageIndex)), s; - }, d.prototype.toJSON = function() { + var _; + if ((_ = u.split("-")).length !== 5) throw new Error("Key not valid. It should have a hash address, a topic hash, and a message index."); + if (y = "".concat(_[0], "-").concat(_[1], "-").concat(_[2]), d = _[3], _[4].length === 0) throw new Error("Key not valid. Expected a non-empty message index."); + b = parseInt(_[4], 16); + } + return new l(f.EntityAddr.fromPrefixedString(y), a.Hash.fromHex(d), b); + }, v.prototype.toPrefixedString = function() { + var u = w; + return this.messageIndex || (u += C), u += this.entityAddr.toPrefixedString(), u += "-" + this.topicNameHash.toHex(), this.messageIndex !== void 0 && (u += "-".concat(this.messageIndex)), u; + }, v.prototype.toJSON = function() { return this.toPrefixedString(); - }, d.fromBytes = function(s) { - var v, p = f.EntityAddr.fromBytes(s), h = t.Hash.fromBytes(s); - if (s.length > 0) { - var O = s.slice(s.length - 4); - v = new DataView(O.buffer).getUint32(0, !0); + }, v.fromBytes = function(u) { + var y, d = f.EntityAddr.fromBytes(u), b = a.Hash.fromBytes(u); + if (u.length > 0) { + var _ = u.slice(u.length - 4); + y = new DataView(_.buffer).getUint32(0, !0); + } + return { result: new l(d?.result, b?.result, y), bytes: (0, i.concat)([d.bytes, b.bytes]) }; + }, v.prototype.toBytes = function() { + var u = this.entityAddr.toBytes(), y = this.topicNameHash.toBytes(), d = new Uint8Array(u.length + y.length + (this.messageIndex !== void 0 ? 4 : 0)); + if (d.set(u), d.set(y, u.length), this.messageIndex !== void 0) { + var b = new Uint8Array(4); + new DataView(b.buffer).setUint32(0, this.messageIndex, !0), d.set(b, u.length + y.length); } - return { result: new l(p?.result, h?.result, v), bytes: (0, i.concat)([p.bytes, h.bytes]) }; - }, d.prototype.toBytes = function() { - var s = this.entityAddr.toBytes(), v = this.topicNameHash.toBytes(), p = new Uint8Array(s.length + v.length + (this.messageIndex !== void 0 ? 4 : 0)); - if (p.set(s), p.set(v, s.length), this.messageIndex !== void 0) { - var h = new Uint8Array(4); - new DataView(h.buffer).setUint32(0, this.messageIndex, !0), p.set(h, s.length + v.length); - } - return p; - }, r([(0, m.jsonMember)({ name: "EntityAddr", constructor: f.EntityAddr, deserializer: function(s) { - if (s) return f.EntityAddr.fromJSON(s); - }, serializer: function(s) { - return s.toJSON(); - } }), a("design:type", f.EntityAddr)], d.prototype, "entityAddr", void 0), r([(0, m.jsonMember)({ name: "TopicNameHash", constructor: t.Hash }), a("design:type", t.Hash)], d.prototype, "topicNameHash", void 0), r([(0, m.jsonMember)({ name: "MessageIndex", constructor: Number }), a("design:type", Number)], d.prototype, "messageIndex", void 0), l = r([m.jsonObject, a("design:paramtypes", [f.EntityAddr, t.Hash, Number])], d); - }(); - n.MessageAddr = u; - }, 3932: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, i = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + return d; + }, r([(0, p.jsonMember)({ name: "EntityAddr", constructor: f.EntityAddr, deserializer: function(u) { + if (u) return f.EntityAddr.fromJSON(u); + }, serializer: function(u) { + return u.toJSON(); + } }), o("design:type", f.EntityAddr)], v.prototype, "entityAddr", void 0), r([(0, p.jsonMember)({ name: "TopicNameHash", constructor: a.Hash }), o("design:type", a.Hash)], v.prototype, "topicNameHash", void 0), r([(0, p.jsonMember)({ name: "MessageIndex", constructor: Number }), o("design:type", Number)], v.prototype, "messageIndex", void 0), l = r([p.jsonObject, o("design:paramtypes", [f.EntityAddr, a.Hash, Number])], v); + }(); + n.MessageAddr = m; + }, 3932(g, n, s) { + var r = s(8287).Buffer, o = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, i = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.NamedKeyAddr = void 0; - var m = c(9592), t = c(5793), f = c(5010), b = function() { - function y(d, l) { - this.baseAddr = d, this.nameBytes = l; + var p = s(9592), a = s(5793), f = s(5010), C = function() { + function w(v, l) { + this.baseAddr = v, this.nameBytes = l; } - var u; - return u = y, y.fromString = function(d) { - var l = d.substring(d.lastIndexOf("-") + 1), s = d.substring(0, d.lastIndexOf("-")).replace(f.PrefixName.AddressableEntity, ""), v = r.from(l, "hex"); - if (v.length !== 32) throw new Error("Invalid NameBytes length, expected 32 bytes."); - var p = t.EntityAddr.fromPrefixedString(s); - return new u(p, v); - }, y.prototype.toPrefixedString = function() { + var m; + return m = w, w.fromString = function(v) { + var l = v.substring(v.lastIndexOf("-") + 1), u = v.substring(0, v.lastIndexOf("-")).replace(f.PrefixName.AddressableEntity, ""), y = r.from(l, "hex"); + if (y.length !== 32) throw new Error("Invalid NameBytes length, expected 32 bytes."); + var d = a.EntityAddr.fromPrefixedString(u); + return new m(d, y); + }, w.prototype.toPrefixedString = function() { return "".concat(f.PrefixName.NamedKey).concat(this.baseAddr.toPrefixedString(), "-").concat(r.from(this.nameBytes).toString("hex")); - }, y.prototype.toJSON = function() { + }, w.prototype.toJSON = function() { return this.toPrefixedString(); - }, y.fromBytes = function(d) { - var l = t.EntityAddr.fromBytes(d); - if (d.length < 32) throw new Error("Insufficient bytes for NameBytes; expected 32 bytes."); - var s = d.slice(0, 32); - return { result: new u(l?.result, s), bytes: l?.bytes }; - }, y.prototype.toBytes = function() { + }, w.fromBytes = function(v) { + var l = a.EntityAddr.fromBytes(v); + if (v.length < 32) throw new Error("Insufficient bytes for NameBytes; expected 32 bytes."); + var u = v.slice(0, 32); + return { result: new m(l?.result, u), bytes: l?.bytes }; + }, w.prototype.toBytes = function() { return r.concat([this.baseAddr.toBytes(), this.nameBytes]); - }, a([(0, m.jsonMember)({ name: "BaseAddr", constructor: t.EntityAddr }), i("design:type", t.EntityAddr)], y.prototype, "baseAddr", void 0), a([(0, m.jsonMember)({ name: "NameBytes", constructor: Uint8Array }), i("design:type", Uint8Array)], y.prototype, "nameBytes", void 0), u = a([m.jsonObject, i("design:paramtypes", [t.EntityAddr, Uint8Array])], y); - }(); - n.NamedKeyAddr = b; - }, 5302: function(x, n, c) { - var r, a = c(8287).Buffer, i = this && this.__extends || (r = function(u, d) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { - l.__proto__ = s; - } || function(l, s) { - for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, r(u, d); - }, function(u, d) { - if (typeof d != "function" && d !== null) throw new TypeError("Class extends value " + String(d) + " is not a constructor or null"); + }, o([(0, p.jsonMember)({ name: "BaseAddr", constructor: a.EntityAddr }), i("design:type", a.EntityAddr)], w.prototype, "baseAddr", void 0), o([(0, p.jsonMember)({ name: "NameBytes", constructor: Uint8Array }), i("design:type", Uint8Array)], w.prototype, "nameBytes", void 0), m = o([p.jsonObject, i("design:paramtypes", [a.EntityAddr, Uint8Array])], w); + }(); + n.NamedKeyAddr = C; + }, 5302(g, n, s) { + var r, o = s(8287).Buffer, i = this && this.__extends || (r = function(m, v) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, u) { + l.__proto__ = u; + } || function(l, u) { + for (var y in u) Object.prototype.hasOwnProperty.call(u, y) && (l[y] = u[y]); + }, r(m, v); + }, function(m, v) { + if (typeof v != "function" && v !== null) throw new TypeError("Class extends value " + String(v) + " is not a constructor or null"); function l() { - this.constructor = u; - } - r(u, d), u.prototype = d === null ? Object.create(d) : (l.prototype = d.prototype, new l()); - }), m = this && this.__decorate || function(u, d, l, s) { - var v, p = arguments.length, h = p < 3 ? d : s === null ? s = Object.getOwnPropertyDescriptor(d, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, d, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (p < 3 ? v(h) : p > 3 ? v(d, l, h) : v(d, l)) || h); - return p > 3 && h && Object.defineProperty(d, l, h), h; - }, t = this && this.__metadata || function(u, d) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, d); + this.constructor = m; + } + r(m, v), m.prototype = v === null ? Object.create(v) : (l.prototype = v.prototype, new l()); + }), p = this && this.__decorate || function(m, v, l, u) { + var y, d = arguments.length, b = d < 3 ? v : u === null ? u = Object.getOwnPropertyDescriptor(v, l) : u; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") b = Reflect.decorate(m, v, l, u); + else for (var _ = m.length - 1; _ >= 0; _--) (y = m[_]) && (b = (d < 3 ? y(b) : d > 3 ? y(v, l, b) : y(v, l)) || b); + return d > 3 && b && Object.defineProperty(v, l, b), b; + }, a = this && this.__metadata || function(m, v) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, v); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.TransferHash = n.PrefixNameTransfer = void 0; - var f = c(9592), b = c(5869); + var f = s(9592), C = s(5869); n.PrefixNameTransfer = "transfer-"; - var y = function(u) { - function d(s) { - var v = this; - if (v.originPrefix = n.PrefixNameTransfer, typeof s == "string") { - var p = l.initializeFromSource(s), h = p.hashBytes, O = p.originPrefix; - (v = u.call(this, h) || this).originPrefix = O; - } else v = u.call(this, s) || this; - return v; + var w = function(m) { + function v(u) { + var y = this; + if (y.originPrefix = n.PrefixNameTransfer, typeof u == "string") { + var d = l.initializeFromSource(u), b = d.hashBytes, _ = d.originPrefix; + (y = m.call(this, b) || this).originPrefix = _; + } else y = m.call(this, u) || this; + return y; } var l; - return i(d, u), l = d, d.initializeFromSource = function(s) { - var v = s.startsWith(n.PrefixNameTransfer) ? n.PrefixNameTransfer : "", p = s.replace(v, ""); - return { hashBytes: Uint8Array.from(a.from(p, "hex")), originPrefix: v }; - }, d.prototype.toPrefixedString = function() { + return i(v, m), l = v, v.initializeFromSource = function(u) { + var y = u.startsWith(n.PrefixNameTransfer) ? n.PrefixNameTransfer : "", d = u.replace(y, ""); + return { hashBytes: Uint8Array.from(o.from(d, "hex")), originPrefix: y }; + }, v.prototype.toPrefixedString = function() { return "".concat(this.originPrefix).concat(this.toHex()); - }, d.prototype.toJSON = function() { + }, v.prototype.toJSON = function() { return this.toPrefixedString(); - }, d.fromJSON = function(s) { - return new l(s); - }, m([(0, f.jsonMember)({ name: "originPrefix", constructor: String }), t("design:type", String)], d.prototype, "originPrefix", void 0), l = m([f.jsonObject, t("design:paramtypes", [Object])], d); - }(b.Hash); - n.TransferHash = y; - }, 53: function(x, n, c) { - var r = this && this.__decorate || function(y, u, d, l) { - var s, v = arguments.length, p = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, d) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") p = Reflect.decorate(y, u, d, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (p = (v < 3 ? s(p) : v > 3 ? s(u, d, p) : s(u, d)) || p); - return v > 3 && p && Object.defineProperty(u, d, p), p; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + }, v.fromJSON = function(u) { + return new l(u); + }, p([(0, f.jsonMember)({ name: "originPrefix", constructor: String }), a("design:type", String)], v.prototype, "originPrefix", void 0), l = p([f.jsonObject, a("design:paramtypes", [Object])], v); + }(C.Hash); + n.TransferHash = w; + }, 53(g, n, s) { + var r = this && this.__decorate || function(w, m, v, l) { + var u, y = arguments.length, d = y < 3 ? m : l === null ? l = Object.getOwnPropertyDescriptor(m, v) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") d = Reflect.decorate(w, m, v, l); + else for (var b = w.length - 1; b >= 0; b--) (u = w[b]) && (d = (y < 3 ? u(d) : y > 3 ? u(m, v, d) : u(m, v)) || d); + return y > 3 && d && Object.defineProperty(m, v, d), d; + }, o = this && this.__metadata || function(w, m) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, m); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.URef = n.ByteHashLen = n.PrefixNameURef = n.ErrIncorrectUrefFormat = n.UrefAccess = void 0; - var i, m = c(9592), t = c(7372), f = c(8905); - (function(y) { - y[y.None = 0] = "None", y[y.Read = 1] = "Read", y[y.Write = 2] = "Write", y[y.Add = 3] = "Add", y[y.ReadWrite = 4] = "ReadWrite", y[y.ReadAdd = 5] = "ReadAdd", y[y.AddWrite = 6] = "AddWrite", y[y.ReadAddWrite = 7] = "ReadAddWrite"; + var i, p = s(9592), a = s(7372), f = s(8905); + (function(w) { + w[w.None = 0] = "None", w[w.Read = 1] = "Read", w[w.Write = 2] = "Write", w[w.Add = 3] = "Add", w[w.ReadWrite = 4] = "ReadWrite", w[w.ReadAdd = 5] = "ReadAdd", w[w.AddWrite = 6] = "AddWrite", w[w.ReadAddWrite = 7] = "ReadAddWrite"; })(i = n.UrefAccess || (n.UrefAccess = {})), n.ErrIncorrectUrefFormat = new Error("incorrect uref format"), n.PrefixNameURef = "uref-", n.ByteHashLen = 32; - var b = function() { - function y(d, l) { - if (d.length !== n.ByteHashLen) throw new Error("Invalid URef data length; expected ".concat(n.ByteHashLen)); + var C = function() { + function w(v, l) { + if (v.length !== n.ByteHashLen) throw new Error("Invalid URef data length; expected ".concat(n.ByteHashLen)); if (!Object.values(i).includes(l)) throw new Error("Unsupported AccessRights"); - this.data = d, this.access = l; + this.data = v, this.access = l; } - var u; - return u = y, y.prototype.bytes = function() { - var d = new Uint8Array([this.access]); - return (0, f.concat)([this.data, d]); - }, y.prototype.toPrefixedString = function() { + var m; + return m = w, w.prototype.bytes = function() { + var v = new Uint8Array([this.access]); + return (0, f.concat)([this.data, v]); + }, w.prototype.toPrefixedString = function() { return [n.PrefixNameURef.replace("-", ""), this.toString()].join("-"); - }, y.prototype.toString = function() { - return [t.Conversions.encodeBase16(this.data), new Array(3).join("0").slice(-3) + this.access.toString(8)].join("-"); - }, y.prototype.setAccess = function(d) { - this.access = d; - }, y.prototype.toJSON = function() { + }, w.prototype.toString = function() { + return [a.Conversions.encodeBase16(this.data), new Array(3).join("0").slice(-3) + this.access.toString(8)].join("-"); + }, w.prototype.setAccess = function(v) { + this.access = v; + }, w.prototype.toJSON = function() { return this.toPrefixedString(); - }, y.fromJSON = function(d) { - return u.fromString(d); - }, y.fromString = function(d) { - if (!d.startsWith("".concat(n.PrefixNameURef))) throw new Error("Prefix is not 'uref-'"); - var l = d.substring("".concat(n.PrefixNameURef).length).split("-", 2); + }, w.fromJSON = function(v) { + return m.fromString(v); + }, w.fromString = function(v) { + if (!v.startsWith("".concat(n.PrefixNameURef))) throw new Error("Prefix is not 'uref-'"); + var l = v.substring("".concat(n.PrefixNameURef).length).split("-", 2); if (l.length !== 2) throw n.ErrIncorrectUrefFormat; - var s = t.Conversions.decodeBase16(l[0]), v = parseInt(l[1], 8); - return new u(s, v); - }, y.fromBytes = function(d) { - if (d.length !== n.ByteHashLen + 1) throw new Error("Invalid URef bytes length"); - var l = d.subarray(0, n.ByteHashLen), s = d[n.ByteHashLen]; - return { result: new u(l, s), bytes: d.subarray(n.ByteHashLen + 1) }; - }, y.prototype.toDriverValue = function() { + var u = a.Conversions.decodeBase16(l[0]), y = parseInt(l[1], 8); + return new m(u, y); + }, w.fromBytes = function(v) { + if (v.length !== n.ByteHashLen + 1) throw new Error("Invalid URef bytes length"); + var l = v.subarray(0, n.ByteHashLen), u = v[n.ByteHashLen]; + return { result: new m(l, u), bytes: v.subarray(n.ByteHashLen + 1) }; + }, w.prototype.toDriverValue = function() { return this.bytes(); - }, y.fromBuffer = function(d) { - var l = new DataView(d); + }, w.fromBuffer = function(v) { + var l = new DataView(v); if (l.byteLength < n.ByteHashLen + 1) throw new Error("ArrayBuffer size is too small"); - var s = new Uint8Array(d.slice(0, n.ByteHashLen)), v = l.getUint8(n.ByteHashLen); - return new u(s, v); - }, r([(0, m.jsonMember)(Uint8Array), a("design:type", Uint8Array)], y.prototype, "data", void 0), r([(0, m.jsonMember)({ constructor: Number }), a("design:type", Number)], y.prototype, "access", void 0), u = r([m.jsonObject, a("design:paramtypes", [Uint8Array, Number])], y); - }(); - n.URef = b; - }, 3401: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + var u = new Uint8Array(v.slice(0, n.ByteHashLen)), y = l.getUint8(n.ByteHashLen); + return new m(u, y); + }, r([(0, p.jsonMember)(Uint8Array), o("design:type", Uint8Array)], w.prototype, "data", void 0), r([(0, p.jsonMember)({ constructor: Number }), o("design:type", Number)], w.prototype, "access", void 0), m = r([p.jsonObject, o("design:paramtypes", [Uint8Array, Number])], w); + }(); + n.URef = C; + }, 3401(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(9002), n), a(c(438), n), a(c(2403), n), a(c(4561), n), a(c(1636), n), a(c(5793), n), a(c(4172), n), a(c(4055), n), a(c(5869), n), a(c(5010), n), a(c(4277), n), a(c(3932), n), a(c(5302), n), a(c(53), n), a(c(9682), n), a(c(9975), n), a(c(6199), n); - }, 2048: (x, n) => { - var c, r; + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(9002), n), o(s(438), n), o(s(2403), n), o(s(4561), n), o(s(1636), n), o(s(5793), n), o(s(4172), n), o(s(4055), n), o(s(5869), n), o(s(5010), n), o(s(4277), n), o(s(3932), n), o(s(5302), n), o(s(53), n), o(s(9682), n), o(s(9975), n), o(s(6199), n); + }, 2048(g, n) { + var s, r; Object.defineProperty(n, "__esModule", { value: !0 }), n.KeyAlgorithmUtils = n.KeySettings = n.KeyAlgorithm = void 0, function(i) { i[i.ED25519 = 1] = "ED25519", i[i.SECP256K1 = 2] = "SECP256K1"; - }(r = n.KeyAlgorithm || (n.KeyAlgorithm = {})), n.KeySettings = ((c = {})[r.ED25519] = { name: "ED25519" }, c[r.SECP256K1] = { name: "SECP256K1" }, c); - var a = function() { - function i(m) { - this.algorithm = m; + }(r = n.KeyAlgorithm || (n.KeyAlgorithm = {})), n.KeySettings = ((s = {})[r.ED25519] = { name: "ED25519" }, s[r.SECP256K1] = { name: "SECP256K1" }, s); + var o = function() { + function i(p) { + this.algorithm = p; } return i.prototype.toString = function() { return n.KeySettings[this.algorithm].name; @@ -29942,5424 +29014,8271 @@ function B6() { return this.algorithm; }, i; }(); - n.KeyAlgorithmUtils = a; - }, 4359: function(x, n, c) { - var r = this && this.__awaiter || function(d, l, s, v) { - return new (s || (s = Promise))(function(p, h) { - function O(R) { + n.KeyAlgorithmUtils = o; + }, 4359(g, n, s) { + var r = this && this.__awaiter || function(v, l, u, y) { + return new (u || (u = Promise))(function(d, b) { + function _(O) { try { - k(v.next(R)); - } catch (L) { - h(L); + B(y.next(O)); + } catch (I) { + b(I); } } - function I(R) { + function E(O) { try { - k(v.throw(R)); - } catch (L) { - h(L); + B(y.throw(O)); + } catch (I) { + b(I); } } - function k(R) { - var L; - R.done ? p(R.value) : (L = R.value, L instanceof s ? L : new s(function(N) { - N(L); - })).then(O, I); + function B(O) { + var I; + O.done ? d(O.value) : (I = O.value, I instanceof u ? I : new u(function(x) { + x(I); + })).then(_, E); } - k((v = v.apply(d, l || [])).next()); + B((y = y.apply(v, l || [])).next()); }); - }, a = this && this.__generator || function(d, l) { - var s, v, p, h, O = { label: 0, sent: function() { - if (1 & p[0]) throw p[1]; - return p[1]; + }, o = this && this.__generator || function(v, l) { + var u, y, d, b, _ = { label: 0, sent: function() { + if (1 & d[0]) throw d[1]; + return d[1]; }, trys: [], ops: [] }; - return h = { next: I(0), throw: I(1), return: I(2) }, typeof Symbol == "function" && (h[Symbol.iterator] = function() { + return b = { next: E(0), throw: E(1), return: E(2) }, typeof Symbol == "function" && (b[Symbol.iterator] = function() { return this; - }), h; - function I(k) { - return function(R) { - return function(L) { - if (s) throw new TypeError("Generator is already executing."); - for (; h && (h = 0, L[0] && (O = 0)), O; ) try { - if (s = 1, v && (p = 2 & L[0] ? v.return : L[0] ? v.throw || ((p = v.return) && p.call(v), 0) : v.next) && !(p = p.call(v, L[1])).done) return p; - switch (v = 0, p && (L = [2 & L[0], p.value]), L[0]) { + }), b; + function E(B) { + return function(O) { + return function(I) { + if (u) throw new TypeError("Generator is already executing."); + for (; b && (b = 0, I[0] && (_ = 0)), _; ) try { + if (u = 1, y && (d = 2 & I[0] ? y.return : I[0] ? y.throw || ((d = y.return) && d.call(y), 0) : y.next) && !(d = d.call(y, I[1])).done) return d; + switch (y = 0, d && (I = [2 & I[0], d.value]), I[0]) { case 0: case 1: - p = L; + d = I; break; case 4: - return O.label++, { value: L[1], done: !1 }; + return _.label++, { value: I[1], done: !1 }; case 5: - O.label++, v = L[1], L = [0]; + _.label++, y = I[1], I = [0]; continue; case 7: - L = O.ops.pop(), O.trys.pop(); + I = _.ops.pop(), _.trys.pop(); continue; default: - if (!((p = (p = O.trys).length > 0 && p[p.length - 1]) || L[0] !== 6 && L[0] !== 2)) { - O = 0; + if (!((d = (d = _.trys).length > 0 && d[d.length - 1]) || I[0] !== 6 && I[0] !== 2)) { + _ = 0; continue; } - if (L[0] === 3 && (!p || L[1] > p[0] && L[1] < p[3])) { - O.label = L[1]; + if (I[0] === 3 && (!d || I[1] > d[0] && I[1] < d[3])) { + _.label = I[1]; break; } - if (L[0] === 6 && O.label < p[1]) { - O.label = p[1], p = L; + if (I[0] === 6 && _.label < d[1]) { + _.label = d[1], d = I; break; } - if (p && O.label < p[2]) { - O.label = p[2], O.ops.push(L); + if (d && _.label < d[2]) { + _.label = d[2], _.ops.push(I); break; } - p[2] && O.ops.pop(), O.trys.pop(); + d[2] && _.ops.pop(), _.trys.pop(); continue; } - L = l.call(d, O); - } catch (N) { - L = [6, N], v = 0; + I = l.call(v, _); + } catch (x) { + I = [6, x], y = 0; } finally { - s = p = 0; + u = d = 0; } - if (5 & L[0]) throw L[1]; - return { value: L[0] ? L[1] : void 0, done: !0 }; - }([k, R]); + if (5 & I[0]) throw I[1]; + return { value: I[0] ? I[1] : void 0, done: !0 }; + }([B, O]); }; } }; Object.defineProperty(n, "__esModule", { value: !0 }), n.PrivateKey = void 0; - var i = c(8905), m = c(2261), t = c(8385), f = c(7846), b = c(2048), y = function() { - function d(l, s, v) { - this.alg = l, this.pub = s, this.priv = v; + var i = s(8905), p = s(2261), a = s(8385), f = s(7846), C = s(2048), w = function() { + function v(l, u, y) { + this.alg = l, this.pub = u, this.priv = y; } - return d.prototype.toBytes = function() { + return v.prototype.toBytes = function() { return this.priv.toBytes(); - }, Object.defineProperty(d.prototype, "publicKey", { get: function() { + }, Object.defineProperty(v.prototype, "publicKey", { get: function() { return this.pub; - }, enumerable: !1, configurable: !0 }), d.prototype.toPem = function() { + }, enumerable: !1, configurable: !0 }), v.prototype.toPem = function() { return this.priv.toPem(); - }, d.prototype.sign = function(l) { + }, v.prototype.sign = function(l) { return this.priv.sign(l); - }, d.prototype.signAndAddAlgorithmBytes = function(l) { - var s = this.priv.sign(l), v = Uint8Array.of(this.alg); - return (0, i.concat)([v, s]); - }, d.prototype.rawSign = function(l) { + }, v.prototype.signAndAddAlgorithmBytes = function(l) { + var u = this.priv.sign(l), y = Uint8Array.of(this.alg); + return (0, i.concat)([y, u]); + }, v.prototype.rawSign = function(l) { return r(this, void 0, void 0, function() { - return a(this, function(s) { + return o(this, function(u) { return [2, this.priv.sign(l)]; }); }); - }, d.generate = function(l) { - var s = u.createPrivateKey(l), v = s.publicKeyBytes(), p = Uint8Array.of(l); - return new d(l, m.PublicKey.fromBuffer((0, i.concat)([p, v])), s); - }, d.fromPem = function(l, s) { - var v = u.createPrivateKeyFromPem(l, s), p = v.publicKeyBytes(), h = Uint8Array.of(s); - return new d(s, m.PublicKey.fromBuffer((0, i.concat)([h, p])), v); - }, d.fromHex = function(l, s) { - var v = u.createPrivateKeyFromHex(l, s), p = v.publicKeyBytes(), h = Uint8Array.of(s); - return new d(s, m.PublicKey.fromBuffer((0, i.concat)([h, p])), v); - }, d; + }, v.generate = function(l) { + var u = m.createPrivateKey(l), y = u.publicKeyBytes(), d = Uint8Array.of(l); + return new v(l, p.PublicKey.fromBuffer((0, i.concat)([d, y])), u); + }, v.fromPem = function(l, u) { + var y = m.createPrivateKeyFromPem(l, u), d = y.publicKeyBytes(), b = Uint8Array.of(u); + return new v(u, p.PublicKey.fromBuffer((0, i.concat)([b, d])), y); + }, v.fromHex = function(l, u) { + var y = m.createPrivateKeyFromHex(l, u), d = y.publicKeyBytes(), b = Uint8Array.of(u); + return new v(u, p.PublicKey.fromBuffer((0, i.concat)([b, d])), y); + }, v; }(); - n.PrivateKey = y; - var u = function() { - function d() { + n.PrivateKey = w; + var m = function() { + function v() { } - return d.createPrivateKey = function(l) { + return v.createPrivateKey = function(l) { switch (l) { - case b.KeyAlgorithm.ED25519: - return t.PrivateKey.generate(); - case b.KeyAlgorithm.SECP256K1: + case C.KeyAlgorithm.ED25519: + return a.PrivateKey.generate(); + case C.KeyAlgorithm.SECP256K1: return f.PrivateKey.generate(); default: throw new Error("Unsupported key algorithm: ".concat(l)); } - }, d.createPrivateKeyFromPem = function(l, s) { - switch (s) { - case b.KeyAlgorithm.ED25519: - return t.PrivateKey.fromPem(l); - case b.KeyAlgorithm.SECP256K1: + }, v.createPrivateKeyFromPem = function(l, u) { + switch (u) { + case C.KeyAlgorithm.ED25519: + return a.PrivateKey.fromPem(l); + case C.KeyAlgorithm.SECP256K1: return f.PrivateKey.fromPem(l); default: - throw new Error("Unsupported key algorithm: ".concat(s)); + throw new Error("Unsupported key algorithm: ".concat(u)); } - }, d.createPrivateKeyFromHex = function(l, s) { - switch (s) { - case b.KeyAlgorithm.ED25519: - return t.PrivateKey.fromHex(l); - case b.KeyAlgorithm.SECP256K1: + }, v.createPrivateKeyFromHex = function(l, u) { + switch (u) { + case C.KeyAlgorithm.ED25519: + return a.PrivateKey.fromHex(l); + case C.KeyAlgorithm.SECP256K1: return f.PrivateKey.fromHex(l); default: - throw new Error("Unsupported key algorithm: ".concat(s)); + throw new Error("Unsupported key algorithm: ".concat(u)); } - }, d; + }, v; }(); - }, 2261: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__decorate || function(N, B, H, U) { - var S, T = arguments.length, E = T < 3 ? B : U === null ? U = Object.getOwnPropertyDescriptor(B, H) : U; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(N, B, H, U); - else for (var M = N.length - 1; M >= 0; M--) (S = N[M]) && (E = (T < 3 ? S(E) : T > 3 ? S(B, H, E) : S(B, H)) || E); - return T > 3 && E && Object.defineProperty(B, H, E), E; - }, i = this && this.__metadata || function(N, B) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(N, B); + }, 2261(g, n, s) { + var r = s(8287).Buffer, o = this && this.__decorate || function(x, A, N, k) { + var j, D = arguments.length, T = D < 3 ? A : k === null ? k = Object.getOwnPropertyDescriptor(A, N) : k; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") T = Reflect.decorate(x, A, N, k); + else for (var L = x.length - 1; L >= 0; L--) (j = x[L]) && (T = (D < 3 ? j(T) : D > 3 ? j(A, N, T) : j(A, N)) || T); + return D > 3 && T && Object.defineProperty(A, N, T), T; + }, i = this && this.__metadata || function(x, A) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(x, A); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.isValidPublicKey = n.isSameCase = n.PublicKeyList = n.PublicKey = void 0; - var m, t = c(9592), f = c(8905), b = c(2019), y = c(4570), u = c(3401), d = c(7372), l = c(678), s = new Error("empty signature"), v = new Error("invalid public key algorithm"), p = new Error("invalid signature"), h = new Error("empty public key"); - (function(N) { - N[N.ED25519 = 1] = "ED25519", N[N.SECP256K1 = 2] = "SECP256K1"; - })(m || (m = {})); - var O = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "A", "B", "C", "D", "E", "F"], I = function() { - function N(H, U) { - this.cryptoAlg = H, this.key = U; + var p, a = s(9592), f = s(8905), C = s(2019), w = s(4570), m = s(3401), v = s(7372), l = s(678), u = new Error("empty signature"), y = new Error("invalid public key algorithm"), d = new Error("invalid signature"), b = new Error("empty public key"); + (function(x) { + x[x.ED25519 = 1] = "ED25519", x[x.SECP256K1 = 2] = "SECP256K1"; + })(p || (p = {})); + var _ = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "A", "B", "C", "D", "E", "F"], E = function() { + function x(N, k) { + this.cryptoAlg = N, this.key = k; } - var B; - return B = N, N.prototype.bytes = function() { + var A; + return A = x, x.prototype.bytes = function() { if (!this.key) return new Uint8Array(); - var H = new Uint8Array([this.cryptoAlg]), U = this.key.bytes(); - return (0, f.concat)([H, U]); - }, N.prototype.toHex = function(H) { - if (H === void 0 && (H = !1), !this.key) throw new Error("Public key initialised incorrectly. Missing key"); - var U = "0".concat(this.cryptoAlg).concat(d.Conversions.encodeBase16(this.key.bytes())); - if (H) { - var S = d.Conversions.decodeBase16(U); - return B.encode(S.slice(0, 1)) + B.encode(S.slice(1)); - } - return U; - }, N.prototype.toJSON = function() { + var N = new Uint8Array([this.cryptoAlg]), k = this.key.bytes(); + return (0, f.concat)([N, k]); + }, x.prototype.toHex = function(N) { + if (N === void 0 && (N = !1), !this.key) throw new Error("Public key initialised incorrectly. Missing key"); + var k = "0".concat(this.cryptoAlg).concat(v.Conversions.encodeBase16(this.key.bytes())); + if (N) { + var j = v.Conversions.decodeBase16(k); + return A.encode(j.slice(0, 1)) + A.encode(j.slice(1)); + } + return k; + }, x.prototype.toJSON = function() { return this.toHex(); - }, N.prototype.toString = function() { + }, x.prototype.toString = function() { return this.toHex(); - }, N.fromJSON = function(H) { - return B.fromHex(H); - }, N.fromHex = function(H, U) { - if (U === void 0 && (U = !1), H.length < 2) throw new Error("Public key error: too short"); - if (!/^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(H)) throw new Error("Invalid public key"); - if (U && !B.isChecksummed(H)) throw Error("Provided public key is not checksummed."); - return B.fromBuffer(d.Conversions.decodeBase16(H)); - }, N.fromBuffer = function(H) { - var U, S = new Uint8Array(H), T = S[0], E = S.slice(1); - switch (T) { - case m.ED25519: - U = new b.PublicKey(E); + }, x.fromJSON = function(N) { + return A.fromHex(N); + }, x.fromHex = function(N, k) { + if (k === void 0 && (k = !1), N.length < 2) throw new Error("Public key error: too short"); + if (!/^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(N)) throw new Error("Invalid public key"); + if (k && !A.isChecksummed(N)) throw Error("Provided public key is not checksummed."); + return A.fromBuffer(v.Conversions.decodeBase16(N)); + }, x.fromBuffer = function(N) { + var k, j = new Uint8Array(N), D = j[0], T = j.slice(1); + switch (D) { + case p.ED25519: + k = new C.PublicKey(T); break; - case m.SECP256K1: - U = new y.PublicKey(E); + case p.SECP256K1: + k = new w.PublicKey(T); break; default: - throw v; - } - return new B(T, U); - }, N.prototype.accountHash = function() { - if (!this.key) return new u.AccountHash(new u.Hash(new Uint8Array(0))); - var H = m[this.cryptoAlg].toLowerCase(), U = new TextEncoder().encode(H), S = new Uint8Array([0]), T = this.key.bytes(), E = (0, f.concat)([U, S, T]), M = (0, l.byteHash)(E), _ = u.Hash.fromBuffer(r.from(M)); - return new u.AccountHash(_, "account-hash"); - }, N.prototype.verifySignature = function(H, U) { - if (U.length <= 1) throw s; - if (!this.key) throw h; - var S = U.slice(1), T = this.key.verifySignature(H, S); - if (!T) throw p; - return T; - }, N.prototype.toPem = function() { + throw y; + } + return new A(D, k); + }, x.prototype.accountHash = function() { + if (!this.key) return new m.AccountHash(new m.Hash(new Uint8Array(0))); + var N = p[this.cryptoAlg].toLowerCase(), k = new TextEncoder().encode(N), j = new Uint8Array([0]), D = this.key.bytes(), T = (0, f.concat)([k, j, D]), L = (0, l.byteHash)(T), R = m.Hash.fromBuffer(r.from(L)); + return new m.AccountHash(R, "account-hash"); + }, x.prototype.verifySignature = function(N, k) { + if (k.length <= 1) throw u; + if (!this.key) throw b; + var j = k.slice(1), D = this.key.verifySignature(N, j); + if (!D) throw d; + return D; + }, x.prototype.toPem = function() { return this.key.toPem(); - }, N.fromPem = function(H, U) { - var S = null; - switch (U) { - case m.ED25519: - S = b.PublicKey.fromPem(H); + }, x.fromPem = function(N, k) { + var j = null; + switch (k) { + case p.ED25519: + j = C.PublicKey.fromPem(N); break; - case m.SECP256K1: - S = y.PublicKey.fromPem(H); + case p.SECP256K1: + j = w.PublicKey.fromPem(N); break; default: - throw v; - } - return new B(U, S); - }, N.prototype.equals = function(H) { - return this.toHex() === H.toHex(); - }, N.newPublicKey = function(H) { - var U, S = r.from(H, "hex"); - return (U = this.fromBytes(S)) === null || U === void 0 ? void 0 : U.result; - }, N.fromBytes = function(H) { - var U, S = H[0], T = null; - switch (S) { - case m.ED25519: - U = 32, T = new b.PublicKey(H.subarray(1, U + 1)); + throw y; + } + return new A(k, j); + }, x.prototype.equals = function(N) { + return this.toHex() === N.toHex(); + }, x.newPublicKey = function(N) { + var k, j = r.from(N, "hex"); + return (k = this.fromBytes(j)) === null || k === void 0 ? void 0 : k.result; + }, x.fromBytes = function(N) { + var k, j = N[0], D = null; + switch (j) { + case p.ED25519: + k = 32, D = new C.PublicKey(N.subarray(1, k + 1)); break; - case m.SECP256K1: - U = 33, T = new y.PublicKey(H.subarray(1, U + 1)); + case p.SECP256K1: + k = 33, D = new w.PublicKey(N.subarray(1, k + 1)); break; default: - throw v; - } - return { result: new B(S, T), bytes: H.subarray(U + 1) }; - }, N.isChecksummed = function(H) { - var U = new Uint8Array(r.from(H, "hex")); - return !!(U.length > 75 || R(H)) || (L(H) ? H === B.encode(U.slice(0, 1)) + B.encode(U.slice(1)) : H === B.encode(U)); - }, N.encode = function(H) { - var U = H.reduce(function(T, E) { - return (0, f.concat)([T, Uint8Array.of(E >>> 4, 15 & E)]); - }, new Uint8Array()), S = function(T) { - for (var E = [], M = 0, _ = 0; M < T.length; M++) for (var w = 0; w < 8; w++) E[_++] = (T[M] >>> w & 1) == 1; - return E; - }((0, l.byteHash)(H)).values(); - return U.reduce(function(T, E) { - var M = O[E]; - return /^[a-zA-Z()]+$/.test(M) && S.next().value ? T + M.toUpperCase() : T + M.toLowerCase(); + throw y; + } + return { result: new A(j, D), bytes: N.subarray(k + 1) }; + }, x.isChecksummed = function(N) { + var k = new Uint8Array(r.from(N, "hex")); + return !!(k.length > 75 || O(N)) || (I(N) ? N === A.encode(k.slice(0, 1)) + A.encode(k.slice(1)) : N === A.encode(k)); + }, x.encode = function(N) { + var k = N.reduce(function(D, T) { + return (0, f.concat)([D, Uint8Array.of(T >>> 4, 15 & T)]); + }, new Uint8Array()), j = function(D) { + for (var T = [], L = 0, R = 0; L < D.length; L++) for (var M = 0; M < 8; M++) T[R++] = (D[L] >>> M & 1) == 1; + return T; + }((0, l.byteHash)(N)).values(); + return k.reduce(function(D, T) { + var L = _[T]; + return /^[a-zA-Z()]+$/.test(L) && j.next().value ? D + L.toUpperCase() : D + L.toLowerCase(); }, ""); - }, a([(0, t.jsonMember)({ constructor: Number }), i("design:type", Number)], N.prototype, "cryptoAlg", void 0), B = a([t.jsonObject, i("design:paramtypes", [Number, Object])], N); + }, o([(0, a.jsonMember)({ constructor: Number }), i("design:type", Number)], x.prototype, "cryptoAlg", void 0), A = o([a.jsonObject, i("design:paramtypes", [Number, Object])], x); }(); - n.PublicKey = I; - var k = function() { - function N(B) { - B === void 0 && (B = []), this.keys = B; + n.PublicKey = E; + var B = function() { + function x(A) { + A === void 0 && (A = []), this.keys = A; } - return N.prototype.contains = function(B) { - return this.keys.some(function(H) { - return H.equals(B); + return x.prototype.contains = function(A) { + return this.keys.some(function(N) { + return N.equals(A); }); - }, N; - }(); - function R(N) { - return /^[a-z0-9]+$|^[A-Z0-9]+$/.test(N); - } - function L(N) { - return /^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(N); - } - n.PublicKeyList = k, n.isSameCase = R, n.isValidPublicKey = L; - }, 8385: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(l, s, v, p) { - p === void 0 && (p = v); - var h = Object.getOwnPropertyDescriptor(s, v); - h && !("get" in h ? !s.__esModule : h.writable || h.configurable) || (h = { enumerable: !0, get: function() { - return s[v]; - } }), Object.defineProperty(l, p, h); - } : function(l, s, v, p) { - p === void 0 && (p = v), l[p] = s[v]; - }), i = this && this.__setModuleDefault || (Object.create ? function(l, s) { - Object.defineProperty(l, "default", { enumerable: !0, value: s }); - } : function(l, s) { - l.default = s; - }), m = this && this.__importStar || function(l) { + }, x; + }(); + function O(x) { + return /^[a-z0-9]+$|^[A-Z0-9]+$/.test(x); + } + function I(x) { + return /^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(x); + } + n.PublicKeyList = B, n.isSameCase = O, n.isValidPublicKey = I; + }, 8385(g, n, s) { + var r = s(8287).Buffer, o = this && this.__createBinding || (Object.create ? function(l, u, y, d) { + d === void 0 && (d = y); + var b = Object.getOwnPropertyDescriptor(u, y); + b && !("get" in b ? !u.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + return u[y]; + } }), Object.defineProperty(l, d, b); + } : function(l, u, y, d) { + d === void 0 && (d = y), l[d] = u[y]; + }), i = this && this.__setModuleDefault || (Object.create ? function(l, u) { + Object.defineProperty(l, "default", { enumerable: !0, value: u }); + } : function(l, u) { + l.default = u; + }), p = this && this.__importStar || function(l) { if (l && l.__esModule) return l; - var s = {}; - if (l != null) for (var v in l) v !== "default" && Object.prototype.hasOwnProperty.call(l, v) && a(s, l, v); - return i(s, l), s; + var u = {}; + if (l != null) for (var y in l) y !== "default" && Object.prototype.hasOwnProperty.call(l, y) && o(u, l, y); + return i(u, l), u; }; Object.defineProperty(n, "__esModule", { value: !0 }), n.PrivateKey = void 0; - var t = m(c(5111)), f = c(102), b = c(7372), y = c(8032); - t.utils.sha512Sync = function() { - for (var l, s = [], v = 0; v < arguments.length; v++) s[v] = arguments[v]; - return (0, f.sha512)((l = t.utils).concatBytes.apply(l, s)); + var a = p(s(5111)), f = s(102), C = s(7372), w = s(8032); + a.utils.sha512Sync = function() { + for (var l, u = [], y = 0; y < arguments.length; y++) u[y] = arguments[y]; + return (0, f.sha512)((l = a.utils).concatBytes.apply(l, u)); }; - var u = "PRIVATE KEY", d = function() { - function l(s) { - this.key = s; + var m = "PRIVATE KEY", v = function() { + function l(u) { + this.key = u; } return l.generate = function() { - return new l(t.utils.randomPrivateKey()); + return new l(a.utils.randomPrivateKey()); }, l.prototype.publicKeyBytes = function() { - return t.sync.getPublicKey(this.key); + return a.sync.getPublicKey(this.key); }, l.prototype.toBytes = function() { return this.key; - }, l.prototype.sign = function(s) { - return t.sync.sign(s, this.key); - }, l.fromBytes = function(s) { - if (s.length !== 32) throw new Error("Invalid key size: expected 64 bytes, got ".concat(s.length)); - return new l(s); - }, l.fromHex = function(s) { - if (s.length !== 64) throw new Error("Invalid hex string length: expected 64 characters, got ".concat(s.length)); - var v = r.from(s, "hex"); - return l.fromBytes(v); + }, l.prototype.sign = function(u) { + return a.sync.sign(u, this.key); + }, l.fromBytes = function(u) { + if (u.length !== 32) throw new Error("Invalid key size: expected 64 bytes, got ".concat(u.length)); + return new l(u); + }, l.fromHex = function(u) { + if (u.length !== 64) throw new Error("Invalid hex string length: expected 64 characters, got ".concat(u.length)); + var y = r.from(u, "hex"); + return l.fromBytes(y); }, l.prototype.toPem = function() { - var s = r.from([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32]), v = b.Conversions.encodeBase64(r.concat([s, r.from(this.key)])); - return "-----BEGIN ".concat(u, `----- -`) + "".concat(v, ` -`) + "-----END ".concat(u, `----- + var u = r.from([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32]), y = C.Conversions.encodeBase64(r.concat([u, r.from(this.key)])); + return "-----BEGIN ".concat(m, `----- +`) + "".concat(y, ` +`) + "-----END ".concat(m, `----- `); - }, l.fromPem = function(s) { - var v = (0, y.readBase64WithPEM)(s); - return new l(new Uint8Array(r.from((0, y.parseKey)(v, 0, 32)))); + }, l.fromPem = function(u) { + var y = (0, w.readBase64WithPEM)(u); + return new l(new Uint8Array(r.from((0, w.parseKey)(y, 0, 32)))); }, l.PemFramePrivateKeyPrefixSize = 16, l; }(); - n.PrivateKey = d; - }, 2019: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(d, l, s, v) { - v === void 0 && (v = s); - var p = Object.getOwnPropertyDescriptor(l, s); - p && !("get" in p ? !l.__esModule : p.writable || p.configurable) || (p = { enumerable: !0, get: function() { - return l[s]; - } }), Object.defineProperty(d, v, p); - } : function(d, l, s, v) { - v === void 0 && (v = s), d[v] = l[s]; - }), i = this && this.__setModuleDefault || (Object.create ? function(d, l) { - Object.defineProperty(d, "default", { enumerable: !0, value: l }); - } : function(d, l) { - d.default = l; - }), m = this && this.__importStar || function(d) { - if (d && d.__esModule) return d; + n.PrivateKey = v; + }, 2019(g, n, s) { + var r = s(8287).Buffer, o = this && this.__createBinding || (Object.create ? function(v, l, u, y) { + y === void 0 && (y = u); + var d = Object.getOwnPropertyDescriptor(l, u); + d && !("get" in d ? !l.__esModule : d.writable || d.configurable) || (d = { enumerable: !0, get: function() { + return l[u]; + } }), Object.defineProperty(v, y, d); + } : function(v, l, u, y) { + y === void 0 && (y = u), v[y] = l[u]; + }), i = this && this.__setModuleDefault || (Object.create ? function(v, l) { + Object.defineProperty(v, "default", { enumerable: !0, value: l }); + } : function(v, l) { + v.default = l; + }), p = this && this.__importStar || function(v) { + if (v && v.__esModule) return v; var l = {}; - if (d != null) for (var s in d) s !== "default" && Object.prototype.hasOwnProperty.call(d, s) && a(l, d, s); - return i(l, d), l; + if (v != null) for (var u in v) u !== "default" && Object.prototype.hasOwnProperty.call(v, u) && o(l, v, u); + return i(l, v), l; }; Object.defineProperty(n, "__esModule", { value: !0 }), n.PublicKey = void 0; - var t = m(c(5111)), f = c(7372), b = c(8032), y = "PUBLIC KEY", u = function() { - function d(l) { + var a = p(s(5111)), f = s(7372), C = s(8032), w = "PUBLIC KEY", m = function() { + function v(l) { this.key = l; } - return d.prototype.bytes = function() { + return v.prototype.bytes = function() { return this.key; - }, d.prototype.toPem = function() { - var l = r.from([48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0]), s = f.Conversions.encodeBase64(r.concat([l, r.from(this.key)])); - return "-----BEGIN ".concat(y, `----- -`) + "".concat(s, ` -`) + "-----END ".concat(y, `----- + }, v.prototype.toPem = function() { + var l = r.from([48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0]), u = f.Conversions.encodeBase64(r.concat([l, r.from(this.key)])); + return "-----BEGIN ".concat(w, `----- +`) + "".concat(u, ` +`) + "-----END ".concat(w, `----- `); - }, d.fromPem = function(l) { - var s = (0, b.readBase64WithPEM)(l); - return new d(new Uint8Array(r.from((0, b.parseKey)(s, 32, 64)))); - }, d.prototype.verifySignature = function(l, s) { - return t.sync.verify(s, l, this.key); - }, d.fromBytes = function(l) { + }, v.fromPem = function(l) { + var u = (0, C.readBase64WithPEM)(l); + return new v(new Uint8Array(r.from((0, C.parseKey)(u, 32, 64)))); + }, v.prototype.verifySignature = function(l, u) { + return a.sync.verify(u, l, this.key); + }, v.fromBytes = function(l) { if (l.length !== 32) throw new Error("Can't parse wrong size of public key: ".concat(l.length)); - return new d(l); - }, d; + return new v(l); + }, v; }(); - n.PublicKey = u; - }, 9449: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + n.PublicKey = m; + }, 9449(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(2261), n), a(c(4359), n), a(c(2048), n); - }, 7846: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(p, h, O, I) { - I === void 0 && (I = O); - var k = Object.getOwnPropertyDescriptor(h, O); - k && !("get" in k ? !h.__esModule : k.writable || k.configurable) || (k = { enumerable: !0, get: function() { - return h[O]; - } }), Object.defineProperty(p, I, k); - } : function(p, h, O, I) { - I === void 0 && (I = O), p[I] = h[O]; - }), i = this && this.__setModuleDefault || (Object.create ? function(p, h) { - Object.defineProperty(p, "default", { enumerable: !0, value: h }); - } : function(p, h) { - p.default = h; - }), m = this && this.__importStar || function(p) { - if (p && p.__esModule) return p; - var h = {}; - if (p != null) for (var O in p) O !== "default" && Object.prototype.hasOwnProperty.call(p, O) && a(h, p, O); - return i(h, p), h; - }, t = this && this.__awaiter || function(p, h, O, I) { - return new (O || (O = Promise))(function(k, R) { - function L(H) { + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(2261), n), o(s(4359), n), o(s(2048), n); + }, 7846(g, n, s) { + var r = s(8287).Buffer, o = this && this.__createBinding || (Object.create ? function(d, b, _, E) { + E === void 0 && (E = _); + var B = Object.getOwnPropertyDescriptor(b, _); + B && !("get" in B ? !b.__esModule : B.writable || B.configurable) || (B = { enumerable: !0, get: function() { + return b[_]; + } }), Object.defineProperty(d, E, B); + } : function(d, b, _, E) { + E === void 0 && (E = _), d[E] = b[_]; + }), i = this && this.__setModuleDefault || (Object.create ? function(d, b) { + Object.defineProperty(d, "default", { enumerable: !0, value: b }); + } : function(d, b) { + d.default = b; + }), p = this && this.__importStar || function(d) { + if (d && d.__esModule) return d; + var b = {}; + if (d != null) for (var _ in d) _ !== "default" && Object.prototype.hasOwnProperty.call(d, _) && o(b, d, _); + return i(b, d), b; + }, a = this && this.__awaiter || function(d, b, _, E) { + return new (_ || (_ = Promise))(function(B, O) { + function I(N) { try { - B(I.next(H)); - } catch (U) { - R(U); + A(E.next(N)); + } catch (k) { + O(k); } } - function N(H) { + function x(N) { try { - B(I.throw(H)); - } catch (U) { - R(U); + A(E.throw(N)); + } catch (k) { + O(k); } } - function B(H) { - var U; - H.done ? k(H.value) : (U = H.value, U instanceof O ? U : new O(function(S) { - S(U); - })).then(L, N); + function A(N) { + var k; + N.done ? B(N.value) : (k = N.value, k instanceof _ ? k : new _(function(j) { + j(k); + })).then(I, x); } - B((I = I.apply(p, h || [])).next()); + A((E = E.apply(d, b || [])).next()); }); - }, f = this && this.__generator || function(p, h) { - var O, I, k, R, L = { label: 0, sent: function() { - if (1 & k[0]) throw k[1]; - return k[1]; + }, f = this && this.__generator || function(d, b) { + var _, E, B, O, I = { label: 0, sent: function() { + if (1 & B[0]) throw B[1]; + return B[1]; }, trys: [], ops: [] }; - return R = { next: N(0), throw: N(1), return: N(2) }, typeof Symbol == "function" && (R[Symbol.iterator] = function() { + return O = { next: x(0), throw: x(1), return: x(2) }, typeof Symbol == "function" && (O[Symbol.iterator] = function() { return this; - }), R; - function N(B) { - return function(H) { - return function(U) { - if (O) throw new TypeError("Generator is already executing."); - for (; R && (R = 0, U[0] && (L = 0)), L; ) try { - if (O = 1, I && (k = 2 & U[0] ? I.return : U[0] ? I.throw || ((k = I.return) && k.call(I), 0) : I.next) && !(k = k.call(I, U[1])).done) return k; - switch (I = 0, k && (U = [2 & U[0], k.value]), U[0]) { + }), O; + function x(A) { + return function(N) { + return function(k) { + if (_) throw new TypeError("Generator is already executing."); + for (; O && (O = 0, k[0] && (I = 0)), I; ) try { + if (_ = 1, E && (B = 2 & k[0] ? E.return : k[0] ? E.throw || ((B = E.return) && B.call(E), 0) : E.next) && !(B = B.call(E, k[1])).done) return B; + switch (E = 0, B && (k = [2 & k[0], B.value]), k[0]) { case 0: case 1: - k = U; + B = k; break; case 4: - return L.label++, { value: U[1], done: !1 }; + return I.label++, { value: k[1], done: !1 }; case 5: - L.label++, I = U[1], U = [0]; + I.label++, E = k[1], k = [0]; continue; case 7: - U = L.ops.pop(), L.trys.pop(); + k = I.ops.pop(), I.trys.pop(); continue; default: - if (!((k = (k = L.trys).length > 0 && k[k.length - 1]) || U[0] !== 6 && U[0] !== 2)) { - L = 0; + if (!((B = (B = I.trys).length > 0 && B[B.length - 1]) || k[0] !== 6 && k[0] !== 2)) { + I = 0; continue; } - if (U[0] === 3 && (!k || U[1] > k[0] && U[1] < k[3])) { - L.label = U[1]; + if (k[0] === 3 && (!B || k[1] > B[0] && k[1] < B[3])) { + I.label = k[1]; break; } - if (U[0] === 6 && L.label < k[1]) { - L.label = k[1], k = U; + if (k[0] === 6 && I.label < B[1]) { + I.label = B[1], B = k; break; } - if (k && L.label < k[2]) { - L.label = k[2], L.ops.push(U); + if (B && I.label < B[2]) { + I.label = B[2], I.ops.push(k); break; } - k[2] && L.ops.pop(), L.trys.pop(); + B[2] && I.ops.pop(), I.trys.pop(); continue; } - U = h.call(p, L); - } catch (S) { - U = [6, S], I = 0; + k = b.call(d, I); + } catch (j) { + k = [6, j], E = 0; } finally { - O = k = 0; + _ = B = 0; } - if (5 & U[0]) throw U[1]; - return { value: U[0] ? U[1] : void 0, done: !0 }; - }([B, H]); + if (5 & k[0]) throw k[1]; + return { value: k[0] ? k[1] : void 0, done: !0 }; + }([A, N]); }; } }; Object.defineProperty(n, "__esModule", { value: !0 }), n.PrivateKey = void 0; - var b = m(c(9598)), y = c(2623), u = c(9615), d = c(7372), l = c(8032), s = c(3073); - b.utils.hmacSha256Sync = function(p) { - for (var h, O = [], I = 1; I < arguments.length; I++) O[I - 1] = arguments[I]; - return (0, u.hmac)(y.sha256, p, (h = b.utils).concatBytes.apply(h, O)); + var C = p(s(9598)), w = s(2623), m = s(9615), v = s(7372), l = s(8032), u = s(3073); + C.utils.hmacSha256Sync = function(d) { + for (var b, _ = [], E = 1; E < arguments.length; E++) _[E - 1] = arguments[E]; + return (0, m.hmac)(w.sha256, d, (b = C.utils).concatBytes.apply(b, _)); }; - var v = function() { - function p(h) { - this.key = h; - } - return p.generate = function() { - return new p(b.utils.randomPrivateKey()); - }, p.prototype.publicKeyBytes = function() { - return b.getPublicKey(this.key, !0); - }, p.prototype.getPublicKeyBytes = function() { - return t(this, void 0, void 0, function() { - return f(this, function(h) { - return [2, b.getPublicKey(this.key, !0)]; + var y = function() { + function d(b) { + this.key = b; + } + return d.generate = function() { + return new d(C.utils.randomPrivateKey()); + }, d.prototype.publicKeyBytes = function() { + return C.getPublicKey(this.key, !0); + }, d.prototype.getPublicKeyBytes = function() { + return a(this, void 0, void 0, function() { + return f(this, function(b) { + return [2, C.getPublicKey(this.key, !0)]; }); }); - }, p.prototype.toBytes = function() { + }, d.prototype.toBytes = function() { return this.key; - }, p.prototype.sign = function(h) { - var O = (0, y.sha256)(h); - return b.signSync(O, this.key, { der: !1 }); - }, p.fromBytes = function(h) { - if (h.length !== 32) throw new Error("Invalid private key length: expected 32 bytes, got ".concat(h.length)); - return new p(h); - }, p.fromHex = function(h) { - if (h.length !== 64) throw new Error("Invalid private key hex length: expected 64 characters, got ".concat(h.length)); - var O; + }, d.prototype.sign = function(b) { + var _ = (0, w.sha256)(b); + return C.signSync(_, this.key, { der: !1 }); + }, d.fromBytes = function(b) { + if (b.length !== 32) throw new Error("Invalid private key length: expected 32 bytes, got ".concat(b.length)); + return new d(b); + }, d.fromHex = function(b) { + if (b.length !== 64) throw new Error("Invalid private key hex length: expected 64 characters, got ".concat(b.length)); + var _; try { - O = b.utils.hexToBytes(h); - } catch (I) { - throw new Error("Failed to decode hex: ".concat(I)); - } - return p.fromBytes(O); - }, p.prototype.toPem = function() { - return (0, s.encodePrivate)(d.Conversions.encodeBase16(this.key), "raw", "pem"); - }, p.fromPem = function(h) { - var O = (0, l.readBase64WithPEM)(h), I = (0, s.encodePrivate)(r.from(O), "der", "raw"); - return new p(new Uint8Array(r.from(I, "hex"))); - }, p; + _ = C.utils.hexToBytes(b); + } catch (E) { + throw new Error("Failed to decode hex: ".concat(E)); + } + return d.fromBytes(_); + }, d.prototype.toPem = function() { + return (0, u.encodePrivate)(v.Conversions.encodeBase16(this.key), "raw", "pem"); + }, d.fromPem = function(b) { + var _ = (0, l.readBase64WithPEM)(b), E = (0, u.encodePrivate)(r.from(_), "der", "raw"); + return new d(new Uint8Array(r.from(E, "hex"))); + }, d; }(); - n.PrivateKey = v; - }, 4570: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(v, p, h, O) { - O === void 0 && (O = h); - var I = Object.getOwnPropertyDescriptor(p, h); - I && !("get" in I ? !p.__esModule : I.writable || I.configurable) || (I = { enumerable: !0, get: function() { - return p[h]; - } }), Object.defineProperty(v, O, I); - } : function(v, p, h, O) { - O === void 0 && (O = h), v[O] = p[h]; - }), i = this && this.__setModuleDefault || (Object.create ? function(v, p) { - Object.defineProperty(v, "default", { enumerable: !0, value: p }); - } : function(v, p) { - v.default = p; - }), m = this && this.__importStar || function(v) { - if (v && v.__esModule) return v; - var p = {}; - if (v != null) for (var h in v) h !== "default" && Object.prototype.hasOwnProperty.call(v, h) && a(p, v, h); - return i(p, v), p; - }, t = this && this.__awaiter || function(v, p, h, O) { - return new (h || (h = Promise))(function(I, k) { - function R(B) { + n.PrivateKey = y; + }, 4570(g, n, s) { + var r = s(8287).Buffer, o = this && this.__createBinding || (Object.create ? function(y, d, b, _) { + _ === void 0 && (_ = b); + var E = Object.getOwnPropertyDescriptor(d, b); + E && !("get" in E ? !d.__esModule : E.writable || E.configurable) || (E = { enumerable: !0, get: function() { + return d[b]; + } }), Object.defineProperty(y, _, E); + } : function(y, d, b, _) { + _ === void 0 && (_ = b), y[_] = d[b]; + }), i = this && this.__setModuleDefault || (Object.create ? function(y, d) { + Object.defineProperty(y, "default", { enumerable: !0, value: d }); + } : function(y, d) { + y.default = d; + }), p = this && this.__importStar || function(y) { + if (y && y.__esModule) return y; + var d = {}; + if (y != null) for (var b in y) b !== "default" && Object.prototype.hasOwnProperty.call(y, b) && o(d, y, b); + return i(d, y), d; + }, a = this && this.__awaiter || function(y, d, b, _) { + return new (b || (b = Promise))(function(E, B) { + function O(A) { try { - N(O.next(B)); - } catch (H) { - k(H); + x(_.next(A)); + } catch (N) { + B(N); } } - function L(B) { + function I(A) { try { - N(O.throw(B)); - } catch (H) { - k(H); + x(_.throw(A)); + } catch (N) { + B(N); } } - function N(B) { - var H; - B.done ? I(B.value) : (H = B.value, H instanceof h ? H : new h(function(U) { - U(H); - })).then(R, L); + function x(A) { + var N; + A.done ? E(A.value) : (N = A.value, N instanceof b ? N : new b(function(k) { + k(N); + })).then(O, I); } - N((O = O.apply(v, p || [])).next()); + x((_ = _.apply(y, d || [])).next()); }); - }, f = this && this.__generator || function(v, p) { - var h, O, I, k, R = { label: 0, sent: function() { - if (1 & I[0]) throw I[1]; - return I[1]; + }, f = this && this.__generator || function(y, d) { + var b, _, E, B, O = { label: 0, sent: function() { + if (1 & E[0]) throw E[1]; + return E[1]; }, trys: [], ops: [] }; - return k = { next: L(0), throw: L(1), return: L(2) }, typeof Symbol == "function" && (k[Symbol.iterator] = function() { + return B = { next: I(0), throw: I(1), return: I(2) }, typeof Symbol == "function" && (B[Symbol.iterator] = function() { return this; - }), k; - function L(N) { - return function(B) { - return function(H) { - if (h) throw new TypeError("Generator is already executing."); - for (; k && (k = 0, H[0] && (R = 0)), R; ) try { - if (h = 1, O && (I = 2 & H[0] ? O.return : H[0] ? O.throw || ((I = O.return) && I.call(O), 0) : O.next) && !(I = I.call(O, H[1])).done) return I; - switch (O = 0, I && (H = [2 & H[0], I.value]), H[0]) { + }), B; + function I(x) { + return function(A) { + return function(N) { + if (b) throw new TypeError("Generator is already executing."); + for (; B && (B = 0, N[0] && (O = 0)), O; ) try { + if (b = 1, _ && (E = 2 & N[0] ? _.return : N[0] ? _.throw || ((E = _.return) && E.call(_), 0) : _.next) && !(E = E.call(_, N[1])).done) return E; + switch (_ = 0, E && (N = [2 & N[0], E.value]), N[0]) { case 0: case 1: - I = H; + E = N; break; case 4: - return R.label++, { value: H[1], done: !1 }; + return O.label++, { value: N[1], done: !1 }; case 5: - R.label++, O = H[1], H = [0]; + O.label++, _ = N[1], N = [0]; continue; case 7: - H = R.ops.pop(), R.trys.pop(); + N = O.ops.pop(), O.trys.pop(); continue; default: - if (!((I = (I = R.trys).length > 0 && I[I.length - 1]) || H[0] !== 6 && H[0] !== 2)) { - R = 0; + if (!((E = (E = O.trys).length > 0 && E[E.length - 1]) || N[0] !== 6 && N[0] !== 2)) { + O = 0; continue; } - if (H[0] === 3 && (!I || H[1] > I[0] && H[1] < I[3])) { - R.label = H[1]; + if (N[0] === 3 && (!E || N[1] > E[0] && N[1] < E[3])) { + O.label = N[1]; break; } - if (H[0] === 6 && R.label < I[1]) { - R.label = I[1], I = H; + if (N[0] === 6 && O.label < E[1]) { + O.label = E[1], E = N; break; } - if (I && R.label < I[2]) { - R.label = I[2], R.ops.push(H); + if (E && O.label < E[2]) { + O.label = E[2], O.ops.push(N); break; } - I[2] && R.ops.pop(), R.trys.pop(); + E[2] && O.ops.pop(), O.trys.pop(); continue; } - H = p.call(v, R); - } catch (U) { - H = [6, U], O = 0; + N = d.call(y, O); + } catch (k) { + N = [6, k], _ = 0; } finally { - h = I = 0; + b = E = 0; } - if (5 & H[0]) throw H[1]; - return { value: H[0] ? H[1] : void 0, done: !0 }; - }([N, B]); + if (5 & N[0]) throw N[1]; + return { value: N[0] ? N[1] : void 0, done: !0 }; + }([x, A]); }; } }; Object.defineProperty(n, "__esModule", { value: !0 }), n.PublicKey = void 0; - var b = m(c(9598)), y = c(2623), u = c(7372), d = c(8032), l = c(3073), s = function() { - function v(p) { - this.key = p; + var C = p(s(9598)), w = s(2623), m = s(7372), v = s(8032), l = s(3073), u = function() { + function y(d) { + this.key = d; } - return v.prototype.bytes = function() { + return y.prototype.bytes = function() { return this.key; - }, v.prototype.toPem = function() { - return (0, l.encodePublic)(u.Conversions.encodeBase16(this.key), "raw", "pem"); - }, v.prototype.verifySignature = function(p, h) { - var O; - if (h.length === 64) O = h; + }, y.prototype.toPem = function() { + return (0, l.encodePublic)(m.Conversions.encodeBase16(this.key), "raw", "pem"); + }, y.prototype.verifySignature = function(d, b) { + var _; + if (b.length === 64) _ = b; else try { - O = b.Signature.fromDER(h).toCompactRawBytes(); - } catch (k) { - return console.error("Failed to parse DER signature:", k), !1; - } - var I = (0, y.sha256)(p); - return b.verify(O, I, this.key); - }, v.fromPem = function(p) { - var h = (0, d.readBase64WithPEM)(p), O = (0, l.encodePublic)(r.from(h), "der", "raw"); - return new v(new Uint8Array(r.from(O, "hex"))); - }, v.fromBytes = function(p) { - return t(this, void 0, void 0, function() { - var h, O, I; - return f(this, function(k) { - if (p.length !== 33) throw new Error("Can't parse public key with wrong size: ".concat(p.length)); + _ = C.Signature.fromDER(b).toCompactRawBytes(); + } catch (B) { + return console.error("Failed to parse DER signature:", B), !1; + } + var E = (0, w.sha256)(d); + return C.verify(_, E, this.key); + }, y.fromPem = function(d) { + var b = (0, v.readBase64WithPEM)(d), _ = (0, l.encodePublic)(r.from(b), "der", "raw"); + return new y(new Uint8Array(r.from(_, "hex"))); + }, y.fromBytes = function(d) { + return a(this, void 0, void 0, function() { + var b, _, E; + return f(this, function(B) { + if (d.length !== 33) throw new Error("Can't parse public key with wrong size: ".concat(d.length)); try { - O = b.Point.fromHex(p), I = O.toRawBytes(!0), h = I; + _ = C.Point.fromHex(d), E = _.toRawBytes(!0), b = E; } catch { throw new Error("Invalid public key"); } - return [2, new v(h)]; + return [2, new y(b)]; }); }); - }, v; + }, y; }(); - n.PublicKey = s; - }, 3073: function(x, n, c) { - var r = c(8287).Buffer, a = this && this.__importDefault || function(d) { - return d && d.__esModule ? d : { default: d }; + n.PublicKey = u; + }, 3073(g, n, s) { + var r = s(8287).Buffer, o = this && this.__importDefault || function(v) { + return v && v.__esModule ? v : { default: v }; }; Object.defineProperty(n, "__esModule", { value: !0 }), n.encodePublic = n.encodePrivate = void 0; - var i = a(c(6729)), m = a(c(9404)), t = a(c(7568)), f = { curveParameters: [1, 3, 132, 0, 10], privatePEMOptions: { label: "EC PRIVATE KEY" }, publicPEMOptions: { label: "PUBLIC KEY" }, curve: new i.default.ec("secp256k1") }, b = [1, 2, 840, 10045, 2, 1], y = t.default.define("ECPrivateKey", function() { - var d = this; - d.seq().obj(d.key("version").int(), d.key("privateKey").octstr(), d.key("parameters").explicit(0).objid().optional(), d.key("publicKey").explicit(1).bitstr().optional()); - }), u = t.default.define("SubjectPublicKeyInfo", function() { - var d = this; - d.seq().obj(d.key("algorithm").seq().obj(d.key("id").objid(), d.key("curve").objid()), d.key("pub").bitstr()); + var i = o(s(9404)), p = o(s(7568)), a = s(8510), f = { curveParameters: [1, 3, 132, 0, 10], privatePEMOptions: { label: "EC PRIVATE KEY" }, publicPEMOptions: { label: "PUBLIC KEY" } }, C = [1, 2, 840, 10045, 2, 1], w = p.default.define("ECPrivateKey", function() { + var v = this; + v.seq().obj(v.key("version").int(), v.key("privateKey").octstr(), v.key("parameters").explicit(0).objid().optional(), v.key("publicKey").explicit(1).bitstr().optional()); + }), m = p.default.define("SubjectPublicKeyInfo", function() { + var v = this; + v.seq().obj(v.key("algorithm").seq().obj(v.key("id").objid(), v.key("curve").objid()), v.key("pub").bitstr()); }); - n.encodePrivate = function(d, l, s) { - var v; + n.encodePrivate = function(v, l, u) { + var y; if (l === "raw") { - if (typeof d != "string") throw "private key must be a string"; - v = function(p, h) { - var O = { version: new m.default(1), privateKey: r.from(p, "hex"), parameters: f.curveParameters }; - return h && (O.publicKey = { unused: 0, data: r.from(h, "hex") }), O; - }(d, f.curve.keyFromPrivate(d, "hex").getPublic("hex")); + if (typeof v != "string") throw new Error("private key must be a string"); + y = function(d, b) { + var _ = { version: new i.default(1), privateKey: r.from(d, "hex"), parameters: f.curveParameters }; + return b && (_.publicKey = { unused: 0, data: r.from(b, "hex") }), _; + }(v, function(d) { + (function(E, B) { + if (typeof E != "string") throw new Error("".concat(B, " must be a string")); + if (!/^[0-9a-fA-F]*$/.test(E)) throw new Error("".concat(B, " must be a hex string")); + })(d, "privateKey"); + var b = r.from(d, "hex"); + if (b.length !== 32) throw new Error("Invalid private key length: expected 32 bytes, got ".concat(b.length)); + var _ = a.secp256k1.getPublicKey(b, !1); + return r.from(_).toString("hex"); + }(v)); } else if (l === "der") { - if (typeof d == "string") { - if (typeof d != "string") throw "private key must be a buffer or a string"; - d = r.from(d, "hex"); - } - v = y.decode(d, "der"); + if (typeof v == "string") v = r.from(v, "hex"); + else if (!r.isBuffer(v)) throw new Error("private key must be a buffer or a string"); + y = w.decode(v, "der"); } else { - if (l !== "pem") throw "invalid private key format"; - if (typeof d != "string") throw "private key must be a string"; - v = y.decode(d, "pem", f.privatePEMOptions); - } - if (s === "raw") return v.privateKey.toString("hex"); - if (s === "der") return y.encode(v, "der").toString("hex"); - if (s === "pem") return y.encode(v, "pem", f.privatePEMOptions); - throw "invalid destination format for private key"; - }, n.encodePublic = function(d, l, s) { - var v, p; + if (l !== "pem") throw new Error("invalid private key format"); + if (typeof v != "string") throw new Error("private key must be a string"); + y = w.decode(v, "pem", f.privatePEMOptions); + } + if (u === "raw") return y.privateKey.toString("hex"); + if (u === "der") return w.encode(y, "der").toString("hex"); + if (u === "pem") return w.encode(y, "pem", f.privatePEMOptions); + throw new Error("invalid destination format for private key"); + }, n.encodePublic = function(v, l, u) { + var y, d; if (l === "raw") { - if (typeof d != "string") throw "public key must be a string"; - p = d, v = { algorithm: { id: b, curve: f.curveParameters }, pub: { unused: 0, data: r.from(p, "hex") } }; + if (typeof v != "string") throw new Error("public key must be a string"); + d = v, y = { algorithm: { id: C, curve: f.curveParameters }, pub: { unused: 0, data: r.from(d, "hex") } }; } else if (l === "der") { - if (typeof d == "string") { - if (typeof d != "string") throw "public key must be a buffer or a string"; - d = r.from(d, "hex"); - } - v = u.decode(d, "der"); + if (typeof v == "string") v = r.from(v, "hex"); + else if (!r.isBuffer(v)) throw new Error("public key must be a buffer or a string"); + y = m.decode(v, "der"); } else { - if (l !== "pem") throw "invalid public key format"; - if (typeof d != "string") throw "public key must be a string"; - v = u.decode(d, "pem", f.publicPEMOptions); - } - if (s === "raw") return v.pub.data.toString("hex"); - if (s === "der") return u.encode(v, "der").toString("hex"); - if (s === "pem") return u.encode(v, "pem", f.publicPEMOptions); - throw "invalid destination format for public key"; + if (l !== "pem") throw new Error("invalid public key format"); + if (typeof v != "string") throw new Error("public key must be a string"); + y = m.decode(v, "pem", f.publicPEMOptions); + } + if (u === "raw") return y.pub.data.toString("hex"); + if (u === "der") return m.encode(y, "der").toString("hex"); + if (u === "pem") return m.encode(y, "pem", f.publicPEMOptions); + throw new Error("invalid destination format for public key"); }; - }, 8032: (x, n, c) => { - var r = c(8287).Buffer; + }, 8032(g, n, s) { + var r = s(8287).Buffer; Object.defineProperty(n, "__esModule", { value: !0 }), n.parseKey = n.readBase64WithPEM = void 0; - var a = c(7372); + var o = s(7372); n.readBase64WithPEM = function(i) { - var m = i.split(/\r?\n/).filter(function(t) { - return !t.startsWith("---"); + var p = i.split(/\r?\n/).filter(function(a) { + return !a.startsWith("---"); }).join("").trim(); - return a.Conversions.decodeBase64(m); - }, n.parseKey = function(i, m, t) { - var f = i.length, b = f === 32 ? i : f === 64 ? r.from(i).slice(m, t) : f > 32 && f < 64 ? r.from(i).slice(f % 32) : null; - if (b == null || b.length !== 32) throw Error("Unexpected key length: ".concat(f)); - return b; + return o.Conversions.decodeBase64(p); + }, n.parseKey = function(i, p, a) { + var f = i.length, C = f === 32 ? i : f === 64 ? r.from(i).slice(p, a) : f > 32 && f < 64 ? r.from(i).slice(f % 32) : null; + if (C == null || C.length !== 32) throw Error("Unexpected key length: ".concat(f)); + return C; }; - }, 1246: function(x, n, c) { + }, 1246(g, n, s) { var r = this && this.__assign || function() { - return r = Object.assign || function(t) { - for (var f, b = 1, y = arguments.length; b < y; b++) for (var u in f = arguments[b]) Object.prototype.hasOwnProperty.call(f, u) && (t[u] = f[u]); - return t; + return r = Object.assign || function(a) { + for (var f, C = 1, w = arguments.length; C < w; C++) for (var m in f = arguments[C]) Object.prototype.hasOwnProperty.call(f, m) && (a[m] = f[m]); + return a; }, r.apply(this, arguments); }; Object.defineProperty(n, "__esModule", { value: !0 }), n.makeAuctionManagerTransaction = n.makeAuctionManagerDeploy = void 0; - var a = c(7545), i = c(7909), m = c(580); - n.makeAuctionManagerDeploy = function(t) { - var f = t.delegatorPublicKeyHex, b = t.validatorPublicKeyHex, y = t.contractEntryPoint, u = t.amount, d = t.paymentAmount, l = d === void 0 ? "2500000000" : d, s = t.chainName, v = s === void 0 ? i.CasperNetworkName.Mainnet : s, p = t.newValidatorPublicKeyHex, h = t.ttl, O = h === void 0 ? a.DEFAULT_DEPLOY_TTL : h, I = t.contractHash, k = t.timestamp, R = t.gasPrice, L = R === void 0 ? 1 : R, N = a.PublicKey.newPublicKey(f), B = a.PublicKey.newPublicKey(b), H = p ? a.PublicKey.newPublicKey(p) : null, U = I ?? m.AuctionManagerContractHashMap[v]; - if (!U) throw new Error("Auction contract hash is undefined for chain: ".concat(v)); - var S = new a.ExecutableDeployItem(); - S.storedContractByHash = new a.StoredContractByHash(a.ContractHash.newContract(U), y, a.Args.fromMap(r({ validator: a.CLValue.newCLPublicKey(B), delegator: a.CLValue.newCLPublicKey(N), amount: a.CLValue.newCLUInt512(u) }, H ? { new_validator: a.CLValue.newCLPublicKey(H) } : {}))); - var T = a.ExecutableDeployItem.standardPayment(l), E = a.DeployHeader.default(); - return E.account = N, E.chainName = v, E.ttl = new a.Duration(O), E.gasPrice = L, k && (E.timestamp = a.Timestamp.fromJSON(k)), a.Deploy.makeDeploy(E, T, S); - }, n.makeAuctionManagerTransaction = function(t) { - var f = t.delegatorPublicKeyHex, b = t.validatorPublicKeyHex, y = t.contractEntryPoint, u = t.amount, d = t.paymentAmount, l = d === void 0 ? "2500000000" : d, s = t.chainName, v = s === void 0 ? i.CasperNetworkName.Mainnet : s, p = t.newValidatorPublicKeyHex, h = t.ttl, O = h === void 0 ? a.DEFAULT_DEPLOY_TTL : h, I = t.contractHash, k = t.timestamp, R = t.casperNetworkApiVersion, L = t.gasPrice, N = L === void 0 ? 1 : L; - if (!R.startsWith("2.")) return a.Transaction.fromDeploy((0, n.makeAuctionManagerDeploy)({ delegatorPublicKeyHex: f, validatorPublicKeyHex: b, contractEntryPoint: y, amount: u, paymentAmount: l, chainName: v, newValidatorPublicKeyHex: p, ttl: O, contractHash: I, timestamp: k })); - switch (y) { + var o = s(7545), i = s(7909), p = s(580); + n.makeAuctionManagerDeploy = function(a) { + var f = a.delegatorPublicKeyHex, C = a.validatorPublicKeyHex, w = a.contractEntryPoint, m = a.amount, v = a.paymentAmount, l = v === void 0 ? "2500000000" : v, u = a.chainName, y = u === void 0 ? i.CasperNetworkName.Mainnet : u, d = a.newValidatorPublicKeyHex, b = a.ttl, _ = b === void 0 ? o.DEFAULT_DEPLOY_TTL : b, E = a.contractHash, B = a.timestamp, O = a.gasPrice, I = O === void 0 ? 1 : O, x = o.PublicKey.newPublicKey(f), A = o.PublicKey.newPublicKey(C), N = d ? o.PublicKey.newPublicKey(d) : null, k = E ?? p.AuctionManagerContractHashMap[y]; + if (!k) throw new Error("Auction contract hash is undefined for chain: ".concat(y)); + var j = new o.ExecutableDeployItem(); + j.storedContractByHash = new o.StoredContractByHash(o.ContractHash.newContract(k), w, o.Args.fromMap(r({ validator: o.CLValue.newCLPublicKey(A), delegator: o.CLValue.newCLPublicKey(x), amount: o.CLValue.newCLUInt512(m) }, N ? { new_validator: o.CLValue.newCLPublicKey(N) } : {}))); + var D = o.ExecutableDeployItem.standardPayment(l), T = o.DeployHeader.default(); + return T.account = x, T.chainName = y, T.ttl = new o.Duration(_), T.gasPrice = I, B && (T.timestamp = o.Timestamp.fromJSON(B)), o.Deploy.makeDeploy(T, D, j); + }, n.makeAuctionManagerTransaction = function(a) { + var f = a.delegatorPublicKeyHex, C = a.validatorPublicKeyHex, w = a.contractEntryPoint, m = a.amount, v = a.paymentAmount, l = v === void 0 ? "2500000000" : v, u = a.chainName, y = u === void 0 ? i.CasperNetworkName.Mainnet : u, d = a.newValidatorPublicKeyHex, b = a.ttl, _ = b === void 0 ? o.DEFAULT_DEPLOY_TTL : b, E = a.contractHash, B = a.timestamp, O = a.casperNetworkApiVersion, I = a.gasPrice, x = I === void 0 ? 1 : I; + if (!O.startsWith("2.")) return o.Transaction.fromDeploy((0, n.makeAuctionManagerDeploy)({ delegatorPublicKeyHex: f, validatorPublicKeyHex: C, contractEntryPoint: w, amount: m, paymentAmount: l, chainName: y, newValidatorPublicKeyHex: d, ttl: _, contractHash: E, timestamp: B })); + switch (w) { case i.AuctionManagerEntryPoint.delegate: - var B = new a.NativeDelegateBuilder().validator(a.PublicKey.fromHex(b)).from(a.PublicKey.fromHex(f)).amount(u).chainName(v).payment(Number(l), N).ttl(O); - return k && (B = B.timestamp(a.Timestamp.fromJSON(k))), B.build(); + var A = new o.NativeDelegateBuilder().validator(o.PublicKey.fromHex(C)).from(o.PublicKey.fromHex(f)).amount(m).chainName(y).payment(Number(l), x).ttl(_); + return B && (A = A.timestamp(o.Timestamp.fromJSON(B))), A.build(); case i.AuctionManagerEntryPoint.undelegate: - return B = new a.NativeUndelegateBuilder().validator(a.PublicKey.fromHex(b)).from(a.PublicKey.fromHex(f)).amount(u).chainName(v).payment(Number(l), N).ttl(O), k && (B = B.timestamp(a.Timestamp.fromJSON(k))), B.build(); + return A = new o.NativeUndelegateBuilder().validator(o.PublicKey.fromHex(C)).from(o.PublicKey.fromHex(f)).amount(m).chainName(y).payment(Number(l), x).ttl(_), B && (A = A.timestamp(o.Timestamp.fromJSON(B))), A.build(); case i.AuctionManagerEntryPoint.redelegate: - if (!p) throw new Error("Missing newValidatorPublicKeyHex param"); - return B = new a.NativeRedelegateBuilder().validator(a.PublicKey.fromHex(b)).newValidator(a.PublicKey.fromHex(p)).from(a.PublicKey.fromHex(f)).amount(u).chainName(v).payment(Number(l), N).ttl(O), k && (B = B.timestamp(a.Timestamp.fromJSON(k))), B.build(); + if (!d) throw new Error("Missing newValidatorPublicKeyHex param"); + return A = new o.NativeRedelegateBuilder().validator(o.PublicKey.fromHex(C)).newValidator(o.PublicKey.fromHex(d)).from(o.PublicKey.fromHex(f)).amount(m).chainName(y).payment(Number(l), x).ttl(_), B && (A = A.timestamp(o.Timestamp.fromJSON(B))), A.build(); } }; - }, 6510: function(x, n, c) { + }, 6510(g, n, s) { var r = this && this.__assign || function() { - return r = Object.assign || function(b) { - for (var y, u = 1, d = arguments.length; u < d; u++) for (var l in y = arguments[u]) Object.prototype.hasOwnProperty.call(y, l) && (b[l] = y[l]); - return b; + return r = Object.assign || function(C) { + for (var w, m = 1, v = arguments.length; m < v; m++) for (var l in w = arguments[m]) Object.prototype.hasOwnProperty.call(w, l) && (C[l] = w[l]); + return C; }, r.apply(this, arguments); - }, a = this && this.__awaiter || function(b, y, u, d) { - return new (u || (u = Promise))(function(l, s) { - function v(O) { + }, o = this && this.__awaiter || function(C, w, m, v) { + return new (m || (m = Promise))(function(l, u) { + function y(_) { try { - h(d.next(O)); - } catch (I) { - s(I); + b(v.next(_)); + } catch (E) { + u(E); } } - function p(O) { + function d(_) { try { - h(d.throw(O)); - } catch (I) { - s(I); + b(v.throw(_)); + } catch (E) { + u(E); } } - function h(O) { - var I; - O.done ? l(O.value) : (I = O.value, I instanceof u ? I : new u(function(k) { - k(I); - })).then(v, p); + function b(_) { + var E; + _.done ? l(_.value) : (E = _.value, E instanceof m ? E : new m(function(B) { + B(E); + })).then(y, d); } - h((d = d.apply(b, y || [])).next()); + b((v = v.apply(C, w || [])).next()); }); - }, i = this && this.__generator || function(b, y) { - var u, d, l, s, v = { label: 0, sent: function() { + }, i = this && this.__generator || function(C, w) { + var m, v, l, u, y = { label: 0, sent: function() { if (1 & l[0]) throw l[1]; return l[1]; }, trys: [], ops: [] }; - return s = { next: p(0), throw: p(1), return: p(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return u = { next: d(0), throw: d(1), return: d(2) }, typeof Symbol == "function" && (u[Symbol.iterator] = function() { return this; - }), s; - function p(h) { - return function(O) { - return function(I) { - if (u) throw new TypeError("Generator is already executing."); - for (; s && (s = 0, I[0] && (v = 0)), v; ) try { - if (u = 1, d && (l = 2 & I[0] ? d.return : I[0] ? d.throw || ((l = d.return) && l.call(d), 0) : d.next) && !(l = l.call(d, I[1])).done) return l; - switch (d = 0, l && (I = [2 & I[0], l.value]), I[0]) { + }), u; + function d(b) { + return function(_) { + return function(E) { + if (m) throw new TypeError("Generator is already executing."); + for (; u && (u = 0, E[0] && (y = 0)), y; ) try { + if (m = 1, v && (l = 2 & E[0] ? v.return : E[0] ? v.throw || ((l = v.return) && l.call(v), 0) : v.next) && !(l = l.call(v, E[1])).done) return l; + switch (v = 0, l && (E = [2 & E[0], l.value]), E[0]) { case 0: case 1: - l = I; + l = E; break; case 4: - return v.label++, { value: I[1], done: !1 }; + return y.label++, { value: E[1], done: !1 }; case 5: - v.label++, d = I[1], I = [0]; + y.label++, v = E[1], E = [0]; continue; case 7: - I = v.ops.pop(), v.trys.pop(); + E = y.ops.pop(), y.trys.pop(); continue; default: - if (!((l = (l = v.trys).length > 0 && l[l.length - 1]) || I[0] !== 6 && I[0] !== 2)) { - v = 0; + if (!((l = (l = y.trys).length > 0 && l[l.length - 1]) || E[0] !== 6 && E[0] !== 2)) { + y = 0; continue; } - if (I[0] === 3 && (!l || I[1] > l[0] && I[1] < l[3])) { - v.label = I[1]; + if (E[0] === 3 && (!l || E[1] > l[0] && E[1] < l[3])) { + y.label = E[1]; break; } - if (I[0] === 6 && v.label < l[1]) { - v.label = l[1], l = I; + if (E[0] === 6 && y.label < l[1]) { + y.label = l[1], l = E; break; } - if (l && v.label < l[2]) { - v.label = l[2], v.ops.push(I); + if (l && y.label < l[2]) { + y.label = l[2], y.ops.push(E); break; } - l[2] && v.ops.pop(), v.trys.pop(); + l[2] && y.ops.pop(), y.trys.pop(); continue; } - I = y.call(b, v); - } catch (k) { - I = [6, k], d = 0; + E = w.call(C, y); + } catch (B) { + E = [6, B], v = 0; } finally { - u = l = 0; + m = l = 0; } - if (5 & I[0]) throw I[1]; - return { value: I[0] ? I[1] : void 0, done: !0 }; - }([h, O]); + if (5 & E[0]) throw E[1]; + return { value: E[0] ? E[1] : void 0, done: !0 }; + }([b, _]); }; } }; Object.defineProperty(n, "__esModule", { value: !0 }), n.CasperNetwork = void 0; - var m = c(7545), t = c(7909), f = function() { - function b(y, u) { - this.rpcClient = y, this.apiVersion = u; + var p = s(7545), a = s(7909), f = function() { + function C(w, m) { + this.rpcClient = w, this.apiVersion = m; } - return b.create = function(y, u) { - return a(this, void 0, void 0, function() { - var d; + return C.create = function(w, m) { + return o(this, void 0, void 0, function() { + var v; return i(this, function(l) { switch (l.label) { case 0: - return u ? [3, 2] : [4, y.getStatus()]; + return m ? [3, 2] : [4, w.getStatus()]; case 1: - d = l.sent(), u = d.apiVersion.startsWith("2.") ? 2 : 1, l.label = 2; + v = l.sent(), m = v.apiVersion.startsWith("2.") ? 2 : 1, l.label = 2; case 2: - return [2, new b(y, u)]; + return [2, new C(w, m)]; } }); }); - }, b.prototype.createDelegateTransaction = function(y, u, d, l, s, v, p, h) { - if (this.apiVersion === 2) return new m.NativeDelegateBuilder().validator(u).from(y).amount(l).chainName(d).payment(s, h).ttl(v).build(); - if (p) return new m.ContractCallBuilder().from(y).byHash(p).entryPoint("delegate").payment(s, h).chainName(d).runtimeArgs(m.Args.fromMap({ validator: m.CLValue.newCLPublicKey(u), delegator: m.CLValue.newCLPublicKey(y), amount: m.CLValue.newCLUInt512(l) })).ttl(v).buildFor1_5(); + }, C.prototype.createDelegateTransaction = function(w, m, v, l, u, y, d, b) { + if (this.apiVersion === 2) return new p.NativeDelegateBuilder().validator(m).from(w).amount(l).chainName(v).payment(u, b).ttl(y).build(); + if (d) return new p.ContractCallBuilder().from(w).byHash(d).entryPoint("delegate").payment(u, b).chainName(v).runtimeArgs(p.Args.fromMap({ validator: p.CLValue.newCLPublicKey(m), delegator: p.CLValue.newCLPublicKey(w), amount: p.CLValue.newCLUInt512(l) })).ttl(y).buildFor1_5(); throw new Error("Auction contract hash is required when creating a transaction on Casper Network 1.5.x"); - }, b.prototype.createUndelegateTransaction = function(y, u, d, l, s, v, p, h) { - if (this.apiVersion === 2) return new m.NativeUndelegateBuilder().validator(u).from(y).amount(l).chainName(d).payment(s, h).ttl(v).build(); - if (p) return new m.ContractCallBuilder().from(y).byHash(p).entryPoint("undelegate").chainName(d).payment(s, h).ttl(v).runtimeArgs(m.Args.fromMap({ validator: m.CLValue.newCLPublicKey(u), delegator: m.CLValue.newCLPublicKey(y), amount: m.CLValue.newCLUInt512(l) })).buildFor1_5(); + }, C.prototype.createUndelegateTransaction = function(w, m, v, l, u, y, d, b) { + if (this.apiVersion === 2) return new p.NativeUndelegateBuilder().validator(m).from(w).amount(l).chainName(v).payment(u, b).ttl(y).build(); + if (d) return new p.ContractCallBuilder().from(w).byHash(d).entryPoint("undelegate").chainName(v).payment(u, b).ttl(y).runtimeArgs(p.Args.fromMap({ validator: p.CLValue.newCLPublicKey(m), delegator: p.CLValue.newCLPublicKey(w), amount: p.CLValue.newCLUInt512(l) })).buildFor1_5(); throw new Error("Auction contract hash is required when creating a transaction on Casper Network 1.5.x"); - }, b.prototype.createRedelegateTransaction = function(y, u, d, l, s, v, p, h, O) { - if (this.apiVersion === 2) return new m.NativeRedelegateBuilder().validator(u).newValidator(d).from(y).amount(s).chainName(l).payment(v, O).ttl(p).build(); - if (h) return new m.ContractCallBuilder().from(y).byHash(h).entryPoint("redelegate").chainName(l).payment(v, O).runtimeArgs(m.Args.fromMap(r({ validator: m.CLValue.newCLPublicKey(u), delegator: m.CLValue.newCLPublicKey(y), amount: m.CLValue.newCLUInt512(s) }, d ? { new_validator: m.CLValue.newCLPublicKey(d) } : {}))).ttl(p).buildFor1_5(); + }, C.prototype.createRedelegateTransaction = function(w, m, v, l, u, y, d, b, _) { + if (this.apiVersion === 2) return new p.NativeRedelegateBuilder().validator(m).newValidator(v).from(w).amount(u).chainName(l).payment(y, _).ttl(d).build(); + if (b) return new p.ContractCallBuilder().from(w).byHash(b).entryPoint("redelegate").chainName(l).payment(y, _).runtimeArgs(p.Args.fromMap(r({ validator: p.CLValue.newCLPublicKey(m), delegator: p.CLValue.newCLPublicKey(w), amount: p.CLValue.newCLUInt512(u) }, v ? { new_validator: p.CLValue.newCLPublicKey(v) } : {}))).ttl(d).buildFor1_5(); throw new Error("Auction contract hash is required when creating a transaction on Casper Network 1.5.x"); - }, b.prototype.createTransferTransaction = function(y, u, d, l, s, v, p, h) { - var O = new m.NativeTransferBuilder().from(y).target(u).amount(l).chainName(d).payment(s, h).ttl(v).id(p); - return this.apiVersion === 2 ? O.build() : O.buildFor1_5(); - }, b.prototype.createContractCallTransaction = function(y, u, d, l, s, v, p, h) { - var O = new m.ContractCallBuilder().byHash(u).from(y).entryPoint(d).chainName(l).runtimeArgs(p).ttl(v).payment(s, h); - return this.apiVersion === 2 ? O.build() : O.buildFor1_5(); - }, b.prototype.createContractPackageCallTransaction = function(y, u, d, l, s, v, p, h, O) { - var I = new m.ContractCallBuilder().byPackageHash(u, h).from(y).entryPoint(d).chainName(l).runtimeArgs(v).ttl(p).payment(s, O); - return this.apiVersion === 2 ? I.build() : I.buildFor1_5(); - }, b.prototype.createSessionWasmTransaction = function(y, u, d, l, s, v, p) { - var h = new m.SessionBuilder().from(y).chainName(u).payment(d, p).ttl(l).wasm(s).runtimeArgs(v); - return this.apiVersion === 2 ? h.build() : h.buildFor1_5(); - }, b.prototype.putTransaction = function(y) { - return a(this, void 0, void 0, function() { - var u; - return i(this, function(d) { - switch (d.label) { + }, C.prototype.createTransferTransaction = function(w, m, v, l, u, y, d, b) { + var _ = new p.NativeTransferBuilder().from(w).target(m).amount(l).chainName(v).payment(u, b).ttl(y).id(d); + return this.apiVersion === 2 ? _.build() : _.buildFor1_5(); + }, C.prototype.createContractCallTransaction = function(w, m, v, l, u, y, d, b) { + var _ = new p.ContractCallBuilder().byHash(m).from(w).entryPoint(v).chainName(l).runtimeArgs(d).ttl(y).payment(u, b); + return this.apiVersion === 2 ? _.build() : _.buildFor1_5(); + }, C.prototype.createContractPackageCallTransaction = function(w, m, v, l, u, y, d, b, _) { + var E = new p.ContractCallBuilder().byPackageHash(m, b).from(w).entryPoint(v).chainName(l).runtimeArgs(y).ttl(d).payment(u, _); + return this.apiVersion === 2 ? E.build() : E.buildFor1_5(); + }, C.prototype.createSessionWasmTransaction = function(w, m, v, l, u, y, d) { + var b = new p.SessionBuilder().from(w).chainName(m).payment(v, d).ttl(l).wasm(u).runtimeArgs(y); + return this.apiVersion === 2 ? b.build() : b.buildFor1_5(); + }, C.prototype.putTransaction = function(w) { + return o(this, void 0, void 0, function() { + var m; + return i(this, function(v) { + switch (v.label) { case 0: - return this.apiVersion != 2 ? [3, 2] : [4, this.rpcClient.putTransaction(y)]; + return this.apiVersion != 2 ? [3, 2] : [4, this.rpcClient.putTransaction(w)]; case 1: case 3: - return [2, d.sent()]; + return [2, v.sent()]; case 2: - return (u = y.getDeploy()) ? [4, this.rpcClient.putDeploy(u)] : [3, 4]; + return (m = w.getDeploy()) ? [4, this.rpcClient.putDeploy(m)] : [3, 4]; case 4: return [2, Promise.reject("Legacy deploy transaction is required when submitting to Casper Network 1.5")]; } }); }); - }, b.prototype.getTransaction = function(y) { - return a(this, void 0, void 0, function() { - return i(this, function(u) { - switch (u.label) { + }, C.prototype.getTransaction = function(w) { + return o(this, void 0, void 0, function() { + return i(this, function(m) { + switch (m.label) { case 0: - return typeof y == "string" && (y = m.Hash.fromHex(y)), this.apiVersion !== 2 ? [3, 2] : [4, this.getTransactionOnCasper2x(y)]; + return typeof w == "string" && (w = p.Hash.fromHex(w)), this.apiVersion !== 2 ? [3, 2] : [4, this.getTransactionOnCasper2x(w)]; case 1: case 3: - return [2, u.sent()]; + return [2, m.sent()]; case 2: - return [4, this.getTransactionOnCasper1x(y)]; + return [4, this.getTransactionOnCasper1x(w)]; } }); }); - }, b.prototype.getTransactionOnCasper2x = function(y) { - return a(this, void 0, void 0, function() { - var u; - return i(this, function(d) { - switch (d.label) { + }, C.prototype.getTransactionOnCasper2x = function(w) { + return o(this, void 0, void 0, function() { + var m; + return i(this, function(v) { + switch (v.label) { case 0: - return y instanceof m.TransactionHash ? y.transactionV1 ? [4, this.rpcClient.getTransactionByTransactionHash(y.transactionV1.toHex())] : [3, 2] : [3, 4]; + return w instanceof p.TransactionHash ? w.transactionV1 ? [4, this.rpcClient.getTransactionByTransactionHash(w.transactionV1.toHex())] : [3, 2] : [3, 4]; case 1: case 3: case 5: case 7: - return [2, d.sent()]; + return [2, v.sent()]; case 2: - return y.deploy ? [4, this.rpcClient.getTransactionByDeployHash(y.deploy.toHex())] : [3, 4]; + return w.deploy ? [4, this.rpcClient.getTransactionByDeployHash(w.deploy.toHex())] : [3, 4]; case 4: - return d.trys.push([4, 6, , 9]), [4, this.rpcClient.getTransactionByTransactionHash(y.toHex())]; + return v.trys.push([4, 6, , 9]), [4, this.rpcClient.getTransactionByTransactionHash(w.toHex())]; case 6: - return ((u = d.sent()) == null ? void 0 : u.statusCode) !== t.ErrorCode.NoSuchTransaction ? [3, 8] : [4, this.rpcClient.getTransactionByDeployHash(y.toHex())]; + return ((m = v.sent()) == null ? void 0 : m.statusCode) !== a.ErrorCode.NoSuchTransaction ? [3, 8] : [4, this.rpcClient.getTransactionByDeployHash(w.toHex())]; case 8: - throw u; + throw m; case 9: return [2]; } }); }); - }, b.prototype.getTransactionOnCasper1x = function(y) { - return a(this, void 0, void 0, function() { - return i(this, function(u) { - switch (u.label) { + }, C.prototype.getTransactionOnCasper1x = function(w) { + return o(this, void 0, void 0, function() { + return i(this, function(m) { + switch (m.label) { case 0: - return [4, this.rpcClient.getDeploy(y.toHex())]; + return [4, this.rpcClient.getDeploy(w.toHex())]; case 1: - return [2, u.sent().toInfoGetTransactionResult()]; + return [2, m.sent().toInfoGetTransactionResult()]; } }); }); - }, b.prototype.queryLatestBalance = function(y) { - return a(this, void 0, void 0, function() { - var u, d; + }, C.prototype.queryLatestBalance = function(w) { + return o(this, void 0, void 0, function() { + var m, v; return i(this, function(l) { switch (l.label) { case 0: - return this.apiVersion === 2 ? [2, this.rpcClient.queryLatestBalance(y)] : (u = y?.purseUref) ? [4, this.rpcClient.getLatestBalance(u.toPrefixedString())] : [2]; + return this.apiVersion === 2 ? [2, this.rpcClient.queryLatestBalance(w)] : (m = w?.purseUref) ? [4, this.rpcClient.getLatestBalance(m.toPrefixedString())] : [2]; case 1: - return [2, (d = l.sent()) == null ? void 0 : d.toQueryBalanceResult()]; + return [2, (v = l.sent()) == null ? void 0 : v.toQueryBalanceResult()]; } }); }); - }, b; + }, C; }(); n.CasperNetwork = f; - }, 5447: (x, n, c) => { + }, 5447(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.makeCep18TransferTransaction = n.makeCep18TransferDeploy = void 0; - var r = c(7545), a = c(7909); + var r = s(7545), o = s(7909); n.makeCep18TransferDeploy = function(i) { - var m = i.contractPackageHash, t = i.senderPublicKeyHex, f = i.recipientPublicKeyHex, b = i.transferAmount, y = i.paymentAmount, u = i.chainName, d = u === void 0 ? a.CasperNetworkName.Mainnet : u, l = i.ttl, s = l === void 0 ? r.DEFAULT_DEPLOY_TTL : l, v = i.timestamp, p = i.gasPrice, h = p === void 0 ? 1 : p, O = r.PublicKey.newPublicKey(t), I = r.PublicKey.newPublicKey(f), k = new r.ExecutableDeployItem(); - k.storedVersionedContractByHash = new r.StoredVersionedContractByHash(r.ContractHash.newContract(m), "transfer", r.Args.fromMap({ recipient: r.CLValue.newCLKey(r.Key.createByType(I.accountHash().toPrefixedString(), r.KeyTypeID.Account)), amount: r.CLValue.newCLUInt256(b) })); - var R = r.ExecutableDeployItem.standardPayment(y), L = r.DeployHeader.default(); - return L.account = O, L.chainName = d, L.ttl = new r.Duration(s), L.gasPrice = h, v && (L.timestamp = r.Timestamp.fromJSON(v)), r.Deploy.makeDeploy(L, R, k); + var p = i.contractPackageHash, a = i.senderPublicKeyHex, f = i.recipientPublicKeyHex, C = i.transferAmount, w = i.paymentAmount, m = i.chainName, v = m === void 0 ? o.CasperNetworkName.Mainnet : m, l = i.ttl, u = l === void 0 ? r.DEFAULT_DEPLOY_TTL : l, y = i.timestamp, d = i.gasPrice, b = d === void 0 ? 1 : d, _ = r.PublicKey.newPublicKey(a), E = r.PublicKey.newPublicKey(f), B = new r.ExecutableDeployItem(); + B.storedVersionedContractByHash = new r.StoredVersionedContractByHash(r.ContractHash.newContract(p), "transfer", r.Args.fromMap({ recipient: r.CLValue.newCLKey(r.Key.createByType(E.accountHash().toPrefixedString(), r.KeyTypeID.Account)), amount: r.CLValue.newCLUInt256(C) })); + var O = r.ExecutableDeployItem.standardPayment(w), I = r.DeployHeader.default(); + return I.account = _, I.chainName = v, I.ttl = new r.Duration(u), I.gasPrice = b, y && (I.timestamp = r.Timestamp.fromJSON(y)), r.Deploy.makeDeploy(I, O, B); }, n.makeCep18TransferTransaction = function(i) { - var m = i.contractPackageHash, t = i.senderPublicKeyHex, f = i.recipientPublicKeyHex, b = i.transferAmount, y = i.paymentAmount, u = i.chainName, d = u === void 0 ? a.CasperNetworkName.Mainnet : u, l = i.ttl, s = l === void 0 ? r.DEFAULT_DEPLOY_TTL : l, v = i.timestamp, p = i.casperNetworkApiVersion, h = i.gasPrice, O = h === void 0 ? 1 : h; - if (p.startsWith("2.")) { - var I = new r.ContractCallBuilder().byPackageHash(m).entryPoint("transfer").from(r.PublicKey.fromHex(t)).chainName(d).payment(Number(y), O).ttl(s).runtimeArgs(r.Args.fromMap({ recipient: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(f).accountHash().toPrefixedString(), r.KeyTypeID.Account)), amount: r.CLValue.newCLUInt256(b) })); - return v && (I = I.timestamp(r.Timestamp.fromJSON(v))), I.build(); + var p = i.contractPackageHash, a = i.senderPublicKeyHex, f = i.recipientPublicKeyHex, C = i.transferAmount, w = i.paymentAmount, m = i.chainName, v = m === void 0 ? o.CasperNetworkName.Mainnet : m, l = i.ttl, u = l === void 0 ? r.DEFAULT_DEPLOY_TTL : l, y = i.timestamp, d = i.casperNetworkApiVersion, b = i.gasPrice, _ = b === void 0 ? 1 : b; + if (d.startsWith("2.")) { + var E = new r.ContractCallBuilder().byPackageHash(p).entryPoint("transfer").from(r.PublicKey.fromHex(a)).chainName(v).payment(Number(w), _).ttl(u).runtimeArgs(r.Args.fromMap({ recipient: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(f).accountHash().toPrefixedString(), r.KeyTypeID.Account)), amount: r.CLValue.newCLUInt256(C) })); + return y && (E = E.timestamp(r.Timestamp.fromJSON(y))), E.build(); } - return r.Transaction.fromDeploy((0, n.makeCep18TransferDeploy)({ contractPackageHash: m, senderPublicKeyHex: t, recipientPublicKeyHex: f, transferAmount: b, paymentAmount: y, chainName: d, ttl: s, timestamp: v })); + return r.Transaction.fromDeploy((0, n.makeCep18TransferDeploy)({ contractPackageHash: p, senderPublicKeyHex: a, recipientPublicKeyHex: f, transferAmount: C, paymentAmount: w, chainName: v, ttl: u, timestamp: y })); }; - }, 8826: (x, n, c) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.getRuntimeArgsForCep47Transfer = n.getRuntimeArgsForCep78Transfer = n.getRuntimeArgsForNftTransfer = n.makeNftTransferTransaction = n.makeNftTransferDeploy = void 0; - var r = c(7545), a = c(7909); - function i(m) { - var t = m.tokenId, f = m.recipientPublicKeyHex; - return r.Args.fromMap({ recipient: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(f).accountHash().toPrefixedString(), r.KeyTypeID.Account)), token_ids: r.CLValue.newCLList(r.CLTypeUInt256, [r.CLValue.newCLUInt256(t)]) }); - } - n.makeNftTransferDeploy = function(m) { - var t = m.nftStandard, f = m.contractPackageHash, b = m.senderPublicKeyHex, y = m.recipientPublicKeyHex, u = m.paymentAmount, d = m.chainName, l = d === void 0 ? a.CasperNetworkName.Mainnet : d, s = m.ttl, v = s === void 0 ? r.DEFAULT_DEPLOY_TTL : s, p = m.tokenId, h = m.tokenHash, O = m.timestamp, I = m.gasPrice, k = I === void 0 ? 1 : I, R = r.PublicKey.newPublicKey(b), L = (0, n.getRuntimeArgsForNftTransfer)({ nftStandard: t, recipientPublicKeyHex: y, senderPublicKeyHex: b, tokenHash: h, tokenId: p }), N = new r.ExecutableDeployItem(); - N.storedVersionedContractByHash = new r.StoredVersionedContractByHash(r.ContractHash.newContract(f), "transfer", L); - var B = r.ExecutableDeployItem.standardPayment(u), H = r.DeployHeader.default(); - return H.account = R, H.chainName = l, H.ttl = new r.Duration(v), H.gasPrice = k, O && (H.timestamp = r.Timestamp.fromJSON(O)), r.Deploy.makeDeploy(H, B, N); - }, n.makeNftTransferTransaction = function(m) { - var t = m.nftStandard, f = m.contractPackageHash, b = m.senderPublicKeyHex, y = m.recipientPublicKeyHex, u = m.paymentAmount, d = m.chainName, l = d === void 0 ? a.CasperNetworkName.Mainnet : d, s = m.ttl, v = s === void 0 ? r.DEFAULT_DEPLOY_TTL : s, p = m.tokenId, h = m.tokenHash, O = m.timestamp, I = m.casperNetworkApiVersion, k = m.gasPrice, R = k === void 0 ? 1 : k; - if (I.startsWith("2.")) { - var L = new r.ContractCallBuilder().byPackageHash(f).entryPoint("transfer").from(r.PublicKey.fromHex(b)).chainName(l).ttl(v).payment(Number(u), R).runtimeArgs((0, n.getRuntimeArgsForNftTransfer)({ nftStandard: t, recipientPublicKeyHex: y, senderPublicKeyHex: b, tokenHash: h, tokenId: p })); - return O && (L = L.timestamp(r.Timestamp.fromJSON(O))), L.build(); - } - return r.Transaction.fromDeploy((0, n.makeNftTransferDeploy)({ nftStandard: t, contractPackageHash: f, senderPublicKeyHex: b, recipientPublicKeyHex: y, paymentAmount: u, chainName: l, ttl: v, tokenId: p, tokenHash: h, timestamp: O })); - }, n.getRuntimeArgsForNftTransfer = function(m) { - var t = m.nftStandard, f = m.senderPublicKeyHex, b = m.recipientPublicKeyHex, y = m.tokenId, u = m.tokenHash; - if (!y && !u) throw new Error("Specify either tokenId or tokenHash to make a transfer"); - var d = null; - if (t === a.NFTTokenStandard.CEP47) { - if (!y) throw new Error("TokenId is required for CEP-47 transfer"); - d = i({ tokenId: y, recipientPublicKeyHex: b }); - } - if (t === a.NFTTokenStandard.CEP78 && (d = (0, n.getRuntimeArgsForCep78Transfer)({ tokenId: y, tokenHash: u, senderPublicKeyHex: f, recipientPublicKeyHex: b })), !d) throw new Error("Arguments error. Check provided token data"); - return d; - }, n.getRuntimeArgsForCep78Transfer = function(m) { - var t = m.tokenHash, f = m.tokenId, b = m.recipientPublicKeyHex, y = m.senderPublicKeyHex, u = r.Args.fromMap({ target_key: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(b).accountHash().toPrefixedString(), r.KeyTypeID.Account)), source_key: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(y).accountHash().toPrefixedString(), r.KeyTypeID.Account)) }); - if (f) try { - u.insert("is_hash_identifier_mode", r.CLValue.newCLValueBool(!1)), u.insert("token_id", r.CLValue.newCLUint64(f)); + }, 8826(g, n, s) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.getRuntimeArgsForCep95Transfer = n.getRuntimeArgsForCep47Transfer = n.getRuntimeArgsForCep78Transfer = n.getRuntimeArgsForNftTransfer = n.makeNftTransferTransaction = n.makeNftTransferDeploy = void 0; + var r = s(7545), o = s(7909); + function i(a) { + var f = a.tokenId, C = a.recipientPublicKeyHex; + return r.Args.fromMap({ recipient: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(C).accountHash().toPrefixedString(), r.KeyTypeID.Account)), token_ids: r.CLValue.newCLList(r.CLTypeUInt256, [r.CLValue.newCLUInt256(f)]) }); + } + function p(a) { + var f = a.tokenId, C = a.recipientPublicKeyHex, w = a.senderPublicKeyHex; + return r.Args.fromMap({ from: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(w).accountHash().toPrefixedString(), r.KeyTypeID.Account)), to: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(C).accountHash().toPrefixedString(), r.KeyTypeID.Account)), token_id: r.CLValue.newCLUInt256(f), data: r.CLValue.newCLOption(null, r.CLTypeUInt8) }); + } + n.makeNftTransferDeploy = function(a) { + var f = a.nftStandard, C = a.contractPackageHash, w = a.senderPublicKeyHex, m = a.recipientPublicKeyHex, v = a.paymentAmount, l = a.chainName, u = l === void 0 ? o.CasperNetworkName.Mainnet : l, y = a.ttl, d = y === void 0 ? r.DEFAULT_DEPLOY_TTL : y, b = a.tokenId, _ = a.tokenHash, E = a.timestamp, B = a.gasPrice, O = B === void 0 ? 1 : B, I = r.PublicKey.newPublicKey(w), x = (0, n.getRuntimeArgsForNftTransfer)({ nftStandard: f, recipientPublicKeyHex: m, senderPublicKeyHex: w, tokenHash: _, tokenId: b }), A = new r.ExecutableDeployItem(); + A.storedVersionedContractByHash = new r.StoredVersionedContractByHash(r.ContractHash.newContract(C), "transfer", x); + var N = r.ExecutableDeployItem.standardPayment(v), k = r.DeployHeader.default(); + return k.account = I, k.chainName = u, k.ttl = new r.Duration(d), k.gasPrice = O, E && (k.timestamp = r.Timestamp.fromJSON(E)), r.Deploy.makeDeploy(k, N, A); + }, n.makeNftTransferTransaction = function(a) { + var f = a.nftStandard, C = a.contractPackageHash, w = a.senderPublicKeyHex, m = a.recipientPublicKeyHex, v = a.paymentAmount, l = a.chainName, u = l === void 0 ? o.CasperNetworkName.Mainnet : l, y = a.ttl, d = y === void 0 ? r.DEFAULT_DEPLOY_TTL : y, b = a.tokenId, _ = a.tokenHash, E = a.timestamp, B = a.casperNetworkApiVersion, O = a.gasPrice, I = O === void 0 ? 1 : O; + if (B.startsWith("2.")) { + var x = new r.ContractCallBuilder().byPackageHash(C).entryPoint(f === o.NFTTokenStandard.CEP95 ? "transfer_from" : "transfer").from(r.PublicKey.fromHex(w)).chainName(u).ttl(d).payment(Number(v), I).runtimeArgs((0, n.getRuntimeArgsForNftTransfer)({ nftStandard: f, recipientPublicKeyHex: m, senderPublicKeyHex: w, tokenHash: _, tokenId: b })); + return E && (x = x.timestamp(r.Timestamp.fromJSON(E))), x.build(); + } + return r.Transaction.fromDeploy((0, n.makeNftTransferDeploy)({ nftStandard: f, contractPackageHash: C, senderPublicKeyHex: w, recipientPublicKeyHex: m, paymentAmount: v, chainName: u, ttl: d, tokenId: b, tokenHash: _, timestamp: E })); + }, n.getRuntimeArgsForNftTransfer = function(a) { + var f = a.nftStandard, C = a.senderPublicKeyHex, w = a.recipientPublicKeyHex, m = a.tokenId, v = a.tokenHash; + if (!m && !v) throw new Error("Specify either tokenId or tokenHash to make a transfer"); + var l = null; + if (f === o.NFTTokenStandard.CEP47) { + if (!m) throw new Error("TokenId is required for CEP-47 transfer"); + l = i({ tokenId: m, recipientPublicKeyHex: w }); + } + if (f === o.NFTTokenStandard.CEP78 && (l = (0, n.getRuntimeArgsForCep78Transfer)({ tokenId: m, tokenHash: v, senderPublicKeyHex: C, recipientPublicKeyHex: w })), f === o.NFTTokenStandard.CEP95) { + if (!m) throw new Error("TokenId is required for CEP-95 transfer"); + l = p({ tokenId: m, recipientPublicKeyHex: w, senderPublicKeyHex: C }); + } + if (!l) throw new Error("Arguments error. Check provided token data"); + return l; + }, n.getRuntimeArgsForCep78Transfer = function(a) { + var f = a.tokenHash, C = a.tokenId, w = a.recipientPublicKeyHex, m = a.senderPublicKeyHex, v = r.Args.fromMap({ target_key: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(w).accountHash().toPrefixedString(), r.KeyTypeID.Account)), source_key: r.CLValue.newCLKey(r.Key.createByType(r.PublicKey.fromHex(m).accountHash().toPrefixedString(), r.KeyTypeID.Account)) }); + if (C) try { + v.insert("is_hash_identifier_mode", r.CLValue.newCLValueBool(!1)), v.insert("token_id", r.CLValue.newCLUint64(C)); } catch { throw new Error('Invalid "tokenId" value. It should be uint64. Consider to use "tokenHash" param'); } - return t && (u.insert("is_hash_identifier_mode", r.CLValue.newCLValueBool(!0)), u.insert("token_hash", r.CLValue.newCLString(t))), u; - }, n.getRuntimeArgsForCep47Transfer = i; - }, 9704: (x, n) => { - Object.defineProperty(n, "__esModule", { value: !0 }), n.sleep = n.arrayEquals = n.getEnumKeyByValue = void 0, n.getEnumKeyByValue = function(c, r) { - return Object.keys(c).find(function(a) { - return c[a] === r; + return f && (v.insert("is_hash_identifier_mode", r.CLValue.newCLValueBool(!0)), v.insert("token_hash", r.CLValue.newCLString(f))), v; + }, n.getRuntimeArgsForCep47Transfer = i, n.getRuntimeArgsForCep95Transfer = p; + }, 9704(g, n) { + Object.defineProperty(n, "__esModule", { value: !0 }), n.isNull = n.sleep = n.arrayEquals = n.getEnumKeyByValue = void 0, n.getEnumKeyByValue = function(s, r) { + return Object.keys(s).find(function(o) { + return s[o] === r; }); - }, n.arrayEquals = function(c, r) { - return c.length === r.length && c.every(function(a, i) { - return a === r[i]; + }, n.arrayEquals = function(s, r) { + return s.length === r.length && s.every(function(o, i) { + return o === r[i]; }); - }, n.sleep = function(c) { + }, n.sleep = function(s) { return new Promise(function(r) { - return setTimeout(r, c); + return setTimeout(r, s); }); + }, n.isNull = function(s) { + return s === null; }; - }, 580: (x, n, c) => { + }, 580(g, n, s) { var r; Object.defineProperty(n, "__esModule", { value: !0 }), n.DEFAULT_MAXIMUM_DELEGATION_AMOUNT = n.DEFAULT_MINIMUM_DELEGATION_AMOUNT = n.AuctionManagerContractHashMap = void 0; - var a = c(7909); - n.AuctionManagerContractHashMap = ((r = {})[a.CasperNetworkName.Mainnet] = "ccb576d6ce6dec84a551e48f0d0b7af89ddba44c7390b690036257a04a3ae9ea", r[a.CasperNetworkName.Testnet] = "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2", r[a.CasperNetworkName.Integration] = "e22d38bcf3454a93face78a353feaccbf1d637d1ef9ef2e061a655728ff59bbe", r[a.CasperNetworkName.DevNet] = "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2", r), n.DEFAULT_MINIMUM_DELEGATION_AMOUNT = BigInt(500) * BigInt(1e9), n.DEFAULT_MAXIMUM_DELEGATION_AMOUNT = BigInt(1e9) * BigInt(1e9); - }, 8717: (x, n, c) => { + var o = s(7909); + n.AuctionManagerContractHashMap = ((r = {})[o.CasperNetworkName.Mainnet] = "ccb576d6ce6dec84a551e48f0d0b7af89ddba44c7390b690036257a04a3ae9ea", r[o.CasperNetworkName.Testnet] = "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2", r[o.CasperNetworkName.Integration] = "e22d38bcf3454a93face78a353feaccbf1d637d1ef9ef2e061a655728ff59bbe", r[o.CasperNetworkName.DevNet] = "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2", r), n.DEFAULT_MINIMUM_DELEGATION_AMOUNT = BigInt(500) * BigInt(1e9), n.DEFAULT_MAXIMUM_DELEGATION_AMOUNT = BigInt(1e9) * BigInt(1e9); + }, 8717(g, n, s) { Object.defineProperty(n, "__esModule", { value: !0 }), n.makeCsprTransferTransaction = n.makeCsprTransferDeploy = void 0; - var r = c(7545), a = c(7909); + var r = s(7545), o = s(7909); n.makeCsprTransferDeploy = function(i) { - var m = i.senderPublicKeyHex, t = i.recipientPublicKeyHex, f = i.transferAmount, b = i.chainName, y = b === void 0 ? a.CasperNetworkName.Mainnet : b, u = i.memo, d = i.ttl, l = d === void 0 ? r.DEFAULT_DEPLOY_TTL : d, s = i.timestamp, v = i.gasPrice, p = v === void 0 ? 1 : v, h = i.paymentAmount, O = h === void 0 ? "100000000" : h, I = r.PublicKey.newPublicKey(t), k = r.PublicKey.newPublicKey(m), R = new r.ExecutableDeployItem(); - R.transfer = r.TransferDeployItem.newTransfer(f, I, void 0, u); - var L = r.ExecutableDeployItem.standardPayment(O), N = r.DeployHeader.default(); - return N.account = k, N.chainName = y, N.ttl = new r.Duration(l), N.gasPrice = p, s && (N.timestamp = r.Timestamp.fromJSON(s)), r.Deploy.makeDeploy(N, L, R); + var p = i.senderPublicKeyHex, a = i.recipientPublicKeyHex, f = i.transferAmount, C = i.chainName, w = C === void 0 ? o.CasperNetworkName.Mainnet : C, m = i.memo, v = i.ttl, l = v === void 0 ? r.DEFAULT_DEPLOY_TTL : v, u = i.timestamp, y = i.gasPrice, d = y === void 0 ? 1 : y, b = i.paymentAmount, _ = b === void 0 ? "100000000" : b, E = r.PublicKey.newPublicKey(a), B = r.PublicKey.newPublicKey(p), O = new r.ExecutableDeployItem(); + O.transfer = r.TransferDeployItem.newTransfer(f, E, void 0, m); + var I = r.ExecutableDeployItem.standardPayment(_), x = r.DeployHeader.default(); + return x.account = B, x.chainName = w, x.ttl = new r.Duration(l), x.gasPrice = d, u && (x.timestamp = r.Timestamp.fromJSON(u)), r.Deploy.makeDeploy(x, I, O); }, n.makeCsprTransferTransaction = function(i) { - var m = i.senderPublicKeyHex, t = i.recipientPublicKeyHex, f = i.transferAmount, b = i.chainName, y = b === void 0 ? a.CasperNetworkName.Mainnet : b, u = i.memo, d = i.ttl, l = d === void 0 ? r.DEFAULT_DEPLOY_TTL : d, s = i.timestamp, v = i.casperNetworkApiVersion, p = i.gasPrice, h = p === void 0 ? 1 : p, O = i.paymentAmount, I = O === void 0 ? "100000000" : O; - if (v.startsWith("2")) { - var k = new r.NativeTransferBuilder().from(r.PublicKey.fromHex(m)).target(r.PublicKey.fromHex(t)).amount(f).chainName(y).payment(Number(I), h).ttl(l); - return s && (k = k.timestamp(r.Timestamp.fromJSON(s))), u && (k = k.id(Number(u))), k.build(); + var p = i.senderPublicKeyHex, a = i.recipientPublicKeyHex, f = i.transferAmount, C = i.chainName, w = C === void 0 ? o.CasperNetworkName.Mainnet : C, m = i.memo, v = i.ttl, l = v === void 0 ? r.DEFAULT_DEPLOY_TTL : v, u = i.timestamp, y = i.casperNetworkApiVersion, d = i.gasPrice, b = d === void 0 ? 1 : d, _ = i.paymentAmount, E = _ === void 0 ? "100000000" : _; + if (y.startsWith("2")) { + var B = new r.NativeTransferBuilder().from(r.PublicKey.fromHex(p)).target(r.PublicKey.fromHex(a)).amount(f).chainName(w).payment(Number(E), b).ttl(l); + return u && (B = B.timestamp(r.Timestamp.fromJSON(u))), m && (B = B.id(Number(m))), B.build(); } - return r.Transaction.fromDeploy((0, n.makeCsprTransferDeploy)({ senderPublicKeyHex: m, recipientPublicKeyHex: t, transferAmount: f, chainName: y, memo: u, ttl: l, timestamp: s })); + return r.Transaction.fromDeploy((0, n.makeCsprTransferDeploy)({ senderPublicKeyHex: p, recipientPublicKeyHex: a, transferAmount: f, chainName: w, memo: m, ttl: l, timestamp: u })); }; - }, 8389: function(x, n, c) { - var r = this && this.__createBinding || (Object.create ? function(i, m, t, f) { - f === void 0 && (f = t); - var b = Object.getOwnPropertyDescriptor(m, t); - b && !("get" in b ? !m.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { - return m[t]; - } }), Object.defineProperty(i, f, b); - } : function(i, m, t, f) { - f === void 0 && (f = t), i[f] = m[t]; - }), a = this && this.__exportStar || function(i, m) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(m, t) || r(m, i, t); + }, 8389(g, n, s) { + var r = this && this.__createBinding || (Object.create ? function(i, p, a, f) { + f === void 0 && (f = a); + var C = Object.getOwnPropertyDescriptor(p, a); + C && !("get" in C ? !p.__esModule : C.writable || C.configurable) || (C = { enumerable: !0, get: function() { + return p[a]; + } }), Object.defineProperty(i, f, C); + } : function(i, p, a, f) { + f === void 0 && (f = a), i[f] = p[a]; + }), o = this && this.__exportStar || function(i, p) { + for (var a in i) a === "default" || Object.prototype.hasOwnProperty.call(p, a) || r(p, i, a); }; - Object.defineProperty(n, "__esModule", { value: !0 }), a(c(8717), n), a(c(6510), n), a(c(1246), n), a(c(580), n), a(c(5447), n), a(c(8826), n), a(c(9704), n); - }, 3662: (x, n, c) => { - function r(d) { - var l = String(d); + Object.defineProperty(n, "__esModule", { value: !0 }), o(s(8717), n), o(s(6510), n), o(s(1246), n), o(s(580), n), o(s(5447), n), o(s(8826), n), o(s(9704), n); + }, 3662(g, n, s) { + function r(v) { + var l = String(v); if (l === "[object Object]") try { - l = JSON.stringify(d); + l = JSON.stringify(v); } catch { } return l; } - c.r(n), c.d(n, { Err: () => m, ErrImpl: () => i, None: () => b, Ok: () => f, OkImpl: () => t, Option: () => y, Result: () => a, Some: () => u }); - var a, i = function() { - function d(l) { - if (!(this instanceof d)) return new d(l); + s.r(n), s.d(n, { Err: () => p, ErrImpl: () => i, None: () => C, Ok: () => f, OkImpl: () => a, Option: () => w, Result: () => o, Some: () => m }); + var o, i = function() { + function v(l) { + if (!(this instanceof v)) return new v(l); this.ok = !1, this.err = !0, this.val = l; } - return d.prototype[Symbol.iterator] = function() { + return v.prototype[Symbol.iterator] = function() { return { next: function() { return { done: !0, value: void 0 }; } }; - }, d.prototype.else = function(l) { + }, v.prototype.else = function(l) { return l; - }, d.prototype.unwrapOr = function(l) { + }, v.prototype.unwrapOr = function(l) { return l; - }, d.prototype.expect = function(l) { + }, v.prototype.expect = function(l) { throw new Error(l + " - Error: " + r(this.val)); - }, d.prototype.unwrap = function() { + }, v.prototype.unwrap = function() { throw new Error("Tried to unwrap Error: " + r(this.val)); - }, d.prototype.map = function(l) { + }, v.prototype.map = function(l) { return this; - }, d.prototype.andThen = function(l) { + }, v.prototype.andThen = function(l) { return this; - }, d.prototype.mapErr = function(l) { - return new m(l(this.val)); - }, d.prototype.toString = function() { + }, v.prototype.mapErr = function(l) { + return new p(l(this.val)); + }, v.prototype.toString = function() { return "Err(" + r(this.val) + ")"; - }, d.EMPTY = new d(void 0), d; - }(), m = i, t = function() { - function d(l) { - if (!(this instanceof d)) return new d(l); + }, v.EMPTY = new v(void 0), v; + }(), p = i, a = function() { + function v(l) { + if (!(this instanceof v)) return new v(l); this.ok = !0, this.err = !1, this.val = l; } - return d.prototype[Symbol.iterator] = function() { + return v.prototype[Symbol.iterator] = function() { var l = Object(this.val); return Symbol.iterator in l ? l[Symbol.iterator]() : { next: function() { return { done: !0, value: void 0 }; } }; - }, d.prototype.else = function(l) { + }, v.prototype.else = function(l) { return this.val; - }, d.prototype.unwrapOr = function(l) { + }, v.prototype.unwrapOr = function(l) { return this.val; - }, d.prototype.expect = function(l) { + }, v.prototype.expect = function(l) { return this.val; - }, d.prototype.unwrap = function() { + }, v.prototype.unwrap = function() { return this.val; - }, d.prototype.map = function(l) { + }, v.prototype.map = function(l) { return new f(l(this.val)); - }, d.prototype.andThen = function(l) { + }, v.prototype.andThen = function(l) { return l(this.val); - }, d.prototype.mapErr = function(l) { + }, v.prototype.mapErr = function(l) { return this; - }, d.prototype.safeUnwrap = function() { + }, v.prototype.safeUnwrap = function() { return this.val; - }, d.prototype.toString = function() { + }, v.prototype.toString = function() { return "Ok(" + r(this.val) + ")"; - }, d.EMPTY = new d(void 0), d; - }(), f = t; - (function(d) { - d.all = function() { - for (var l = [], s = 0; s < arguments.length; s++) l[s] = arguments[s]; - for (var v = [], p = 0, h = l; p < h.length; p++) { - var O = h[p]; - if (!O.ok) return O; - v.push(O.val); - } - return new f(v); - }, d.any = function() { - for (var l = [], s = 0; s < arguments.length; s++) l[s] = arguments[s]; - for (var v = [], p = 0, h = l; p < h.length; p++) { - var O = h[p]; - if (O.ok) return O; - v.push(O.val); - } - return new m(v); - }, d.wrap = function(l) { + }, v.EMPTY = new v(void 0), v; + }(), f = a; + (function(v) { + v.all = function() { + for (var l = [], u = 0; u < arguments.length; u++) l[u] = arguments[u]; + for (var y = [], d = 0, b = l; d < b.length; d++) { + var _ = b[d]; + if (!_.ok) return _; + y.push(_.val); + } + return new f(y); + }, v.any = function() { + for (var l = [], u = 0; u < arguments.length; u++) l[u] = arguments[u]; + for (var y = [], d = 0, b = l; d < b.length; d++) { + var _ = b[d]; + if (_.ok) return _; + y.push(_.val); + } + return new p(y); + }, v.wrap = function(l) { try { return new f(l()); - } catch (s) { - return new m(s); + } catch (u) { + return new p(u); } - }, d.wrapAsync = function(l) { + }, v.wrapAsync = function(l) { try { - return l().then(function(s) { - return new f(s); - }).catch(function(s) { - return new m(s); + return l().then(function(u) { + return new f(u); + }).catch(function(u) { + return new p(u); }); - } catch (s) { - return Promise.resolve(new m(s)); + } catch (u) { + return Promise.resolve(new p(u)); } - }, d.isResult = function(l) { - return l instanceof m || l instanceof f; + }, v.isResult = function(l) { + return l instanceof p || l instanceof f; }; - })(a || (a = {})); - var b = new (function() { - function d() { + })(o || (o = {})); + var C = new (function() { + function v() { this.some = !1, this.none = !0; } - return d.prototype[Symbol.iterator] = function() { + return v.prototype[Symbol.iterator] = function() { return { next: function() { return { done: !0, value: void 0 }; } }; - }, d.prototype.unwrapOr = function(l) { + }, v.prototype.unwrapOr = function(l) { return l; - }, d.prototype.expect = function(l) { + }, v.prototype.expect = function(l) { throw new Error("" + l); - }, d.prototype.unwrap = function() { + }, v.prototype.unwrap = function() { throw new Error("Tried to unwrap None"); - }, d.prototype.map = function(l) { + }, v.prototype.map = function(l) { return this; - }, d.prototype.andThen = function(l) { + }, v.prototype.andThen = function(l) { return this; - }, d.prototype.toString = function() { + }, v.prototype.toString = function() { return "None"; - }, d; + }, v; }())(); - Object.freeze(b); - var y, u = function() { - function d(l) { - if (!(this instanceof d)) return new d(l); + Object.freeze(C); + var w, m = function() { + function v(l) { + if (!(this instanceof v)) return new v(l); this.some = !0, this.none = !1, this.val = l; } - return d.prototype[Symbol.iterator] = function() { + return v.prototype[Symbol.iterator] = function() { var l = Object(this.val); return Symbol.iterator in l ? l[Symbol.iterator]() : { next: function() { return { done: !0, value: void 0 }; } }; - }, d.prototype.unwrapOr = function(l) { + }, v.prototype.unwrapOr = function(l) { return this.val; - }, d.prototype.expect = function(l) { + }, v.prototype.expect = function(l) { return this.val; - }, d.prototype.unwrap = function() { + }, v.prototype.unwrap = function() { return this.val; - }, d.prototype.map = function(l) { - return u(l(this.val)); - }, d.prototype.andThen = function(l) { + }, v.prototype.map = function(l) { + return m(l(this.val)); + }, v.prototype.andThen = function(l) { return l(this.val); - }, d.prototype.safeUnwrap = function() { + }, v.prototype.safeUnwrap = function() { return this.val; - }, d.prototype.toString = function() { + }, v.prototype.toString = function() { return "Some(" + r(this.val) + ")"; - }, d.EMPTY = new d(void 0), d; - }(); - (function(d) { - d.all = function() { - for (var l = [], s = 0; s < arguments.length; s++) l[s] = arguments[s]; - for (var v = [], p = 0, h = l; p < h.length; p++) { - var O = h[p]; - if (!O.some) return O; - v.push(O.val); - } - return u(v); - }, d.any = function() { - for (var l = [], s = 0; s < arguments.length; s++) l[s] = arguments[s]; - for (var v = 0, p = l; v < p.length; v++) { - var h = p[v]; - return h.some, h; - } - return b; - }, d.isOption = function(l) { - return l instanceof u || l === b; + }, v.EMPTY = new v(void 0), v; + }(); + (function(v) { + v.all = function() { + for (var l = [], u = 0; u < arguments.length; u++) l[u] = arguments[u]; + for (var y = [], d = 0, b = l; d < b.length; d++) { + var _ = b[d]; + if (!_.some) return _; + y.push(_.val); + } + return m(y); + }, v.any = function() { + for (var l = [], u = 0; u < arguments.length; u++) l[u] = arguments[u]; + for (var y = 0, d = l; y < d.length; y++) { + var b = d[y]; + return b.some, b; + } + return C; + }, v.isOption = function(l) { + return l instanceof m || l === C; }; - })(y || (y = {})); - }, 1745: (x, n, c) => { - c.d(n, { c: () => t, g: () => f }); - var r = c(4661), a = c(9695), i = c(3766), m = c(6290); - function t(L, N) { - if (L.__type != null) return N.get(L.__type); + })(w || (w = {})); + }, 1745(g, n, s) { + s.d(n, { c: () => a, g: () => f }); + var r = s(4661), o = s(9695), i = s(3766), p = s(6290); + function a(I, x) { + if (I.__type != null) return x.get(I.__type); } var f = function() { - function L() { - this.typeResolver = t, this.errorHandler = r.vV, this.deserializationStrategy = /* @__PURE__ */ new Map([[m.v6.ctor, r.D_], [Number, d], [String, d], [Boolean, d], [Date, p], [ArrayBuffer, h], [DataView, O], [Array, l], [Set, s], [Map, v], [Float32Array, k], [Float64Array, k], [Uint8Array, R], [Uint8ClampedArray, R], [Uint16Array, R], [Uint32Array, R]]); - } - return L.prototype.setDeserializationStrategy = function(N, B) { - this.deserializationStrategy.set(N, B); - }, L.prototype.setNameResolver = function(N) { - this.nameResolver = N; - }, L.prototype.setTypeResolver = function(N) { - if (typeof N != "function") throw new TypeError("'typeResolverCallback' is not a function."); - this.typeResolver = N; - }, L.prototype.getTypeResolver = function() { + function I() { + this.typeResolver = a, this.errorHandler = r.vV, this.deserializationStrategy = /* @__PURE__ */ new Map([[p.v6.ctor, r.D_], [Number, v], [String, v], [Boolean, v], [Date, d], [ArrayBuffer, b], [DataView, _], [Array, l], [Set, u], [Map, y], [Float32Array, B], [Float64Array, B], [Uint8Array, O], [Uint8ClampedArray, O], [Uint16Array, O], [Uint32Array, O]]); + } + return I.prototype.setDeserializationStrategy = function(x, A) { + this.deserializationStrategy.set(x, A); + }, I.prototype.setNameResolver = function(x) { + this.nameResolver = x; + }, I.prototype.setTypeResolver = function(x) { + if (typeof x != "function") throw new TypeError("'typeResolverCallback' is not a function."); + this.typeResolver = x; + }, I.prototype.getTypeResolver = function() { return this.typeResolver; - }, L.prototype.setErrorHandler = function(N) { - if (typeof N != "function") throw new TypeError("'errorHandlerCallback' is not a function."); - this.errorHandler = N; - }, L.prototype.getErrorHandler = function() { + }, I.prototype.setErrorHandler = function(x) { + if (typeof x != "function") throw new TypeError("'errorHandlerCallback' is not a function."); + this.errorHandler = x; + }, I.prototype.getErrorHandler = function() { return this.errorHandler; - }, L.prototype.convertSingleValue = function(N, B, H, U, S) { - if (U === void 0 && (U = "object"), this.retrievePreserveNull(S) && N === null) return null; - if ((0, r.J5)(N)) { - var T = this.deserializationStrategy.get(B.ctor); - if (T !== void 0) return T(N, B, H, U, this, S); - if (typeof N == "object") return function(M, _, w, A, j) { - if (typeof M == "object" && M !== null) { - var V = _.ctor, D = a.zv.getFromConstructor(V), z = w, J = j.getTypeResolver(); - D !== void 0 && (D.processDeferredKnownTypes(), z = j.mergeKnownTypes(z, j.createKnownTypesMap(D.knownTypes)), D.typeResolver != null && (J = D.typeResolver)); - var G = J(M, z); - if (G != null && (0, r.yK)(G, V) && (V = G, (D = a.zv.getFromConstructor(G)) !== void 0 && (z = j.mergeKnownTypes(z, j.createKnownTypesMap(D.knownTypes)))), D?.isExplicitlyMarked === !0) { - var Q = D, ee = {}, Z = (0, i.lL)(j.options, Q.options); - Q.dataMembers.forEach(function(ce, ie) { - var fe, Te = M[ie], Se = (0, r.bM)(Q.classType) + "." + ie, te = (0, i.lL)(Z, ce.options); - if (ce.deserializer != null) fe = ce.deserializer(Te); + }, I.prototype.convertSingleValue = function(x, A, N, k, j) { + if (k === void 0 && (k = "object"), this.retrievePreserveNull(j) && x === null) return null; + if ((0, r.J5)(x)) { + var D = this.deserializationStrategy.get(A.ctor); + if (D !== void 0) return D(x, A, N, k, this, j); + if (typeof x == "object") return function(L, R, M, P, H) { + if (typeof L == "object" && L !== null) { + var K = R.ctor, V = o.zv.getFromConstructor(K), U = M, F = H.getTypeResolver(); + V !== void 0 && (V.processDeferredKnownTypes(), U = H.mergeKnownTypes(U, H.createKnownTypesMap(V.knownTypes)), V.typeResolver != null && (F = V.typeResolver)); + var Q = F(L, U); + if (Q != null && (0, r.yK)(Q, K) && (K = Q, (V = o.zv.getFromConstructor(Q)) !== void 0 && (U = H.mergeKnownTypes(U, H.createKnownTypesMap(V.knownTypes)))), V?.isExplicitlyMarked === !0) { + var ne = V, te = {}, X = (0, i.lL)(H.options, ne.options); + ne.dataMembers.forEach(function(Se, de) { + var me, Oe = L[de], Ce = (0, r.bM)(ne.classType) + "." + de, G = (0, i.lL)(X, Se.options); + if (Se.deserializer != null) me = Se.deserializer(Oe, { fallback: function(ie, we) { + return H.convertSingleValue(ie, (0, p.A4)(we), M); + } }); else { - if (ce.type == null) throw new TypeError("Cannot deserialize " + Se + " there is no constructor nor deserialization function to use."); - fe = j.convertSingleValue(Te, ce.type(), z, Se, te); + if (Se.type == null) throw new TypeError("Cannot deserialize " + Ce + " there is no constructor nor deserialization function to use."); + me = H.convertSingleValue(Oe, Se.type(), U, Ce, G); } - (0, r.J5)(fe) || j.retrievePreserveNull(te) && fe === null ? ee[ce.key] = fe : ce.isRequired === !0 && j.getErrorHandler()(new TypeError("Missing required member '" + Se + "'.")); + (0, r.J5)(me) || H.retrievePreserveNull(G) && me === null ? te[Se.key] = me : Se.isRequired === !0 && H.getErrorHandler()(new TypeError("Missing required member '" + Ce + "'.")); }); - var q = void 0; - if (typeof D.initializerCallback == "function") try { - if ((q = D.initializerCallback(ee, M)) == null) throw new TypeError("Cannot deserialize " + A + ": 'initializer' function returned undefined/null, but '" + (0, r.bM)(D.classType) + "' was expected."); - if (!(q instanceof D.classType)) throw new TypeError("Cannot deserialize " + A + ":'initializer' returned '" + (0, r.bM)(q.constructor) + "', but '" + (0, r.bM)(D.classType) + "' was expected, and '" + (0, r.bM)(q.constructor) + "' is not a subtype of '" + (0, r.bM)(D.classType) + "'"); - } catch (ce) { - return void j.getErrorHandler()(ce); + var Z = void 0; + if (typeof V.initializerCallback == "function") try { + if ((Z = V.initializerCallback(te, L)) == null) throw new TypeError("Cannot deserialize " + P + ": 'initializer' function returned undefined/null, but '" + (0, r.bM)(V.classType) + "' was expected."); + if (!(Z instanceof V.classType)) throw new TypeError("Cannot deserialize " + P + ":'initializer' returned '" + (0, r.bM)(Z.constructor) + "', but '" + (0, r.bM)(V.classType) + "' was expected, and '" + (0, r.bM)(Z.constructor) + "' is not a subtype of '" + (0, r.bM)(V.classType) + "'"); + } catch (Se) { + return void H.getErrorHandler()(Se); } - else q = j.instantiateType(V); - Object.assign(q, ee); - var se = D.onDeserializedMethodName; - return se != null && (typeof q[se] == "function" ? q[se]() : typeof q.constructor[se] == "function" ? q.constructor[se]() : j.getErrorHandler()(new TypeError("onDeserialized callback'" + (0, r.bM)(D.classType) + "." + se + "' is not a method."))), q; + else Z = H.instantiateType(K); + Object.assign(Z, te); + var fe = V.onDeserializedMethodName; + return fe != null && (typeof Z[fe] == "function" ? Z[fe]() : typeof Z.constructor[fe] == "function" ? Z.constructor[fe]() : H.getErrorHandler()(new TypeError("onDeserialized callback'" + (0, r.bM)(V.classType) + "." + fe + "' is not a method."))), Z; } - var ue = {}; - return Object.keys(M).forEach(function(ce) { - ue[ce] = j.convertSingleValue(M[ce], new m.bS(M[ce].constructor), w, ce); - }), ue; + var le = {}; + return Object.keys(L).forEach(function(Se) { + le[Se] = H.convertSingleValue(L[Se], new p.bS(L[Se].constructor), M, Se); + }), le; } - j.getErrorHandler()(new TypeError("Cannot deserialize " + A + ": 'sourceObject' must be a defined object.")); - }(N, B, H, U, this); - var E = "Could not deserialize '" + U + "'; don't know how to deserialize type"; - B.hasFriendlyName() && (E += " '" + B.ctor.name + "'"), this.errorHandler(new TypeError(E + ".")); - } - }, L.prototype.instantiateType = function(N) { - return new N(); - }, L.prototype.mergeKnownTypes = function() { - for (var N = this, B = [], H = 0; H < arguments.length; H++) B[H] = arguments[H]; - var U = /* @__PURE__ */ new Map(); - return B.forEach(function(S) { - S.forEach(function(T, E) { - N.nameResolver === void 0 ? U.set(E, T) : U.set(N.nameResolver(T), T); + H.getErrorHandler()(new TypeError("Cannot deserialize " + P + ": 'sourceObject' must be a defined object.")); + }(x, A, N, k, this); + var T = "Could not deserialize '" + k + "'; don't know how to deserialize type"; + A.hasFriendlyName() && (T += " '" + A.ctor.name + "'"), this.errorHandler(new TypeError(T + ".")); + } + }, I.prototype.instantiateType = function(x) { + return new x(); + }, I.prototype.mergeKnownTypes = function() { + for (var x = this, A = [], N = 0; N < arguments.length; N++) A[N] = arguments[N]; + var k = /* @__PURE__ */ new Map(); + return A.forEach(function(j) { + j.forEach(function(D, T) { + x.nameResolver === void 0 ? k.set(T, D) : k.set(x.nameResolver(D), D); }); - }), U; - }, L.prototype.createKnownTypesMap = function(N) { - var B = this, H = /* @__PURE__ */ new Map(); - return N.forEach(function(U) { - if (B.nameResolver === void 0) { - var S = a.zv.getFromConstructor(U), T = S?.isExplicitlyMarked === !0 ? S.name : null; - H.set(T ?? U.name, U); - } else H.set(B.nameResolver(U), U); - }), H; - }, L.prototype.retrievePreserveNull = function(N) { - return (0, i.nE)("preserveNull", (0, i.lL)(this.options, N)); - }, L; - }(); - function b(L, N, B, H) { - throw new TypeError("Could not deserialize " + H + " as " + L + ": expected " + N + ", got " + B + "."); - } - function y(L, N, B) { - return "Could not deserialize " + B + ": expected '" + (typeof L == "function" ? (0, r.bM)(L) : L) + "', got '" + (typeof N == "function" ? (0, r.bM)(N) : N) + "'."; - } - function u(L) { - return L == null ? "undefined" : (0, r.bM)(L.constructor); - } - function d(L, N, B, H) { - if (L.constructor !== N.ctor) throw new TypeError(y((0, r.bM)(N.ctor), L.constructor, H)); - return L; + }), k; + }, I.prototype.createKnownTypesMap = function(x) { + var A = this, N = /* @__PURE__ */ new Map(); + return x.forEach(function(k) { + if (A.nameResolver === void 0) { + var j = o.zv.getFromConstructor(k), D = j?.isExplicitlyMarked === !0 ? j.name : null; + N.set(D ?? k.name, k); + } else N.set(A.nameResolver(k), k); + }), N; + }, I.prototype.retrievePreserveNull = function(x) { + return (0, i.nE)("preserveNull", (0, i.lL)(this.options, x)); + }, I; + }(); + function C(I, x, A, N) { + throw new TypeError("Could not deserialize " + N + " as " + I + ": expected " + x + ", got " + A + "."); } - function l(L, N, B, H, U, S) { - if (!(N instanceof m.ZD)) throw new TypeError("Could not deserialize " + H + " as Array: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); - return Array.isArray(L) ? N.elementType == null ? (U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Array: missing constructor reference of Array elements.")), []) : L.map(function(T, E) { + function w(I, x, A) { + return "Could not deserialize " + A + ": expected '" + (typeof I == "function" ? (0, r.bM)(I) : I) + "', got '" + (typeof x == "function" ? (0, r.bM)(x) : x) + "'."; + } + function m(I) { + return I == null ? "undefined" : (0, r.bM)(I.constructor); + } + function v(I, x, A, N) { + if (I.constructor !== x.ctor) throw new TypeError(w((0, r.bM)(x.ctor), I.constructor, N)); + return I; + } + function l(I, x, A, N, k, j) { + if (!(x instanceof p.ZD)) throw new TypeError("Could not deserialize " + N + " as Array: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); + return Array.isArray(I) ? x.elementType == null ? (k.getErrorHandler()(new TypeError("Could not deserialize " + N + " as Array: missing constructor reference of Array elements.")), []) : I.map(function(D, T) { try { - return U.convertSingleValue(T, N.elementType, B, H + "[" + E + "]", S); - } catch (M) { - return void U.getErrorHandler()(M); - } - }) : (U.getErrorHandler()(new TypeError(y(Array, L.constructor, H))), []); - } - function s(L, N, B, H, U, S) { - if (!(N instanceof m.oy)) throw new TypeError("Could not deserialize " + H + " as Set: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); - if (!Array.isArray(L)) return U.getErrorHandler()(new TypeError(y(Array, L.constructor, H))), /* @__PURE__ */ new Set(); - if (N.elementType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Set: missing constructor reference of Set elements.")), /* @__PURE__ */ new Set(); - var T = /* @__PURE__ */ new Set(); - return L.forEach(function(E, M) { + return k.convertSingleValue(D, x.elementType, A, N + "[" + T + "]", j); + } catch (L) { + return void k.getErrorHandler()(L); + } + }) : (k.getErrorHandler()(new TypeError(w(Array, I.constructor, N))), []); + } + function u(I, x, A, N, k, j) { + if (!(x instanceof p.oy)) throw new TypeError("Could not deserialize " + N + " as Set: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); + if (!Array.isArray(I)) return k.getErrorHandler()(new TypeError(w(Array, I.constructor, N))), /* @__PURE__ */ new Set(); + if (x.elementType == null) return k.getErrorHandler()(new TypeError("Could not deserialize " + N + " as Set: missing constructor reference of Set elements.")), /* @__PURE__ */ new Set(); + var D = /* @__PURE__ */ new Set(); + return I.forEach(function(T, L) { try { - T.add(U.convertSingleValue(E, N.elementType, B, H + "[" + M + "]", S)); - } catch (_) { - U.getErrorHandler()(_); - } - }), T; - } - function v(L, N, B, H, U, S) { - if (!(N instanceof m.Ws)) throw new TypeError("Could not deserialize " + H + " as Map: incorrect TypeDescriptor detected,please use proper annotation or function for this type"); - var T = N.getCompleteOptions().shape; - if (!function(A, j) { - return j === 0 && Array.isArray(A) || j === 1 && typeof A == "object"; - }(L, T)) { - var E = T === 0 ? Array : Object; - return U.getErrorHandler()(new TypeError(y(E, L.constructor, H))), /* @__PURE__ */ new Map(); - } - if (N.keyType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Map: missing key constructor.")), /* @__PURE__ */ new Map(); - if (N.valueType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Map: missing value constructor.")), /* @__PURE__ */ new Map(); - var M = H + "[].key", _ = H + "[].value", w = /* @__PURE__ */ new Map(); - return T === 1 ? Object.keys(L).forEach(function(A) { + D.add(k.convertSingleValue(T, x.elementType, A, N + "[" + L + "]", j)); + } catch (R) { + k.getErrorHandler()(R); + } + }), D; + } + function y(I, x, A, N, k, j) { + if (!(x instanceof p.Ws)) throw new TypeError("Could not deserialize " + N + " as Map: incorrect TypeDescriptor detected,please use proper annotation or function for this type"); + var D = x.getCompleteOptions().shape; + if (!function(P, H) { + return H === 0 && Array.isArray(P) || H === 1 && typeof P == "object"; + }(I, D)) { + var T = D === 0 ? Array : Object; + return k.getErrorHandler()(new TypeError(w(T, I.constructor, N))), /* @__PURE__ */ new Map(); + } + if (x.keyType == null) return k.getErrorHandler()(new TypeError("Could not deserialize " + N + " as Map: missing key constructor.")), /* @__PURE__ */ new Map(); + if (x.valueType == null) return k.getErrorHandler()(new TypeError("Could not deserialize " + N + " as Map: missing value constructor.")), /* @__PURE__ */ new Map(); + var L = N + "[].key", R = N + "[].value", M = /* @__PURE__ */ new Map(); + return D === 1 ? Object.keys(I).forEach(function(P) { try { - var j = U.convertSingleValue(A, N.keyType, B, M, S); - (0, r.J5)(j) && w.set(j, U.convertSingleValue(L[A], N.valueType, B, _, S)); - } catch (V) { - U.getErrorHandler()(V); + var H = k.convertSingleValue(P, x.keyType, A, L, j); + (0, r.J5)(H) && M.set(H, k.convertSingleValue(I[P], x.valueType, A, R, j)); + } catch (K) { + k.getErrorHandler()(K); } - }) : L.forEach(function(A) { + }) : I.forEach(function(P) { try { - var j = U.convertSingleValue(A.key, N.keyType, B, M, S); - (0, r.J5)(j) && w.set(j, U.convertSingleValue(A.value, N.valueType, B, _, S)); - } catch (V) { - U.getErrorHandler()(V); + var H = k.convertSingleValue(P.key, x.keyType, A, L, j); + (0, r.J5)(H) && M.set(H, k.convertSingleValue(P.value, x.valueType, A, R, j)); + } catch (K) { + k.getErrorHandler()(K); } - }), w; + }), M; } - function p(L, N, B, H) { - if (typeof L == "number") { - if (L % 1 != 0) throw new TypeError("Could not deserialize " + H + " as Date: expected an integer, got a number with decimal places."); - return new Date(L); + function d(I, x, A, N) { + if (typeof I == "number") { + if (I % 1 != 0) throw new TypeError("Could not deserialize " + N + " as Date: expected an integer, got a number with decimal places."); + return new Date(I); } - return typeof L == "string" ? new Date(L) : L instanceof Date ? L : void b("Date", "an ISO-8601 string", u(L), H); - } - function h(L, N, B, H) { - return typeof L != "string" && b("ArrayBuffer", "a string source", u(L), H), I(L); - } - function O(L, N, B, H) { - return typeof L != "string" && b("DataView", "a string source", u(L), H), new DataView(I(L)); - } - function I(L) { - for (var N = new ArrayBuffer(2 * L.length), B = new Uint16Array(N), H = 0, U = L.length; H < U; H++) B[H] = L.charCodeAt(H); - return N; - } - function k(L, N, B, H) { - var U = N.ctor; - return Array.isArray(L) && L.every(function(S) { - return !isNaN(S); - }) ? new U(L) : b(U.name, "a numeric source array", u(L), H); - } - function R(L, N, B, H) { - var U = N.ctor; - return Array.isArray(L) && L.every(function(S) { - return !isNaN(S); - }) ? new U(L.map(function(S) { - return ~~S; - })) : b(N.ctor.name, "a numeric source array", u(L), H); - } - }, 4661: (x, n, c) => { - c.d(n, { D_: () => h, FF: () => d, Ib: () => f, J5: () => l, V_: () => b, b8: () => t, bM: () => p, ih: () => m, tH: () => s, uY: () => i, vV: () => u, yK: () => y, zm: () => v }); - var r = c(3635), a = c(6290), i = "If the type is not yet defined, for example due to circular references, add '() => ' before it. E.g. @jsonMember(() => Foo)", m = 'Make sure that you have both "experimentalDecorators" and "emitDecoratorMetadata" enabled in your tsconfig.json'; - function t(O) { - return [Date, Number, String, Boolean].indexOf(O) !== -1; - } - function f(O) { - return [Float32Array, Float64Array, Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array].indexOf(O) !== -1; - } - function b(O, I) { - return typeof O != "string" || function(k, R) { - var L = R === String || R === ArrayBuffer || R === DataView, N = k.length >= 2 && k[0] === '"' && k[k.length - 1] === '"'; - if (R === Date) { - var B = !isNaN(Number(k.trim())); - return !N && !B; - } - return L && !N; - }(O, I) ? O : JSON.parse(O); - } - function y(O, I) { - return O === I || O.prototype instanceof I; - } - function u(O) { - for (var I = [], k = 1; k < arguments.length; k++) I[k - 1] = arguments[k]; - typeof console == "object" && typeof console.error == "function" ? console.error.apply(console, (0, r.aN)([O], I)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, r.aN)(["ERROR: " + O], I)); - } - function d(O) { - for (var I = [], k = 1; k < arguments.length; k++) I[k - 1] = arguments[k]; - typeof console == "object" && typeof console.warn == "function" ? console.warn.apply(console, (0, r.aN)([O], I)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, r.aN)(["WARNING: " + O], I)); - } - function l(O) { - return O != null; + return typeof I == "string" ? new Date(I) : I instanceof Date ? I : void C("Date", "an ISO-8601 string", m(I), N); } - function s(O, I) { - return I === a.v6.ctor || (typeof O == "number" ? I === Number : typeof O == "string" ? I === String : typeof O == "boolean" ? I === Boolean : !!/* @__PURE__ */ function(k) { - return typeof k == "object"; - }(O) && O instanceof I); + function b(I, x, A, N) { + return typeof I != "string" && C("ArrayBuffer", "a string source", m(I), N), E(I); } - var v = typeof Reflect == "object" && typeof Reflect.getMetadata == "function"; - function p(O) { - return typeof O.name == "string" ? O.name : "undefined"; + function _(I, x, A, N) { + return typeof I != "string" && C("DataView", "a string source", m(I), N), new DataView(E(I)); } - function h(O) { - return O; + function E(I) { + for (var x = new ArrayBuffer(2 * I.length), A = new Uint16Array(x), N = 0, k = I.length; N < k; N++) A[N] = I.charCodeAt(N); + return x; } - }, 9592: (x, n, c) => { - c.r(n), c.d(n, { AnyT: () => l.v6, ArrayT: () => l.Yq, ArrayTypeDescriptor: () => l.ZD, JsonObjectMetadata: () => m.zv, MapT: () => l.P_, MapTypeDescriptor: () => l.Ws, SetT: () => l.jH, SetTypeDescriptor: () => l.oy, TypedJSON: () => r.n1, defaultTypeEmitter: () => i.s, defaultTypeResolver: () => a.c, jsonArrayMember: () => b.e, jsonMapMember: () => u.f, jsonMember: () => f.Z, jsonObject: () => t.o, jsonSetMember: () => y.v, toJson: () => d.a }); - var r = c(605), a = c(1745), i = c(4610), m = c(9695), t = c(3690), f = c(7171), b = c(3427), y = c(8008), u = c(58), d = c(3034), l = c(6290), s = c(1149), v = {}; - for (const p in s) ["default", "TypedJSON", "defaultTypeResolver", "defaultTypeEmitter", "JsonObjectMetadata", "jsonObject", "jsonMember", "jsonArrayMember", "jsonSetMember", "jsonMapMember", "toJson", "ArrayT", "AnyT", "SetT", "MapT", "SetTypeDescriptor", "ArrayTypeDescriptor", "MapTypeDescriptor"].indexOf(p) < 0 && (v[p] = () => s[p]); - c.d(n, v); - }, 3427: (x, n, c) => { - c.d(n, { A: () => f, e: () => t }); - var r = c(4661), a = c(9695), i = c(3766), m = c(6290); - function t(b, y) { - return y === void 0 && (y = {}), function(u, d) { - var l, s = "@jsonArrayMember on " + (0, r.bM)(u.constructor) + "." + String(d), v = (0, m.tI)(b, s), p = y.dimensions == null ? 1 : y.dimensions; - if (!isNaN(p) && p < 1) (0, r.vV)(s + ": 'dimensions' option must be at least 1."); + function B(I, x, A, N) { + var k = x.ctor; + return Array.isArray(I) && I.every(function(j) { + return !isNaN(j); + }) ? new k(I) : C(k.name, "a numeric source array", m(I), N); + } + function O(I, x, A, N) { + var k = x.ctor; + return Array.isArray(I) && I.every(function(j) { + return !isNaN(j); + }) ? new k(I.map(function(j) { + return ~~j; + })) : C(x.ctor.name, "a numeric source array", m(I), N); + } + }, 4661(g, n, s) { + s.d(n, { D_: () => b, FF: () => v, Ib: () => f, J5: () => l, V_: () => C, b8: () => a, bM: () => d, ih: () => p, tH: () => u, uY: () => i, vV: () => m, yK: () => w, zm: () => y }); + var r = s(1635), o = s(6290), i = "If the type is not yet defined, for example due to circular references, add '() => ' before it. E.g. @jsonMember(() => Foo)", p = 'Make sure that you have both "experimentalDecorators" and "emitDecoratorMetadata" enabled in your tsconfig.json'; + function a(_) { + return [Date, Number, String, Boolean].indexOf(_) !== -1; + } + function f(_) { + return [Float32Array, Float64Array, Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array].indexOf(_) !== -1; + } + function C(_, E) { + return typeof _ != "string" || function(B, O) { + var I = O === String || O === ArrayBuffer || O === DataView, x = B.length >= 2 && B[0] === '"' && B[B.length - 1] === '"'; + if (O === Date) { + var A = !isNaN(Number(B.trim())); + return !x && !A; + } + return I && !x; + }(_, E) ? _ : JSON.parse(_); + } + function w(_, E) { + return _ === E || _.prototype instanceof E; + } + function m(_) { + for (var E = [], B = 1; B < arguments.length; B++) E[B - 1] = arguments[B]; + typeof console == "object" && typeof console.error == "function" ? console.error.apply(console, (0, r.aN)([_], E)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, r.aN)(["ERROR: " + _], E)); + } + function v(_) { + for (var E = [], B = 1; B < arguments.length; B++) E[B - 1] = arguments[B]; + typeof console == "object" && typeof console.warn == "function" ? console.warn.apply(console, (0, r.aN)([_], E)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, r.aN)(["WARNING: " + _], E)); + } + function l(_) { + return _ != null; + } + function u(_, E) { + return E === o.v6.ctor || (typeof _ == "number" ? E === Number : typeof _ == "string" ? E === String : typeof _ == "boolean" ? E === Boolean : !!/* @__PURE__ */ function(B) { + return typeof B == "object"; + }(_) && _ instanceof E); + } + var y = typeof Reflect == "object" && typeof Reflect.getMetadata == "function"; + function d(_) { + return typeof _.name == "string" ? _.name : "undefined"; + } + function b(_) { + return _; + } + }, 9592(g, n, s) { + s.r(n), s.d(n, { AnyT: () => l.v6, ArrayT: () => l.Yq, ArrayTypeDescriptor: () => l.ZD, JsonObjectMetadata: () => p.zv, MapT: () => l.P_, MapTypeDescriptor: () => l.Ws, SetT: () => l.jH, SetTypeDescriptor: () => l.oy, TypedJSON: () => r.n1, defaultTypeEmitter: () => i.s, defaultTypeResolver: () => o.c, jsonArrayMember: () => C.e, jsonMapMember: () => m.f, jsonMember: () => f.Z, jsonObject: () => a.o, jsonSetMember: () => w.v, toJson: () => v.a }); + var r = s(605), o = s(1745), i = s(4610), p = s(9695), a = s(3690), f = s(7171), C = s(3427), w = s(8008), m = s(58), v = s(3034), l = s(6290), u = s(1149), y = {}; + for (const d in u) ["default", "TypedJSON", "defaultTypeResolver", "defaultTypeEmitter", "JsonObjectMetadata", "jsonObject", "jsonMember", "jsonArrayMember", "jsonSetMember", "jsonMapMember", "toJson", "ArrayT", "AnyT", "SetT", "MapT", "SetTypeDescriptor", "ArrayTypeDescriptor", "MapTypeDescriptor"].indexOf(d) < 0 && (y[d] = () => u[d]); + s.d(n, y); + }, 3427(g, n, s) { + s.d(n, { A: () => f, e: () => a }); + var r = s(4661), o = s(9695), i = s(3766), p = s(6290); + function a(C, w) { + return w === void 0 && (w = {}), function(m, v) { + var l, u = "@jsonArrayMember on " + (0, r.bM)(m.constructor) + "." + String(v), y = (0, p.tI)(C, u), d = w.dimensions == null ? 1 : w.dimensions; + if (!isNaN(d) && d < 1) (0, r.vV)(u + ": 'dimensions' option must be at least 1."); else { - var h = r.zm ? Reflect.getMetadata("design:type", u, d) : null; - h == null || h === Array || h === Object ? (0, a.fT)(u, d, { type: function() { - return f((0, m.A4)(v()), p); - }, emitDefaultValue: y.emitDefaultValue, isRequired: y.isRequired, options: (0, i.sS)(y), key: d.toString(), name: (l = y.name) !== null && l !== void 0 ? l : d.toString(), deserializer: y.deserializer, serializer: y.serializer }) : (0, r.vV)(s + ": property is not an Array. " + r.ih); + var b = r.zm ? Reflect.getMetadata("design:type", m, v) : null; + b == null || b === Array || b === Object ? (0, o.fT)(m, v, { type: function() { + return f((0, p.A4)(y()), d); + }, emitDefaultValue: w.emitDefaultValue, isRequired: w.isRequired, options: (0, i.sS)(w), key: v.toString(), name: (l = w.name) !== null && l !== void 0 ? l : v.toString(), deserializer: w.deserializer, serializer: w.serializer }) : (0, r.vV)(u + ": property is not an Array. " + r.ih); } }; } - function f(b, y) { - for (var u = new m.ZD(b), d = 1; d < y; ++d) u = new m.ZD(u); - return u; + function f(C, w) { + for (var m = new p.ZD(C), v = 1; v < w; ++v) m = new p.ZD(m); + return m; } - }, 58: (x, n, c) => { - c.d(n, { f: () => t }); - var r = c(4661), a = c(9695), i = c(3766), m = c(6290); - function t(f, b, y) { - return y === void 0 && (y = {}), function(u, d) { - var l, s = "@jsonMapMember on " + (0, r.bM)(u.constructor) + "." + String(d), v = (0, m.tI)(f, s), p = (0, m.tI)(b, s), h = r.zm ? Reflect.getMetadata("design:type", u, d) : null; - h == null || h === Map || h === Object ? (0, a.fT)(u, d, { type: function() { - return (0, m.P_)(v(), p(), { shape: y.shape }); - }, emitDefaultValue: y.emitDefaultValue, isRequired: y.isRequired, options: (0, i.sS)(y), key: d.toString(), name: (l = y.name) !== null && l !== void 0 ? l : d.toString(), deserializer: y.deserializer, serializer: y.serializer }) : (0, r.vV)(s + ": property is not a Map. " + r.ih); + }, 58(g, n, s) { + s.d(n, { f: () => a }); + var r = s(4661), o = s(9695), i = s(3766), p = s(6290); + function a(f, C, w) { + return w === void 0 && (w = {}), function(m, v) { + var l, u = "@jsonMapMember on " + (0, r.bM)(m.constructor) + "." + String(v), y = (0, p.tI)(f, u), d = (0, p.tI)(C, u), b = r.zm ? Reflect.getMetadata("design:type", m, v) : null; + b == null || b === Map || b === Object ? (0, o.fT)(m, v, { type: function() { + return (0, p.P_)(y(), d(), { shape: w.shape }); + }, emitDefaultValue: w.emitDefaultValue, isRequired: w.isRequired, options: (0, i.sS)(w), key: v.toString(), name: (l = w.name) !== null && l !== void 0 ? l : v.toString(), deserializer: w.deserializer, serializer: w.serializer }) : (0, r.vV)(u + ": property is not a Map. " + r.ih); }; } - }, 7171: (x, n, c) => { - c.d(n, { Z: () => t }); - var r = c(4661), a = c(9695), i = c(3766), m = c(6290); - function t(y, u) { - var d, l; - if (typeof u != "string" && typeof u != "symbol") return d = y, l = u, function(I, k) { - var R, L, N = "@jsonMember on " + (0, r.bM)(I.constructor) + "." + String(k); - if ((0, m.Im)(d) || (0, m.D4)(d) ? L = (0, m.tI)(d, N) : l = d, l = l ?? {}, Object.prototype.hasOwnProperty.call(l, "constructor")) { - if (L !== void 0) throw new Error("Cannot both define constructor option and type. Only one allowed."); - if (!(0, r.J5)(l.constructor)) return void (0, r.vV)(N + ": cannot resolve specified property constructor at runtime. " + r.uY); - var B = (0, m.A4)(l.constructor); - L = function() { - return B; - }, r.zm && !(0, r.yK)(B.ctor, Reflect.getMetadata("design:type", I, k)) && (0, r.FF)(N + ": detected property type does not match 'constructor' option."); - } else if (L === void 0) { + }, 7171(g, n, s) { + s.d(n, { Z: () => a }); + var r = s(4661), o = s(9695), i = s(3766), p = s(6290); + function a(w, m) { + var v, l; + if (typeof m != "string" && typeof m != "symbol") return v = w, l = m, function(E, B) { + var O, I, x = "@jsonMember on " + (0, r.bM)(E.constructor) + "." + String(B); + if ((0, p.Im)(v) || (0, p.D4)(v) ? I = (0, p.tI)(v, x) : l = v, l = l ?? {}, Object.prototype.hasOwnProperty.call(l, "constructor")) { + if (I !== void 0) throw new Error("Cannot both define constructor option and type. Only one allowed."); + if (!(0, r.J5)(l.constructor)) return void (0, r.vV)(x + ": cannot resolve specified property constructor at runtime. " + r.uY); + var A = (0, p.A4)(l.constructor); + I = function() { + return A; + }, r.zm && !(0, r.yK)(A.ctor, Reflect.getMetadata("design:type", E, B)) && (0, r.FF)(x + ": detected property type does not match 'constructor' option."); + } else if (I === void 0) { if (r.zm) { - var H = Reflect.getMetadata("design:type", I, k); - if (H == null) return void (0, r.vV)(N + ": cannot resolve detected property constructor at runtime. " + r.uY); - L = function() { - return (0, m.A4)(H); + var N = Reflect.getMetadata("design:type", E, B); + if (N == null) return void (0, r.vV)(x + ": cannot resolve detected property constructor at runtime. " + r.uY); + I = function() { + return (0, p.A4)(N); }; - } else if (l.deserializer === void 0) return void (0, r.vV)(N + ": Cannot determine type"); + } else if (l.deserializer === void 0) return void (0, r.vV)(x + ": Cannot determine type"); } - var U = L?.(); - U !== void 0 && b(N, U) || (0, a.fT)(I, k, { type: L === void 0 ? void 0 : function() { - return (0, m.A4)(L()); - }, emitDefaultValue: l.emitDefaultValue, isRequired: l.isRequired, options: (0, i.sS)(l), key: k.toString(), name: (R = l.name) !== null && R !== void 0 ? R : k.toString(), deserializer: l.deserializer, serializer: l.serializer }); + var k = I?.(); + k !== void 0 && C(x, k) || (0, o.fT)(E, B, { type: I === void 0 ? void 0 : function() { + return (0, p.A4)(I()); + }, emitDefaultValue: l.emitDefaultValue, isRequired: l.isRequired, options: (0, i.sS)(l), key: B.toString(), name: (O = l.name) !== null && O !== void 0 ? O : B.toString(), deserializer: l.deserializer, serializer: l.serializer }); }; - var s = u, v = y, p = "@jsonMember on " + (0, r.bM)(v.constructor) + "." + String(s); + var u = m, y = w, d = "@jsonMember on " + (0, r.bM)(y.constructor) + "." + String(u); if (r.zm) { - var h = Reflect.getMetadata("design:type", v, s); - if (h != null) { - var O = (0, m.A4)(h); - b(p, O) || (0, a.fT)(v, s, { type: function() { - return O; - }, key: u.toString(), name: u.toString() }); - } else (0, r.vV)(p + `: could not resolve detected property constructor at runtime. Potential solutions: + var b = Reflect.getMetadata("design:type", y, u); + if (b != null) { + var _ = (0, p.A4)(b); + C(d, _) || (0, o.fT)(y, u, { type: function() { + return _; + }, key: m.toString(), name: m.toString() }); + } else (0, r.vV)(d + `: could not resolve detected property constructor at runtime. Potential solutions: - ` + r.uY + ` - ` + r.ih); - } else (0, r.vV)(p + ": ReflectDecorators is required if the type is not explicitly provided with e.g. @jsonMember(Number)"); - } - function f(y, u) { - return y instanceof m.e2 ? y.ctor === u : y === u; - } - function b(y, u) { - return u instanceof m.ZD || !f(u, Array) ? u instanceof m.oy || !f(u, Set) ? !(u instanceof m.Ws || !f(u, Map) || ((0, r.vV)(y + ": property is a Map. Use the jsonMapMember decorator to serialize this property."), 0)) : ((0, r.vV)(y + ": property is a Set. Use the jsonSetMember decorator to serialize this property."), !0) : ((0, r.vV)(y + ": property is an Array. Use the jsonArrayMember decorator to serialize this property."), !0); - } - }, 3690: (x, n, c) => { - c.d(n, { o: () => i }); - var r = c(9695), a = c(3766); - function i(m) { - var t; - function f(b) { - var y = r.zv.ensurePresentInPrototype(b.prototype); - y.isExplicitlyMarked = !0, y.onDeserializedMethodName = t.onDeserialized, y.beforeSerializationMethodName = t.beforeSerialization, t.typeResolver != null && (y.typeResolver = t.typeResolver), t.typeHintEmitter != null && (y.typeHintEmitter = t.typeHintEmitter), y.initializerCallback = t.initializer, t.name != null && (y.name = t.name); - var u = (0, a.sS)(t); - u !== void 0 && (y.options = u), t.knownTypes != null && t.knownTypes.filter(function(d) { - return !!d; - }).forEach(function(d) { - return y.knownTypes.add(d); + } else (0, r.vV)(d + ": ReflectDecorators is required if the type is not explicitly provided with e.g. @jsonMember(Number)"); + } + function f(w, m) { + return w instanceof p.e2 ? w.ctor === m : w === m; + } + function C(w, m) { + return m instanceof p.ZD || !f(m, Array) ? m instanceof p.oy || !f(m, Set) ? !(m instanceof p.Ws || !f(m, Map) || ((0, r.vV)(w + ": property is a Map. Use the jsonMapMember decorator to serialize this property."), 0)) : ((0, r.vV)(w + ": property is a Set. Use the jsonSetMember decorator to serialize this property."), !0) : ((0, r.vV)(w + ": property is an Array. Use the jsonArrayMember decorator to serialize this property."), !0); + } + }, 3690(g, n, s) { + s.d(n, { o: () => i }); + var r = s(9695), o = s(3766); + function i(p) { + var a; + function f(C) { + var w = r.zv.ensurePresentInPrototype(C.prototype); + w.isExplicitlyMarked = !0, w.onDeserializedMethodName = a.onDeserialized, w.beforeSerializationMethodName = a.beforeSerialization, a.typeResolver != null && (w.typeResolver = a.typeResolver), a.typeHintEmitter != null && (w.typeHintEmitter = a.typeHintEmitter), w.initializerCallback = a.initializer, a.name != null && (w.name = a.name); + var m = (0, o.sS)(a); + m !== void 0 && (w.options = m), a.knownTypes != null && a.knownTypes.filter(function(v) { + return !!v; + }).forEach(function(v) { + return w.knownTypes.add(v); }); } - if (t = typeof m == "function" ? {} : m ?? {}, typeof m != "function") return f; - f(m); - } - }, 8008: (x, n, c) => { - c.d(n, { v: () => t }); - var r = c(4661), a = c(9695), i = c(3766), m = c(6290); - function t(f, b) { - return b === void 0 && (b = {}), function(y, u) { - var d, l = "@jsonSetMember on " + (0, r.bM)(y.constructor) + "." + String(u), s = (0, m.tI)(f, l), v = r.zm ? Reflect.getMetadata("design:type", y, u) : null; - v == null || v === Set || v === Object ? (0, a.fT)(y, u, { type: function() { - return (0, m.jH)(s()); - }, emitDefaultValue: b.emitDefaultValue, isRequired: b.isRequired, options: (0, i.sS)(b), key: u.toString(), name: (d = b.name) !== null && d !== void 0 ? d : u.toString(), deserializer: b.deserializer, serializer: b.serializer }) : (0, r.vV)(l + ": property is not a Set. " + r.ih); + if (a = typeof p == "function" ? {} : p ?? {}, typeof p != "function") return f; + f(p); + } + }, 8008(g, n, s) { + s.d(n, { v: () => a }); + var r = s(4661), o = s(9695), i = s(3766), p = s(6290); + function a(f, C) { + return C === void 0 && (C = {}), function(w, m) { + var v, l = "@jsonSetMember on " + (0, r.bM)(w.constructor) + "." + String(m), u = (0, p.tI)(f, l), y = r.zm ? Reflect.getMetadata("design:type", w, m) : null; + y == null || y === Set || y === Object ? (0, o.fT)(w, m, { type: function() { + return (0, p.jH)(u()); + }, emitDefaultValue: C.emitDefaultValue, isRequired: C.isRequired, options: (0, i.sS)(C), key: m.toString(), name: (v = C.name) !== null && v !== void 0 ? v : m.toString(), deserializer: C.deserializer, serializer: C.serializer }) : (0, r.vV)(l + ": property is not a Set. " + r.ih); }; } - }, 9695: (x, n, c) => { - c.d(n, { fT: () => m, zv: () => i }); - var r = c(4661), a = "__typedJsonJsonObjectMetadataInformation__", i = function() { - function t(f) { + }, 9695(g, n, s) { + s.d(n, { fT: () => p, zv: () => i }); + var r = s(4661), o = "__typedJsonJsonObjectMetadataInformation__", i = function() { + function a(f) { this.dataMembers = /* @__PURE__ */ new Map(), this.knownTypes = /* @__PURE__ */ new Set(), this.knownTypesDeferred = [], this.isExplicitlyMarked = !1, this.isHandledWithoutAnnotation = !1, this.classType = f; } - return t.getJsonObjectName = function(f) { - var b = t.getFromConstructor(f); - return b === void 0 ? (0, r.bM)(f) : (0, r.bM)(b.classType); - }, t.getFromConstructor = function(f) { - var b = f.prototype; - if (b != null) { - var y; - if (Object.prototype.hasOwnProperty.call(b, a) && (y = b[a]), y?.isExplicitlyMarked === !0) return y; - if (t.doesHandleWithoutAnnotation(f)) { - var u = new t(f); - return u.isExplicitlyMarked = !0, u; + return a.getJsonObjectName = function(f) { + var C = a.getFromConstructor(f); + return C === void 0 ? (0, r.bM)(f) : (0, r.bM)(C.classType); + }, a.getFromConstructor = function(f) { + var C = f.prototype; + if (C != null) { + var w; + if (Object.prototype.hasOwnProperty.call(C, o) && (w = C[o]), w?.isExplicitlyMarked === !0) return w; + if (a.doesHandleWithoutAnnotation(f)) { + var m = new a(f); + return m.isExplicitlyMarked = !0, m; } } - }, t.ensurePresentInPrototype = function(f) { - if (Object.prototype.hasOwnProperty.call(f, a)) return f[a]; - var b = new t(f.constructor), y = f[a]; - return y !== void 0 && (y.dataMembers.forEach(function(u, d) { - b.dataMembers.set(d, u); - }), y.knownTypes.forEach(function(u) { - b.knownTypes.add(u); - }), b.typeResolver = y.typeResolver, b.typeHintEmitter = y.typeHintEmitter), Object.defineProperty(f, a, { enumerable: !1, configurable: !1, writable: !1, value: b }), b; - }, t.getKnownTypeNameFromType = function(f) { - var b = t.getFromConstructor(f); - return b === void 0 ? (0, r.bM)(f) : (0, r.bM)(b.classType); - }, t.doesHandleWithoutAnnotation = function(f) { + }, a.ensurePresentInPrototype = function(f) { + if (Object.prototype.hasOwnProperty.call(f, o)) return f[o]; + var C = new a(f.constructor), w = f[o]; + return w !== void 0 && (w.dataMembers.forEach(function(m, v) { + C.dataMembers.set(v, m); + }), w.knownTypes.forEach(function(m) { + C.knownTypes.add(m); + }), C.typeResolver = w.typeResolver, C.typeHintEmitter = w.typeHintEmitter), Object.defineProperty(f, o, { enumerable: !1, configurable: !1, writable: !1, value: C }), C; + }, a.getKnownTypeNameFromType = function(f) { + var C = a.getFromConstructor(f); + return C === void 0 ? (0, r.bM)(f) : (0, r.bM)(C.classType); + }, a.doesHandleWithoutAnnotation = function(f) { return (0, r.b8)(f) || (0, r.Ib)(f) || f === DataView || f === ArrayBuffer; - }, t.prototype.processDeferredKnownTypes = function() { + }, a.prototype.processDeferredKnownTypes = function() { var f = this; - this.knownTypesDeferred.forEach(function(b) { - b().getTypes().forEach(function(y) { - return f.knownTypes.add(y); + this.knownTypesDeferred.forEach(function(C) { + C().getTypes().forEach(function(w) { + return f.knownTypes.add(w); }); }), this.knownTypesDeferred = []; - }, t; + }, a; }(); - function m(t, f, b) { - var y = "@jsonMember on " + (0, r.bM)(t.constructor) + "." + String(f); - if (typeof t != "function") if (typeof t[f] != "function") if (b == null || b.type === void 0 && b.deserializer === void 0) (0, r.vV)(y + ": JsonMemberMetadata has unknown type."); + function p(a, f, C) { + var w = "@jsonMember on " + (0, r.bM)(a.constructor) + "." + String(f); + if (typeof a != "function") if (typeof a[f] != "function") if (C == null || C.type === void 0 && C.deserializer === void 0) (0, r.vV)(w + ": JsonMemberMetadata has unknown type."); else { - var u = i.ensurePresentInPrototype(t); - b.deserializer === void 0 && u.knownTypesDeferred.push(b.type), Object.keys(b).forEach(function(d) { - return b[d] === void 0 && delete b[d]; - }), u.dataMembers.set(b.name, b); + var m = i.ensurePresentInPrototype(a); + C.deserializer === void 0 && m.knownTypesDeferred.push(C.type), Object.keys(C).forEach(function(v) { + return C[v] === void 0 && delete C[v]; + }), m.dataMembers.set(C.name, C); } - else (0, r.vV)(y + ": cannot use a method property."); - else (0, r.vV)(y + ": cannot use a static property."); + else (0, r.vV)(w + ": cannot use a method property."); + else (0, r.vV)(w + ": cannot use a static property."); } - }, 3766: (x, n, c) => { - c.d(n, { lL: () => t, nE: () => m, sS: () => i }); - var r = c(3635), a = ["preserveNull"]; + }, 3766(g, n, s) { + s.d(n, { lL: () => a, nE: () => p, sS: () => i }); + var r = s(1635), o = ["preserveNull"]; function i(f) { - var b = Object.keys(f).filter(function(y) { - return a.indexOf(y) > -1; - }).reduce(function(y, u) { - return y[u] = f[u], y; + var C = Object.keys(f).filter(function(w) { + return o.indexOf(w) > -1; + }).reduce(function(w, m) { + return w[m] = f[m], w; }, {}); - return Object.keys(b).length > 0 ? b : void 0; + return Object.keys(C).length > 0 ? C : void 0; } - function m(f, b) { - return b != null && b[f] != null ? b[f] : /* @__PURE__ */ function(y) { - return y !== "preserveNull" && null; + function p(f, C) { + return C != null && C[f] != null ? C[f] : /* @__PURE__ */ function(w) { + return w !== "preserveNull" && null; }(f); } - function t(f, b) { - return b == null ? f : (0, r.Cl)((0, r.Cl)({}, f), b); - } - }, 605: (x, n, c) => { - c.d(n, { n1: () => u }); - var r = c(3635), a = c(1745), i = c(4661), m = c(3427), t = c(9695), f = c(3766), b = c(4610), y = c(6290), u = function() { - function d(l, s) { - this.serializer = new b.h(), this.deserializer = new a.g(), this.globalKnownTypes = [], this.indent = 0; - var v = t.zv.getFromConstructor(l); - if (v === void 0 || !v.isExplicitlyMarked && !v.isHandledWithoutAnnotation) throw new TypeError("The TypedJSON root data type must have the @jsonObject decorator used."); - this.nameResolver = function(p) { - return (0, i.bM)(p); - }, this.rootConstructor = l, this.errorHandler = function(p) { - return (0, i.vV)(p); - }, this.config(s); - } - return d.parse = function(l, s, v) { - return new d(s, v).parse(l); - }, d.parseAsArray = function(l, s, v, p) { - return new d(s, v).parseAsArray(l, p); - }, d.parseAsSet = function(l, s, v) { - return new d(s, v).parseAsSet(l); - }, d.parseAsMap = function(l, s, v, p) { - return new d(v, p).parseAsMap(l, s); - }, d.toPlainJson = function(l, s, v) { - return new d(s, v).toPlainJson(l); - }, d.toPlainArray = function(l, s, v, p) { - return new d(s, p).toPlainArray(l, v); - }, d.toPlainSet = function(l, s, v) { - return new d(s, v).toPlainSet(l); - }, d.toPlainMap = function(l, s, v, p) { - return new d(v, p).toPlainMap(l, s); - }, d.stringify = function(l, s, v) { - return new d(s, v).stringify(l); - }, d.stringifyAsArray = function(l, s, v, p) { - return new d(s, p).stringifyAsArray(l, v); - }, d.stringifyAsSet = function(l, s, v) { - return new d(s, v).stringifyAsSet(l); - }, d.stringifyAsMap = function(l, s, v, p) { - return new d(v, p).stringifyAsMap(l, s); - }, d.setGlobalConfig = function(l) { + function a(f, C) { + return C == null ? f : (0, r.Cl)((0, r.Cl)({}, f), C); + } + }, 605(g, n, s) { + s.d(n, { n1: () => m }); + var r = s(1635), o = s(1745), i = s(4661), p = s(3427), a = s(9695), f = s(3766), C = s(4610), w = s(6290), m = function() { + function v(l, u) { + this.serializer = new C.h(), this.deserializer = new o.g(), this.globalKnownTypes = [], this.indent = 0; + var y = a.zv.getFromConstructor(l); + if (y === void 0 || !y.isExplicitlyMarked && !y.isHandledWithoutAnnotation) throw new TypeError("The TypedJSON root data type must have the @jsonObject decorator used."); + this.nameResolver = function(d) { + return (0, i.bM)(d); + }, this.rootConstructor = l, this.errorHandler = function(d) { + return (0, i.vV)(d); + }, this.config(u); + } + return v.parse = function(l, u, y) { + return new v(u, y).parse(l); + }, v.parseAsArray = function(l, u, y, d) { + return new v(u, y).parseAsArray(l, d); + }, v.parseAsSet = function(l, u, y) { + return new v(u, y).parseAsSet(l); + }, v.parseAsMap = function(l, u, y, d) { + return new v(y, d).parseAsMap(l, u); + }, v.toPlainJson = function(l, u, y) { + return new v(u, y).toPlainJson(l); + }, v.toPlainArray = function(l, u, y, d) { + return new v(u, d).toPlainArray(l, y); + }, v.toPlainSet = function(l, u, y) { + return new v(u, y).toPlainSet(l); + }, v.toPlainMap = function(l, u, y, d) { + return new v(y, d).toPlainMap(l, u); + }, v.stringify = function(l, u, y) { + return new v(u, y).stringify(l); + }, v.stringifyAsArray = function(l, u, y, d) { + return new v(u, d).stringifyAsArray(l, y); + }, v.stringifyAsSet = function(l, u, y) { + return new v(u, y).stringifyAsSet(l); + }, v.stringifyAsMap = function(l, u, y, d) { + return new v(y, d).stringifyAsMap(l, u); + }, v.setGlobalConfig = function(l) { Object.assign(this._globalConfig, l); - }, d.mapType = function(l, s) { - this._globalConfig.mappedTypes == null && (this._globalConfig.mappedTypes = /* @__PURE__ */ new Map()), this._globalConfig.mappedTypes.set(l, s); - }, d.prototype.config = function(l) { - var s = this; - (l = (0, r.Cl)((0, r.Cl)({}, d._globalConfig), l)).knownTypes != null && d._globalConfig.knownTypes != null && (l.knownTypes = Array.from(new Set(l.knownTypes.concat(d._globalConfig.knownTypes)))); - var v = (0, f.sS)(l); - this.serializer.options = v, this.deserializer.options = v, l.errorHandler != null && (this.errorHandler = l.errorHandler, this.deserializer.setErrorHandler(l.errorHandler), this.serializer.setErrorHandler(l.errorHandler)), l.replacer != null && (this.replacer = l.replacer), l.typeResolver != null && this.deserializer.setTypeResolver(l.typeResolver), l.typeHintEmitter != null && this.serializer.setTypeHintEmitter(l.typeHintEmitter), l.indent != null && (this.indent = l.indent), l.mappedTypes != null && l.mappedTypes.forEach(function(p, h) { - s.setSerializationStrategies(h, p); - }), l.nameResolver != null && (this.nameResolver = l.nameResolver, this.deserializer.setNameResolver(l.nameResolver)), l.knownTypes != null && (l.knownTypes.forEach(function(p, h) { - p == null && (0, i.FF)("TypedJSON.config: 'knownTypes' contains an undefined/null value (element " + h + ")."); + }, v.mapType = function(l, u) { + this._globalConfig.mappedTypes == null && (this._globalConfig.mappedTypes = /* @__PURE__ */ new Map()), this._globalConfig.mappedTypes.set(l, u); + }, v.prototype.config = function(l) { + var u = this; + (l = (0, r.Cl)((0, r.Cl)({}, v._globalConfig), l)).knownTypes != null && v._globalConfig.knownTypes != null && (l.knownTypes = Array.from(new Set(l.knownTypes.concat(v._globalConfig.knownTypes)))); + var y = (0, f.sS)(l); + this.serializer.options = y, this.deserializer.options = y, l.errorHandler != null && (this.errorHandler = l.errorHandler, this.deserializer.setErrorHandler(l.errorHandler), this.serializer.setErrorHandler(l.errorHandler)), l.replacer != null && (this.replacer = l.replacer), l.typeResolver != null && this.deserializer.setTypeResolver(l.typeResolver), l.typeHintEmitter != null && this.serializer.setTypeHintEmitter(l.typeHintEmitter), l.indent != null && (this.indent = l.indent), l.mappedTypes != null && l.mappedTypes.forEach(function(d, b) { + u.setSerializationStrategies(b, d); + }), l.nameResolver != null && (this.nameResolver = l.nameResolver, this.deserializer.setNameResolver(l.nameResolver)), l.knownTypes != null && (l.knownTypes.forEach(function(d, b) { + d == null && (0, i.FF)("TypedJSON.config: 'knownTypes' contains an undefined/null value (element " + b + ")."); }), this.globalKnownTypes = l.knownTypes); - }, d.prototype.mapType = function(l, s) { - this.setSerializationStrategies(l, s); - }, d.prototype.parse = function(l) { - var s, v = this, p = (0, i.V_)(l, this.rootConstructor), h = t.zv.getFromConstructor(this.rootConstructor), O = /* @__PURE__ */ new Map(); - this.globalKnownTypes.filter(function(I) { - return I; - }).forEach(function(I) { - O.set(v.nameResolver(I), I); - }), h !== void 0 && (h.processDeferredKnownTypes(), h.knownTypes.forEach(function(I) { - O.set(v.nameResolver(I), I); - })); + }, v.prototype.mapType = function(l, u) { + this.setSerializationStrategies(l, u); + }, v.prototype.parse = function(l) { + var u, y = (0, i.V_)(l, this.rootConstructor); try { - s = this.deserializer.convertSingleValue(p, (0, y.A4)(this.rootConstructor), O); - } catch (I) { - this.errorHandler(I); - } - return s; - }, d.prototype.parseAsArray = function(l, s) { - s === void 0 && (s = 1); - var v = (0, i.V_)(l, Array); - return this.deserializer.convertSingleValue(v, (0, m.A)((0, y.A4)(this.rootConstructor), s), this._mapKnownTypes(this.globalKnownTypes)); - }, d.prototype.parseAsSet = function(l) { - var s = (0, i.V_)(l, Set); - return this.deserializer.convertSingleValue(s, (0, y.jH)(this.rootConstructor), this._mapKnownTypes(this.globalKnownTypes)); - }, d.prototype.parseAsMap = function(l, s) { - var v = (0, i.V_)(l, Map); - return this.deserializer.convertSingleValue(v, (0, y.P_)(s, this.rootConstructor), this._mapKnownTypes(this.globalKnownTypes)); - }, d.prototype.toPlainJson = function(l) { + u = this.deserializer.convertSingleValue(y, (0, w.A4)(this.rootConstructor), this.getKnownTypes()); + } catch (d) { + this.errorHandler(d); + } + return u; + }, v.prototype.parseAsArray = function(l, u) { + u === void 0 && (u = 1); + var y = (0, i.V_)(l, Array); + return this.deserializer.convertSingleValue(y, (0, p.A)((0, w.A4)(this.rootConstructor), u), this._mapKnownTypes(this.globalKnownTypes)); + }, v.prototype.parseAsSet = function(l) { + var u = (0, i.V_)(l, Set); + return this.deserializer.convertSingleValue(u, (0, w.jH)(this.rootConstructor), this._mapKnownTypes(this.globalKnownTypes)); + }, v.prototype.parseAsMap = function(l, u) { + var y = (0, i.V_)(l, Map); + return this.deserializer.convertSingleValue(y, (0, w.P_)(u, this.rootConstructor), this._mapKnownTypes(this.globalKnownTypes)); + }, v.prototype.toPlainJson = function(l) { try { - return this.serializer.convertSingleValue(l, (0, y.A4)(this.rootConstructor)); - } catch (s) { - this.errorHandler(s); + return this.serializer.convertSingleValue(l, (0, w.A4)(this.rootConstructor)); + } catch (u) { + this.errorHandler(u); } - }, d.prototype.toPlainArray = function(l, s) { - s === void 0 && (s = 1); + }, v.prototype.toPlainArray = function(l, u) { + u === void 0 && (u = 1); try { - return this.serializer.convertSingleValue(l, (0, m.A)((0, y.A4)(this.rootConstructor), s)); - } catch (v) { - this.errorHandler(v); + return this.serializer.convertSingleValue(l, (0, p.A)((0, w.A4)(this.rootConstructor), u)); + } catch (y) { + this.errorHandler(y); } - }, d.prototype.toPlainSet = function(l) { + }, v.prototype.toPlainSet = function(l) { try { - return this.serializer.convertSingleValue(l, (0, y.jH)(this.rootConstructor)); - } catch (s) { - this.errorHandler(s); + return this.serializer.convertSingleValue(l, (0, w.jH)(this.rootConstructor)); + } catch (u) { + this.errorHandler(u); } - }, d.prototype.toPlainMap = function(l, s) { + }, v.prototype.toPlainMap = function(l, u) { try { - return this.serializer.convertSingleValue(l, (0, y.P_)(s, this.rootConstructor)); - } catch (v) { - this.errorHandler(v); - } - }, d.prototype.stringify = function(l) { - var s = this.toPlainJson(l); - return s === void 0 ? "" : JSON.stringify(s, this.replacer, this.indent); - }, d.prototype.stringifyAsArray = function(l, s) { - return JSON.stringify(this.toPlainArray(l, s), this.replacer, this.indent); - }, d.prototype.stringifyAsSet = function(l) { + return this.serializer.convertSingleValue(l, (0, w.P_)(u, this.rootConstructor)); + } catch (y) { + this.errorHandler(y); + } + }, v.prototype.stringify = function(l) { + var u = this.toPlainJson(l); + return u === void 0 ? "" : JSON.stringify(u, this.replacer, this.indent); + }, v.prototype.stringifyAsArray = function(l, u) { + return JSON.stringify(this.toPlainArray(l, u), this.replacer, this.indent); + }, v.prototype.stringifyAsSet = function(l) { return JSON.stringify(this.toPlainSet(l), this.replacer, this.indent); - }, d.prototype.stringifyAsMap = function(l, s) { - return JSON.stringify(this.toPlainMap(l, s), this.replacer, this.indent); - }, d.prototype._mapKnownTypes = function(l) { - var s = this, v = /* @__PURE__ */ new Map(); - return l.filter(function(p) { - return p; - }).forEach(function(p) { - return v.set(s.nameResolver(p), p); - }), v; - }, d.prototype.setSerializationStrategies = function(l, s) { - s.deserializer != null && this.deserializer.setDeserializationStrategy(l, function(v) { - return s.deserializer(v); - }), s.serializer != null && this.serializer.setSerializationStrategy(l, function(v) { - return s.serializer(v); + }, v.prototype.stringifyAsMap = function(l, u) { + return JSON.stringify(this.toPlainMap(l, u), this.replacer, this.indent); + }, v.prototype.getKnownTypes = function() { + var l = this, u = a.zv.getFromConstructor(this.rootConstructor), y = /* @__PURE__ */ new Map(); + return this.globalKnownTypes.filter(function(d) { + return d; + }).forEach(function(d) { + y.set(l.nameResolver(d), d); + }), u !== void 0 && (u.processDeferredKnownTypes(), u.knownTypes.forEach(function(d) { + y.set(l.nameResolver(d), d); + })), y; + }, v.prototype._mapKnownTypes = function(l) { + var u = this, y = /* @__PURE__ */ new Map(); + return l.filter(function(d) { + return d; + }).forEach(function(d) { + return y.set(u.nameResolver(d), d); + }), y; + }, v.prototype.setSerializationStrategies = function(l, u) { + var y = this; + u.deserializer != null && this.deserializer.setDeserializationStrategy(l, function(d) { + return u.deserializer(d, { fallback: function(b, _) { + return y.deserializer.convertSingleValue(b, (0, w.A4)(_), y.getKnownTypes()); + } }); + }), u.serializer != null && this.serializer.setSerializationStrategy(l, function(d) { + return u.serializer(d, { fallback: function(b, _) { + return y.serializer.convertSingleValue(b, (0, w.A4)(_)); + } }); }); - }, d._globalConfig = {}, d; + }, v._globalConfig = {}, v; }(); - }, 4610: (x, n, c) => { - c.d(n, { h: () => b, s: () => f }); - var r = c(3635), a = c(4661), i = c(9695), m = c(3766), t = c(6290); - function f(p, h, O, I) { - var k; - h.constructor !== O && (p.__type = (k = I?.name) !== null && k !== void 0 ? k : (0, a.bM)(h.constructor)); + }, 4610(g, n, s) { + s.d(n, { h: () => C, s: () => f }); + var r = s(1635), o = s(4661), i = s(9695), p = s(3766), a = s(6290); + function f(d, b, _, E) { + var B; + b.constructor !== _ && (d.__type = (B = E?.name) !== null && B !== void 0 ? B : (0, o.bM)(b.constructor)); } - var b = function() { - function p() { - this.typeHintEmitter = f, this.errorHandler = a.vV, this.serializationStrategy = /* @__PURE__ */ new Map([[t.v6.ctor, a.D_], [Date, a.D_], [Number, a.D_], [String, a.D_], [Boolean, a.D_], [ArrayBuffer, s], [DataView, v], [Array, y], [Set, u], [Map, d], [Float32Array, l], [Float64Array, l], [Int8Array, l], [Uint8Array, l], [Uint8ClampedArray, l], [Int16Array, l], [Uint16Array, l], [Int32Array, l], [Uint32Array, l]]); - } - return p.prototype.setSerializationStrategy = function(h, O) { - this.serializationStrategy.set(h, O); - }, p.prototype.setTypeHintEmitter = function(h) { - if (typeof h != "function") throw new TypeError("'typeEmitterCallback' is not a function."); - this.typeHintEmitter = h; - }, p.prototype.getTypeHintEmitter = function() { + var C = function() { + function d() { + this.typeHintEmitter = f, this.errorHandler = o.vV, this.serializationStrategy = /* @__PURE__ */ new Map([[a.v6.ctor, o.D_], [Date, o.D_], [Number, o.D_], [String, o.D_], [Boolean, o.D_], [ArrayBuffer, u], [DataView, y], [Array, w], [Set, m], [Map, v], [Float32Array, l], [Float64Array, l], [Int8Array, l], [Uint8Array, l], [Uint8ClampedArray, l], [Int16Array, l], [Uint16Array, l], [Int32Array, l], [Uint32Array, l]]); + } + return d.prototype.setSerializationStrategy = function(b, _) { + this.serializationStrategy.set(b, _); + }, d.prototype.setTypeHintEmitter = function(b) { + if (typeof b != "function") throw new TypeError("'typeEmitterCallback' is not a function."); + this.typeHintEmitter = b; + }, d.prototype.getTypeHintEmitter = function() { return this.typeHintEmitter; - }, p.prototype.setErrorHandler = function(h) { - if (typeof h != "function") throw new TypeError("'errorHandlerCallback' is not a function."); - this.errorHandler = h; - }, p.prototype.getErrorHandler = function() { + }, d.prototype.setErrorHandler = function(b) { + if (typeof b != "function") throw new TypeError("'errorHandlerCallback' is not a function."); + this.errorHandler = b; + }, d.prototype.getErrorHandler = function() { return this.errorHandler; - }, p.prototype.retrievePreserveNull = function(h) { - return (0, m.nE)("preserveNull", (0, m.lL)(this.options, h)); - }, p.prototype.convertSingleValue = function(h, O, I, k) { - if (I === void 0 && (I = "object"), this.retrievePreserveNull(k) && h === null) return null; - if ((0, a.J5)(h)) if ((0, a.tH)(h, O.ctor)) { - var R = this.serializationStrategy.get(O.ctor); - if (R !== void 0) return R(h, O, I, this, k); - if (typeof h == "object") return function(H, U, S, T) { - var E, M, _ = T.getTypeHintEmitter(); - if ((E = H.constructor !== U.ctor && H instanceof U.ctor ? i.zv.getFromConstructor(H.constructor) : i.zv.getFromConstructor(U.ctor)) === void 0) M = (0, r.Cl)({}, H); + }, d.prototype.retrievePreserveNull = function(b) { + return (0, p.nE)("preserveNull", (0, p.lL)(this.options, b)); + }, d.prototype.convertSingleValue = function(b, _, E, B) { + if (E === void 0 && (E = "object"), this.retrievePreserveNull(B) && b === null) return null; + if ((0, o.J5)(b)) if ((0, o.tH)(b, _.ctor)) { + var O = this.serializationStrategy.get(_.ctor); + if (O !== void 0) return O(b, _, E, this, B); + if (typeof b == "object") return function(N, k, j, D) { + var T, L, R = D.getTypeHintEmitter(); + if ((T = N.constructor !== k.ctor && N instanceof k.ctor ? i.zv.getFromConstructor(N.constructor) : i.zv.getFromConstructor(k.ctor)) === void 0) L = (0, r.Cl)({}, N); else { - var w = E.beforeSerializationMethodName; - w != null && (typeof H[w] == "function" ? H[w]() : typeof H.constructor[w] == "function" ? H.constructor[w]() : T.getErrorHandler()(new TypeError("beforeSerialization callback '" + (0, a.bM)(E.classType) + "." + w + "' is not a method."))); - var A = E; - M = {}; - var j = (0, m.lL)(T.options, A.options); - A.typeHintEmitter != null && (_ = A.typeHintEmitter), A.dataMembers.forEach(function(V) { - var D, z = (0, m.lL)(j, V.options); - if (V.serializer != null) D = V.serializer(H[V.key]); + var M = T.beforeSerializationMethodName; + M != null && (typeof N[M] == "function" ? N[M]() : typeof N.constructor[M] == "function" ? N.constructor[M]() : D.getErrorHandler()(new TypeError("beforeSerialization callback '" + (0, o.bM)(T.classType) + "." + M + "' is not a method."))); + var P = T; + L = {}; + var H = (0, p.lL)(D.options, P.options); + P.typeHintEmitter != null && (R = P.typeHintEmitter), P.dataMembers.forEach(function(K) { + var V, U = (0, p.lL)(H, K.options); + if (K.serializer != null) V = K.serializer(N[K.key], { fallback: function(F, Q) { + return D.convertSingleValue(F, (0, a.A4)(Q)); + } }); else { - if (V.type == null) throw new TypeError("Could not serialize " + V.name + ", there is no constructor nor serialization function to use."); - D = T.convertSingleValue(H[V.key], V.type(), (0, a.bM)(A.classType) + "." + V.key, z); + if (K.type == null) throw new TypeError("Could not serialize " + K.name + ", there is no constructor nor serialization function to use."); + V = D.convertSingleValue(N[K.key], K.type(), (0, o.bM)(P.classType) + "." + K.key, U); } - (T.retrievePreserveNull(z) && D === null || (0, a.J5)(D)) && (M[V.name] = D); + (D.retrievePreserveNull(U) && V === null || (0, o.J5)(V)) && (L[K.name] = V); }); } - return _(M, H, U.ctor, E), M; - }(h, O, 0, this); - var L = "Could not serialize '" + I + "'; don't know how to serialize type"; - O.hasFriendlyName() && (L += " '" + O.ctor.name + "'"), this.errorHandler(new TypeError(L + ".")); + return R(L, N, k.ctor, T), L; + }(b, _, 0, this); + var I = "Could not serialize '" + E + "'; don't know how to serialize type"; + _.hasFriendlyName() && (I += " '" + _.ctor.name + "'"), this.errorHandler(new TypeError(I + ".")); } else { - var N = (0, a.bM)(O.ctor), B = (0, a.bM)(h.constructor); - this.errorHandler(new TypeError("Could not serialize '" + I + "': expected '" + N + "', got '" + B + "'.")); + var x = (0, o.bM)(_.ctor), A = (0, o.bM)(b.constructor); + this.errorHandler(new TypeError("Could not serialize '" + E + "': expected '" + x + "', got '" + A + "'.")); } - }, p; + }, d; }(); - function y(p, h, O, I, k) { - if (!(h instanceof t.ZD)) throw new TypeError("Could not serialize " + O + " as Array: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); - if (h.elementType == null) throw new TypeError("Could not serialize " + O + " as Array: missing element type definition."); - return p.forEach(function(R, L) { - if (!(I.retrievePreserveNull(k) && R === null || (0, a.tH)(R, h.elementType.ctor))) { - var N = (0, a.bM)(h.elementType.ctor), B = R && (0, a.bM)(R.constructor); - throw new TypeError("Could not serialize " + O + "[" + L + "]: expected '" + N + "', got '" + B + "'."); + function w(d, b, _, E, B) { + if (!(b instanceof a.ZD)) throw new TypeError("Could not serialize " + _ + " as Array: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); + if (b.elementType == null) throw new TypeError("Could not serialize " + _ + " as Array: missing element type definition."); + return d.forEach(function(O, I) { + if (!(E.retrievePreserveNull(B) && O === null || (0, o.tH)(O, b.elementType.ctor))) { + var x = (0, o.bM)(b.elementType.ctor), A = O && (0, o.bM)(O.constructor); + throw new TypeError("Could not serialize " + _ + "[" + I + "]: expected '" + x + "', got '" + A + "'."); } - }), p.map(function(R, L) { - return I.convertSingleValue(R, h.elementType, O + "[" + L + "]", k); + }), d.map(function(O, I) { + return E.convertSingleValue(O, b.elementType, _ + "[" + I + "]", B); }); } - function u(p, h, O, I, k) { - if (!(h instanceof t.oy)) throw new TypeError("Could not serialize " + O + " as Set: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); - if (h.elementType == null) throw new TypeError("Could not serialize " + O + " as Set: missing element type definition."); - O += "[]"; - var R = []; - return p.forEach(function(L) { - var N = I.convertSingleValue(L, h.elementType, O, k); - (0, a.J5)(L) && !(0, a.J5)(N) || R.push(N); - }), R; - } - function d(p, h, O, I, k) { - if (!(h instanceof t.Ws)) throw new TypeError("Could not serialize " + O + " as Map: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); - if (h.valueType == null) throw new TypeError("Could not serialize " + O + " as Map: missing value type definition."); - if (h.keyType == null) throw new TypeError("Could not serialize " + O + " as Map: missing key type definition."); - var R = O + "[].key", L = O + "[].value", N = h.getCompleteOptions().shape, B = N === 1 ? {} : [], H = I.retrievePreserveNull(k); - return p.forEach(function(U, S) { - var T = { key: I.convertSingleValue(S, h.keyType, R, k), value: I.convertSingleValue(U, h.valueType, L, k) }, E = (0, a.J5)(T.key), M = T.value === null && H || (0, a.J5)(T.value); - E && M && (N === 1 ? B[T.key] = T.value : B.push(T)); - }), B; + function m(d, b, _, E, B) { + if (!(b instanceof a.oy)) throw new TypeError("Could not serialize " + _ + " as Set: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); + if (b.elementType == null) throw new TypeError("Could not serialize " + _ + " as Set: missing element type definition."); + _ += "[]"; + var O = []; + return d.forEach(function(I) { + var x = E.convertSingleValue(I, b.elementType, _, B); + (0, o.J5)(I) && !(0, o.J5)(x) || O.push(x); + }), O; } - function l(p) { - return Array.from(p); + function v(d, b, _, E, B) { + if (!(b instanceof a.Ws)) throw new TypeError("Could not serialize " + _ + " as Map: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); + if (b.valueType == null) throw new TypeError("Could not serialize " + _ + " as Map: missing value type definition."); + if (b.keyType == null) throw new TypeError("Could not serialize " + _ + " as Map: missing key type definition."); + var O = _ + "[].key", I = _ + "[].value", x = b.getCompleteOptions().shape, A = x === 1 ? {} : [], N = E.retrievePreserveNull(B); + return d.forEach(function(k, j) { + var D = { key: E.convertSingleValue(j, b.keyType, O, B), value: E.convertSingleValue(k, b.valueType, I, B) }, T = (0, o.J5)(D.key), L = D.value === null && N || (0, o.J5)(D.value); + T && L && (x === 1 ? A[D.key] = D.value : A.push(D)); + }), A; } - function s(p) { - return Array.from(new Uint16Array(p)).map(function(h) { - return String.fromCharCode(h); + function l(d) { + return Array.from(d); + } + function u(d) { + return Array.from(new Uint16Array(d)).map(function(b) { + return String.fromCharCode(b); }).join(""); } - function v(p) { - return s(p.buffer); + function y(d) { + return u(d.buffer); } - }, 3034: (x, n, c) => { - c.d(n, { a: () => a }); - var r = c(605); - function a(m) { - if (typeof m != "function") return function(t) { - i(t, m); + }, 3034(g, n, s) { + s.d(n, { a: () => o }); + var r = s(605); + function o(p) { + if (typeof p != "function") return function(a) { + i(a, p); }; - i(m, {}); + i(p, {}); } - function i(m, t) { - if (t.overwrite !== !0 && m.prototype.toJSON !== void 0) throw new Error(m.name + " already has toJSON defined!"); - m.prototype.toJSON = function() { + function i(p, a) { + if (a.overwrite !== !0 && p.prototype.toJSON !== void 0) throw new Error(p.name + " already has toJSON defined!"); + p.prototype.toJSON = function() { return r.n1.toPlainJson(this, Object.getPrototypeOf(this).constructor); }; } - }, 6290: (x, n, c) => { - c.d(n, { A4: () => h, D4: () => p, Im: () => v, P_: () => l, Ws: () => d, Yq: () => b, ZD: () => f, bS: () => m, e2: () => i, jH: () => u, oy: () => y, tI: () => O, v6: () => s }); - var r = c(3635), a = c(4661), i = function() { - function I(k) { - this.ctor = k; + }, 6290(g, n, s) { + s.d(n, { A4: () => b, D4: () => d, Im: () => y, P_: () => l, Ws: () => v, Yq: () => C, ZD: () => f, bS: () => p, e2: () => i, jH: () => m, oy: () => w, tI: () => _, v6: () => u }); + var r = s(1635), o = s(4661), i = function() { + function E(B) { + this.ctor = B; } - return I.prototype.getTypes = function() { + return E.prototype.getTypes = function() { return [this.ctor]; - }, I.prototype.hasFriendlyName = function() { + }, E.prototype.hasFriendlyName = function() { return this.ctor.name !== "Object"; - }, I; - }(), m = function(I) { - function k(R) { - return I.call(this, R) || this; - } - return (0, r.C6)(k, I), k; - }(i), t = function(I) { - function k(R) { - return I.call(this, R) || this; - } - return (0, r.C6)(k, I), k; - }(i), f = function(I) { - function k(R) { - var L = I.call(this, Array) || this; - return L.elementType = R, L; - } - return (0, r.C6)(k, I), k.prototype.getTypes = function() { - return I.prototype.getTypes.call(this).concat(this.elementType.getTypes()); - }, k; - }(t); - function b(I) { - return new f(h(I)); - } - var y = function(I) { - function k(R) { - var L = I.call(this, Set) || this; - return L.elementType = R, L; - } - return (0, r.C6)(k, I), k.prototype.getTypes = function() { - return I.prototype.getTypes.call(this).concat(this.elementType.getTypes()); - }, k; - }(t); - function u(I) { - return new y(h(I)); - } - var d = function(I) { - function k(R, L, N) { - var B = I.call(this, Map) || this; - return B.keyType = R, B.valueType = L, B.options = N, B; - } - return (0, r.C6)(k, I), k.prototype.getTypes = function() { - return I.prototype.getTypes.call(this).concat(this.keyType.getTypes(), this.valueType.getTypes()); - }, k.prototype.getCompleteOptions = function() { - var R, L; - return { shape: (L = (R = this.options) === null || R === void 0 ? void 0 : R.shape) !== null && L !== void 0 ? L : 0 }; - }, k; - }(t); - function l(I, k, R) { - return new d(h(I), h(k), R); - } - var s = new m(function() { - }); - function v(I) { - return I != null && (typeof I == "function" || I instanceof i); + }, E; + }(), p = function(E) { + function B(O) { + return E.call(this, O) || this; + } + return (0, r.C6)(B, E), B; + }(i), a = function(E) { + function B(O) { + return E.call(this, O) || this; + } + return (0, r.C6)(B, E), B; + }(i), f = function(E) { + function B(O) { + var I = E.call(this, Array) || this; + return I.elementType = O, I; + } + return (0, r.C6)(B, E), B.prototype.getTypes = function() { + return E.prototype.getTypes.call(this).concat(this.elementType.getTypes()); + }, B; + }(a); + function C(E) { + return new f(b(E)); } - function p(I) { - return typeof I == "function" && I.name === ""; + var w = function(E) { + function B(O) { + var I = E.call(this, Set) || this; + return I.elementType = O, I; + } + return (0, r.C6)(B, E), B.prototype.getTypes = function() { + return E.prototype.getTypes.call(this).concat(this.elementType.getTypes()); + }, B; + }(a); + function m(E) { + return new w(b(E)); + } + var v = function(E) { + function B(O, I, x) { + var A = E.call(this, Map) || this; + return A.keyType = O, A.valueType = I, A.options = x, A; + } + return (0, r.C6)(B, E), B.prototype.getTypes = function() { + return E.prototype.getTypes.call(this).concat(this.keyType.getTypes(), this.valueType.getTypes()); + }, B.prototype.getCompleteOptions = function() { + var O, I; + return { shape: (I = (O = this.options) === null || O === void 0 ? void 0 : O.shape) !== null && I !== void 0 ? I : 0 }; + }, B; + }(a); + function l(E, B, O) { + return new v(b(E), b(B), O); } - function h(I) { - return I instanceof i ? I : new m(I); + var u = new p(function() { + }); + function y(E) { + return E != null && (typeof E == "function" || E instanceof i); } - function O(I, k) { - if (I == null) throw new Error("No type given on " + k + ". " + a.uY); - return p(I) ? I : function() { - return I; - }; + function d(E) { + return typeof E == "function" && E.name === ""; } - }, 1149: () => { - }, 3635: (x, n, c) => { - c.d(n, { C6: () => a, Cl: () => i, aN: () => m }); - var r = function(t, f) { - return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(b, y) { - b.__proto__ = y; - } || function(b, y) { - for (var u in y) Object.prototype.hasOwnProperty.call(y, u) && (b[u] = y[u]); - }, r(t, f); - }; - function a(t, f) { - if (typeof f != "function" && f !== null) throw new TypeError("Class extends value " + String(f) + " is not a constructor or null"); - function b() { - this.constructor = t; - } - r(t, f), t.prototype = f === null ? Object.create(f) : (b.prototype = f.prototype, new b()); + function b(E) { + return E instanceof i ? E : new p(E); } - var i = function() { - return i = Object.assign || function(t) { - for (var f, b = 1, y = arguments.length; b < y; b++) for (var u in f = arguments[b]) Object.prototype.hasOwnProperty.call(f, u) && (t[u] = f[u]); - return t; - }, i.apply(this, arguments); - }; - function m() { - for (var t = 0, f = 0, b = arguments.length; f < b; f++) t += arguments[f].length; - var y = Array(t), u = 0; - for (f = 0; f < b; f++) for (var d = arguments[f], l = 0, s = d.length; l < s; l++, u++) y[u] = d[l]; - return y; + function _(E, B) { + if (E == null) throw new Error("No type given on " + B + ". " + o.uY); + return d(E) ? E : function() { + return E; + }; } - }, 1270: function(x, n, c) { - var r; - x = c.nmd(x), function() { - n && n.nodeType, x && x.nodeType; - var a = typeof c.g == "object" && c.g; - a.global !== a && a.window !== a && a.self; - var i, m = 2147483647, t = 36, f = 26, b = 38, y = 700, u = /^xn--/, d = /[^\x20-\x7E]/, l = /[\x2E\u3002\uFF0E\uFF61]/g, s = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, v = t - 1, p = Math.floor, h = String.fromCharCode; - function O(S) { - throw RangeError(s[S]); - } - function I(S, T) { - for (var E = S.length, M = []; E--; ) M[E] = T(S[E]); - return M; - } - function k(S, T) { - var E = S.split("@"), M = ""; - return E.length > 1 && (M = E[0] + "@", S = E[1]), M + I((S = S.replace(l, ".")).split("."), T).join("."); - } - function R(S) { - for (var T, E, M = [], _ = 0, w = S.length; _ < w; ) (T = S.charCodeAt(_++)) >= 55296 && T <= 56319 && _ < w ? (64512 & (E = S.charCodeAt(_++))) == 56320 ? M.push(((1023 & T) << 10) + (1023 & E) + 65536) : (M.push(T), _--) : M.push(T); - return M; - } - function L(S) { - return I(S, function(T) { - var E = ""; - return T > 65535 && (E += h((T -= 65536) >>> 10 & 1023 | 55296), T = 56320 | 1023 & T), E + h(T); - }).join(""); - } - function N(S, T) { - return S + 22 + 75 * (S < 26) - ((T != 0) << 5); - } - function B(S, T, E) { - var M = 0; - for (S = E ? p(S / y) : S >> 1, S += p(S / T); S > v * f >> 1; M += t) S = p(S / v); - return p(M + (v + 1) * S / (S + b)); - } - function H(S) { - var T, E, M, _, w, A, j, V, D, z, J, G = [], Q = S.length, ee = 0, Z = 128, q = 72; - for ((E = S.lastIndexOf("-")) < 0 && (E = 0), M = 0; M < E; ++M) S.charCodeAt(M) >= 128 && O("not-basic"), G.push(S.charCodeAt(M)); - for (_ = E > 0 ? E + 1 : 0; _ < Q; ) { - for (w = ee, A = 1, j = t; _ >= Q && O("invalid-input"), ((V = (J = S.charCodeAt(_++)) - 48 < 10 ? J - 22 : J - 65 < 26 ? J - 65 : J - 97 < 26 ? J - 97 : t) >= t || V > p((m - ee) / A)) && O("overflow"), ee += V * A, !(V < (D = j <= q ? 1 : j >= q + f ? f : j - q)); j += t) A > p(m / (z = t - D)) && O("overflow"), A *= z; - q = B(ee - w, T = G.length + 1, w == 0), p(ee / T) > m - Z && O("overflow"), Z += p(ee / T), ee %= T, G.splice(ee++, 0, Z); - } - return L(G); - } - function U(S) { - var T, E, M, _, w, A, j, V, D, z, J, G, Q, ee, Z, q = []; - for (G = (S = R(S)).length, T = 128, E = 0, w = 72, A = 0; A < G; ++A) (J = S[A]) < 128 && q.push(h(J)); - for (M = _ = q.length, _ && q.push("-"); M < G; ) { - for (j = m, A = 0; A < G; ++A) (J = S[A]) >= T && J < j && (j = J); - for (j - T > p((m - E) / (Q = M + 1)) && O("overflow"), E += (j - T) * Q, T = j, A = 0; A < G; ++A) if ((J = S[A]) < T && ++E > m && O("overflow"), J == T) { - for (V = E, D = t; !(V < (z = D <= w ? 1 : D >= w + f ? f : D - w)); D += t) Z = V - z, ee = t - z, q.push(h(N(z + Z % ee, 0))), V = p(Z / ee); - q.push(h(N(V, 0))), w = B(E, Q, M == _), E = 0, ++M; - } - ++E, ++T; - } - return q.join(""); - } - i = { version: "1.3.2", ucs2: { decode: R, encode: L }, decode: H, encode: U, toASCII: function(S) { - return k(S, function(T) { - return d.test(T) ? "xn--" + U(T) : T; - }); - }, toUnicode: function(S) { - return k(S, function(T) { - return u.test(T) ? H(T.slice(4).toLowerCase()) : T; - }); - } }, (r = (function() { - return i; - }).call(n, c, n, x)) === void 0 || (x.exports = r); - }(); - }, 8835: (x, n, c) => { - var r = c(1270), a = c(2268); - function i() { + }, 1149() { + }, 8835(g, n, s) { + var r = s(9655); + function o() { this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null; } - n.parse = I, n.resolve = function(k, R) { - return I(k, !1, !0).resolve(R); - }, n.resolveObject = function(k, R) { - return k ? I(k, !1, !0).resolveObject(R) : R; - }, n.format = function(k) { - return a.isString(k) && (k = I(k)), k instanceof i ? k.format() : i.prototype.format.call(k); - }, n.Url = i; - var m = /^([a-z0-9.+-]+:)/i, t = /:[0-9]*$/, f = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, b = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", ` -`, " "]), y = ["'"].concat(b), u = ["%", "/", "?", ";", "#"].concat(y), d = ["/", "?", "#"], l = /^[+a-z0-9A-Z_-]{0,63}$/, s = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, v = { javascript: !0, "javascript:": !0 }, p = { javascript: !0, "javascript:": !0 }, h = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, O = c(7186); - function I(k, R, L) { - if (k && a.isObject(k) && k instanceof i) return k; - var N = new i(); - return N.parse(k, R, L), N; - } - i.prototype.parse = function(k, R, L) { - if (!a.isString(k)) throw new TypeError("Parameter 'url' must be a string, not " + typeof k); - var N = k.indexOf("?"), B = N !== -1 && N < k.indexOf("#") ? "?" : "#", H = k.split(B); - H[0] = H[0].replace(/\\/g, "/"); - var U = k = H.join(B); - if (U = U.trim(), !L && k.split("#").length === 1) { - var S = f.exec(U); - if (S) return this.path = U, this.href = U, this.pathname = S[1], S[2] ? (this.search = S[2], this.query = R ? O.parse(this.search.substr(1)) : this.search.substr(1)) : R && (this.search = "", this.query = {}), this; - } - var T = m.exec(U); - if (T) { - var E = (T = T[0]).toLowerCase(); - this.protocol = E, U = U.substr(T.length); - } - if (L || T || U.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var M = U.substr(0, 2) === "//"; - !M || T && p[T] || (U = U.substr(2), this.slashes = !0); - } - if (!p[T] && (M || T && !h[T])) { - for (var _, w, A = -1, j = 0; j < d.length; j++) (V = U.indexOf(d[j])) !== -1 && (A === -1 || V < A) && (A = V); - for ((w = A === -1 ? U.lastIndexOf("@") : U.lastIndexOf("@", A)) !== -1 && (_ = U.slice(0, w), U = U.slice(w + 1), this.auth = decodeURIComponent(_)), A = -1, j = 0; j < u.length; j++) { - var V; - (V = U.indexOf(u[j])) !== -1 && (A === -1 || V < A) && (A = V); - } - A === -1 && (A = U.length), this.host = U.slice(0, A), U = U.slice(A), this.parseHost(), this.hostname = this.hostname || ""; - var D = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]"; - if (!D) for (var z = this.hostname.split(/\./), J = (j = 0, z.length); j < J; j++) { - var G = z[j]; - if (G && !G.match(l)) { - for (var Q = "", ee = 0, Z = G.length; ee < Z; ee++) G.charCodeAt(ee) > 127 ? Q += "x" : Q += G[ee]; - if (!Q.match(l)) { - var q = z.slice(0, j), se = z.slice(j + 1), ue = G.match(s); - ue && (q.push(ue[1]), se.unshift(ue[2])), se.length && (U = "/" + se.join(".") + U), this.hostname = q.join("."); + var i = /^([a-z0-9.+-]+:)/i, p = /:[0-9]*$/, a = /^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/, f = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", ` +`, " "]), C = ["'"].concat(f), w = ["%", "/", "?", ";", "#"].concat(C), m = ["/", "?", "#"], v = /^[+a-z0-9A-Z_-]{0,63}$/, l = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, u = { javascript: !0, "javascript:": !0 }, y = { javascript: !0, "javascript:": !0 }, d = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, b = s(5373); + function _(E, B, O) { + if (E && typeof E == "object" && E instanceof o) return E; + var I = new o(); + return I.parse(E, B, O), I; + } + o.prototype.parse = function(E, B, O) { + if (typeof E != "string") throw new TypeError("Parameter 'url' must be a string, not " + typeof E); + var I = E.indexOf("?"), x = I !== -1 && I < E.indexOf("#") ? "?" : "#", A = E.split(x); + A[0] = A[0].replace(/\\/g, "/"); + var N = E = A.join(x); + if (N = N.trim(), !O && E.split("#").length === 1) { + var k = a.exec(N); + if (k) return this.path = N, this.href = N, this.pathname = k[1], k[2] ? (this.search = k[2], this.query = B ? b.parse(this.search.substr(1)) : this.search.substr(1)) : B && (this.search = "", this.query = {}), this; + } + var j = i.exec(N); + if (j) { + var D = (j = j[0]).toLowerCase(); + this.protocol = D, N = N.substr(j.length); + } + if (O || j || N.match(/^\/\/[^@/]+@[^@/]+/)) { + var T = N.substr(0, 2) === "//"; + !T || j && y[j] || (N = N.substr(2), this.slashes = !0); + } + if (!y[j] && (T || j && !d[j])) { + for (var L, R, M = -1, P = 0; P < m.length; P++) (H = N.indexOf(m[P])) !== -1 && (M === -1 || H < M) && (M = H); + for ((R = M === -1 ? N.lastIndexOf("@") : N.lastIndexOf("@", M)) !== -1 && (L = N.slice(0, R), N = N.slice(R + 1), this.auth = decodeURIComponent(L)), M = -1, P = 0; P < w.length; P++) { + var H; + (H = N.indexOf(w[P])) !== -1 && (M === -1 || H < M) && (M = H); + } + M === -1 && (M = N.length), this.host = N.slice(0, M), N = N.slice(M), this.parseHost(), this.hostname = this.hostname || ""; + var K = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]"; + if (!K) for (var V = this.hostname.split(/\./), U = (P = 0, V.length); P < U; P++) { + var F = V[P]; + if (F && !F.match(v)) { + for (var Q = "", ne = 0, te = F.length; ne < te; ne++) F.charCodeAt(ne) > 127 ? Q += "x" : Q += F[ne]; + if (!Q.match(v)) { + var X = V.slice(0, P), Z = V.slice(P + 1), fe = F.match(l); + fe && (X.push(fe[1]), Z.unshift(fe[2])), Z.length && (N = "/" + Z.join(".") + N), this.hostname = X.join("."); break; } } } - this.hostname.length > 255 ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), D || (this.hostname = r.toASCII(this.hostname)); - var ce = this.port ? ":" + this.port : "", ie = this.hostname || ""; - this.host = ie + ce, this.href += this.host, D && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), U[0] !== "/" && (U = "/" + U)); + this.hostname.length > 255 ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), K || (this.hostname = r.toASCII(this.hostname)); + var le = this.port ? ":" + this.port : "", Se = this.hostname || ""; + this.host = Se + le, this.href += this.host, K && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), N[0] !== "/" && (N = "/" + N)); } - if (!v[E]) for (j = 0, J = y.length; j < J; j++) { - var fe = y[j]; - if (U.indexOf(fe) !== -1) { - var Te = encodeURIComponent(fe); - Te === fe && (Te = escape(fe)), U = U.split(fe).join(Te); + if (!u[D]) for (P = 0, U = C.length; P < U; P++) { + var de = C[P]; + if (N.indexOf(de) !== -1) { + var me = encodeURIComponent(de); + me === de && (me = escape(de)), N = N.split(de).join(me); } } - var Se = U.indexOf("#"); - Se !== -1 && (this.hash = U.substr(Se), U = U.slice(0, Se)); - var te = U.indexOf("?"); - if (te !== -1 ? (this.search = U.substr(te), this.query = U.substr(te + 1), R && (this.query = O.parse(this.query)), U = U.slice(0, te)) : R && (this.search = "", this.query = {}), U && (this.pathname = U), h[E] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) { - ce = this.pathname || ""; - var ye = this.search || ""; - this.path = ce + ye; + var Oe = N.indexOf("#"); + Oe !== -1 && (this.hash = N.substr(Oe), N = N.slice(0, Oe)); + var Ce = N.indexOf("?"); + if (Ce !== -1 ? (this.search = N.substr(Ce), this.query = N.substr(Ce + 1), B && (this.query = b.parse(this.query)), N = N.slice(0, Ce)) : B && (this.search = "", this.query = {}), N && (this.pathname = N), d[D] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) { + le = this.pathname || ""; + var G = this.search || ""; + this.path = le + G; } return this.href = this.format(), this; - }, i.prototype.format = function() { - var k = this.auth || ""; - k && (k = (k = encodeURIComponent(k)).replace(/%3A/i, ":"), k += "@"); - var R = this.protocol || "", L = this.pathname || "", N = this.hash || "", B = !1, H = ""; - this.host ? B = k + this.host : this.hostname && (B = k + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (B += ":" + this.port)), this.query && a.isObject(this.query) && Object.keys(this.query).length && (H = O.stringify(this.query)); - var U = this.search || H && "?" + H || ""; - return R && R.substr(-1) !== ":" && (R += ":"), this.slashes || (!R || h[R]) && B !== !1 ? (B = "//" + (B || ""), L && L.charAt(0) !== "/" && (L = "/" + L)) : B || (B = ""), N && N.charAt(0) !== "#" && (N = "#" + N), U && U.charAt(0) !== "?" && (U = "?" + U), R + B + (L = L.replace(/[?#]/g, function(S) { - return encodeURIComponent(S); - })) + (U = U.replace("#", "%23")) + N; - }, i.prototype.resolve = function(k) { - return this.resolveObject(I(k, !1, !0)).format(); - }, i.prototype.resolveObject = function(k) { - if (a.isString(k)) { - var R = new i(); - R.parse(k, !1, !0), k = R; - } - for (var L = new i(), N = Object.keys(this), B = 0; B < N.length; B++) { - var H = N[B]; - L[H] = this[H]; - } - if (L.hash = k.hash, k.href === "") return L.href = L.format(), L; - if (k.slashes && !k.protocol) { - for (var U = Object.keys(k), S = 0; S < U.length; S++) { - var T = U[S]; - T !== "protocol" && (L[T] = k[T]); - } - return h[L.protocol] && L.hostname && !L.pathname && (L.path = L.pathname = "/"), L.href = L.format(), L; - } - if (k.protocol && k.protocol !== L.protocol) { - if (!h[k.protocol]) { - for (var E = Object.keys(k), M = 0; M < E.length; M++) { - var _ = E[M]; - L[_] = k[_]; + }, o.prototype.format = function() { + var E = this.auth || ""; + E && (E = (E = encodeURIComponent(E)).replace(/%3A/i, ":"), E += "@"); + var B = this.protocol || "", O = this.pathname || "", I = this.hash || "", x = !1, A = ""; + this.host ? x = E + this.host : this.hostname && (x = E + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (x += ":" + this.port)), this.query && typeof this.query == "object" && Object.keys(this.query).length && (A = b.stringify(this.query, { arrayFormat: "repeat", addQueryPrefix: !1 })); + var N = this.search || A && "?" + A || ""; + return B && B.substr(-1) !== ":" && (B += ":"), this.slashes || (!B || d[B]) && x !== !1 ? (x = "//" + (x || ""), O && O.charAt(0) !== "/" && (O = "/" + O)) : x || (x = ""), I && I.charAt(0) !== "#" && (I = "#" + I), N && N.charAt(0) !== "?" && (N = "?" + N), B + x + (O = O.replace(/[?#]/g, function(k) { + return encodeURIComponent(k); + })) + (N = N.replace("#", "%23")) + I; + }, o.prototype.resolve = function(E) { + return this.resolveObject(_(E, !1, !0)).format(); + }, o.prototype.resolveObject = function(E) { + if (typeof E == "string") { + var B = new o(); + B.parse(E, !1, !0), E = B; + } + for (var O = new o(), I = Object.keys(this), x = 0; x < I.length; x++) { + var A = I[x]; + O[A] = this[A]; + } + if (O.hash = E.hash, E.href === "") return O.href = O.format(), O; + if (E.slashes && !E.protocol) { + for (var N = Object.keys(E), k = 0; k < N.length; k++) { + var j = N[k]; + j !== "protocol" && (O[j] = E[j]); + } + return d[O.protocol] && O.hostname && !O.pathname && (O.pathname = "/", O.path = O.pathname), O.href = O.format(), O; + } + if (E.protocol && E.protocol !== O.protocol) { + if (!d[E.protocol]) { + for (var D = Object.keys(E), T = 0; T < D.length; T++) { + var L = D[T]; + O[L] = E[L]; } - return L.href = L.format(), L; + return O.href = O.format(), O; } - if (L.protocol = k.protocol, k.host || p[k.protocol]) L.pathname = k.pathname; + if (O.protocol = E.protocol, E.host || y[E.protocol]) O.pathname = E.pathname; else { - for (var w = (k.pathname || "").split("/"); w.length && !(k.host = w.shift()); ) ; - k.host || (k.host = ""), k.hostname || (k.hostname = ""), w[0] !== "" && w.unshift(""), w.length < 2 && w.unshift(""), L.pathname = w.join("/"); - } - if (L.search = k.search, L.query = k.query, L.host = k.host || "", L.auth = k.auth, L.hostname = k.hostname || k.host, L.port = k.port, L.pathname || L.search) { - var A = L.pathname || "", j = L.search || ""; - L.path = A + j; - } - return L.slashes = L.slashes || k.slashes, L.href = L.format(), L; - } - var V = L.pathname && L.pathname.charAt(0) === "/", D = k.host || k.pathname && k.pathname.charAt(0) === "/", z = D || V || L.host && k.pathname, J = z, G = L.pathname && L.pathname.split("/") || [], Q = (w = k.pathname && k.pathname.split("/") || [], L.protocol && !h[L.protocol]); - if (Q && (L.hostname = "", L.port = null, L.host && (G[0] === "" ? G[0] = L.host : G.unshift(L.host)), L.host = "", k.protocol && (k.hostname = null, k.port = null, k.host && (w[0] === "" ? w[0] = k.host : w.unshift(k.host)), k.host = null), z = z && (w[0] === "" || G[0] === "")), D) L.host = k.host || k.host === "" ? k.host : L.host, L.hostname = k.hostname || k.hostname === "" ? k.hostname : L.hostname, L.search = k.search, L.query = k.query, G = w; - else if (w.length) G || (G = []), G.pop(), G = G.concat(w), L.search = k.search, L.query = k.query; - else if (!a.isNullOrUndefined(k.search)) return Q && (L.hostname = L.host = G.shift(), (ue = !!(L.host && L.host.indexOf("@") > 0) && L.host.split("@")) && (L.auth = ue.shift(), L.host = L.hostname = ue.shift())), L.search = k.search, L.query = k.query, a.isNull(L.pathname) && a.isNull(L.search) || (L.path = (L.pathname ? L.pathname : "") + (L.search ? L.search : "")), L.href = L.format(), L; - if (!G.length) return L.pathname = null, L.search ? L.path = "/" + L.search : L.path = null, L.href = L.format(), L; - for (var ee = G.slice(-1)[0], Z = (L.host || k.host || G.length > 1) && (ee === "." || ee === "..") || ee === "", q = 0, se = G.length; se >= 0; se--) (ee = G[se]) === "." ? G.splice(se, 1) : ee === ".." ? (G.splice(se, 1), q++) : q && (G.splice(se, 1), q--); - if (!z && !J) for (; q--; q) G.unshift(".."); - !z || G[0] === "" || G[0] && G[0].charAt(0) === "/" || G.unshift(""), Z && G.join("/").substr(-1) !== "/" && G.push(""); - var ue, ce = G[0] === "" || G[0] && G[0].charAt(0) === "/"; - return Q && (L.hostname = L.host = ce ? "" : G.length ? G.shift() : "", (ue = !!(L.host && L.host.indexOf("@") > 0) && L.host.split("@")) && (L.auth = ue.shift(), L.host = L.hostname = ue.shift())), (z = z || L.host && G.length) && !ce && G.unshift(""), G.length ? L.pathname = G.join("/") : (L.pathname = null, L.path = null), a.isNull(L.pathname) && a.isNull(L.search) || (L.path = (L.pathname ? L.pathname : "") + (L.search ? L.search : "")), L.auth = k.auth || L.auth, L.slashes = L.slashes || k.slashes, L.href = L.format(), L; - }, i.prototype.parseHost = function() { - var k = this.host, R = t.exec(k); - R && ((R = R[0]) !== ":" && (this.port = R.substr(1)), k = k.substr(0, k.length - R.length)), k && (this.hostname = k); - }; - }, 2268: (x) => { - x.exports = { isString: function(n) { - return typeof n == "string"; - }, isObject: function(n) { - return typeof n == "object" && n !== null; - }, isNull: function(n) { - return n === null; - }, isNullOrUndefined: function(n) { - return n == null; - } }; - }, 4643: (x, n, c) => { - function r(a) { + for (var R = (E.pathname || "").split("/"); R.length && !(E.host = R.shift()); ) ; + E.host || (E.host = ""), E.hostname || (E.hostname = ""), R[0] !== "" && R.unshift(""), R.length < 2 && R.unshift(""), O.pathname = R.join("/"); + } + if (O.search = E.search, O.query = E.query, O.host = E.host || "", O.auth = E.auth, O.hostname = E.hostname || E.host, O.port = E.port, O.pathname || O.search) { + var M = O.pathname || "", P = O.search || ""; + O.path = M + P; + } + return O.slashes = O.slashes || E.slashes, O.href = O.format(), O; + } + var H = O.pathname && O.pathname.charAt(0) === "/", K = E.host || E.pathname && E.pathname.charAt(0) === "/", V = K || H || O.host && E.pathname, U = V, F = O.pathname && O.pathname.split("/") || [], Q = (R = E.pathname && E.pathname.split("/") || [], O.protocol && !d[O.protocol]); + if (Q && (O.hostname = "", O.port = null, O.host && (F[0] === "" ? F[0] = O.host : F.unshift(O.host)), O.host = "", E.protocol && (E.hostname = null, E.port = null, E.host && (R[0] === "" ? R[0] = E.host : R.unshift(E.host)), E.host = null), V = V && (R[0] === "" || F[0] === "")), K) O.host = E.host || E.host === "" ? E.host : O.host, O.hostname = E.hostname || E.hostname === "" ? E.hostname : O.hostname, O.search = E.search, O.query = E.query, F = R; + else if (R.length) F || (F = []), F.pop(), F = F.concat(R), O.search = E.search, O.query = E.query; + else if (E.search != null) return Q && (O.host = F.shift(), O.hostname = O.host, (fe = !!(O.host && O.host.indexOf("@") > 0) && O.host.split("@")) && (O.auth = fe.shift(), O.hostname = fe.shift(), O.host = O.hostname)), O.search = E.search, O.query = E.query, O.pathname === null && O.search === null || (O.path = (O.pathname ? O.pathname : "") + (O.search ? O.search : "")), O.href = O.format(), O; + if (!F.length) return O.pathname = null, O.search ? O.path = "/" + O.search : O.path = null, O.href = O.format(), O; + for (var ne = F.slice(-1)[0], te = (O.host || E.host || F.length > 1) && (ne === "." || ne === "..") || ne === "", X = 0, Z = F.length; Z >= 0; Z--) (ne = F[Z]) === "." ? F.splice(Z, 1) : ne === ".." ? (F.splice(Z, 1), X++) : X && (F.splice(Z, 1), X--); + if (!V && !U) for (; X--; X) F.unshift(".."); + !V || F[0] === "" || F[0] && F[0].charAt(0) === "/" || F.unshift(""), te && F.join("/").substr(-1) !== "/" && F.push(""); + var fe, le = F[0] === "" || F[0] && F[0].charAt(0) === "/"; + return Q && (O.hostname = le ? "" : F.length ? F.shift() : "", O.host = O.hostname, (fe = !!(O.host && O.host.indexOf("@") > 0) && O.host.split("@")) && (O.auth = fe.shift(), O.hostname = fe.shift(), O.host = O.hostname)), (V = V || O.host && F.length) && !le && F.unshift(""), F.length > 0 ? O.pathname = F.join("/") : (O.pathname = null, O.path = null), O.pathname === null && O.search === null || (O.path = (O.pathname ? O.pathname : "") + (O.search ? O.search : "")), O.auth = E.auth || O.auth, O.slashes = O.slashes || E.slashes, O.href = O.format(), O; + }, o.prototype.parseHost = function() { + var E = this.host, B = p.exec(E); + B && ((B = B[0]) !== ":" && (this.port = B.substr(1)), E = E.substr(0, E.length - B.length)), E && (this.hostname = E); + }, n.parse = _, n.resolve = function(E, B) { + return _(E, !1, !0).resolve(B); + }, n.resolveObject = function(E, B) { + return E ? _(E, !1, !0).resolveObject(B) : B; + }, n.format = function(E) { + return typeof E == "string" && (E = _(E)), E instanceof o ? E.format() : o.prototype.format.call(E); + }, n.Url = o; + }, 4643(g, n, s) { + function r(o) { try { - if (!c.g.localStorage) return !1; + if (!s.g.localStorage) return !1; } catch { return !1; } - var i = c.g.localStorage[a]; + var i = s.g.localStorage[o]; return i != null && String(i).toLowerCase() === "true"; } - x.exports = function(a, i) { - if (r("noDeprecation")) return a; - var m = !1; + g.exports = function(o, i) { + if (r("noDeprecation")) return o; + var p = !1; return function() { - if (!m) { + if (!p) { if (r("throwDeprecation")) throw new Error(i); - r("traceDeprecation") ? console.trace(i) : console.warn(i), m = !0; + r("traceDeprecation") ? console.trace(i) : console.warn(i), p = !0; } - return a.apply(this, arguments); + return o.apply(this, arguments); }; }; - }, 1135: (x) => { - x.exports = function(n) { + }, 1135(g) { + g.exports = function(n) { return n && typeof n == "object" && typeof n.copy == "function" && typeof n.fill == "function" && typeof n.readUInt8 == "function"; }; - }, 9032: (x, n, c) => { - var r = c(7244), a = c(8184), i = c(5767), m = c(5680); - function t(A) { - return A.call.bind(A); - } - var f = typeof BigInt < "u", b = typeof Symbol < "u", y = t(Object.prototype.toString), u = t(Number.prototype.valueOf), d = t(String.prototype.valueOf), l = t(Boolean.prototype.valueOf); - if (f) var s = t(BigInt.prototype.valueOf); - if (b) var v = t(Symbol.prototype.valueOf); - function p(A, j) { - if (typeof A != "object") return !1; + }, 9032(g, n, s) { + var r = s(7244), o = s(8184), i = s(5767), p = s(5680); + function a(P) { + return P.call.bind(P); + } + var f = typeof BigInt < "u", C = typeof Symbol < "u", w = a(Object.prototype.toString), m = a(Number.prototype.valueOf), v = a(String.prototype.valueOf), l = a(Boolean.prototype.valueOf); + if (f) var u = a(BigInt.prototype.valueOf); + if (C) var y = a(Symbol.prototype.valueOf); + function d(P, H) { + if (typeof P != "object") return !1; try { - return j(A), !0; + return H(P), !0; } catch { return !1; } } - function h(A) { - return y(A) === "[object Map]"; - } - function O(A) { - return y(A) === "[object Set]"; - } - function I(A) { - return y(A) === "[object WeakMap]"; - } - function k(A) { - return y(A) === "[object WeakSet]"; - } - function R(A) { - return y(A) === "[object ArrayBuffer]"; - } - function L(A) { - return typeof ArrayBuffer < "u" && (R.working ? R(A) : A instanceof ArrayBuffer); - } - function N(A) { - return y(A) === "[object DataView]"; - } - function B(A) { - return typeof DataView < "u" && (N.working ? N(A) : A instanceof DataView); - } - n.isArgumentsObject = r, n.isGeneratorFunction = a, n.isTypedArray = m, n.isPromise = function(A) { - return typeof Promise < "u" && A instanceof Promise || A !== null && typeof A == "object" && typeof A.then == "function" && typeof A.catch == "function"; - }, n.isArrayBufferView = function(A) { - return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(A) : m(A) || B(A); - }, n.isUint8Array = function(A) { - return i(A) === "Uint8Array"; - }, n.isUint8ClampedArray = function(A) { - return i(A) === "Uint8ClampedArray"; - }, n.isUint16Array = function(A) { - return i(A) === "Uint16Array"; - }, n.isUint32Array = function(A) { - return i(A) === "Uint32Array"; - }, n.isInt8Array = function(A) { - return i(A) === "Int8Array"; - }, n.isInt16Array = function(A) { - return i(A) === "Int16Array"; - }, n.isInt32Array = function(A) { - return i(A) === "Int32Array"; - }, n.isFloat32Array = function(A) { - return i(A) === "Float32Array"; - }, n.isFloat64Array = function(A) { - return i(A) === "Float64Array"; - }, n.isBigInt64Array = function(A) { - return i(A) === "BigInt64Array"; - }, n.isBigUint64Array = function(A) { - return i(A) === "BigUint64Array"; - }, h.working = typeof Map < "u" && h(/* @__PURE__ */ new Map()), n.isMap = function(A) { - return typeof Map < "u" && (h.working ? h(A) : A instanceof Map); - }, O.working = typeof Set < "u" && O(/* @__PURE__ */ new Set()), n.isSet = function(A) { - return typeof Set < "u" && (O.working ? O(A) : A instanceof Set); - }, I.working = typeof WeakMap < "u" && I(/* @__PURE__ */ new WeakMap()), n.isWeakMap = function(A) { - return typeof WeakMap < "u" && (I.working ? I(A) : A instanceof WeakMap); - }, k.working = typeof WeakSet < "u" && k(/* @__PURE__ */ new WeakSet()), n.isWeakSet = function(A) { - return k(A); - }, R.working = typeof ArrayBuffer < "u" && R(new ArrayBuffer()), n.isArrayBuffer = L, N.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && N(new DataView(new ArrayBuffer(1), 0, 1)), n.isDataView = B; - var H = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0; - function U(A) { - return y(A) === "[object SharedArrayBuffer]"; - } - function S(A) { - return H !== void 0 && (U.working === void 0 && (U.working = U(new H())), U.working ? U(A) : A instanceof H); - } - function T(A) { - return p(A, u); - } - function E(A) { - return p(A, d); - } - function M(A) { - return p(A, l); - } - function _(A) { - return f && p(A, s); - } - function w(A) { - return b && p(A, v); - } - n.isSharedArrayBuffer = S, n.isAsyncFunction = function(A) { - return y(A) === "[object AsyncFunction]"; - }, n.isMapIterator = function(A) { - return y(A) === "[object Map Iterator]"; - }, n.isSetIterator = function(A) { - return y(A) === "[object Set Iterator]"; - }, n.isGeneratorObject = function(A) { - return y(A) === "[object Generator]"; - }, n.isWebAssemblyCompiledModule = function(A) { - return y(A) === "[object WebAssembly.Module]"; - }, n.isNumberObject = T, n.isStringObject = E, n.isBooleanObject = M, n.isBigIntObject = _, n.isSymbolObject = w, n.isBoxedPrimitive = function(A) { - return T(A) || E(A) || M(A) || _(A) || w(A); - }, n.isAnyArrayBuffer = function(A) { - return typeof Uint8Array < "u" && (L(A) || S(A)); - }, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(A) { - Object.defineProperty(n, A, { enumerable: !1, value: function() { - throw new Error(A + " is not supported in userland"); + function b(P) { + return w(P) === "[object Map]"; + } + function _(P) { + return w(P) === "[object Set]"; + } + function E(P) { + return w(P) === "[object WeakMap]"; + } + function B(P) { + return w(P) === "[object WeakSet]"; + } + function O(P) { + return w(P) === "[object ArrayBuffer]"; + } + function I(P) { + return typeof ArrayBuffer < "u" && (O.working ? O(P) : P instanceof ArrayBuffer); + } + function x(P) { + return w(P) === "[object DataView]"; + } + function A(P) { + return typeof DataView < "u" && (x.working ? x(P) : P instanceof DataView); + } + n.isArgumentsObject = r, n.isGeneratorFunction = o, n.isTypedArray = p, n.isPromise = function(P) { + return typeof Promise < "u" && P instanceof Promise || P !== null && typeof P == "object" && typeof P.then == "function" && typeof P.catch == "function"; + }, n.isArrayBufferView = function(P) { + return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(P) : p(P) || A(P); + }, n.isUint8Array = function(P) { + return i(P) === "Uint8Array"; + }, n.isUint8ClampedArray = function(P) { + return i(P) === "Uint8ClampedArray"; + }, n.isUint16Array = function(P) { + return i(P) === "Uint16Array"; + }, n.isUint32Array = function(P) { + return i(P) === "Uint32Array"; + }, n.isInt8Array = function(P) { + return i(P) === "Int8Array"; + }, n.isInt16Array = function(P) { + return i(P) === "Int16Array"; + }, n.isInt32Array = function(P) { + return i(P) === "Int32Array"; + }, n.isFloat32Array = function(P) { + return i(P) === "Float32Array"; + }, n.isFloat64Array = function(P) { + return i(P) === "Float64Array"; + }, n.isBigInt64Array = function(P) { + return i(P) === "BigInt64Array"; + }, n.isBigUint64Array = function(P) { + return i(P) === "BigUint64Array"; + }, b.working = typeof Map < "u" && b(/* @__PURE__ */ new Map()), n.isMap = function(P) { + return typeof Map < "u" && (b.working ? b(P) : P instanceof Map); + }, _.working = typeof Set < "u" && _(/* @__PURE__ */ new Set()), n.isSet = function(P) { + return typeof Set < "u" && (_.working ? _(P) : P instanceof Set); + }, E.working = typeof WeakMap < "u" && E(/* @__PURE__ */ new WeakMap()), n.isWeakMap = function(P) { + return typeof WeakMap < "u" && (E.working ? E(P) : P instanceof WeakMap); + }, B.working = typeof WeakSet < "u" && B(/* @__PURE__ */ new WeakSet()), n.isWeakSet = function(P) { + return B(P); + }, O.working = typeof ArrayBuffer < "u" && O(new ArrayBuffer()), n.isArrayBuffer = I, x.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && x(new DataView(new ArrayBuffer(1), 0, 1)), n.isDataView = A; + var N = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0; + function k(P) { + return w(P) === "[object SharedArrayBuffer]"; + } + function j(P) { + return N !== void 0 && (k.working === void 0 && (k.working = k(new N())), k.working ? k(P) : P instanceof N); + } + function D(P) { + return d(P, m); + } + function T(P) { + return d(P, v); + } + function L(P) { + return d(P, l); + } + function R(P) { + return f && d(P, u); + } + function M(P) { + return C && d(P, y); + } + n.isSharedArrayBuffer = j, n.isAsyncFunction = function(P) { + return w(P) === "[object AsyncFunction]"; + }, n.isMapIterator = function(P) { + return w(P) === "[object Map Iterator]"; + }, n.isSetIterator = function(P) { + return w(P) === "[object Set Iterator]"; + }, n.isGeneratorObject = function(P) { + return w(P) === "[object Generator]"; + }, n.isWebAssemblyCompiledModule = function(P) { + return w(P) === "[object WebAssembly.Module]"; + }, n.isNumberObject = D, n.isStringObject = T, n.isBooleanObject = L, n.isBigIntObject = R, n.isSymbolObject = M, n.isBoxedPrimitive = function(P) { + return D(P) || T(P) || L(P) || R(P) || M(P); + }, n.isAnyArrayBuffer = function(P) { + return typeof Uint8Array < "u" && (I(P) || j(P)); + }, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(P) { + Object.defineProperty(n, P, { enumerable: !1, value: function() { + throw new Error(P + " is not supported in userland"); } }); }); - }, 537: (x, n, c) => { - var r = c(5606), a = Object.getOwnPropertyDescriptors || function(w) { - for (var A = Object.keys(w), j = {}, V = 0; V < A.length; V++) j[A[V]] = Object.getOwnPropertyDescriptor(w, A[V]); - return j; + }, 537(g, n, s) { + var r = s(5606), o = Object.getOwnPropertyDescriptors || function(M) { + for (var P = Object.keys(M), H = {}, K = 0; K < P.length; K++) H[P[K]] = Object.getOwnPropertyDescriptor(M, P[K]); + return H; }, i = /%[sdj%]/g; - n.format = function(w) { - if (!I(w)) { - for (var A = [], j = 0; j < arguments.length; j++) A.push(b(arguments[j])); - return A.join(" "); - } - j = 1; - for (var V = arguments, D = V.length, z = String(w).replace(i, function(G) { - if (G === "%%") return "%"; - if (j >= D) return G; - switch (G) { + n.format = function(M) { + if (!E(M)) { + for (var P = [], H = 0; H < arguments.length; H++) P.push(C(arguments[H])); + return P.join(" "); + } + H = 1; + for (var K = arguments, V = K.length, U = String(M).replace(i, function(Q) { + if (Q === "%%") return "%"; + if (H >= V) return Q; + switch (Q) { case "%s": - return String(V[j++]); + return String(K[H++]); case "%d": - return Number(V[j++]); + return Number(K[H++]); case "%j": try { - return JSON.stringify(V[j++]); + return JSON.stringify(K[H++]); } catch { return "[Circular]"; } default: - return G; + return Q; } - }), J = V[j]; j < D; J = V[++j]) h(J) || !L(J) ? z += " " + J : z += " " + b(J); - return z; - }, n.deprecate = function(w, A) { - if (r !== void 0 && r.noDeprecation === !0) return w; + }), F = K[H]; H < V; F = K[++H]) b(F) || !I(F) ? U += " " + F : U += " " + C(F); + return U; + }, n.deprecate = function(M, P) { + if (r !== void 0 && r.noDeprecation === !0) return M; if (r === void 0) return function() { - return n.deprecate(w, A).apply(this, arguments); + return n.deprecate(M, P).apply(this, arguments); }; - var j = !1; + var H = !1; return function() { - if (!j) { - if (r.throwDeprecation) throw new Error(A); - r.traceDeprecation ? console.trace(A) : console.error(A), j = !0; + if (!H) { + if (r.throwDeprecation) throw new Error(P); + r.traceDeprecation ? console.trace(P) : console.error(P), H = !0; } - return w.apply(this, arguments); + return M.apply(this, arguments); }; }; - var m = {}, t = /^$/; + var p = {}, a = /^$/; if (r.env.NODE_DEBUG) { var f = r.env.NODE_DEBUG; - f = f.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), t = new RegExp("^" + f + "$", "i"); - } - function b(w, A) { - var j = { seen: [], stylize: u }; - return arguments.length >= 3 && (j.depth = arguments[2]), arguments.length >= 4 && (j.colors = arguments[3]), p(A) ? j.showHidden = A : A && n._extend(j, A), k(j.showHidden) && (j.showHidden = !1), k(j.depth) && (j.depth = 2), k(j.colors) && (j.colors = !1), k(j.customInspect) && (j.customInspect = !0), j.colors && (j.stylize = y), d(j, w, j.depth); - } - function y(w, A) { - var j = b.styles[A]; - return j ? "\x1B[" + b.colors[j][0] + "m" + w + "\x1B[" + b.colors[j][1] + "m" : w; - } - function u(w, A) { - return w; - } - function d(w, A, j) { - if (w.customInspect && A && H(A.inspect) && A.inspect !== n.inspect && (!A.constructor || A.constructor.prototype !== A)) { - var V = A.inspect(j, w); - return I(V) || (V = d(w, V, j)), V; - } - var D = function(se, ue) { - if (k(ue)) return se.stylize("undefined", "undefined"); - if (I(ue)) { - var ce = "'" + JSON.stringify(ue).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; - return se.stylize(ce, "string"); - } - return O(ue) ? se.stylize("" + ue, "number") : p(ue) ? se.stylize("" + ue, "boolean") : h(ue) ? se.stylize("null", "null") : void 0; - }(w, A); - if (D) return D; - var z = Object.keys(A), J = function(se) { - var ue = {}; - return se.forEach(function(ce, ie) { - ue[ce] = !0; - }), ue; - }(z); - if (w.showHidden && (z = Object.getOwnPropertyNames(A)), B(A) && (z.indexOf("message") >= 0 || z.indexOf("description") >= 0)) return l(A); - if (z.length === 0) { - if (H(A)) { - var G = A.name ? ": " + A.name : ""; - return w.stylize("[Function" + G + "]", "special"); - } - if (R(A)) return w.stylize(RegExp.prototype.toString.call(A), "regexp"); - if (N(A)) return w.stylize(Date.prototype.toString.call(A), "date"); - if (B(A)) return l(A); - } - var Q, ee = "", Z = !1, q = ["{", "}"]; - return v(A) && (Z = !0, q = ["[", "]"]), H(A) && (ee = " [Function" + (A.name ? ": " + A.name : "") + "]"), R(A) && (ee = " " + RegExp.prototype.toString.call(A)), N(A) && (ee = " " + Date.prototype.toUTCString.call(A)), B(A) && (ee = " " + l(A)), z.length !== 0 || Z && A.length != 0 ? j < 0 ? R(A) ? w.stylize(RegExp.prototype.toString.call(A), "regexp") : w.stylize("[Object]", "special") : (w.seen.push(A), Q = Z ? function(se, ue, ce, ie, fe) { - for (var Te = [], Se = 0, te = ue.length; Se < te; ++Se) E(ue, String(Se)) ? Te.push(s(se, ue, ce, ie, String(Se), !0)) : Te.push(""); - return fe.forEach(function(ye) { - ye.match(/^\d+$/) || Te.push(s(se, ue, ce, ie, ye, !0)); - }), Te; - }(w, A, j, J, z) : z.map(function(se) { - return s(w, A, j, J, se, Z); - }), w.seen.pop(), function(se, ue, ce) { - return se.reduce(function(ie, fe) { - return fe.indexOf(` -`), ie + fe.replace(/\u001b\[\d\d?m/g, "").length + 1; - }, 0) > 60 ? ce[0] + (ue === "" ? "" : ue + ` - `) + " " + se.join(`, - `) + " " + ce[1] : ce[0] + ue + " " + se.join(", ") + " " + ce[1]; - }(Q, ee, q)) : q[0] + ee + q[1]; - } - function l(w) { - return "[" + Error.prototype.toString.call(w) + "]"; - } - function s(w, A, j, V, D, z) { - var J, G, Q; - if ((Q = Object.getOwnPropertyDescriptor(A, D) || { value: A[D] }).get ? G = Q.set ? w.stylize("[Getter/Setter]", "special") : w.stylize("[Getter]", "special") : Q.set && (G = w.stylize("[Setter]", "special")), E(V, D) || (J = "[" + D + "]"), G || (w.seen.indexOf(Q.value) < 0 ? (G = h(j) ? d(w, Q.value, null) : d(w, Q.value, j - 1)).indexOf(` -`) > -1 && (G = z ? G.split(` -`).map(function(ee) { - return " " + ee; + f = f.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), a = new RegExp("^" + f + "$", "i"); + } + function C(M, P) { + var H = { seen: [], stylize: m }; + return arguments.length >= 3 && (H.depth = arguments[2]), arguments.length >= 4 && (H.colors = arguments[3]), d(P) ? H.showHidden = P : P && n._extend(H, P), B(H.showHidden) && (H.showHidden = !1), B(H.depth) && (H.depth = 2), B(H.colors) && (H.colors = !1), B(H.customInspect) && (H.customInspect = !0), H.colors && (H.stylize = w), v(H, M, H.depth); + } + function w(M, P) { + var H = C.styles[P]; + return H ? "\x1B[" + C.colors[H][0] + "m" + M + "\x1B[" + C.colors[H][1] + "m" : M; + } + function m(M, P) { + return M; + } + function v(M, P, H) { + if (M.customInspect && P && N(P.inspect) && P.inspect !== n.inspect && (!P.constructor || P.constructor.prototype !== P)) { + var K = P.inspect(H, M); + return E(K) || (K = v(M, K, H)), K; + } + var V = function(fe, le) { + if (B(le)) return fe.stylize("undefined", "undefined"); + if (E(le)) { + var Se = "'" + JSON.stringify(le).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; + return fe.stylize(Se, "string"); + } + return _(le) ? fe.stylize("" + le, "number") : d(le) ? fe.stylize("" + le, "boolean") : b(le) ? fe.stylize("null", "null") : void 0; + }(M, P); + if (V) return V; + var U = Object.keys(P), F = function(fe) { + var le = {}; + return fe.forEach(function(Se, de) { + le[Se] = !0; + }), le; + }(U); + if (M.showHidden && (U = Object.getOwnPropertyNames(P)), A(P) && (U.indexOf("message") >= 0 || U.indexOf("description") >= 0)) return l(P); + if (U.length === 0) { + if (N(P)) { + var Q = P.name ? ": " + P.name : ""; + return M.stylize("[Function" + Q + "]", "special"); + } + if (O(P)) return M.stylize(RegExp.prototype.toString.call(P), "regexp"); + if (x(P)) return M.stylize(Date.prototype.toString.call(P), "date"); + if (A(P)) return l(P); + } + var ne, te = "", X = !1, Z = ["{", "}"]; + return y(P) && (X = !0, Z = ["[", "]"]), N(P) && (te = " [Function" + (P.name ? ": " + P.name : "") + "]"), O(P) && (te = " " + RegExp.prototype.toString.call(P)), x(P) && (te = " " + Date.prototype.toUTCString.call(P)), A(P) && (te = " " + l(P)), U.length !== 0 || X && P.length != 0 ? H < 0 ? O(P) ? M.stylize(RegExp.prototype.toString.call(P), "regexp") : M.stylize("[Object]", "special") : (M.seen.push(P), ne = X ? function(fe, le, Se, de, me) { + for (var Oe = [], Ce = 0, G = le.length; Ce < G; ++Ce) T(le, String(Ce)) ? Oe.push(u(fe, le, Se, de, String(Ce), !0)) : Oe.push(""); + return me.forEach(function(ie) { + ie.match(/^\d+$/) || Oe.push(u(fe, le, Se, de, ie, !0)); + }), Oe; + }(M, P, H, F, U) : U.map(function(fe) { + return u(M, P, H, F, fe, X); + }), M.seen.pop(), function(fe, le, Se) { + return fe.reduce(function(de, me) { + return me.indexOf(` +`), de + me.replace(/\u001b\[\d\d?m/g, "").length + 1; + }, 0) > 60 ? Se[0] + (le === "" ? "" : le + ` + `) + " " + fe.join(`, + `) + " " + Se[1] : Se[0] + le + " " + fe.join(", ") + " " + Se[1]; + }(ne, te, Z)) : Z[0] + te + Z[1]; + } + function l(M) { + return "[" + Error.prototype.toString.call(M) + "]"; + } + function u(M, P, H, K, V, U) { + var F, Q, ne; + if ((ne = Object.getOwnPropertyDescriptor(P, V) || { value: P[V] }).get ? Q = ne.set ? M.stylize("[Getter/Setter]", "special") : M.stylize("[Getter]", "special") : ne.set && (Q = M.stylize("[Setter]", "special")), T(K, V) || (F = "[" + V + "]"), Q || (M.seen.indexOf(ne.value) < 0 ? (Q = b(H) ? v(M, ne.value, null) : v(M, ne.value, H - 1)).indexOf(` +`) > -1 && (Q = U ? Q.split(` +`).map(function(te) { + return " " + te; }).join(` `).slice(2) : ` -` + G.split(` -`).map(function(ee) { - return " " + ee; +` + Q.split(` +`).map(function(te) { + return " " + te; }).join(` -`)) : G = w.stylize("[Circular]", "special")), k(J)) { - if (z && D.match(/^\d+$/)) return G; - (J = JSON.stringify("" + D)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (J = J.slice(1, -1), J = w.stylize(J, "name")) : (J = J.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), J = w.stylize(J, "string")); +`)) : Q = M.stylize("[Circular]", "special")), B(F)) { + if (U && V.match(/^\d+$/)) return Q; + (F = JSON.stringify("" + V)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (F = F.slice(1, -1), F = M.stylize(F, "name")) : (F = F.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), F = M.stylize(F, "string")); } - return J + ": " + G; + return F + ": " + Q; } - function v(w) { - return Array.isArray(w); + function y(M) { + return Array.isArray(M); } - function p(w) { - return typeof w == "boolean"; + function d(M) { + return typeof M == "boolean"; } - function h(w) { - return w === null; + function b(M) { + return M === null; } - function O(w) { - return typeof w == "number"; + function _(M) { + return typeof M == "number"; } - function I(w) { - return typeof w == "string"; + function E(M) { + return typeof M == "string"; } - function k(w) { - return w === void 0; + function B(M) { + return M === void 0; } - function R(w) { - return L(w) && U(w) === "[object RegExp]"; + function O(M) { + return I(M) && k(M) === "[object RegExp]"; } - function L(w) { - return typeof w == "object" && w !== null; + function I(M) { + return typeof M == "object" && M !== null; } - function N(w) { - return L(w) && U(w) === "[object Date]"; + function x(M) { + return I(M) && k(M) === "[object Date]"; } - function B(w) { - return L(w) && (U(w) === "[object Error]" || w instanceof Error); + function A(M) { + return I(M) && (k(M) === "[object Error]" || M instanceof Error); } - function H(w) { - return typeof w == "function"; + function N(M) { + return typeof M == "function"; } - function U(w) { - return Object.prototype.toString.call(w); + function k(M) { + return Object.prototype.toString.call(M); } - function S(w) { - return w < 10 ? "0" + w.toString(10) : w.toString(10); + function j(M) { + return M < 10 ? "0" + M.toString(10) : M.toString(10); } - n.debuglog = function(w) { - if (w = w.toUpperCase(), !m[w]) if (t.test(w)) { - var A = r.pid; - m[w] = function() { - var j = n.format.apply(n, arguments); - console.error("%s %d: %s", w, A, j); + n.debuglog = function(M) { + if (M = M.toUpperCase(), !p[M]) if (a.test(M)) { + var P = r.pid; + p[M] = function() { + var H = n.format.apply(n, arguments); + console.error("%s %d: %s", M, P, H); }; - } else m[w] = function() { + } else p[M] = function() { }; - return m[w]; - }, n.inspect = b, b.colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90, 39], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39], yellow: [33, 39] }, b.styles = { special: "cyan", number: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", date: "magenta", regexp: "red" }, n.types = c(9032), n.isArray = v, n.isBoolean = p, n.isNull = h, n.isNullOrUndefined = function(w) { - return w == null; - }, n.isNumber = O, n.isString = I, n.isSymbol = function(w) { - return typeof w == "symbol"; - }, n.isUndefined = k, n.isRegExp = R, n.types.isRegExp = R, n.isObject = L, n.isDate = N, n.types.isDate = N, n.isError = B, n.types.isNativeError = B, n.isFunction = H, n.isPrimitive = function(w) { - return w === null || typeof w == "boolean" || typeof w == "number" || typeof w == "string" || typeof w == "symbol" || w === void 0; - }, n.isBuffer = c(1135); - var T = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; - function E(w, A) { - return Object.prototype.hasOwnProperty.call(w, A); + return p[M]; + }, n.inspect = C, C.colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90, 39], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39], yellow: [33, 39] }, C.styles = { special: "cyan", number: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", date: "magenta", regexp: "red" }, n.types = s(9032), n.isArray = y, n.isBoolean = d, n.isNull = b, n.isNullOrUndefined = function(M) { + return M == null; + }, n.isNumber = _, n.isString = E, n.isSymbol = function(M) { + return typeof M == "symbol"; + }, n.isUndefined = B, n.isRegExp = O, n.types.isRegExp = O, n.isObject = I, n.isDate = x, n.types.isDate = x, n.isError = A, n.types.isNativeError = A, n.isFunction = N, n.isPrimitive = function(M) { + return M === null || typeof M == "boolean" || typeof M == "number" || typeof M == "string" || typeof M == "symbol" || M === void 0; + }, n.isBuffer = s(1135); + var D = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; + function T(M, P) { + return Object.prototype.hasOwnProperty.call(M, P); } n.log = function() { - var w, A; - console.log("%s - %s", (A = [S((w = /* @__PURE__ */ new Date()).getHours()), S(w.getMinutes()), S(w.getSeconds())].join(":"), [w.getDate(), T[w.getMonth()], A].join(" ")), n.format.apply(n, arguments)); - }, n.inherits = c(6698), n._extend = function(w, A) { - if (!A || !L(A)) return w; - for (var j = Object.keys(A), V = j.length; V--; ) w[j[V]] = A[j[V]]; - return w; + var M, P; + console.log("%s - %s", (P = [j((M = /* @__PURE__ */ new Date()).getHours()), j(M.getMinutes()), j(M.getSeconds())].join(":"), [M.getDate(), D[M.getMonth()], P].join(" ")), n.format.apply(n, arguments)); + }, n.inherits = s(6698), n._extend = function(M, P) { + if (!P || !I(P)) return M; + for (var H = Object.keys(P), K = H.length; K--; ) M[H[K]] = P[H[K]]; + return M; }; - var M = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0; - function _(w, A) { - if (!w) { - var j = new Error("Promise was rejected with a falsy value"); - j.reason = w, w = j; - } - return A(w); - } - n.promisify = function(w) { - if (typeof w != "function") throw new TypeError('The "original" argument must be of type Function'); - if (M && w[M]) { - var A; - if (typeof (A = w[M]) != "function") throw new TypeError('The "util.promisify.custom" argument must be of type Function'); - return Object.defineProperty(A, M, { value: A, enumerable: !1, writable: !1, configurable: !0 }), A; - } - function A() { - for (var j, V, D = new Promise(function(G, Q) { - j = G, V = Q; - }), z = [], J = 0; J < arguments.length; J++) z.push(arguments[J]); - z.push(function(G, Q) { - G ? V(G) : j(Q); + var L = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0; + function R(M, P) { + if (!M) { + var H = new Error("Promise was rejected with a falsy value"); + H.reason = M, M = H; + } + return P(M); + } + n.promisify = function(M) { + if (typeof M != "function") throw new TypeError('The "original" argument must be of type Function'); + if (L && M[L]) { + var P; + if (typeof (P = M[L]) != "function") throw new TypeError('The "util.promisify.custom" argument must be of type Function'); + return Object.defineProperty(P, L, { value: P, enumerable: !1, writable: !1, configurable: !0 }), P; + } + function P() { + for (var H, K, V = new Promise(function(Q, ne) { + H = Q, K = ne; + }), U = [], F = 0; F < arguments.length; F++) U.push(arguments[F]); + U.push(function(Q, ne) { + Q ? K(Q) : H(ne); }); try { - w.apply(this, z); - } catch (G) { - V(G); + M.apply(this, U); + } catch (Q) { + K(Q); } - return D; + return V; } - return Object.setPrototypeOf(A, Object.getPrototypeOf(w)), M && Object.defineProperty(A, M, { value: A, enumerable: !1, writable: !1, configurable: !0 }), Object.defineProperties(A, a(w)); - }, n.promisify.custom = M, n.callbackify = function(w) { - if (typeof w != "function") throw new TypeError('The "original" argument must be of type Function'); - function A() { - for (var j = [], V = 0; V < arguments.length; V++) j.push(arguments[V]); - var D = j.pop(); - if (typeof D != "function") throw new TypeError("The last argument must be of type Function"); - var z = this, J = function() { - return D.apply(z, arguments); + return Object.setPrototypeOf(P, Object.getPrototypeOf(M)), L && Object.defineProperty(P, L, { value: P, enumerable: !1, writable: !1, configurable: !0 }), Object.defineProperties(P, o(M)); + }, n.promisify.custom = L, n.callbackify = function(M) { + if (typeof M != "function") throw new TypeError('The "original" argument must be of type Function'); + function P() { + for (var H = [], K = 0; K < arguments.length; K++) H.push(arguments[K]); + var V = H.pop(); + if (typeof V != "function") throw new TypeError("The last argument must be of type Function"); + var U = this, F = function() { + return V.apply(U, arguments); }; - w.apply(this, j).then(function(G) { - r.nextTick(J.bind(null, null, G)); - }, function(G) { - r.nextTick(_.bind(null, G, J)); + M.apply(this, H).then(function(Q) { + r.nextTick(F.bind(null, null, Q)); + }, function(Q) { + r.nextTick(R.bind(null, Q, F)); }); } - return Object.setPrototypeOf(A, Object.getPrototypeOf(w)), Object.defineProperties(A, a(w)), A; + return Object.setPrototypeOf(P, Object.getPrototypeOf(M)), Object.defineProperties(P, o(M)), P; }; - }, 5767: (x, n, c) => { - var r = c(2682), a = c(9209), i = c(487), m = c(8075), t = c(5795), f = m("Object.prototype.toString"), b = c(9092)(), y = typeof globalThis > "u" ? c.g : globalThis, u = a(), d = m("String.prototype.slice"), l = { __proto__: null }, s = Object.getPrototypeOf; - b && t && s && r(u, function(p) { - if (typeof y[p] == "function") { - var h = new y[p](); - if (Symbol.toStringTag in h) { - var O = s(h), I = t(O, Symbol.toStringTag); - if (!I) { - var k = s(O); - I = t(k, Symbol.toStringTag); - } - l[p] = i(I.get); - } - } - }); - var v = c(5680); - x.exports = function(p) { - return !!v(p) && (b && Symbol.toStringTag in p ? function(h) { - var O = !1; - return r(l, function(I, k) { - if (!O) try { - var R = I(h); - R === k && (O = R); + }, 5767(g, n, s) { + var r = s(2682), o = s(9209), i = s(487), p = s(6556), a = s(5795), f = s(3628), C = p("Object.prototype.toString"), w = s(9092)(), m = typeof globalThis > "u" ? s.g : globalThis, v = o(), l = p("String.prototype.slice"), u = p("Array.prototype.indexOf", !0) || function(d, b) { + for (var _ = 0; _ < d.length; _ += 1) if (d[_] === b) return _; + return -1; + }, y = { __proto__: null }; + r(v, w && a && f ? function(d) { + var b = new m[d](); + if (Symbol.toStringTag in b && f) { + var _ = f(b), E = a(_, Symbol.toStringTag); + if (!E && _) { + var B = f(_); + E = a(B, Symbol.toStringTag); + } + if (E && E.get) { + var O = i(E.get); + y["$" + d] = O; + } + } + } : function(d) { + var b = new m[d](), _ = b.slice || b.set; + if (_) { + var E = i(_); + y["$" + d] = E; + } + }), g.exports = function(d) { + if (!d || typeof d != "object") return !1; + if (!w) { + var b = l(C(d), 8, -1); + return u(v, b) > -1 ? b : b === "Object" && function(_) { + var E = !1; + return r(y, function(B, O) { + if (!E) try { + B(_), E = l(O, 1); + } catch { + } + }), E; + }(d); + } + return a ? function(_) { + var E = !1; + return r(y, function(B, O) { + if (!E) try { + "$" + B(_) === O && (E = l(O, 1)); } catch { } - }), O; - }(p) : d(f(p), 8, -1)); + }), E; + }(d) : null; }; - }, 7510: (x) => { - x.exports = function() { - for (var c = {}, r = 0; r < arguments.length; r++) { - var a = arguments[r]; - for (var i in a) n.call(a, i) && (c[i] = a[i]); + }, 7510(g) { + g.exports = function() { + for (var s = {}, r = 0; r < arguments.length; r++) { + var o = arguments[r]; + for (var i in o) n.call(o, i) && (s[i] = o[i]); } - return c; + return s; }; var n = Object.prototype.hasOwnProperty; - }, 3086: () => { - }, 4923: () => { - }, 8982: () => { - }, 7790: () => { - }, 3776: () => { - }, 9368: () => { - }, 5340: () => { - }, 9838: () => { - }, 9209: (x, n, c) => { - var r = ["BigInt64Array", "BigUint64Array", "Float32Array", "Float64Array", "Int16Array", "Int32Array", "Int8Array", "Uint16Array", "Uint32Array", "Uint8Array", "Uint8ClampedArray"], a = typeof globalThis > "u" ? c.g : globalThis; - x.exports = function() { - for (var i = [], m = 0; m < r.length; m++) typeof a[r[m]] == "function" && (i[i.length] = r[m]); + }, 3086() { + }, 4923() { + }, 7790() { + }, 2634() { + }, 9169() { + }, 6833() { + }, 9209(g, n, s) { + var r = s(6578), o = typeof globalThis > "u" ? s.g : globalThis; + g.exports = function() { + for (var i = [], p = 0; p < r.length; p++) typeof o[r[p]] == "function" && (i[i.length] = r[p]); return i; }; - }, 6425: (x, n, c) => { - var r = c(5606), a = c(8287).Buffer; - function i(Y, ae) { + }, 6425(g, n, s) { + var r = s(5606), o = s(8287).Buffer; + function i(ee, se) { return function() { - return Y.apply(ae, arguments); + return ee.apply(se, arguments); }; } - const { toString: m } = Object.prototype, { getPrototypeOf: t } = Object, f = (b = /* @__PURE__ */ Object.create(null), (Y) => { - const ae = m.call(Y); - return b[ae] || (b[ae] = ae.slice(8, -1).toLowerCase()); + const { toString: p } = Object.prototype, { getPrototypeOf: a } = Object, { iterator: f, toStringTag: C } = Symbol, w = (m = /* @__PURE__ */ Object.create(null), (ee) => { + const se = p.call(ee); + return m[se] || (m[se] = se.slice(8, -1).toLowerCase()); }); - var b; - const y = (Y) => (Y = Y.toLowerCase(), (ae) => f(ae) === Y), u = (Y) => (ae) => typeof ae === Y, { isArray: d } = Array, l = u("undefined"), s = y("ArrayBuffer"), v = u("string"), p = u("function"), h = u("number"), O = (Y) => Y !== null && typeof Y == "object", I = (Y) => { - if (f(Y) !== "object") return !1; - const ae = t(Y); - return !(ae !== null && ae !== Object.prototype && Object.getPrototypeOf(ae) !== null || Symbol.toStringTag in Y || Symbol.iterator in Y); - }, k = y("Date"), R = y("File"), L = y("Blob"), N = y("FileList"), B = y("URLSearchParams"), [H, U, S, T] = ["ReadableStream", "Request", "Response", "Headers"].map(y); - function E(Y, ae, { allOwnKeys: he = !1 } = {}) { - if (Y == null) return; - let ge, _e; - if (typeof Y != "object" && (Y = [Y]), d(Y)) for (ge = 0, _e = Y.length; ge < _e; ge++) ae.call(null, Y[ge], ge, Y); + var m; + const v = (ee) => (ee = ee.toLowerCase(), (se) => w(se) === ee), l = (ee) => (se) => typeof se === ee, { isArray: u } = Array, y = l("undefined"); + function d(ee) { + return ee !== null && !y(ee) && ee.constructor !== null && !y(ee.constructor) && E(ee.constructor.isBuffer) && ee.constructor.isBuffer(ee); + } + const b = v("ArrayBuffer"), _ = l("string"), E = l("function"), B = l("number"), O = (ee) => ee !== null && typeof ee == "object", I = (ee) => { + if (w(ee) !== "object") return !1; + const se = a(ee); + return !(se !== null && se !== Object.prototype && Object.getPrototypeOf(se) !== null || C in ee || f in ee); + }, x = v("Date"), A = v("File"), N = v("Blob"), k = v("FileList"), j = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : s.g !== void 0 ? s.g : {}, D = j.FormData !== void 0 ? j.FormData : void 0, T = v("URLSearchParams"), [L, R, M, P] = ["ReadableStream", "Request", "Response", "Headers"].map(v); + function H(ee, se, { allOwnKeys: pe = !1 } = {}) { + if (ee == null) return; + let ge, Me; + if (typeof ee != "object" && (ee = [ee]), u(ee)) for (ge = 0, Me = ee.length; ge < Me; ge++) se.call(null, ee[ge], ge, ee); else { - const Ee = he ? Object.getOwnPropertyNames(Y) : Object.keys(Y), Me = Ee.length; - let ze; - for (ge = 0; ge < Me; ge++) ze = Ee[ge], ae.call(null, Y[ze], ze, Y); - } - } - function M(Y, ae) { - ae = ae.toLowerCase(); - const he = Object.keys(Y); - let ge, _e = he.length; - for (; _e-- > 0; ) if (ge = he[_e], ae === ge.toLowerCase()) return ge; + if (d(ee)) return; + const Ae = pe ? Object.getOwnPropertyNames(ee) : Object.keys(ee), Pe = Ae.length; + let ke; + for (ge = 0; ge < Pe; ge++) ke = Ae[ge], se.call(null, ee[ke], ke, ee); + } + } + function K(ee, se) { + if (d(ee)) return null; + se = se.toLowerCase(); + const pe = Object.keys(ee); + let ge, Me = pe.length; + for (; Me-- > 0; ) if (ge = pe[Me], se === ge.toLowerCase()) return ge; return null; } - const _ = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : c.g, w = (Y) => !l(Y) && Y !== _, A = (j = typeof Uint8Array < "u" && t(Uint8Array), (Y) => j && Y instanceof j); - var j; - const V = y("HTMLFormElement"), D = (({ hasOwnProperty: Y }) => (ae, he) => Y.call(ae, he))(Object.prototype), z = y("RegExp"), J = (Y, ae) => { - const he = Object.getOwnPropertyDescriptors(Y), ge = {}; - E(he, (_e, Ee) => { - let Me; - (Me = ae(_e, Ee, Y)) !== !1 && (ge[Ee] = Me || _e); - }), Object.defineProperties(Y, ge); - }, G = y("AsyncFunction"), Q = (ee = typeof setImmediate == "function", Z = p(_.postMessage), ee ? setImmediate : Z ? (q = `axios@${Math.random()}`, se = [], _.addEventListener("message", ({ source: Y, data: ae }) => { - Y === _ && ae === q && se.length && se.shift()(); - }, !1), (Y) => { - se.push(Y), _.postMessage(q, "*"); - }) : (Y) => setTimeout(Y)); - var ee, Z, q, se; - const ue = typeof queueMicrotask < "u" ? queueMicrotask.bind(_) : r !== void 0 && r.nextTick || Q; - var ce = { isArray: d, isArrayBuffer: s, isBuffer: function(Y) { - return Y !== null && !l(Y) && Y.constructor !== null && !l(Y.constructor) && p(Y.constructor.isBuffer) && Y.constructor.isBuffer(Y); - }, isFormData: (Y) => { - let ae; - return Y && (typeof FormData == "function" && Y instanceof FormData || p(Y.append) && ((ae = f(Y)) === "formdata" || ae === "object" && p(Y.toString) && Y.toString() === "[object FormData]")); - }, isArrayBufferView: function(Y) { - let ae; - return ae = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(Y) : Y && Y.buffer && s(Y.buffer), ae; - }, isString: v, isNumber: h, isBoolean: (Y) => Y === !0 || Y === !1, isObject: O, isPlainObject: I, isReadableStream: H, isRequest: U, isResponse: S, isHeaders: T, isUndefined: l, isDate: k, isFile: R, isBlob: L, isRegExp: z, isFunction: p, isStream: (Y) => O(Y) && p(Y.pipe), isURLSearchParams: B, isTypedArray: A, isFileList: N, forEach: E, merge: function Y() { - const { caseless: ae } = w(this) && this || {}, he = {}, ge = (_e, Ee) => { - const Me = ae && M(he, Ee) || Ee; - I(he[Me]) && I(_e) ? he[Me] = Y(he[Me], _e) : I(_e) ? he[Me] = Y({}, _e) : d(_e) ? he[Me] = _e.slice() : he[Me] = _e; + const V = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : s.g, U = (ee) => !y(ee) && ee !== V, F = (Q = typeof Uint8Array < "u" && a(Uint8Array), (ee) => Q && ee instanceof Q); + var Q; + const ne = v("HTMLFormElement"), te = (({ hasOwnProperty: ee }) => (se, pe) => ee.call(se, pe))(Object.prototype), X = v("RegExp"), Z = (ee, se) => { + const pe = Object.getOwnPropertyDescriptors(ee), ge = {}; + H(pe, (Me, Ae) => { + let Pe; + (Pe = se(Me, Ae, ee)) !== !1 && (ge[Ae] = Pe || Me); + }), Object.defineProperties(ee, ge); + }, fe = v("AsyncFunction"), le = (Se = typeof setImmediate == "function", de = E(V.postMessage), Se ? setImmediate : de ? (me = `axios@${Math.random()}`, Oe = [], V.addEventListener("message", ({ source: ee, data: se }) => { + ee === V && se === me && Oe.length && Oe.shift()(); + }, !1), (ee) => { + Oe.push(ee), V.postMessage(me, "*"); + }) : (ee) => setTimeout(ee)); + var Se, de, me, Oe; + const Ce = typeof queueMicrotask < "u" ? queueMicrotask.bind(V) : r !== void 0 && r.nextTick || le; + var G = { isArray: u, isArrayBuffer: b, isBuffer: d, isFormData: (ee) => { + if (!ee) return !1; + if (D && ee instanceof D) return !0; + const se = a(ee); + if (!se || se === Object.prototype || !E(ee.append)) return !1; + const pe = w(ee); + return pe === "formdata" || pe === "object" && E(ee.toString) && ee.toString() === "[object FormData]"; + }, isArrayBufferView: function(ee) { + let se; + return se = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(ee) : ee && ee.buffer && b(ee.buffer), se; + }, isString: _, isNumber: B, isBoolean: (ee) => ee === !0 || ee === !1, isObject: O, isPlainObject: I, isEmptyObject: (ee) => { + if (!O(ee) || d(ee)) return !1; + try { + return Object.keys(ee).length === 0 && Object.getPrototypeOf(ee) === Object.prototype; + } catch { + return !1; + } + }, isReadableStream: L, isRequest: R, isResponse: M, isHeaders: P, isUndefined: y, isDate: x, isFile: A, isReactNativeBlob: (ee) => !(!ee || ee.uri === void 0), isReactNative: (ee) => ee && ee.getParts !== void 0, isBlob: N, isRegExp: X, isFunction: E, isStream: (ee) => O(ee) && E(ee.pipe), isURLSearchParams: T, isTypedArray: F, isFileList: k, forEach: H, merge: function ee() { + const { caseless: se, skipUndefined: pe } = U(this) && this || {}, ge = {}, Me = (Ae, Pe) => { + if (Pe === "__proto__" || Pe === "constructor" || Pe === "prototype") return; + const ke = se && K(ge, Pe) || Pe; + I(ge[ke]) && I(Ae) ? ge[ke] = ee(ge[ke], Ae) : I(Ae) ? ge[ke] = ee({}, Ae) : u(Ae) ? ge[ke] = Ae.slice() : pe && y(Ae) || (ge[ke] = Ae); }; - for (let _e = 0, Ee = arguments.length; _e < Ee; _e++) arguments[_e] && E(arguments[_e], ge); - return he; - }, extend: (Y, ae, he, { allOwnKeys: ge } = {}) => (E(ae, (_e, Ee) => { - he && p(_e) ? Y[Ee] = i(_e, he) : Y[Ee] = _e; - }, { allOwnKeys: ge }), Y), trim: (Y) => Y.trim ? Y.trim() : Y.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""), stripBOM: (Y) => (Y.charCodeAt(0) === 65279 && (Y = Y.slice(1)), Y), inherits: (Y, ae, he, ge) => { - Y.prototype = Object.create(ae.prototype, ge), Y.prototype.constructor = Y, Object.defineProperty(Y, "super", { value: ae.prototype }), he && Object.assign(Y.prototype, he); - }, toFlatObject: (Y, ae, he, ge) => { - let _e, Ee, Me; - const ze = {}; - if (ae = ae || {}, Y == null) return ae; + for (let Ae = 0, Pe = arguments.length; Ae < Pe; Ae++) arguments[Ae] && H(arguments[Ae], Me); + return ge; + }, extend: (ee, se, pe, { allOwnKeys: ge } = {}) => (H(se, (Me, Ae) => { + pe && E(Me) ? Object.defineProperty(ee, Ae, { value: i(Me, pe), writable: !0, enumerable: !0, configurable: !0 }) : Object.defineProperty(ee, Ae, { value: Me, writable: !0, enumerable: !0, configurable: !0 }); + }, { allOwnKeys: ge }), ee), trim: (ee) => ee.trim ? ee.trim() : ee.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""), stripBOM: (ee) => (ee.charCodeAt(0) === 65279 && (ee = ee.slice(1)), ee), inherits: (ee, se, pe, ge) => { + ee.prototype = Object.create(se.prototype, ge), Object.defineProperty(ee.prototype, "constructor", { value: ee, writable: !0, enumerable: !1, configurable: !0 }), Object.defineProperty(ee, "super", { value: se.prototype }), pe && Object.assign(ee.prototype, pe); + }, toFlatObject: (ee, se, pe, ge) => { + let Me, Ae, Pe; + const ke = {}; + if (se = se || {}, ee == null) return se; do { - for (_e = Object.getOwnPropertyNames(Y), Ee = _e.length; Ee-- > 0; ) Me = _e[Ee], ge && !ge(Me, Y, ae) || ze[Me] || (ae[Me] = Y[Me], ze[Me] = !0); - Y = he !== !1 && t(Y); - } while (Y && (!he || he(Y, ae)) && Y !== Object.prototype); - return ae; - }, kindOf: f, kindOfTest: y, endsWith: (Y, ae, he) => { - Y = String(Y), (he === void 0 || he > Y.length) && (he = Y.length), he -= ae.length; - const ge = Y.indexOf(ae, he); - return ge !== -1 && ge === he; - }, toArray: (Y) => { - if (!Y) return null; - if (d(Y)) return Y; - let ae = Y.length; - if (!h(ae)) return null; - const he = new Array(ae); - for (; ae-- > 0; ) he[ae] = Y[ae]; - return he; - }, forEachEntry: (Y, ae) => { - const he = (Y && Y[Symbol.iterator]).call(Y); + for (Me = Object.getOwnPropertyNames(ee), Ae = Me.length; Ae-- > 0; ) Pe = Me[Ae], ge && !ge(Pe, ee, se) || ke[Pe] || (se[Pe] = ee[Pe], ke[Pe] = !0); + ee = pe !== !1 && a(ee); + } while (ee && (!pe || pe(ee, se)) && ee !== Object.prototype); + return se; + }, kindOf: w, kindOfTest: v, endsWith: (ee, se, pe) => { + ee = String(ee), (pe === void 0 || pe > ee.length) && (pe = ee.length), pe -= se.length; + const ge = ee.indexOf(se, pe); + return ge !== -1 && ge === pe; + }, toArray: (ee) => { + if (!ee) return null; + if (u(ee)) return ee; + let se = ee.length; + if (!B(se)) return null; + const pe = new Array(se); + for (; se-- > 0; ) pe[se] = ee[se]; + return pe; + }, forEachEntry: (ee, se) => { + const pe = (ee && ee[f]).call(ee); let ge; - for (; (ge = he.next()) && !ge.done; ) { - const _e = ge.value; - ae.call(Y, _e[0], _e[1]); + for (; (ge = pe.next()) && !ge.done; ) { + const Me = ge.value; + se.call(ee, Me[0], Me[1]); } - }, matchAll: (Y, ae) => { - let he; + }, matchAll: (ee, se) => { + let pe; const ge = []; - for (; (he = Y.exec(ae)) !== null; ) ge.push(he); + for (; (pe = ee.exec(se)) !== null; ) ge.push(pe); return ge; - }, isHTMLForm: V, hasOwnProperty: D, hasOwnProp: D, reduceDescriptors: J, freezeMethods: (Y) => { - J(Y, (ae, he) => { - if (p(Y) && ["arguments", "caller", "callee"].indexOf(he) !== -1) return !1; - const ge = Y[he]; - p(ge) && (ae.enumerable = !1, "writable" in ae ? ae.writable = !1 : ae.set || (ae.set = () => { - throw Error("Can not rewrite read-only method '" + he + "'"); + }, isHTMLForm: ne, hasOwnProperty: te, hasOwnProp: te, reduceDescriptors: Z, freezeMethods: (ee) => { + Z(ee, (se, pe) => { + if (E(ee) && ["arguments", "caller", "callee"].indexOf(pe) !== -1) return !1; + const ge = ee[pe]; + E(ge) && (se.enumerable = !1, "writable" in se ? se.writable = !1 : se.set || (se.set = () => { + throw Error("Can not rewrite read-only method '" + pe + "'"); })); }); - }, toObjectSet: (Y, ae) => { - const he = {}, ge = (_e) => { - _e.forEach((Ee) => { - he[Ee] = !0; + }, toObjectSet: (ee, se) => { + const pe = {}, ge = (Me) => { + Me.forEach((Ae) => { + pe[Ae] = !0; }); }; - return d(Y) ? ge(Y) : ge(String(Y).split(ae)), he; - }, toCamelCase: (Y) => Y.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(ae, he, ge) { - return he.toUpperCase() + ge; + return u(ee) ? ge(ee) : ge(String(ee).split(se)), pe; + }, toCamelCase: (ee) => ee.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(se, pe, ge) { + return pe.toUpperCase() + ge; }), noop: () => { - }, toFiniteNumber: (Y, ae) => Y != null && Number.isFinite(Y = +Y) ? Y : ae, findKey: M, global: _, isContextDefined: w, isSpecCompliantForm: function(Y) { - return !!(Y && p(Y.append) && Y[Symbol.toStringTag] === "FormData" && Y[Symbol.iterator]); - }, toJSONObject: (Y) => { - const ae = new Array(10), he = (ge, _e) => { + }, toFiniteNumber: (ee, se) => ee != null && Number.isFinite(ee = +ee) ? ee : se, findKey: K, global: V, isContextDefined: U, isSpecCompliantForm: function(ee) { + return !!(ee && E(ee.append) && ee[C] === "FormData" && ee[f]); + }, toJSONObject: (ee) => { + const se = new Array(10), pe = (ge, Me) => { if (O(ge)) { - if (ae.indexOf(ge) >= 0) return; + if (se.indexOf(ge) >= 0) return; + if (d(ge)) return ge; if (!("toJSON" in ge)) { - ae[_e] = ge; - const Ee = d(ge) ? [] : {}; - return E(ge, (Me, ze) => { - const Ge = he(Me, _e + 1); - !l(Ge) && (Ee[ze] = Ge); - }), ae[_e] = void 0, Ee; + se[Me] = ge; + const Ae = u(ge) ? [] : {}; + return H(ge, (Pe, ke) => { + const Je = pe(Pe, Me + 1); + !y(Je) && (Ae[ke] = Je); + }), se[Me] = void 0, Ae; } } return ge; }; - return he(Y, 0); - }, isAsyncFn: G, isThenable: (Y) => Y && (O(Y) || p(Y)) && p(Y.then) && p(Y.catch), setImmediate: Q, asap: ue }; - function ie(Y, ae, he, ge, _e) { - Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = Y, this.name = "AxiosError", ae && (this.code = ae), he && (this.config = he), ge && (this.request = ge), _e && (this.response = _e, this.status = _e.status ? _e.status : null); + return pe(ee, 0); + }, isAsyncFn: fe, isThenable: (ee) => ee && (O(ee) || E(ee)) && E(ee.then) && E(ee.catch), setImmediate: le, asap: Ce, isIterable: (ee) => ee != null && E(ee[f]) }; + class ie extends Error { + static from(se, pe, ge, Me, Ae, Pe) { + const ke = new ie(se.message, pe || se.code, ge, Me, Ae); + return ke.cause = se, ke.name = se.name, se.status != null && ke.status == null && (ke.status = se.status), Pe && Object.assign(ke, Pe), ke; + } + constructor(se, pe, ge, Me, Ae) { + super(se), Object.defineProperty(this, "message", { value: se, enumerable: !0, writable: !0, configurable: !0 }), this.name = "AxiosError", this.isAxiosError = !0, pe && (this.code = pe), ge && (this.config = ge), Me && (this.request = Me), Ae && (this.response = Ae, this.status = Ae.status); + } + toJSON() { + return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: G.toJSONObject(this.config), code: this.code, status: this.status }; + } } - ce.inherits(ie, Error, { toJSON: function() { - return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: ce.toJSONObject(this.config), code: this.code, status: this.status }; - } }); - const fe = ie.prototype, Te = {}; - function Se(Y) { - return ce.isPlainObject(Y) || ce.isArray(Y); - } - function te(Y) { - return ce.endsWith(Y, "[]") ? Y.slice(0, -2) : Y; - } - function ye(Y, ae, he) { - return Y ? Y.concat(ae).map(function(ge, _e) { - return ge = te(ge), !he && _e ? "[" + ge + "]" : ge; - }).join(he ? "." : "") : ae; - } - ["ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED", "ERR_NOT_SUPPORT", "ERR_INVALID_URL"].forEach((Y) => { - Te[Y] = { value: Y }; - }), Object.defineProperties(ie, Te), Object.defineProperty(fe, "isAxiosError", { value: !0 }), ie.from = (Y, ae, he, ge, _e, Ee) => { - const Me = Object.create(fe); - return ce.toFlatObject(Y, Me, function(ze) { - return ze !== Error.prototype; - }, (ze) => ze !== "isAxiosError"), ie.call(Me, Y.message, ae, he, ge, _e), Me.cause = Y, Me.name = Y.name, Ee && Object.assign(Me, Ee), Me; - }; - const ve = ce.toFlatObject(ce, {}, null, function(Y) { - return /^is[A-Z]/.test(Y); + function we(ee) { + return G.isPlainObject(ee) || G.isArray(ee); + } + function z(ee) { + return G.endsWith(ee, "[]") ? ee.slice(0, -2) : ee; + } + function J(ee, se, pe) { + return ee ? ee.concat(se).map(function(ge, Me) { + return ge = z(ge), !pe && Me ? "[" + ge + "]" : ge; + }).join(pe ? "." : "") : se; + } + ie.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", ie.ERR_BAD_OPTION = "ERR_BAD_OPTION", ie.ECONNABORTED = "ECONNABORTED", ie.ETIMEDOUT = "ETIMEDOUT", ie.ERR_NETWORK = "ERR_NETWORK", ie.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", ie.ERR_DEPRECATED = "ERR_DEPRECATED", ie.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", ie.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", ie.ERR_CANCELED = "ERR_CANCELED", ie.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", ie.ERR_INVALID_URL = "ERR_INVALID_URL", ie.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED"; + const q = G.toFlatObject(G, {}, null, function(ee) { + return /^is[A-Z]/.test(ee); }); - function F(Y, ae, he) { - if (!ce.isObject(Y)) throw new TypeError("target must be an object"); - ae = ae || new FormData(); - const ge = (he = ce.toFlatObject(he, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(Qe, yt) { - return !ce.isUndefined(yt[Qe]); - })).metaTokens, _e = he.visitor || Fe, Ee = he.dots, Me = he.indexes, ze = (he.Blob || typeof Blob < "u" && Blob) && ce.isSpecCompliantForm(ae); - if (!ce.isFunction(_e)) throw new TypeError("visitor must be a function"); - function Ge(Qe) { - if (Qe === null) return ""; - if (ce.isDate(Qe)) return Qe.toISOString(); - if (!ze && ce.isBlob(Qe)) throw new ie("Blob is not supported. Use a Buffer instead."); - return ce.isArrayBuffer(Qe) || ce.isTypedArray(Qe) ? ze && typeof Blob == "function" ? new Blob([Qe]) : a.from(Qe) : Qe; - } - function Fe(Qe, yt, ft) { - let nt = Qe; - if (Qe && !ft && typeof Qe == "object") { - if (ce.endsWith(yt, "{}")) yt = ge ? yt : yt.slice(0, -2), Qe = JSON.stringify(Qe); - else if (ce.isArray(Qe) && function(Jt) { - return ce.isArray(Jt) && !Jt.some(Se); - }(Qe) || (ce.isFileList(Qe) || ce.endsWith(yt, "[]")) && (nt = ce.toArray(Qe))) return yt = te(yt), nt.forEach(function(Jt, Zt) { - !ce.isUndefined(Jt) && Jt !== null && ae.append(Me === !0 ? ye([yt], Zt, Ee) : Me === null ? yt : yt + "[]", Ge(Jt)); + function re(ee, se, pe) { + if (!G.isObject(ee)) throw new TypeError("target must be an object"); + se = se || new FormData(); + const ge = (pe = G.toFlatObject(pe, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function($e, Ge) { + return !G.isUndefined(Ge[$e]); + })).metaTokens, Me = pe.visitor || et, Ae = pe.dots, Pe = pe.indexes, ke = pe.Blob || typeof Blob < "u" && Blob, Je = pe.maxDepth === void 0 ? 100 : pe.maxDepth, Ve = ke && G.isSpecCompliantForm(se); + if (!G.isFunction(Me)) throw new TypeError("visitor must be a function"); + function Ke($e) { + if ($e === null) return ""; + if (G.isDate($e)) return $e.toISOString(); + if (G.isBoolean($e)) return $e.toString(); + if (!Ve && G.isBlob($e)) throw new ie("Blob is not supported. Use a Buffer instead."); + return G.isArrayBuffer($e) || G.isTypedArray($e) ? Ve && typeof Blob == "function" ? new Blob([$e]) : o.from($e) : $e; + } + function et($e, Ge, bt) { + let Zt = $e; + if (G.isReactNative(se) && G.isReactNativeBlob($e)) return se.append(J(bt, Ge, Ae), Ke($e)), !1; + if ($e && !bt && typeof $e == "object") { + if (G.endsWith(Ge, "{}")) Ge = ge ? Ge : Ge.slice(0, -2), $e = JSON.stringify($e); + else if (G.isArray($e) && function(wt) { + return G.isArray(wt) && !wt.some(we); + }($e) || (G.isFileList($e) || G.endsWith(Ge, "[]")) && (Zt = G.toArray($e))) return Ge = z(Ge), Zt.forEach(function(wt, jt) { + !G.isUndefined(wt) && wt !== null && se.append(Pe === !0 ? J([Ge], jt, Ae) : Pe === null ? Ge : Ge + "[]", Ke(wt)); }), !1; } - return !!Se(Qe) || (ae.append(ye(ft, yt, Ee), Ge(Qe)), !1); + return !!we($e) || (se.append(J(bt, Ge, Ae), Ke($e)), !1); } - const Je = [], rt = Object.assign(ve, { defaultVisitor: Fe, convertValue: Ge, isVisitable: Se }); - if (!ce.isObject(Y)) throw new TypeError("data must be an object"); - return function Qe(yt, ft) { - if (!ce.isUndefined(yt)) { - if (Je.indexOf(yt) !== -1) throw Error("Circular reference detected in " + ft.join(".")); - Je.push(yt), ce.forEach(yt, function(nt, Jt) { - (!(ce.isUndefined(nt) || nt === null) && _e.call(ae, nt, ce.isString(Jt) ? Jt.trim() : Jt, ft, rt)) === !0 && Qe(nt, ft ? ft.concat(Jt) : [Jt]); - }), Je.pop(); + const tt = [], ut = Object.assign(q, { defaultVisitor: et, convertValue: Ke, isVisitable: we }); + if (!G.isObject(ee)) throw new TypeError("data must be an object"); + return function $e(Ge, bt, Zt = 0) { + if (!G.isUndefined(Ge)) { + if (Zt > Je) throw new ie("Object is too deeply nested (" + Zt + " levels). Max depth: " + Je, ie.ERR_FORM_DATA_DEPTH_EXCEEDED); + if (tt.indexOf(Ge) !== -1) throw Error("Circular reference detected in " + bt.join(".")); + tt.push(Ge), G.forEach(Ge, function(wt, jt) { + (!(G.isUndefined(wt) || wt === null) && Me.call(se, wt, G.isString(jt) ? jt.trim() : jt, bt, ut)) === !0 && $e(wt, bt ? bt.concat(jt) : [jt], Zt + 1); + }), tt.pop(); } - }(Y), ae; + }(ee), se; } - function W(Y) { - const ae = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; - return encodeURIComponent(Y).replace(/[!'()~]|%20|%00/g, function(he) { - return ae[he]; + function $(ee) { + const se = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+" }; + return encodeURIComponent(ee).replace(/[!'()~]|%20/g, function(pe) { + return se[pe]; }); } - function K(Y, ae) { - this._pairs = [], Y && F(Y, this, ae); + function Y(ee, se) { + this._pairs = [], ee && re(ee, this, se); } - const X = K.prototype; - function ne(Y) { - return encodeURIComponent(Y).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); + const ce = Y.prototype; + function ye(ee) { + return encodeURIComponent(ee).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+"); } - function re(Y, ae, he) { - if (!ae) return Y; - const ge = he && he.encode || ne; - ce.isFunction(he) && (he = { serialize: he }); - const _e = he && he.serialize; - let Ee; - if (Ee = _e ? _e(ae, he) : ce.isURLSearchParams(ae) ? ae.toString() : new K(ae, he).toString(ge), Ee) { - const Me = Y.indexOf("#"); - Me !== -1 && (Y = Y.slice(0, Me)), Y += (Y.indexOf("?") === -1 ? "?" : "&") + Ee; + function ve(ee, se, pe) { + if (!se) return ee; + const ge = pe && pe.encode || ye, Me = G.isFunction(pe) ? { serialize: pe } : pe, Ae = Me && Me.serialize; + let Pe; + if (Pe = Ae ? Ae(se, Me) : G.isURLSearchParams(se) ? se.toString() : new Y(se, Me).toString(ge), Pe) { + const ke = ee.indexOf("#"); + ke !== -1 && (ee = ee.slice(0, ke)), ee += (ee.indexOf("?") === -1 ? "?" : "&") + Pe; } - return Y; + return ee; } - X.append = function(Y, ae) { - this._pairs.push([Y, ae]); - }, X.toString = function(Y) { - const ae = Y ? function(he) { - return Y.call(this, he, W); - } : W; - return this._pairs.map(function(he) { - return ae(he[0]) + "=" + ae(he[1]); + ce.append = function(ee, se) { + this._pairs.push([ee, se]); + }, ce.toString = function(ee) { + const se = ee ? function(pe) { + return ee.call(this, pe, $); + } : $; + return this._pairs.map(function(pe) { + return se(pe[0]) + "=" + se(pe[1]); }, "").join("&"); }; - var pe = class { + class Ee { constructor() { this.handlers = []; } - use(Y, ae, he) { - return this.handlers.push({ fulfilled: Y, rejected: ae, synchronous: !!he && he.synchronous, runWhen: he ? he.runWhen : null }), this.handlers.length - 1; + use(se, pe, ge) { + return this.handlers.push({ fulfilled: se, rejected: pe, synchronous: !!ge && ge.synchronous, runWhen: ge ? ge.runWhen : null }), this.handlers.length - 1; } - eject(Y) { - this.handlers[Y] && (this.handlers[Y] = null); + eject(se) { + this.handlers[se] && (this.handlers[se] = null); } clear() { this.handlers && (this.handlers = []); } - forEach(Y) { - ce.forEach(this.handlers, function(ae) { - ae !== null && Y(ae); + forEach(se) { + G.forEach(this.handlers, function(pe) { + pe !== null && se(pe); }); } - }, Oe = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, xe = { isBrowser: !0, classes: { URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : K, FormData: typeof FormData < "u" ? FormData : null, Blob: typeof Blob < "u" ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] }; - const Re = typeof window < "u" && typeof document < "u", De = typeof navigator == "object" && navigator || void 0, Le = Re && (!De || ["ReactNative", "NativeScript", "NS"].indexOf(De.product) < 0), Ve = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ze = Re && window.location.href || "http://localhost"; - var Be = { ...Object.freeze({ __proto__: null, hasBrowserEnv: Re, hasStandardBrowserWebWorkerEnv: Ve, hasStandardBrowserEnv: Le, navigator: De, origin: Ze }), ...xe }; - function de(Y) { - function ae(he, ge, _e, Ee) { - let Me = he[Ee++]; - if (Me === "__proto__") return !0; - const ze = Number.isFinite(+Me), Ge = Ee >= he.length; - return Me = !Me && ce.isArray(_e) ? _e.length : Me, Ge ? (ce.hasOwnProp(_e, Me) ? _e[Me] = [_e[Me], ge] : _e[Me] = ge, !ze) : (_e[Me] && ce.isObject(_e[Me]) || (_e[Me] = []), ae(he, ge, _e[Me], Ee) && ce.isArray(_e[Me]) && (_e[Me] = function(Fe) { - const Je = {}, rt = Object.keys(Fe); - let Qe; - const yt = rt.length; - let ft; - for (Qe = 0; Qe < yt; Qe++) ft = rt[Qe], Je[ft] = Fe[ft]; - return Je; - }(_e[Me])), !ze); - } - if (ce.isFormData(Y) && ce.isFunction(Y.entries)) { - const he = {}; - return ce.forEachEntry(Y, (ge, _e) => { - ae(function(Ee) { - return ce.matchAll(/\w+|\[(\w*)]/g, Ee).map((Me) => Me[0] === "[]" ? "" : Me[1] || Me[0]); - }(ge), _e, he, 0); - }), he; + } + var Ie = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1, legacyInterceptorReqResOrdering: !0 }, be = { isBrowser: !0, classes: { URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : Y, FormData: typeof FormData < "u" ? FormData : null, Blob: typeof Blob < "u" ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] }; + const Ne = typeof window < "u" && typeof document < "u", He = typeof navigator == "object" && navigator || void 0, ae = Ne && (!He || ["ReactNative", "NativeScript", "NS"].indexOf(He.product) < 0), oe = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ue = Ne && window.location.href || "http://localhost"; + var he = { ...Object.freeze({ __proto__: null, hasBrowserEnv: Ne, hasStandardBrowserEnv: ae, hasStandardBrowserWebWorkerEnv: oe, navigator: He, origin: ue }), ...be }; + function _e(ee) { + function se(pe, ge, Me, Ae) { + let Pe = pe[Ae++]; + if (Pe === "__proto__") return !0; + const ke = Number.isFinite(+Pe), Je = Ae >= pe.length; + return Pe = !Pe && G.isArray(Me) ? Me.length : Pe, Je ? (G.hasOwnProp(Me, Pe) ? Me[Pe] = G.isArray(Me[Pe]) ? Me[Pe].concat(ge) : [Me[Pe], ge] : Me[Pe] = ge, !ke) : (Me[Pe] && G.isObject(Me[Pe]) || (Me[Pe] = []), se(pe, ge, Me[Pe], Ae) && G.isArray(Me[Pe]) && (Me[Pe] = function(Ve) { + const Ke = {}, et = Object.keys(Ve); + let tt; + const ut = et.length; + let $e; + for (tt = 0; tt < ut; tt++) $e = et[tt], Ke[$e] = Ve[$e]; + return Ke; + }(Me[Pe])), !ke); + } + if (G.isFormData(ee) && G.isFunction(ee.entries)) { + const pe = {}; + return G.forEachEntry(ee, (ge, Me) => { + se(function(Ae) { + return G.matchAll(/\w+|\[(\w*)]/g, Ae).map((Pe) => Pe[0] === "[]" ? "" : Pe[1] || Pe[0]); + }(ge), Me, pe, 0); + }), pe; } return null; } - const oe = { transitional: Oe, adapter: ["xhr", "http", "fetch"], transformRequest: [function(Y, ae) { - const he = ae.getContentType() || "", ge = he.indexOf("application/json") > -1, _e = ce.isObject(Y); - if (_e && ce.isHTMLForm(Y) && (Y = new FormData(Y)), ce.isFormData(Y)) return ge ? JSON.stringify(de(Y)) : Y; - if (ce.isArrayBuffer(Y) || ce.isBuffer(Y) || ce.isStream(Y) || ce.isFile(Y) || ce.isBlob(Y) || ce.isReadableStream(Y)) return Y; - if (ce.isArrayBufferView(Y)) return Y.buffer; - if (ce.isURLSearchParams(Y)) return ae.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), Y.toString(); - let Ee; - if (_e) { - if (he.indexOf("application/x-www-form-urlencoded") > -1) return function(Me, ze) { - return F(Me, new Be.classes.URLSearchParams(), Object.assign({ visitor: function(Ge, Fe, Je, rt) { - return Be.isNode && ce.isBuffer(Ge) ? (this.append(Fe, Ge.toString("base64")), !1) : rt.defaultVisitor.apply(this, arguments); - } }, ze)); - }(Y, this.formSerializer).toString(); - if ((Ee = ce.isFileList(Y)) || he.indexOf("multipart/form-data") > -1) { - const Me = this.env && this.env.FormData; - return F(Ee ? { "files[]": Y } : Y, Me && new Me(), this.formSerializer); - } - } - return _e || ge ? (ae.setContentType("application/json", !1), function(Me) { - if (ce.isString(Me)) try { - return (0, JSON.parse)(Me), ce.trim(Me); - } catch (ze) { - if (ze.name !== "SyntaxError") throw ze; - } - return (0, JSON.stringify)(Me); - }(Y)) : Y; - }], transformResponse: [function(Y) { - const ae = this.transitional || oe.transitional, he = ae && ae.forcedJSONParsing, ge = this.responseType === "json"; - if (ce.isResponse(Y) || ce.isReadableStream(Y)) return Y; - if (Y && ce.isString(Y) && (he && !this.responseType || ge)) { - const _e = !(ae && ae.silentJSONParsing) && ge; + const Te = (ee, se) => ee != null && G.hasOwnProp(ee, se) ? ee[se] : void 0, Re = { transitional: Ie, adapter: ["xhr", "http", "fetch"], transformRequest: [function(ee, se) { + const pe = se.getContentType() || "", ge = pe.indexOf("application/json") > -1, Me = G.isObject(ee); + if (Me && G.isHTMLForm(ee) && (ee = new FormData(ee)), G.isFormData(ee)) return ge ? JSON.stringify(_e(ee)) : ee; + if (G.isArrayBuffer(ee) || G.isBuffer(ee) || G.isStream(ee) || G.isFile(ee) || G.isBlob(ee) || G.isReadableStream(ee)) return ee; + if (G.isArrayBufferView(ee)) return ee.buffer; + if (G.isURLSearchParams(ee)) return se.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), ee.toString(); + let Ae; + if (Me) { + const Pe = Te(this, "formSerializer"); + if (pe.indexOf("application/x-www-form-urlencoded") > -1) return function(ke, Je) { + return re(ke, new he.classes.URLSearchParams(), { visitor: function(Ve, Ke, et, tt) { + return he.isNode && G.isBuffer(Ve) ? (this.append(Ke, Ve.toString("base64")), !1) : tt.defaultVisitor.apply(this, arguments); + }, ...Je }); + }(ee, Pe).toString(); + if ((Ae = G.isFileList(ee)) || pe.indexOf("multipart/form-data") > -1) { + const ke = Te(this, "env"), Je = ke && ke.FormData; + return re(Ae ? { "files[]": ee } : ee, Je && new Je(), Pe); + } + } + return Me || ge ? (se.setContentType("application/json", !1), function(Pe) { + if (G.isString(Pe)) try { + return (0, JSON.parse)(Pe), G.trim(Pe); + } catch (ke) { + if (ke.name !== "SyntaxError") throw ke; + } + return (0, JSON.stringify)(Pe); + }(ee)) : ee; + }], transformResponse: [function(ee) { + const se = Te(this, "transitional") || Re.transitional, pe = se && se.forcedJSONParsing, ge = Te(this, "responseType"), Me = ge === "json"; + if (G.isResponse(ee) || G.isReadableStream(ee)) return ee; + if (ee && G.isString(ee) && (pe && !ge || Me)) { + const Ae = !(se && se.silentJSONParsing) && Me; try { - return JSON.parse(Y); - } catch (Ee) { - if (_e) - throw Ee.name === "SyntaxError" ? ie.from(Ee, ie.ERR_BAD_RESPONSE, this, null, this.response) : Ee; + return JSON.parse(ee, Te(this, "parseReviver")); + } catch (Pe) { + if (Ae) + throw Pe.name === "SyntaxError" ? ie.from(Pe, ie.ERR_BAD_RESPONSE, this, null, Te(this, "response")) : Pe; } } - return Y; - }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: Be.classes.FormData, Blob: Be.classes.Blob }, validateStatus: function(Y) { - return Y >= 200 && Y < 300; + return ee; + }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: he.classes.FormData, Blob: he.classes.Blob }, validateStatus: function(ee) { + return ee >= 200 && ee < 300; }, headers: { common: { Accept: "application/json, text/plain, */*", "Content-Type": void 0 } } }; - ce.forEach(["delete", "get", "head", "post", "put", "patch"], (Y) => { - oe.headers[Y] = {}; + G.forEach(["delete", "get", "head", "post", "put", "patch"], (ee) => { + Re.headers[ee] = {}; }); - var le = oe; - const me = ce.toObjectSet(["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]), Ce = Symbol("internals"); - function we(Y) { - return Y && String(Y).trim().toLowerCase(); - } - function Ie(Y) { - return Y === !1 || Y == null ? Y : ce.isArray(Y) ? Y.map(Ie) : String(Y); - } - function ke(Y, ae, he, ge, _e) { - return ce.isFunction(ge) ? ge.call(this, ae, he) : (_e && (ae = he), ce.isString(ae) ? ce.isString(ge) ? ae.indexOf(ge) !== -1 : ce.isRegExp(ge) ? ge.test(ae) : void 0 : void 0); - } - class Ne { - constructor(ae) { - ae && this.set(ae); - } - set(ae, he, ge) { - const _e = this; - function Ee(ze, Ge, Fe) { - const Je = we(Ge); - if (!Je) throw new Error("header name must be a non-empty string"); - const rt = ce.findKey(_e, Je); - (!rt || _e[rt] === void 0 || Fe === !0 || Fe === void 0 && _e[rt] !== !1) && (_e[rt || Ge] = Ie(ze)); - } - const Me = (ze, Ge) => ce.forEach(ze, (Fe, Je) => Ee(Fe, Je, Ge)); - if (ce.isPlainObject(ae) || ae instanceof this.constructor) Me(ae, he); - else if (ce.isString(ae) && (ae = ae.trim()) && !/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(ae.trim())) Me(((ze) => { - const Ge = {}; - let Fe, Je, rt; - return ze && ze.split(` -`).forEach(function(Qe) { - rt = Qe.indexOf(":"), Fe = Qe.substring(0, rt).trim().toLowerCase(), Je = Qe.substring(rt + 1).trim(), !Fe || Ge[Fe] && me[Fe] || (Fe === "set-cookie" ? Ge[Fe] ? Ge[Fe].push(Je) : Ge[Fe] = [Je] : Ge[Fe] = Ge[Fe] ? Ge[Fe] + ", " + Je : Je); - }), Ge; - })(ae), he); - else if (ce.isHeaders(ae)) for (const [ze, Ge] of ae.entries()) Ee(Ge, ze, ge); - else ae != null && Ee(he, ae, ge); + const Ue = G.toObjectSet(["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]), De = Symbol("internals"), ze = /[^\x09\x20-\x7E\x80-\xFF]/g; + function Xe(ee) { + return ee && String(ee).trim().toLowerCase(); + } + function qe(ee) { + return ee === !1 || ee == null ? ee : G.isArray(ee) ? ee.map(qe) : function(se) { + let pe = 0, ge = se.length; + for (; pe < ge; ) { + const Me = se.charCodeAt(pe); + if (Me !== 9 && Me !== 32) break; + pe += 1; + } + for (; ge > pe; ) { + const Me = se.charCodeAt(ge - 1); + if (Me !== 9 && Me !== 32) break; + ge -= 1; + } + return pe === 0 && ge === se.length ? se : se.slice(pe, ge); + }(String(ee).replace(ze, "")); + } + function Ye(ee, se, pe, ge, Me) { + return G.isFunction(ge) ? ge.call(this, se, pe) : (Me && (se = pe), G.isString(se) ? G.isString(ge) ? se.indexOf(ge) !== -1 : G.isRegExp(ge) ? ge.test(se) : void 0 : void 0); + } + class ct { + constructor(se) { + se && this.set(se); + } + set(se, pe, ge) { + const Me = this; + function Ae(ke, Je, Ve) { + const Ke = Xe(Je); + if (!Ke) throw new Error("header name must be a non-empty string"); + const et = G.findKey(Me, Ke); + (!et || Me[et] === void 0 || Ve === !0 || Ve === void 0 && Me[et] !== !1) && (Me[et || Je] = qe(ke)); + } + const Pe = (ke, Je) => G.forEach(ke, (Ve, Ke) => Ae(Ve, Ke, Je)); + if (G.isPlainObject(se) || se instanceof this.constructor) Pe(se, pe); + else if (G.isString(se) && (se = se.trim()) && !/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(se.trim())) Pe(((ke) => { + const Je = {}; + let Ve, Ke, et; + return ke && ke.split(` +`).forEach(function(tt) { + et = tt.indexOf(":"), Ve = tt.substring(0, et).trim().toLowerCase(), Ke = tt.substring(et + 1).trim(), !Ve || Je[Ve] && Ue[Ve] || (Ve === "set-cookie" ? Je[Ve] ? Je[Ve].push(Ke) : Je[Ve] = [Ke] : Je[Ve] = Je[Ve] ? Je[Ve] + ", " + Ke : Ke); + }), Je; + })(se), pe); + else if (G.isObject(se) && G.isIterable(se)) { + let ke, Je, Ve = {}; + for (const Ke of se) { + if (!G.isArray(Ke)) throw TypeError("Object iterator must return a key-value pair"); + Ve[Je = Ke[0]] = (ke = Ve[Je]) ? G.isArray(ke) ? [...ke, Ke[1]] : [ke, Ke[1]] : Ke[1]; + } + Pe(Ve, pe); + } else se != null && Ae(pe, se, ge); return this; } - get(ae, he) { - if (ae = we(ae)) { - const ge = ce.findKey(this, ae); + get(se, pe) { + if (se = Xe(se)) { + const ge = G.findKey(this, se); if (ge) { - const _e = this[ge]; - if (!he) return _e; - if (he === !0) return function(Ee) { - const Me = /* @__PURE__ */ Object.create(null), ze = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; - let Ge; - for (; Ge = ze.exec(Ee); ) Me[Ge[1]] = Ge[2]; - return Me; - }(_e); - if (ce.isFunction(he)) return he.call(this, _e, ge); - if (ce.isRegExp(he)) return he.exec(_e); + const Me = this[ge]; + if (!pe) return Me; + if (pe === !0) return function(Ae) { + const Pe = /* @__PURE__ */ Object.create(null), ke = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + let Je; + for (; Je = ke.exec(Ae); ) Pe[Je[1]] = Je[2]; + return Pe; + }(Me); + if (G.isFunction(pe)) return pe.call(this, Me, ge); + if (G.isRegExp(pe)) return pe.exec(Me); throw new TypeError("parser must be boolean|regexp|function"); } } } - has(ae, he) { - if (ae = we(ae)) { - const ge = ce.findKey(this, ae); - return !(!ge || this[ge] === void 0 || he && !ke(0, this[ge], ge, he)); + has(se, pe) { + if (se = Xe(se)) { + const ge = G.findKey(this, se); + return !(!ge || this[ge] === void 0 || pe && !Ye(0, this[ge], ge, pe)); } return !1; } - delete(ae, he) { + delete(se, pe) { const ge = this; - let _e = !1; - function Ee(Me) { - if (Me = we(Me)) { - const ze = ce.findKey(ge, Me); - !ze || he && !ke(0, ge[ze], ze, he) || (delete ge[ze], _e = !0); + let Me = !1; + function Ae(Pe) { + if (Pe = Xe(Pe)) { + const ke = G.findKey(ge, Pe); + !ke || pe && !Ye(0, ge[ke], ke, pe) || (delete ge[ke], Me = !0); } } - return ce.isArray(ae) ? ae.forEach(Ee) : Ee(ae), _e; + return G.isArray(se) ? se.forEach(Ae) : Ae(se), Me; } - clear(ae) { - const he = Object.keys(this); - let ge = he.length, _e = !1; + clear(se) { + const pe = Object.keys(this); + let ge = pe.length, Me = !1; for (; ge--; ) { - const Ee = he[ge]; - ae && !ke(0, this[Ee], Ee, ae, !0) || (delete this[Ee], _e = !0); - } - return _e; - } - normalize(ae) { - const he = this, ge = {}; - return ce.forEach(this, (_e, Ee) => { - const Me = ce.findKey(ge, Ee); - if (Me) return he[Me] = Ie(_e), void delete he[Ee]; - const ze = ae ? function(Ge) { - return Ge.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (Fe, Je, rt) => Je.toUpperCase() + rt); - }(Ee) : String(Ee).trim(); - ze !== Ee && delete he[Ee], he[ze] = Ie(_e), ge[ze] = !0; + const Ae = pe[ge]; + se && !Ye(0, this[Ae], Ae, se, !0) || (delete this[Ae], Me = !0); + } + return Me; + } + normalize(se) { + const pe = this, ge = {}; + return G.forEach(this, (Me, Ae) => { + const Pe = G.findKey(ge, Ae); + if (Pe) return pe[Pe] = qe(Me), void delete pe[Ae]; + const ke = se ? function(Je) { + return Je.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (Ve, Ke, et) => Ke.toUpperCase() + et); + }(Ae) : String(Ae).trim(); + ke !== Ae && delete pe[Ae], pe[ke] = qe(Me), ge[ke] = !0; }), this; } - concat(...ae) { - return this.constructor.concat(this, ...ae); + concat(...se) { + return this.constructor.concat(this, ...se); } - toJSON(ae) { - const he = /* @__PURE__ */ Object.create(null); - return ce.forEach(this, (ge, _e) => { - ge != null && ge !== !1 && (he[_e] = ae && ce.isArray(ge) ? ge.join(", ") : ge); - }), he; + toJSON(se) { + const pe = /* @__PURE__ */ Object.create(null); + return G.forEach(this, (ge, Me) => { + ge != null && ge !== !1 && (pe[Me] = se && G.isArray(ge) ? ge.join(", ") : ge); + }), pe; } [Symbol.iterator]() { return Object.entries(this.toJSON())[Symbol.iterator](); } toString() { - return Object.entries(this.toJSON()).map(([ae, he]) => ae + ": " + he).join(` + return Object.entries(this.toJSON()).map(([se, pe]) => se + ": " + pe).join(` `); } + getSetCookie() { + return this.get("set-cookie") || []; + } get [Symbol.toStringTag]() { return "AxiosHeaders"; } - static from(ae) { - return ae instanceof this ? ae : new this(ae); - } - static concat(ae, ...he) { - const ge = new this(ae); - return he.forEach((_e) => ge.set(_e)), ge; - } - static accessor(ae) { - const he = (this[Ce] = this[Ce] = { accessors: {} }).accessors, ge = this.prototype; - function _e(Ee) { - const Me = we(Ee); - he[Me] || (function(ze, Ge) { - const Fe = ce.toCamelCase(" " + Ge); - ["get", "set", "has"].forEach((Je) => { - Object.defineProperty(ze, Je + Fe, { value: function(rt, Qe, yt) { - return this[Je].call(this, Ge, rt, Qe, yt); + static from(se) { + return se instanceof this ? se : new this(se); + } + static concat(se, ...pe) { + const ge = new this(se); + return pe.forEach((Me) => ge.set(Me)), ge; + } + static accessor(se) { + const pe = (this[De] = this[De] = { accessors: {} }).accessors, ge = this.prototype; + function Me(Ae) { + const Pe = Xe(Ae); + pe[Pe] || (function(ke, Je) { + const Ve = G.toCamelCase(" " + Je); + ["get", "set", "has"].forEach((Ke) => { + Object.defineProperty(ke, Ke + Ve, { value: function(et, tt, ut) { + return this[Ke].call(this, Je, et, tt, ut); }, configurable: !0 }); }); - }(ge, Ee), he[Me] = !0); + }(ge, Ae), pe[Pe] = !0); } - return ce.isArray(ae) ? ae.forEach(_e) : _e(ae), this; + return G.isArray(se) ? se.forEach(Me) : Me(se), this; } } - Ne.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]), ce.reduceDescriptors(Ne.prototype, ({ value: Y }, ae) => { - let he = ae[0].toUpperCase() + ae.slice(1); - return { get: () => Y, set(ge) { - this[he] = ge; + function ot(ee, se) { + const pe = this || Re, ge = se || pe, Me = ct.from(ge.headers); + let Ae = ge.data; + return G.forEach(ee, function(Pe) { + Ae = Pe.call(pe, Ae, Me.normalize(), se ? se.status : void 0); + }), Me.normalize(), Ae; + } + function dt(ee) { + return !(!ee || !ee.__CANCEL__); + } + ct.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]), G.reduceDescriptors(ct.prototype, ({ value: ee }, se) => { + let pe = se[0].toUpperCase() + se.slice(1); + return { get: () => ee, set(ge) { + this[pe] = ge; } }; - }), ce.freezeMethods(Ne); - var He = Ne; - function qe(Y, ae) { - const he = this || le, ge = ae || he, _e = He.from(ge.headers); - let Ee = ge.data; - return ce.forEach(Y, function(Me) { - Ee = Me.call(he, Ee, _e.normalize(), ae ? ae.status : void 0); - }), _e.normalize(), Ee; - } - function Ue(Y) { - return !(!Y || !Y.__CANCEL__); - } - function $e(Y, ae, he) { - ie.call(this, Y ?? "canceled", ie.ERR_CANCELED, ae, he), this.name = "CanceledError"; - } - function ct(Y, ae, he) { - const ge = he.config.validateStatus; - he.status && ge && !ge(he.status) ? ae(new ie("Request failed with status code " + he.status, [ie.ERR_BAD_REQUEST, ie.ERR_BAD_RESPONSE][Math.floor(he.status / 100) - 4], he.config, he.request, he)) : Y(he); - } - ce.inherits($e, ie, { __CANCEL__: !0 }); - const We = (Y, ae, he = 3) => { + }), G.freezeMethods(ct); + class $t extends ie { + constructor(se, pe, ge) { + super(se ?? "canceled", ie.ERR_CANCELED, pe, ge), this.name = "CanceledError", this.__CANCEL__ = !0; + } + } + function gt(ee, se, pe) { + const ge = pe.config.validateStatus; + pe.status && ge && !ge(pe.status) ? se(new ie("Request failed with status code " + pe.status, [ie.ERR_BAD_REQUEST, ie.ERR_BAD_RESPONSE][Math.floor(pe.status / 100) - 4], pe.config, pe.request, pe)) : ee(pe); + } + const Fe = (ee, se, pe = 3) => { let ge = 0; - const _e = function(Ee, Me) { - Ee = Ee || 10; - const ze = new Array(Ee), Ge = new Array(Ee); - let Fe, Je = 0, rt = 0; - return Me = Me !== void 0 ? Me : 1e3, function(Qe) { - const yt = Date.now(), ft = Ge[rt]; - Fe || (Fe = yt), ze[Je] = Qe, Ge[Je] = yt; - let nt = rt, Jt = 0; - for (; nt !== Je; ) Jt += ze[nt++], nt %= Ee; - if (Je = (Je + 1) % Ee, Je === rt && (rt = (rt + 1) % Ee), yt - Fe < Me) return; - const Zt = ft && yt - ft; - return Zt ? Math.round(1e3 * Jt / Zt) : void 0; + const Me = function(Ae, Pe) { + Ae = Ae || 10; + const ke = new Array(Ae), Je = new Array(Ae); + let Ve, Ke = 0, et = 0; + return Pe = Pe !== void 0 ? Pe : 1e3, function(tt) { + const ut = Date.now(), $e = Je[et]; + Ve || (Ve = ut), ke[Ke] = tt, Je[Ke] = ut; + let Ge = et, bt = 0; + for (; Ge !== Ke; ) bt += ke[Ge++], Ge %= Ae; + if (Ke = (Ke + 1) % Ae, Ke === et && (et = (et + 1) % Ae), ut - Ve < Pe) return; + const Zt = $e && ut - $e; + return Zt ? Math.round(1e3 * bt / Zt) : void 0; }; }(50, 250); - return function(Ee, Me) { - let ze, Ge, Fe = 0, Je = 1e3 / Me; - const rt = (Qe, yt = Date.now()) => { - Fe = yt, ze = null, Ge && (clearTimeout(Ge), Ge = null), Ee.apply(null, Qe); + return function(Ae, Pe) { + let ke, Je, Ve = 0, Ke = 1e3 / Pe; + const et = (tt, ut = Date.now()) => { + Ve = ut, ke = null, Je && (clearTimeout(Je), Je = null), (($e) => { + const Ge = $e.loaded, bt = $e.lengthComputable ? $e.total : void 0, Zt = bt != null ? Math.min(Ge, bt) : Ge, wt = Math.max(0, Zt - ge), jt = Me(wt); + ge = Math.max(ge, Zt), ee({ loaded: Zt, total: bt, progress: bt ? Zt / bt : void 0, bytes: wt, rate: jt || void 0, estimated: jt && bt ? (bt - Zt) / jt : void 0, event: $e, lengthComputable: bt != null, [se ? "download" : "upload"]: !0 }); + })(...tt); }; - return [(...Qe) => { - const yt = Date.now(), ft = yt - Fe; - ft >= Je ? rt(Qe, yt) : (ze = Qe, Ge || (Ge = setTimeout(() => { - Ge = null, rt(ze); - }, Je - ft))); - }, () => ze && rt(ze)]; - }((Ee) => { - const Me = Ee.loaded, ze = Ee.lengthComputable ? Ee.total : void 0, Ge = Me - ge, Fe = _e(Ge); - ge = Me, Y({ loaded: Me, total: ze, progress: ze ? Me / ze : void 0, bytes: Ge, rate: Fe || void 0, estimated: Fe && ze && Me <= ze ? (ze - Me) / Fe : void 0, event: Ee, lengthComputable: ze != null, [ae ? "download" : "upload"]: !0 }); - }, he); - }, it = (Y, ae) => { - const he = Y != null; - return [(ge) => ae[0]({ lengthComputable: he, total: Y, loaded: ge }), ae[1]]; - }, bt = (Y) => (...ae) => ce.asap(() => Y(...ae)); - var Xe = Be.hasStandardBrowserEnv ? /* @__PURE__ */ ((Y, ae) => (he) => (he = new URL(he, Be.origin), Y.protocol === he.protocol && Y.host === he.host && (ae || Y.port === he.port)))(new URL(Be.origin), Be.navigator && /(msie|trident)/i.test(Be.navigator.userAgent)) : () => !0, ut = Be.hasStandardBrowserEnv ? { write(Y, ae, he, ge, _e, Ee) { - const Me = [Y + "=" + encodeURIComponent(ae)]; - ce.isNumber(he) && Me.push("expires=" + new Date(he).toGMTString()), ce.isString(ge) && Me.push("path=" + ge), ce.isString(_e) && Me.push("domain=" + _e), Ee === !0 && Me.push("secure"), document.cookie = Me.join("; "); - }, read(Y) { - const ae = document.cookie.match(new RegExp("(^|;\\s*)(" + Y + ")=([^;]*)")); - return ae ? decodeURIComponent(ae[3]) : null; - }, remove(Y) { - this.write(Y, "", Date.now() - 864e5); + return [(...tt) => { + const ut = Date.now(), $e = ut - Ve; + $e >= Ke ? et(tt, ut) : (ke = tt, Je || (Je = setTimeout(() => { + Je = null, et(ke); + }, Ke - $e))); + }, () => ke && et(ke)]; + }(0, pe); + }, mt = (ee, se) => { + const pe = ee != null; + return [(ge) => se[0]({ lengthComputable: pe, total: ee, loaded: ge }), se[1]]; + }, ht = (ee) => (...se) => G.asap(() => ee(...se)); + var Mt = he.hasStandardBrowserEnv ? /* @__PURE__ */ ((ee, se) => (pe) => (pe = new URL(pe, he.origin), ee.protocol === pe.protocol && ee.host === pe.host && (se || ee.port === pe.port)))(new URL(he.origin), he.navigator && /(msie|trident)/i.test(he.navigator.userAgent)) : () => !0, kr = he.hasStandardBrowserEnv ? { write(ee, se, pe, ge, Me, Ae, Pe) { + if (typeof document > "u") return; + const ke = [`${ee}=${encodeURIComponent(se)}`]; + G.isNumber(pe) && ke.push(`expires=${new Date(pe).toUTCString()}`), G.isString(ge) && ke.push(`path=${ge}`), G.isString(Me) && ke.push(`domain=${Me}`), Ae === !0 && ke.push("secure"), G.isString(Pe) && ke.push(`SameSite=${Pe}`), document.cookie = ke.join("; "); + }, read(ee) { + if (typeof document > "u") return null; + const se = document.cookie.match(new RegExp("(?:^|; )" + ee + "=([^;]*)")); + return se ? decodeURIComponent(se[1]) : null; + }, remove(ee) { + this.write(ee, "", Date.now() - 864e5, "/"); } } : { write() { }, read: () => null, remove() { } }; - function Mt(Y, ae, he) { - let ge = !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(ae); - return Y && (ge || he == 0) ? function(_e, Ee) { - return Ee ? _e.replace(/\/?\/$/, "") + "/" + Ee.replace(/^\/+/, "") : _e; - }(Y, ae) : ae; - } - const Ye = (Y) => Y instanceof He ? { ...Y } : Y; - function at(Y, ae) { - ae = ae || {}; - const he = {}; - function ge(Fe, Je, rt, Qe) { - return ce.isPlainObject(Fe) && ce.isPlainObject(Je) ? ce.merge.call({ caseless: Qe }, Fe, Je) : ce.isPlainObject(Je) ? ce.merge({}, Je) : ce.isArray(Je) ? Je.slice() : Je; - } - function _e(Fe, Je, rt, Qe) { - return ce.isUndefined(Je) ? ce.isUndefined(Fe) ? void 0 : ge(void 0, Fe, 0, Qe) : ge(Fe, Je, 0, Qe); - } - function Ee(Fe, Je) { - if (!ce.isUndefined(Je)) return ge(void 0, Je); - } - function Me(Fe, Je) { - return ce.isUndefined(Je) ? ce.isUndefined(Fe) ? void 0 : ge(void 0, Fe) : ge(void 0, Je); - } - function ze(Fe, Je, rt) { - return rt in ae ? ge(Fe, Je) : rt in Y ? ge(void 0, Fe) : void 0; - } - const Ge = { url: Ee, method: Ee, data: Ee, baseURL: Me, transformRequest: Me, transformResponse: Me, paramsSerializer: Me, timeout: Me, timeoutMessage: Me, withCredentials: Me, withXSRFToken: Me, adapter: Me, responseType: Me, xsrfCookieName: Me, xsrfHeaderName: Me, onUploadProgress: Me, onDownloadProgress: Me, decompress: Me, maxContentLength: Me, maxBodyLength: Me, beforeRedirect: Me, transport: Me, httpAgent: Me, httpsAgent: Me, cancelToken: Me, socketPath: Me, responseEncoding: Me, validateStatus: ze, headers: (Fe, Je, rt) => _e(Ye(Fe), Ye(Je), 0, !0) }; - return ce.forEach(Object.keys(Object.assign({}, Y, ae)), function(Fe) { - const Je = Ge[Fe] || _e, rt = Je(Y[Fe], ae[Fe], Fe); - ce.isUndefined(rt) && Je !== ze || (he[Fe] = rt); - }), he; - } - var Tt = (Y) => { - const ae = at({}, Y); - let he, { data: ge, withXSRFToken: _e, xsrfHeaderName: Ee, xsrfCookieName: Me, headers: ze, auth: Ge } = ae; - if (ae.headers = ze = He.from(ze), ae.url = re(Mt(ae.baseURL, ae.url, ae.allowAbsoluteUrls), Y.params, Y.paramsSerializer), Ge && ze.set("Authorization", "Basic " + btoa((Ge.username || "") + ":" + (Ge.password ? unescape(encodeURIComponent(Ge.password)) : ""))), ce.isFormData(ge)) { - if (Be.hasStandardBrowserEnv || Be.hasStandardBrowserWebWorkerEnv) ze.setContentType(void 0); - else if ((he = ze.getContentType()) !== !1) { - const [Fe, ...Je] = he ? he.split(";").map((rt) => rt.trim()).filter(Boolean) : []; - ze.setContentType([Fe || "multipart/form-data", ...Je].join("; ")); - } - } - if (Be.hasStandardBrowserEnv && (_e && ce.isFunction(_e) && (_e = _e(ae)), _e || _e !== !1 && Xe(ae.url))) { - const Fe = Ee && Me && ut.read(Me); - Fe && ze.set(Ee, Fe); - } - return ae; - }, tt = typeof XMLHttpRequest < "u" && function(Y) { - return new Promise(function(ae, he) { - const ge = Tt(Y); - let _e = ge.data; - const Ee = He.from(ge.headers).normalize(); - let Me, ze, Ge, Fe, Je, { responseType: rt, onUploadProgress: Qe, onDownloadProgress: yt } = ge; - function ft() { - Fe && Fe(), Je && Je(), ge.cancelToken && ge.cancelToken.unsubscribe(Me), ge.signal && ge.signal.removeEventListener("abort", Me); - } - let nt = new XMLHttpRequest(); - function Jt() { - if (!nt) return; - const Gt = He.from("getAllResponseHeaders" in nt && nt.getAllResponseHeaders()); - ct(function(Rr) { - ae(Rr), ft(); - }, function(Rr) { - he(Rr), ft(); - }, { data: rt && rt !== "text" && rt !== "json" ? nt.response : nt.responseText, status: nt.status, statusText: nt.statusText, headers: Gt, config: Y, request: nt }), nt = null; - } - nt.open(ge.method.toUpperCase(), ge.url, !0), nt.timeout = ge.timeout, "onloadend" in nt ? nt.onloadend = Jt : nt.onreadystatechange = function() { - nt && nt.readyState === 4 && (nt.status !== 0 || nt.responseURL && nt.responseURL.indexOf("file:") === 0) && setTimeout(Jt); - }, nt.onabort = function() { - nt && (he(new ie("Request aborted", ie.ECONNABORTED, Y, nt)), nt = null); - }, nt.onerror = function() { - he(new ie("Network Error", ie.ERR_NETWORK, Y, nt)), nt = null; - }, nt.ontimeout = function() { - let Gt = ge.timeout ? "timeout of " + ge.timeout + "ms exceeded" : "timeout exceeded"; - const Rr = ge.transitional || Oe; - ge.timeoutErrorMessage && (Gt = ge.timeoutErrorMessage), he(new ie(Gt, Rr.clarifyTimeoutError ? ie.ETIMEDOUT : ie.ECONNABORTED, Y, nt)), nt = null; - }, _e === void 0 && Ee.setContentType(null), "setRequestHeader" in nt && ce.forEach(Ee.toJSON(), function(Gt, Rr) { - nt.setRequestHeader(Rr, Gt); - }), ce.isUndefined(ge.withCredentials) || (nt.withCredentials = !!ge.withCredentials), rt && rt !== "json" && (nt.responseType = ge.responseType), yt && ([Ge, Je] = We(yt, !0), nt.addEventListener("progress", Ge)), Qe && nt.upload && ([ze, Fe] = We(Qe), nt.upload.addEventListener("progress", ze), nt.upload.addEventListener("loadend", Fe)), (ge.cancelToken || ge.signal) && (Me = (Gt) => { - nt && (he(!Gt || Gt.type ? new $e(null, Y, nt) : Gt), nt.abort(), nt = null); - }, ge.cancelToken && ge.cancelToken.subscribe(Me), ge.signal && (ge.signal.aborted ? Me() : ge.signal.addEventListener("abort", Me))); - const Zt = function(Gt) { - const Rr = /^([-+\w]{1,25})(:?\/\/|:)/.exec(Gt); - return Rr && Rr[1] || ""; + function Vt(ee, se, pe) { + let ge = !(typeof (Me = se) == "string" && /^([a-z][a-z\d+\-.]*:)?\/\//i.test(Me)); + var Me; + return ee && (ge || pe === !1) ? function(Ae, Pe) { + return Pe ? Ae.replace(/\/?\/$/, "") + "/" + Pe.replace(/^\/+/, "") : Ae; + }(ee, se) : se; + } + const Ut = (ee) => ee instanceof ct ? { ...ee } : ee; + function Ln(ee, se) { + se = se || {}; + const pe = /* @__PURE__ */ Object.create(null); + function ge(Ve, Ke, et, tt) { + return G.isPlainObject(Ve) && G.isPlainObject(Ke) ? G.merge.call({ caseless: tt }, Ve, Ke) : G.isPlainObject(Ke) ? G.merge({}, Ke) : G.isArray(Ke) ? Ke.slice() : Ke; + } + function Me(Ve, Ke, et, tt) { + return G.isUndefined(Ke) ? G.isUndefined(Ve) ? void 0 : ge(void 0, Ve, 0, tt) : ge(Ve, Ke, 0, tt); + } + function Ae(Ve, Ke) { + if (!G.isUndefined(Ke)) return ge(void 0, Ke); + } + function Pe(Ve, Ke) { + return G.isUndefined(Ke) ? G.isUndefined(Ve) ? void 0 : ge(void 0, Ve) : ge(void 0, Ke); + } + function ke(Ve, Ke, et) { + return G.hasOwnProp(se, et) ? ge(Ve, Ke) : G.hasOwnProp(ee, et) ? ge(void 0, Ve) : void 0; + } + Object.defineProperty(pe, "hasOwnProperty", { value: Object.prototype.hasOwnProperty, enumerable: !1, writable: !0, configurable: !0 }); + const Je = { url: Ae, method: Ae, data: Ae, baseURL: Pe, transformRequest: Pe, transformResponse: Pe, paramsSerializer: Pe, timeout: Pe, timeoutMessage: Pe, withCredentials: Pe, withXSRFToken: Pe, adapter: Pe, responseType: Pe, xsrfCookieName: Pe, xsrfHeaderName: Pe, onUploadProgress: Pe, onDownloadProgress: Pe, decompress: Pe, maxContentLength: Pe, maxBodyLength: Pe, beforeRedirect: Pe, transport: Pe, httpAgent: Pe, httpsAgent: Pe, cancelToken: Pe, socketPath: Pe, allowedSocketPaths: Pe, responseEncoding: Pe, validateStatus: ke, headers: (Ve, Ke, et) => Me(Ut(Ve), Ut(Ke), 0, !0) }; + return G.forEach(Object.keys({ ...ee, ...se }), function(Ve) { + if (Ve === "__proto__" || Ve === "constructor" || Ve === "prototype") return; + const Ke = G.hasOwnProp(Je, Ve) ? Je[Ve] : Me, et = Ke(G.hasOwnProp(ee, Ve) ? ee[Ve] : void 0, G.hasOwnProp(se, Ve) ? se[Ve] : void 0, Ve); + G.isUndefined(et) && Ke !== ke || (pe[Ve] = et); + }), pe; + } + var Ft = (ee) => { + const se = Ln({}, ee), pe = (tt) => G.hasOwnProp(se, tt) ? se[tt] : void 0, ge = pe("data"); + let Me = pe("withXSRFToken"); + const Ae = pe("xsrfHeaderName"), Pe = pe("xsrfCookieName"); + let ke = pe("headers"); + const Je = pe("auth"), Ve = pe("baseURL"), Ke = pe("allowAbsoluteUrls"), et = pe("url"); + if (se.headers = ke = ct.from(ke), se.url = ve(Vt(Ve, et, Ke), ee.params, ee.paramsSerializer), Je && ke.set("Authorization", "Basic " + btoa((Je.username || "") + ":" + (Je.password ? unescape(encodeURIComponent(Je.password)) : ""))), G.isFormData(ge)) { + if (he.hasStandardBrowserEnv || he.hasStandardBrowserWebWorkerEnv) ke.setContentType(void 0); + else if (G.isFunction(ge.getHeaders)) { + const tt = ge.getHeaders(), ut = ["content-type", "content-length"]; + Object.entries(tt).forEach(([$e, Ge]) => { + ut.includes($e.toLowerCase()) && ke.set($e, Ge); + }); + } + } + if (he.hasStandardBrowserEnv && (G.isFunction(Me) && (Me = Me(se)), Me === !0 || Me == null && Mt(se.url))) { + const tt = Ae && Pe && kr.read(Pe); + tt && ke.set(Ae, tt); + } + return se; + }, Jt = typeof XMLHttpRequest < "u" && function(ee) { + return new Promise(function(se, pe) { + const ge = Ft(ee); + let Me = ge.data; + const Ae = ct.from(ge.headers).normalize(); + let Pe, ke, Je, Ve, Ke, { responseType: et, onUploadProgress: tt, onDownloadProgress: ut } = ge; + function $e() { + Ve && Ve(), Ke && Ke(), ge.cancelToken && ge.cancelToken.unsubscribe(Pe), ge.signal && ge.signal.removeEventListener("abort", Pe); + } + let Ge = new XMLHttpRequest(); + function bt() { + if (!Ge) return; + const wt = ct.from("getAllResponseHeaders" in Ge && Ge.getAllResponseHeaders()); + gt(function(jt) { + se(jt), $e(); + }, function(jt) { + pe(jt), $e(); + }, { data: et && et !== "text" && et !== "json" ? Ge.response : Ge.responseText, status: Ge.status, statusText: Ge.statusText, headers: wt, config: ee, request: Ge }), Ge = null; + } + Ge.open(ge.method.toUpperCase(), ge.url, !0), Ge.timeout = ge.timeout, "onloadend" in Ge ? Ge.onloadend = bt : Ge.onreadystatechange = function() { + Ge && Ge.readyState === 4 && (Ge.status !== 0 || Ge.responseURL && Ge.responseURL.indexOf("file:") === 0) && setTimeout(bt); + }, Ge.onabort = function() { + Ge && (pe(new ie("Request aborted", ie.ECONNABORTED, ee, Ge)), Ge = null); + }, Ge.onerror = function(wt) { + const jt = wt && wt.message ? wt.message : "Network Error", bo = new ie(jt, ie.ERR_NETWORK, ee, Ge); + bo.event = wt || null, pe(bo), Ge = null; + }, Ge.ontimeout = function() { + let wt = ge.timeout ? "timeout of " + ge.timeout + "ms exceeded" : "timeout exceeded"; + const jt = ge.transitional || Ie; + ge.timeoutErrorMessage && (wt = ge.timeoutErrorMessage), pe(new ie(wt, jt.clarifyTimeoutError ? ie.ETIMEDOUT : ie.ECONNABORTED, ee, Ge)), Ge = null; + }, Me === void 0 && Ae.setContentType(null), "setRequestHeader" in Ge && G.forEach(Ae.toJSON(), function(wt, jt) { + Ge.setRequestHeader(jt, wt); + }), G.isUndefined(ge.withCredentials) || (Ge.withCredentials = !!ge.withCredentials), et && et !== "json" && (Ge.responseType = ge.responseType), ut && ([Je, Ke] = Fe(ut, !0), Ge.addEventListener("progress", Je)), tt && Ge.upload && ([ke, Ve] = Fe(tt), Ge.upload.addEventListener("progress", ke), Ge.upload.addEventListener("loadend", Ve)), (ge.cancelToken || ge.signal) && (Pe = (wt) => { + Ge && (pe(!wt || wt.type ? new $t(null, ee, Ge) : wt), Ge.abort(), Ge = null); + }, ge.cancelToken && ge.cancelToken.subscribe(Pe), ge.signal && (ge.signal.aborted ? Pe() : ge.signal.addEventListener("abort", Pe))); + const Zt = function(wt) { + const jt = /^([-+\w]{1,25})(:?\/\/|:)/.exec(wt); + return jt && jt[1] || ""; }(ge.url); - Zt && Be.protocols.indexOf(Zt) === -1 ? he(new ie("Unsupported protocol " + Zt + ":", ie.ERR_BAD_REQUEST, Y)) : nt.send(_e || null); + Zt && he.protocols.indexOf(Zt) === -1 ? pe(new ie("Unsupported protocol " + Zt + ":", ie.ERR_BAD_REQUEST, ee)) : Ge.send(Me || null); }); - }, mt = (Y, ae) => { - const { length: he } = Y = Y ? Y.filter(Boolean) : []; - if (ae || he) { - let ge, _e = new AbortController(); - const Ee = function(Fe) { + }; + const vr = (ee, se) => { + const { length: pe } = ee = ee ? ee.filter(Boolean) : []; + if (se || pe) { + let ge, Me = new AbortController(); + const Ae = function(Ve) { if (!ge) { - ge = !0, ze(); - const Je = Fe instanceof Error ? Fe : this.reason; - _e.abort(Je instanceof ie ? Je : new $e(Je instanceof Error ? Je.message : Je)); + ge = !0, ke(); + const Ke = Ve instanceof Error ? Ve : this.reason; + Me.abort(Ke instanceof ie ? Ke : new $t(Ke instanceof Error ? Ke.message : Ke)); } }; - let Me = ae && setTimeout(() => { - Me = null, Ee(new ie(`timeout ${ae} of ms exceeded`, ie.ETIMEDOUT)); - }, ae); - const ze = () => { - Y && (Me && clearTimeout(Me), Me = null, Y.forEach((Fe) => { - Fe.unsubscribe ? Fe.unsubscribe(Ee) : Fe.removeEventListener("abort", Ee); - }), Y = null); + let Pe = se && setTimeout(() => { + Pe = null, Ae(new ie(`timeout of ${se}ms exceeded`, ie.ETIMEDOUT)); + }, se); + const ke = () => { + ee && (Pe && clearTimeout(Pe), Pe = null, ee.forEach((Ve) => { + Ve.unsubscribe ? Ve.unsubscribe(Ae) : Ve.removeEventListener("abort", Ae); + }), ee = null); }; - Y.forEach((Fe) => Fe.addEventListener("abort", Ee)); - const { signal: Ge } = _e; - return Ge.unsubscribe = () => ce.asap(ze), Ge; - } - }; - const Lt = function* (Y, ae) { - let he = Y.byteLength; - if (he < ae) return void (yield Y); - let ge, _e = 0; - for (; _e < he; ) ge = _e + ae, yield Y.slice(_e, ge), _e = ge; - }, et = (Y, ae, he, ge) => { - const _e = async function* (Ge, Fe) { - for await (const Je of async function* (rt) { - if (rt[Symbol.asyncIterator]) return void (yield* rt); - const Qe = rt.getReader(); + ee.forEach((Ve) => Ve.addEventListener("abort", Ae)); + const { signal: Je } = Me; + return Je.unsubscribe = () => G.asap(ke), Je; + } + }, qt = function* (ee, se) { + let pe = ee.byteLength; + if (pe < se) return void (yield ee); + let ge, Me = 0; + for (; Me < pe; ) ge = Me + se, yield ee.slice(Me, ge), Me = ge; + }, Gt = (ee, se, pe, ge) => { + const Me = async function* (Je, Ve) { + for await (const Ke of async function* (et) { + if (et[Symbol.asyncIterator]) return void (yield* et); + const tt = et.getReader(); try { for (; ; ) { - const { done: yt, value: ft } = await Qe.read(); - if (yt) break; - yield ft; + const { done: ut, value: $e } = await tt.read(); + if (ut) break; + yield $e; } } finally { - await Qe.cancel(); + await tt.cancel(); } - }(Ge)) yield* Lt(Je, Fe); - }(Y, ae); - let Ee, Me = 0, ze = (Ge) => { - Ee || (Ee = !0, ge && ge(Ge)); + }(Je)) yield* qt(Ke, Ve); + }(ee, se); + let Ae, Pe = 0, ke = (Je) => { + Ae || (Ae = !0, ge && ge(Je)); }; - return new ReadableStream({ async pull(Ge) { + return new ReadableStream({ async pull(Je) { try { - const { done: Fe, value: Je } = await _e.next(); - if (Fe) return ze(), void Ge.close(); - let rt = Je.byteLength; - if (he) { - let Qe = Me += rt; - he(Qe); + const { done: Ve, value: Ke } = await Me.next(); + if (Ve) return ke(), void Je.close(); + let et = Ke.byteLength; + if (pe) { + let tt = Pe += et; + pe(tt); } - Ge.enqueue(new Uint8Array(Je)); - } catch (Fe) { - throw ze(Fe), Fe; - } - }, cancel: (Ge) => (ze(Ge), _e.return()) }, { highWaterMark: 2 }); - }, lt = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", xt = lt && typeof ReadableStream == "function", Rt = lt && (typeof TextEncoder == "function" ? (Cr = new TextEncoder(), (Y) => Cr.encode(Y)) : async (Y) => new Uint8Array(await new Response(Y).arrayBuffer())); - var Cr; - const _r = (Y, ...ae) => { + Je.enqueue(new Uint8Array(Ke)); + } catch (Ve) { + throw ke(Ve), Ve; + } + }, cancel: (Je) => (ke(Je), Me.return()) }, { highWaterMark: 2 }); + }, { isFunction: br } = G, Wo = (({ Request: ee, Response: se }) => ({ Request: ee, Response: se }))(G.global), { ReadableStream: co, TextEncoder: uo } = G.global, lo = (ee, ...se) => { try { - return !!Y(...ae); + return !!ee(...se); } catch { return !1; } - }, Nr = xt && _r(() => { - let Y = !1; - const ae = new Request(Be.origin, { body: new ReadableStream(), method: "POST", get duplex() { - return Y = !0, "half"; - } }).headers.has("Content-Type"); - return Y && !ae; - }), pr = xt && _r(() => ce.isReadableStream(new Response("").body)), nr = { stream: pr && ((Y) => Y.body) }; - var Sr; - lt && (Sr = new Response(), ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((Y) => { - !nr[Y] && (nr[Y] = ce.isFunction(Sr[Y]) ? (ae) => ae[Y]() : (ae, he) => { - throw new ie(`Response type '${Y}' is not supported`, ie.ERR_NOT_SUPPORT, he); - }); - })); - const Mr = { http: null, xhr: tt, fetch: lt && (async (Y) => { - let { url: ae, method: he, data: ge, signal: _e, cancelToken: Ee, timeout: Me, onDownloadProgress: ze, onUploadProgress: Ge, responseType: Fe, headers: Je, withCredentials: rt = "same-origin", fetchOptions: Qe } = Tt(Y); - Fe = Fe ? (Fe + "").toLowerCase() : "text"; - let yt, ft = mt([_e, Ee && Ee.toAbortSignal()], Me); - const nt = ft && ft.unsubscribe && (() => { - ft.unsubscribe(); - }); - let Jt; - try { - if (Ge && Nr && he !== "get" && he !== "head" && (Jt = await (async (dn, fn) => { - const Fn = ce.toFiniteNumber(dn.getContentLength()); - return Fn ?? (async (rr) => rr == null ? 0 : ce.isBlob(rr) ? rr.size : ce.isSpecCompliantForm(rr) ? (await new Request(Be.origin, { method: "POST", body: rr }).arrayBuffer()).byteLength : ce.isArrayBufferView(rr) || ce.isArrayBuffer(rr) ? rr.byteLength : (ce.isURLSearchParams(rr) && (rr += ""), ce.isString(rr) ? (await Rt(rr)).byteLength : void 0))(fn); - })(Je, ge)) !== 0) { - let dn, fn = new Request(ae, { method: "POST", body: ge, duplex: "half" }); - if (ce.isFormData(ge) && (dn = fn.headers.get("content-type")) && Je.setContentType(dn), fn.body) { - const [Fn, rr] = it(Jt, We(bt(Ge))); - ge = et(fn.body, 65536, Fn, rr); + }, Jo = (ee) => { + ee = G.merge.call({ skipUndefined: !0 }, Wo, ee); + const { fetch: se, Request: pe, Response: ge } = ee, Me = se ? br(se) : typeof fetch == "function", Ae = br(pe), Pe = br(ge); + if (!Me) return !1; + const ke = Me && br(co), Je = Me && (typeof uo == "function" ? (Ve = new uo(), (ut) => Ve.encode(ut)) : async (ut) => new Uint8Array(await new pe(ut).arrayBuffer())); + var Ve; + const Ke = Ae && ke && lo(() => { + let ut = !1; + const $e = new pe(he.origin, { body: new co(), method: "POST", get duplex() { + return ut = !0, "half"; + } }), Ge = $e.headers.has("Content-Type"); + return $e.body != null && $e.body.cancel(), ut && !Ge; + }), et = Pe && ke && lo(() => G.isReadableStream(new ge("").body)), tt = { stream: et && ((ut) => ut.body) }; + return Me && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((ut) => { + !tt[ut] && (tt[ut] = ($e, Ge) => { + let bt = $e && $e[ut]; + if (bt) return bt.call($e); + throw new ie(`Response type '${ut}' is not supported`, ie.ERR_NOT_SUPPORT, Ge); + }); + }), async (ut) => { + let { url: $e, method: Ge, data: bt, signal: Zt, cancelToken: wt, timeout: jt, onDownloadProgress: bo, onUploadProgress: Zu, responseType: Sr, headers: qo, withCredentials: Di = "same-origin", fetchOptions: Yu } = Ft(ut), Xu = se || fetch; + Sr = Sr ? (Sr + "").toLowerCase() : "text"; + let Vi = vr([Zt, wt && wt.toAbortSignal()], jt), Zo = null; + const Dr = Vi && Vi.unsubscribe && (() => { + Vi.unsubscribe(); + }); + let Qu; + try { + if (Zu && Ke && Ge !== "get" && Ge !== "head" && (Qu = await (async (On, sr) => { + const wo = G.toFiniteNumber(On.getContentLength()); + return wo ?? (async (an) => an == null ? 0 : G.isBlob(an) ? an.size : G.isSpecCompliantForm(an) ? (await new pe(he.origin, { method: "POST", body: an }).arrayBuffer()).byteLength : G.isArrayBufferView(an) || G.isArrayBuffer(an) ? an.byteLength : (G.isURLSearchParams(an) && (an += ""), G.isString(an) ? (await Je(an)).byteLength : void 0))(sr); + })(qo, bt)) !== 0) { + let On, sr = new pe($e, { method: "POST", body: bt, duplex: "half" }); + if (G.isFormData(bt) && (On = sr.headers.get("content-type")) && qo.setContentType(On), sr.body) { + const [wo, an] = mt(Qu, Fe(ht(Zu))); + bt = Gt(sr.body, 65536, wo, an); + } } - } - ce.isString(rt) || (rt = rt ? "include" : "omit"); - const Zt = "credentials" in Request.prototype; - yt = new Request(ae, { ...Qe, signal: ft, method: he.toUpperCase(), headers: Je.normalize().toJSON(), body: ge, duplex: "half", credentials: Zt ? rt : void 0 }); - let Gt = await fetch(yt); - const Rr = pr && (Fe === "stream" || Fe === "response"); - if (pr && (ze || Rr && nt)) { - const dn = {}; - ["status", "statusText", "headers"].forEach((ha) => { - dn[ha] = Gt[ha]; + G.isString(Di) || (Di = Di ? "include" : "omit"); + const _n = Ae && "credentials" in pe.prototype; + if (G.isFormData(bt)) { + const On = qo.getContentType(); + On && /^multipart\/form-data/i.test(On) && !/boundary=/i.test(On) && qo.delete("content-type"); + } + const e0 = { ...Yu, signal: Vi, method: Ge.toUpperCase(), headers: qo.normalize().toJSON(), body: bt, duplex: "half", credentials: _n ? Di : void 0 }; + Zo = Ae && new pe($e, e0); + let _r = await (Ae ? Xu(Zo, Yu) : Xu($e, e0)); + const t0 = et && (Sr === "stream" || Sr === "response"); + if (et && (bo || t0 && Dr)) { + const On = {}; + ["status", "statusText", "headers"].forEach((vs) => { + On[vs] = _r[vs]; + }); + const sr = G.toFiniteNumber(_r.headers.get("content-length")), [wo, an] = bo && mt(sr, Fe(ht(bo), !0)) || []; + _r = new ge(Gt(_r.body, 65536, wo, () => { + an && an(), Dr && Dr(); + }), On); + } + Sr = Sr || "text"; + let ch = await tt[G.findKey(tt, Sr) || "text"](_r, ut); + return !t0 && Dr && Dr(), await new Promise((On, sr) => { + gt(On, sr, { data: ch, headers: ct.from(_r.headers), status: _r.status, statusText: _r.statusText, config: ut, request: Zo }); }); - const fn = ce.toFiniteNumber(Gt.headers.get("content-length")), [Fn, rr] = ze && it(fn, We(bt(ze), !0)) || []; - Gt = new Response(et(Gt.body, 65536, Fn, () => { - rr && rr(), nt && nt(); - }), dn); - } - Fe = Fe || "text"; - let Qd = await nr[ce.findKey(nr, Fe) || "text"](Gt, Y); - return !Rr && nt && nt(), await new Promise((dn, fn) => { - ct(dn, fn, { data: Qd, headers: He.from(Gt.headers), status: Gt.status, statusText: Gt.statusText, config: Y, request: yt }); - }); - } catch (Zt) { - throw nt && nt(), Zt && Zt.name === "TypeError" && /fetch/i.test(Zt.message) ? Object.assign(new ie("Network Error", ie.ERR_NETWORK, Y, yt), { cause: Zt.cause || Zt }) : ie.from(Zt, Zt && Zt.code, Y, yt); - } - }) }; - ce.forEach(Mr, (Y, ae) => { - if (Y) { + } catch (_n) { + throw Dr && Dr(), _n && _n.name === "TypeError" && /Load failed|fetch/i.test(_n.message) ? Object.assign(new ie("Network Error", ie.ERR_NETWORK, ut, Zo, _n && _n.response), { cause: _n.cause || _n }) : ie.from(_n, _n && _n.code, ut, Zo, _n && _n.response); + } + }; + }, $o = /* @__PURE__ */ new Map(), fo = (ee) => { + let se = ee && ee.env || {}; + const { fetch: pe, Request: ge, Response: Me } = se, Ae = [ge, Me, pe]; + let Pe, ke, Je = Ae.length, Ve = $o; + for (; Je--; ) Pe = Ae[Je], ke = Ve.get(Pe), ke === void 0 && Ve.set(Pe, ke = Je ? /* @__PURE__ */ new Map() : Jo(se)), Ve = ke; + return ke; + }; + fo(); + const po = { http: null, xhr: Jt, fetch: { get: fo } }; + G.forEach(po, (ee, se) => { + if (ee) { try { - Object.defineProperty(Y, "name", { value: ae }); + Object.defineProperty(ee, "name", { value: se }); } catch { } - Object.defineProperty(Y, "adapterName", { value: ae }); + Object.defineProperty(ee, "adapterName", { value: se }); } }); - const xr = (Y) => `- ${Y}`, Lr = (Y) => ce.isFunction(Y) || Y === null || Y === !1; - var Er = (Y) => { - Y = ce.isArray(Y) ? Y : [Y]; - const { length: ae } = Y; - let he, ge; - const _e = {}; - for (let Ee = 0; Ee < ae; Ee++) { - let Me; - if (he = Y[Ee], ge = he, !Lr(he) && (ge = Mr[(Me = String(he)).toLowerCase()], ge === void 0)) throw new ie(`Unknown adapter '${Me}'`); - if (ge) break; - _e[Me || "#" + Ee] = ge; - } - if (!ge) { - const Ee = Object.entries(_e).map(([Me, ze]) => `adapter ${Me} ` + (ze === !1 ? "is not supported by the environment" : "is not available in the build")); - throw new ie("There is no suitable adapter to dispatch the request " + (ae ? Ee.length > 1 ? `since : -` + Ee.map(xr).join(` -`) : " " + xr(Ee[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT"); - } - return ge; + const ho = (ee) => `- ${ee}`, Go = (ee) => G.isFunction(ee) || ee === null || ee === !1; + var yo = function(ee, se) { + ee = G.isArray(ee) ? ee : [ee]; + const { length: pe } = ee; + let ge, Me; + const Ae = {}; + for (let Pe = 0; Pe < pe; Pe++) { + let ke; + if (ge = ee[Pe], Me = ge, !Go(ge) && (Me = po[(ke = String(ge)).toLowerCase()], Me === void 0)) throw new ie(`Unknown adapter '${ke}'`); + if (Me && (G.isFunction(Me) || (Me = Me.get(se)))) break; + Ae[ke || "#" + Pe] = Me; + } + if (!Me) { + const Pe = Object.entries(Ae).map(([Je, Ve]) => `adapter ${Je} ` + (Ve === !1 ? "is not supported by the environment" : "is not available in the build")); + let ke = pe ? Pe.length > 1 ? `since : +` + Pe.map(ho).join(` +`) : " " + ho(Pe[0]) : "as no adapter specified"; + throw new ie("There is no suitable adapter to dispatch the request " + ke, "ERR_NOT_SUPPORT"); + } + return Me; }; - function mr(Y) { - if (Y.cancelToken && Y.cancelToken.throwIfRequested(), Y.signal && Y.signal.aborted) throw new $e(null, Y); - } - function Pr(Y) { - return mr(Y), Y.headers = He.from(Y.headers), Y.data = qe.call(Y, Y.transformRequest), ["post", "put", "patch"].indexOf(Y.method) !== -1 && Y.headers.setContentType("application/x-www-form-urlencoded", !1), Er(Y.adapter || le.adapter)(Y).then(function(ae) { - return mr(Y), ae.data = qe.call(Y, Y.transformResponse, ae), ae.headers = He.from(ae.headers), ae; - }, function(ae) { - return Ue(ae) || (mr(Y), ae && ae.response && (ae.response.data = qe.call(Y, Y.transformResponse, ae.response), ae.response.headers = He.from(ae.response.headers))), Promise.reject(ae); + function Hr(ee) { + if (ee.cancelToken && ee.cancelToken.throwIfRequested(), ee.signal && ee.signal.aborted) throw new $t(null, ee); + } + function mo(ee) { + return Hr(ee), ee.headers = ct.from(ee.headers), ee.data = ot.call(ee, ee.transformRequest), ["post", "put", "patch"].indexOf(ee.method) !== -1 && ee.headers.setContentType("application/x-www-form-urlencoded", !1), yo(ee.adapter || Re.adapter, ee)(ee).then(function(se) { + return Hr(ee), se.data = ot.call(ee, ee.transformResponse, se), se.headers = ct.from(se.headers), se; + }, function(se) { + return dt(se) || (Hr(ee), se && se.response && (se.response.data = ot.call(ee, ee.transformResponse, se.response), se.response.headers = ct.from(se.response.headers))), Promise.reject(se); }); } - const or = {}; - ["object", "boolean", "number", "function", "string", "symbol"].forEach((Y, ae) => { - or[Y] = function(he) { - return typeof he === Y || "a" + (ae < 1 ? "n " : " ") + Y; + const go = "1.15.2", wr = {}; + ["object", "boolean", "number", "function", "string", "symbol"].forEach((ee, se) => { + wr[ee] = function(pe) { + return typeof pe === ee || "a" + (se < 1 ? "n " : " ") + ee; }; }); - const Ar = {}; - or.transitional = function(Y, ae, he) { - function ge(_e, Ee) { - return "[Axios v1.8.4] Transitional option '" + _e + "'" + Ee + (he ? ". " + he : ""); - } - return (_e, Ee, Me) => { - if (Y === !1) throw new ie(ge(Ee, " has been removed" + (ae ? " in " + ae : "")), ie.ERR_DEPRECATED); - return ae && !Ar[Ee] && (Ar[Ee] = !0, console.warn(ge(Ee, " has been deprecated since v" + ae + " and will be removed in the near future"))), !Y || Y(_e, Ee, Me); + const vo = {}; + wr.transitional = function(ee, se, pe) { + function ge(Me, Ae) { + return "[Axios v" + go + "] Transitional option '" + Me + "'" + Ae + (pe ? ". " + pe : ""); + } + return (Me, Ae, Pe) => { + if (ee === !1) throw new ie(ge(Ae, " has been removed" + (se ? " in " + se : "")), ie.ERR_DEPRECATED); + return se && !vo[Ae] && (vo[Ae] = !0, console.warn(ge(Ae, " has been deprecated since v" + se + " and will be removed in the near future"))), !ee || ee(Me, Ae, Pe); }; - }, or.spelling = function(Y) { - return (ae, he) => (console.warn(`${he} is likely a misspelling of ${Y}`), !0); + }, wr.spelling = function(ee) { + return (se, pe) => (console.warn(`${pe} is likely a misspelling of ${ee}`), !0); }; - var ir = { assertOptions: function(Y, ae, he) { - if (typeof Y != "object") throw new ie("options must be an object", ie.ERR_BAD_OPTION_VALUE); - const ge = Object.keys(Y); - let _e = ge.length; - for (; _e-- > 0; ) { - const Ee = ge[_e], Me = ae[Ee]; - if (Me) { - const ze = Y[Ee], Ge = ze === void 0 || Me(ze, Ee, Y); - if (Ge !== !0) throw new ie("option " + Ee + " must be " + Ge, ie.ERR_BAD_OPTION_VALUE); - } else if (he !== !0) throw new ie("Unknown option " + Ee, ie.ERR_BAD_OPTION); - } - }, validators: or }; - const $t = ir.validators; - class ar { - constructor(ae) { - this.defaults = ae, this.interceptors = { request: new pe(), response: new pe() }; - } - async request(ae, he) { + var Cr = { assertOptions: function(ee, se, pe) { + if (typeof ee != "object") throw new ie("options must be an object", ie.ERR_BAD_OPTION_VALUE); + const ge = Object.keys(ee); + let Me = ge.length; + for (; Me-- > 0; ) { + const Ae = ge[Me], Pe = Object.prototype.hasOwnProperty.call(se, Ae) ? se[Ae] : void 0; + if (Pe) { + const ke = ee[Ae], Je = ke === void 0 || Pe(ke, Ae, ee); + if (Je !== !0) throw new ie("option " + Ae + " must be " + Je, ie.ERR_BAD_OPTION_VALUE); + continue; + } + if (pe !== !0) throw new ie("Unknown option " + Ae, ie.ERR_BAD_OPTION); + } + }, validators: wr }; + const ln = Cr.validators; + class jr { + constructor(se) { + this.defaults = se || {}, this.interceptors = { request: new Ee(), response: new Ee() }; + } + async request(se, pe) { try { - return await this._request(ae, he); + return await this._request(se, pe); } catch (ge) { if (ge instanceof Error) { - let _e = {}; - Error.captureStackTrace ? Error.captureStackTrace(_e) : _e = new Error(); - const Ee = _e.stack ? _e.stack.replace(/^.+\n/, "") : ""; + let Me = {}; + Error.captureStackTrace ? Error.captureStackTrace(Me) : Me = new Error(); + const Ae = (() => { + if (!Me.stack) return ""; + const Pe = Me.stack.indexOf(` +`); + return Pe === -1 ? "" : Me.stack.slice(Pe + 1); + })(); try { - ge.stack ? Ee && !String(ge.stack).endsWith(Ee.replace(/^.+\n.+\n/, "")) && (ge.stack += ` -` + Ee) : ge.stack = Ee; + if (ge.stack) { + if (Ae) { + const Pe = Ae.indexOf(` +`), ke = Pe === -1 ? -1 : Ae.indexOf(` +`, Pe + 1), Je = ke === -1 ? "" : Ae.slice(ke + 1); + String(ge.stack).endsWith(Je) || (ge.stack += ` +` + Ae); + } + } else ge.stack = Ae; } catch { } } throw ge; } } - _request(ae, he) { - typeof ae == "string" ? (he = he || {}).url = ae : he = ae || {}, he = at(this.defaults, he); - const { transitional: ge, paramsSerializer: _e, headers: Ee } = he; - ge !== void 0 && ir.assertOptions(ge, { silentJSONParsing: $t.transitional($t.boolean), forcedJSONParsing: $t.transitional($t.boolean), clarifyTimeoutError: $t.transitional($t.boolean) }, !1), _e != null && (ce.isFunction(_e) ? he.paramsSerializer = { serialize: _e } : ir.assertOptions(_e, { encode: $t.function, serialize: $t.function }, !0)), he.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? he.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : he.allowAbsoluteUrls = !0), ir.assertOptions(he, { baseUrl: $t.spelling("baseURL"), withXsrfToken: $t.spelling("withXSRFToken") }, !0), he.method = (he.method || this.defaults.method || "get").toLowerCase(); - let Me = Ee && ce.merge(Ee.common, Ee[he.method]); - Ee && ce.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (ft) => { - delete Ee[ft]; - }), he.headers = He.concat(Me, Ee); - const ze = []; - let Ge = !0; - this.interceptors.request.forEach(function(ft) { - typeof ft.runWhen == "function" && ft.runWhen(he) === !1 || (Ge = Ge && ft.synchronous, ze.unshift(ft.fulfilled, ft.rejected)); + _request(se, pe) { + typeof se == "string" ? (pe = pe || {}).url = se : pe = se || {}, pe = Ln(this.defaults, pe); + const { transitional: ge, paramsSerializer: Me, headers: Ae } = pe; + ge !== void 0 && Cr.assertOptions(ge, { silentJSONParsing: ln.transitional(ln.boolean), forcedJSONParsing: ln.transitional(ln.boolean), clarifyTimeoutError: ln.transitional(ln.boolean), legacyInterceptorReqResOrdering: ln.transitional(ln.boolean) }, !1), Me != null && (G.isFunction(Me) ? pe.paramsSerializer = { serialize: Me } : Cr.assertOptions(Me, { encode: ln.function, serialize: ln.function }, !0)), pe.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? pe.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : pe.allowAbsoluteUrls = !0), Cr.assertOptions(pe, { baseUrl: ln.spelling("baseURL"), withXsrfToken: ln.spelling("withXSRFToken") }, !0), pe.method = (pe.method || this.defaults.method || "get").toLowerCase(); + let Pe = Ae && G.merge(Ae.common, Ae[pe.method]); + Ae && G.forEach(["delete", "get", "head", "post", "put", "patch", "common"], ($e) => { + delete Ae[$e]; + }), pe.headers = ct.concat(Pe, Ae); + const ke = []; + let Je = !0; + this.interceptors.request.forEach(function($e) { + if (typeof $e.runWhen == "function" && $e.runWhen(pe) === !1) return; + Je = Je && $e.synchronous; + const Ge = pe.transitional || Ie; + Ge && Ge.legacyInterceptorReqResOrdering ? ke.unshift($e.fulfilled, $e.rejected) : ke.push($e.fulfilled, $e.rejected); }); - const Fe = []; - let Je; - this.interceptors.response.forEach(function(ft) { - Fe.push(ft.fulfilled, ft.rejected); + const Ve = []; + let Ke; + this.interceptors.response.forEach(function($e) { + Ve.push($e.fulfilled, $e.rejected); }); - let rt, Qe = 0; - if (!Ge) { - const ft = [Pr.bind(this), void 0]; - for (ft.unshift.apply(ft, ze), ft.push.apply(ft, Fe), rt = ft.length, Je = Promise.resolve(he); Qe < rt; ) Je = Je.then(ft[Qe++], ft[Qe++]); - return Je; - } - rt = ze.length; - let yt = he; - for (Qe = 0; Qe < rt; ) { - const ft = ze[Qe++], nt = ze[Qe++]; + let et, tt = 0; + if (!Je) { + const $e = [mo.bind(this), void 0]; + for ($e.unshift(...ke), $e.push(...Ve), et = $e.length, Ke = Promise.resolve(pe); tt < et; ) Ke = Ke.then($e[tt++], $e[tt++]); + return Ke; + } + et = ke.length; + let ut = pe; + for (; tt < et; ) { + const $e = ke[tt++], Ge = ke[tt++]; try { - yt = ft(yt); - } catch (Jt) { - nt.call(this, Jt); + ut = $e(ut); + } catch (bt) { + Ge.call(this, bt); break; } } try { - Je = Pr.call(this, yt); - } catch (ft) { - return Promise.reject(ft); + Ke = mo.call(this, ut); + } catch ($e) { + return Promise.reject($e); } - for (Qe = 0, rt = Fe.length; Qe < rt; ) Je = Je.then(Fe[Qe++], Fe[Qe++]); - return Je; + for (tt = 0, et = Ve.length; tt < et; ) Ke = Ke.then(Ve[tt++], Ve[tt++]); + return Ke; } - getUri(ae) { - return re(Mt((ae = at(this.defaults, ae)).baseURL, ae.url, ae.allowAbsoluteUrls), ae.params, ae.paramsSerializer); + getUri(se) { + return ve(Vt((se = Ln(this.defaults, se)).baseURL, se.url, se.allowAbsoluteUrls), se.params, se.paramsSerializer); } } - ce.forEach(["delete", "get", "head", "options"], function(Y) { - ar.prototype[Y] = function(ae, he) { - return this.request(at(he || {}, { method: Y, url: ae, data: (he || {}).data })); + G.forEach(["delete", "get", "head", "options"], function(ee) { + jr.prototype[ee] = function(se, pe) { + return this.request(Ln(pe || {}, { method: ee, url: se, data: (pe || {}).data })); }; - }), ce.forEach(["post", "put", "patch"], function(Y) { - function ae(he) { - return function(ge, _e, Ee) { - return this.request(at(Ee || {}, { method: Y, headers: he ? { "Content-Type": "multipart/form-data" } : {}, url: ge, data: _e })); + }), G.forEach(["post", "put", "patch"], function(ee) { + function se(pe) { + return function(ge, Me, Ae) { + return this.request(Ln(Ae || {}, { method: ee, headers: pe ? { "Content-Type": "multipart/form-data" } : {}, url: ge, data: Me })); }; } - ar.prototype[Y] = ae(), ar.prototype[Y + "Form"] = ae(!0); + jr.prototype[ee] = se(), jr.prototype[ee + "Form"] = se(!0); }); - var vn = ar; - class xn { - constructor(ae) { - if (typeof ae != "function") throw new TypeError("executor must be a function."); - let he; - this.promise = new Promise(function(_e) { - he = _e; + class ms { + constructor(se) { + if (typeof se != "function") throw new TypeError("executor must be a function."); + let pe; + this.promise = new Promise(function(Me) { + pe = Me; }); const ge = this; - this.promise.then((_e) => { + this.promise.then((Me) => { if (!ge._listeners) return; - let Ee = ge._listeners.length; - for (; Ee-- > 0; ) ge._listeners[Ee](_e); + let Ae = ge._listeners.length; + for (; Ae-- > 0; ) ge._listeners[Ae](Me); ge._listeners = null; - }), this.promise.then = (_e) => { - let Ee; - const Me = new Promise((ze) => { - ge.subscribe(ze), Ee = ze; - }).then(_e); - return Me.cancel = function() { - ge.unsubscribe(Ee); - }, Me; - }, ae(function(_e, Ee, Me) { - ge.reason || (ge.reason = new $e(_e, Ee, Me), he(ge.reason)); + }), this.promise.then = (Me) => { + let Ae; + const Pe = new Promise((ke) => { + ge.subscribe(ke), Ae = ke; + }).then(Me); + return Pe.cancel = function() { + ge.unsubscribe(Ae); + }, Pe; + }, se(function(Me, Ae, Pe) { + ge.reason || (ge.reason = new $t(Me, Ae, Pe), pe(ge.reason)); }); } throwIfRequested() { if (this.reason) throw this.reason; } - subscribe(ae) { - this.reason ? ae(this.reason) : this._listeners ? this._listeners.push(ae) : this._listeners = [ae]; + subscribe(se) { + this.reason ? se(this.reason) : this._listeners ? this._listeners.push(se) : this._listeners = [se]; } - unsubscribe(ae) { + unsubscribe(se) { if (!this._listeners) return; - const he = this._listeners.indexOf(ae); - he !== -1 && this._listeners.splice(he, 1); + const pe = this._listeners.indexOf(se); + pe !== -1 && this._listeners.splice(pe, 1); } toAbortSignal() { - const ae = new AbortController(), he = (ge) => { - ae.abort(ge); + const se = new AbortController(), pe = (ge) => { + se.abort(ge); }; - return this.subscribe(he), ae.signal.unsubscribe = () => this.unsubscribe(he), ae.signal; + return this.subscribe(pe), se.signal.unsubscribe = () => this.unsubscribe(pe), se.signal; } static source() { - let ae; - return { token: new xn(function(he) { - ae = he; - }), cancel: ae }; + let se; + return { token: new ms(function(pe) { + se = pe; + }), cancel: se }; } } - var Xd = xn; - const fa = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; - Object.entries(fa).forEach(([Y, ae]) => { - fa[ae] = Y; + const gs = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511, WebServerIsDown: 521, ConnectionTimedOut: 522, OriginIsUnreachable: 523, TimeoutOccurred: 524, SslHandshakeFailed: 525, InvalidSslCertificate: 526 }; + Object.entries(gs).forEach(([ee, se]) => { + gs[se] = ee; }); - var Yd = fa; - const qt = function Y(ae) { - const he = new vn(ae), ge = i(vn.prototype.request, he); - return ce.extend(ge, vn.prototype, he, { allOwnKeys: !0 }), ce.extend(ge, he, null, { allOwnKeys: !0 }), ge.create = function(_e) { - return Y(at(ae, _e)); + const Yt = function ee(se) { + const pe = new jr(se), ge = i(jr.prototype.request, pe); + return G.extend(ge, jr.prototype, pe, { allOwnKeys: !0 }), G.extend(ge, pe, null, { allOwnKeys: !0 }), ge.create = function(Me) { + return ee(Ln(se, Me)); }, ge; - }(le); - qt.Axios = vn, qt.CanceledError = $e, qt.CancelToken = Xd, qt.isCancel = Ue, qt.VERSION = "1.8.4", qt.toFormData = F, qt.AxiosError = ie, qt.Cancel = qt.CanceledError, qt.all = function(Y) { - return Promise.all(Y); - }, qt.spread = function(Y) { - return function(ae) { - return Y.apply(null, ae); + }(Re); + Yt.Axios = jr, Yt.CanceledError = $t, Yt.CancelToken = ms, Yt.isCancel = dt, Yt.VERSION = go, Yt.toFormData = re, Yt.AxiosError = ie, Yt.Cancel = Yt.CanceledError, Yt.all = function(ee) { + return Promise.all(ee); + }, Yt.spread = function(ee) { + return function(se) { + return ee.apply(null, se); }; - }, qt.isAxiosError = function(Y) { - return ce.isObject(Y) && Y.isAxiosError === !0; - }, qt.mergeConfig = at, qt.AxiosHeaders = He, qt.formToJSON = (Y) => de(ce.isHTMLForm(Y) ? new FormData(Y) : Y), qt.getAdapter = Er, qt.HttpStatusCode = Yd, qt.default = qt, x.exports = qt; - }, 9255: (x) => { - x.exports = { rE: "6.6.1" }; - } }, C = {}; - function P(x) { - var n = C[x]; + }, Yt.isAxiosError = function(ee) { + return G.isObject(ee) && ee.isAxiosError === !0; + }, Yt.mergeConfig = Ln, Yt.AxiosHeaders = ct, Yt.formToJSON = (ee) => _e(G.isHTMLForm(ee) ? new FormData(ee) : ee), Yt.getAdapter = yo, Yt.HttpStatusCode = gs, Yt.default = Yt, g.exports = Yt; + }, 1635(g, n, s) { + s.d(n, { C6: () => o, Cl: () => i, aN: () => p }); + var r = function(a, f) { + return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(C, w) { + C.__proto__ = w; + } || function(C, w) { + for (var m in w) Object.prototype.hasOwnProperty.call(w, m) && (C[m] = w[m]); + }, r(a, f); + }; + function o(a, f) { + if (typeof f != "function" && f !== null) throw new TypeError("Class extends value " + String(f) + " is not a constructor or null"); + function C() { + this.constructor = a; + } + r(a, f), a.prototype = f === null ? Object.create(f) : (C.prototype = f.prototype, new C()); + } + var i = function() { + return i = Object.assign || function(a) { + for (var f, C = 1, w = arguments.length; C < w; C++) for (var m in f = arguments[C]) Object.prototype.hasOwnProperty.call(f, m) && (a[m] = f[m]); + return a; + }, i.apply(this, arguments); + }; + function p() { + for (var a = 0, f = 0, C = arguments.length; f < C; f++) a += arguments[f].length; + var w = Array(a), m = 0; + for (f = 0; f < C; f++) for (var v = arguments[f], l = 0, u = v.length; l < u; l++, m++) w[m] = v[l]; + return w; + } + typeof SuppressedError == "function" && SuppressedError; + } }, h = {}; + function S(g) { + var n = h[g]; if (n !== void 0) return n.exports; - var c = C[x] = { id: x, loaded: !1, exports: {} }; - return g[x].call(c.exports, c, c.exports, P), c.loaded = !0, c.exports; + var s = h[g] = { id: g, loaded: !1, exports: {} }; + return c[g].call(s.exports, s, s.exports, S), s.loaded = !0, s.exports; } - return P.n = (x) => { - var n = x && x.__esModule ? () => x.default : () => x; - return P.d(n, { a: n }), n; - }, P.d = (x, n) => { - for (var c in n) P.o(n, c) && !P.o(x, c) && Object.defineProperty(x, c, { enumerable: !0, get: n[c] }); - }, P.g = function() { + return S.n = (g) => { + var n = g && g.__esModule ? () => g.default : () => g; + return S.d(n, { a: n }), n; + }, S.d = (g, n) => { + for (var s in n) S.o(n, s) && !S.o(g, s) && Object.defineProperty(g, s, { enumerable: !0, get: n[s] }); + }, S.g = function() { if (typeof globalThis == "object") return globalThis; try { return this || new Function("return this")(); } catch { if (typeof window == "object") return window; } - }(), P.o = (x, n) => Object.prototype.hasOwnProperty.call(x, n), P.r = (x) => { - typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(x, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(x, "__esModule", { value: !0 }); - }, P.nmd = (x) => (x.paths = [], x.children || (x.children = []), x), P(887); + }(), S.o = (g, n) => Object.prototype.hasOwnProperty.call(g, n), S.r = (g) => { + typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(g, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(g, "__esModule", { value: !0 }); + }, S.nmd = (g) => (g.paths = [], g.children || (g.children = []), g), S(887); })()); - }(Ma)), Ma.exports; + }(Ts)), Ts.exports; } -var Ft = B6(); -const H6 = be(ao).withConfig({ +var kt = D8(); +const V8 = xe(Ro).withConfig({ displayName: "caption-text__StyledText", componentId: "sc-39xfy6-0" })(({ theme: e, - size: o = 2 + size: t = 2 }) => ({ - fontWeight: It({ + fontWeight: xt({ 1: e.typography.fontWeight.medium, 2: e.typography.fontWeight.regular - }, o), + }, t), fontSize: "0.688rem", - lineHeight: It({ + lineHeight: xt({ 1: "1.25rem", 2: "1rem" - }, o) + }, t) })); -function mn(e) { - return /* @__PURE__ */ $(H6, { ...e }); -} -function j6(e, o, g) { - return o in e ? Object.defineProperty(e, o, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[o] = g, e; -} -function fu(e, o) { - var g = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var C = Object.getOwnPropertySymbols(e); - o && (C = C.filter(function(P) { - return Object.getOwnPropertyDescriptor(e, P).enumerable; - })), g.push.apply(g, C); - } - return g; +function pr(e) { + return /* @__PURE__ */ W(V8, { ...e }); } -function er(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o] != null ? arguments[o] : {}; - o % 2 ? fu(Object(g), !0).forEach(function(C) { - j6(e, C, g[C]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(g)) : fu(Object(g)).forEach(function(C) { - Object.defineProperty(e, C, Object.getOwnPropertyDescriptor(g, C)); - }); - } - return e; +const Gd = Ir(!0); +function si(...e) { } -function qr(e, o) { - if (e == null) return {}; - var g = {}, C = Object.keys(e), P, x; - for (x = 0; x < C.length; x++) - P = C[x], !(o.indexOf(P) >= 0) && (g[P] = e[P]); - return g; +function U8(e, t) { + return F8(e) ? e(z8(t) ? t() : t) : e; } -var Vl = /* @__PURE__ */ Wi({}); -function D6(e, o, g) { - return o in e ? Object.defineProperty(e, o, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[o] = g, e; -} -function hu(e, o) { - var g = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var C = Object.getOwnPropertySymbols(e); - o && (C = C.filter(function(P) { - return Object.getOwnPropertyDescriptor(e, P).enumerable; - })), g.push.apply(g, C); - } - return g; +function F8(e) { + return typeof e == "function"; } -function $n(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o] != null ? arguments[o] : {}; - o % 2 ? hu(Object(g), !0).forEach(function(C) { - D6(e, C, g[C]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(g)) : hu(Object(g)).forEach(function(C) { - Object.defineProperty(e, C, Object.getOwnPropertyDescriptor(g, C)); - }); - } - return e; +function z8(e) { + return typeof e == "function"; } -function $a(e, o) { - if (e == null) return {}; - var g = {}, C = Object.keys(e), P, x; - for (x = 0; x < C.length; x++) - P = C[x], !(o.indexOf(P) >= 0) && (g[P] = e[P]); - return g; +function tr(e, t) { + return typeof Object.hasOwn == "function" ? Object.hasOwn(e, t) : Object.prototype.hasOwnProperty.call(e, t); } -function V6(e, o) { - if (e) { - if (typeof e == "string") return pu(e, o); - var g = Object.prototype.toString.call(e).slice(8, -1); - if (g === "Object" && e.constructor && (g = e.constructor.name), g === "Map" || g === "Set") return Array.from(e); - if (g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)) return pu(e, o); - } -} -function pu(e, o) { - (o == null || o > e.length) && (o = e.length); - for (var g = 0, C = new Array(o); g < o; g++) C[g] = e[g]; - return C; -} -function mu(e, o) { - var g; - if (typeof Symbol > "u" || e[Symbol.iterator] == null) { - if (Array.isArray(e) || (g = V6(e)) || o) { - g && (e = g); - var C = 0; - return function() { - return C >= e.length ? { - done: !0 - } : { - done: !1, - value: e[C++] - }; - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - return g = e[Symbol.iterator](), g.next.bind(g); +function un(...e) { + return (...t) => { + for (const c of e) typeof c == "function" && c(...t); + }; } -function U6(e) { - return typeof e == "function"; +function K8(e, t) { + const c = { ...e }; + for (const h of t) tr(c, h) && delete c[h]; + return c; } -var z6 = function(o, g, C) { - C === void 0 && (C = g.children); - var P = Do(Vl); - if (P.useCreateElement) - return P.useCreateElement(o, g, C); - if (typeof o == "string" && U6(C)) { - g.children; - var x = $a(g, ["children"]); - return C(x); - } - return /* @__PURE__ */ is(o, g, C); -}; -function F6(e, o, g) { - return o in e ? Object.defineProperty(e, o, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[o] = g, e; -} -function yu(e, o) { - var g = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var C = Object.getOwnPropertySymbols(e); - o && (C = C.filter(function(P) { - return Object.getOwnPropertyDescriptor(e, P).enumerable; - })), g.push.apply(g, C); - } - return g; +function W8(e, t) { + const c = {}; + for (const h of t) tr(e, h) && (c[h] = e[h]); + return c; } -function Gn(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o] != null ? arguments[o] : {}; - o % 2 ? yu(Object(g), !0).forEach(function(C) { - F6(e, C, g[C]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(g)) : yu(Object(g)).forEach(function(C) { - Object.defineProperty(e, C, Object.getOwnPropertyDescriptor(g, C)); - }); - } +function J8(e) { return e; } -function K6(e, o) { - if (e == null) return {}; - var g = {}, C = Object.keys(e), P, x; - for (x = 0; x < C.length; x++) - P = C[x], !(o.indexOf(P) >= 0) && (g[P] = e[P]); - return g; +function $8(e = si) { + let t = requestAnimationFrame(() => { + t = requestAnimationFrame(e); + }); + return () => cancelAnimationFrame(t); } -function W6(e, o) { - if (e) { - if (typeof e == "string") return gu(e, o); - var g = Object.prototype.toString.call(e).slice(8, -1); - if (g === "Object" && e.constructor && (g = e.constructor.name), g === "Map" || g === "Set") return Array.from(e); - if (g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)) return gu(e, o); - } -} -function gu(e, o) { - (o == null || o > e.length) && (o = e.length); - for (var g = 0, C = new Array(o); g < o; g++) C[g] = e[g]; - return C; -} -function J6(e, o) { - var g; - if (typeof Symbol > "u" || e[Symbol.iterator] == null) { - if (Array.isArray(e) || (g = W6(e)) || o) { - g && (e = g); - var C = 0; - return function() { - return C >= e.length ? { - done: !0 - } : { - done: !1, - value: e[C++] - }; - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - return g = e[Symbol.iterator](), g.next.bind(g); -} -function $6(e) { - return typeof e == "object" && e != null; -} -function Ga(e) { - var o; - if (!$6(e)) return !1; - var g = Object.getPrototypeOf(e); - return g == null ? !0 : ((o = g.constructor) === null || o === void 0 ? void 0 : o.toString()) === Object.toString(); -} -function vu(e, o) { - for (var g = Object.keys(e), C = {}, P = {}, x = 0, n = g; x < n.length; x++) { - var c = n[x]; - o.indexOf(c) >= 0 ? C[c] = e[c] : P[c] = e[c]; - } - return [C, P]; -} -function bu(e, o) { - if (o === void 0 && (o = []), !Ga(e.state)) - return vu(e, o); - var g = vu(e, [].concat(o, ["state"])), C = g[0], P = g[1], x = C.state, n = K6(C, ["state"]); - return [Gn(Gn({}, x), n), P]; -} -function Lo(e, o) { - if (e === o) return !0; - if (!e || !o || typeof e != "object" || typeof o != "object") return !1; - var g = Object.keys(e), C = Object.keys(o), P = g.length; - if (C.length !== P) return !1; - for (var x = 0, n = g; x < n.length; x++) { - var c = n[x]; - if (e[c] !== o[c]) - return !1; - } - return !0; +function Br(e, t) { + if (!e) + throw typeof t != "string" ? new Error("Invariant failed") : new Error(t); } -function wu(e) { - return e.name === "normalizePropsAreEqualInner" ? e : function(g, C) { - return !Ga(g.state) || !Ga(C.state) ? e(g, C) : e(Gn(Gn({}, g.state), g), Gn(Gn({}, C.state), C)); - }; +function qd(e) { + return Object.keys(e); } -function G6(e) { - return /* @__PURE__ */ nf(e); +function Pa(e, ...t) { + const c = typeof e == "function" ? e(...t) : e; + return c == null ? !1 : !c; } -function q6(e, o) { - return /* @__PURE__ */ of(e, o); +function Zd(e) { + return e.disabled || e["aria-disabled"] === !0 || e["aria-disabled"] === "true"; } -function Qi(e) { - var o = e.as, g = e.useHook, C = e.memo, P = e.propsAreEqual, x = P === void 0 ? g?.unstable_propsAreEqual : P, n = e.keys, c = n === void 0 ? g?.__keys || [] : n, r = e.useCreateElement, a = r === void 0 ? z6 : r, i = function(t, f) { - var b = t.as, y = b === void 0 ? o : b, u = $a(t, ["as"]); - if (g) { - var d, l = bu(u, c), s = l[0], v = l[1], p = g(s, $n({ - ref: f - }, v)), h = p.wrapElement, O = $a(p, ["wrapElement"]), I = ((d = y.render) === null || d === void 0 ? void 0 : d.__keys) || y.__keys, k = I && bu(u, I)[0], R = k ? $n($n({}, O), k) : O, L = a(y, R); - return h ? h(L) : L; - } - return a(y, $n({ - ref: f - }, u)); - }; - return process.env.NODE_ENV !== "production" && g && (i.displayName = g.name.replace(/^(unstable_)?use/, "")), i = G6(i), C && (i = q6(i, x && wu(x))), i.__keys = c, i.unstable_propsAreEqual = wu(x || Lo), i; -} -function Ul(e, o) { - as(e); - var g = Do(Vl); - return g[e] != null ? g[e] : o; -} -function Z6(e, o, g) { - o === void 0 && (o = {}), g === void 0 && (g = {}); - var C = "use" + e + "Props"; - as(C); - var P = Ul(C); - return P ? P(o, g) : g; -} -function X6(e, o, g) { - o === void 0 && (o = {}), g === void 0 && (g = {}); - var C = "use" + e + "Options"; - as(C); - var P = Ul(C); - return P ? $n($n({}, o), P(o, g)) : o; -} -function Y6(e) { - return Array.isArray(e) ? e : typeof e < "u" ? [e] : []; -} -function ea(e) { - var o, g, C = Y6(e.compose), P = function(r, a) { - if (e.useOptions && (r = e.useOptions(r, a)), e.name && (r = X6(e.name, r, a)), e.compose) - for (var i = mu(C), m; !(m = i()).done; ) { - var t = m.value; - r = t.__useOptions(r, a); - } - return r; - }, x = function(r, a, i) { - if (r === void 0 && (r = {}), a === void 0 && (a = {}), i === void 0 && (i = !1), i || (r = P(r, a)), e.useProps && (a = e.useProps(r, a)), e.name && (a = Z6(e.name, r, a)), e.compose) - if (e.useComposeOptions && (r = e.useComposeOptions(r, a)), e.useComposeProps) - a = e.useComposeProps(r, a); - else - for (var m = mu(C), t; !(t = m()).done; ) { - var f = t.value; - a = f(r, a, !0); - } - var b = {}, y = a || {}; - for (var u in y) - y[u] !== void 0 && (b[u] = y[u]); - return b; - }; - x.__useOptions = P; - var n = C.reduce(function(c, r) { - return c.push.apply(c, r.__keys || []), c; - }, []); - return x.__keys = [].concat(n, ((o = e.useState) === null || o === void 0 ? void 0 : o.__keys) || [], e.keys || []), x.unstable_propsAreEqual = e.propsAreEqual || ((g = C[0]) === null || g === void 0 ? void 0 : g.unstable_propsAreEqual) || Lo, process.env.NODE_ENV !== "production" && e.name && Object.defineProperty(x, "name", { - value: "use" + e.name - }), x; +function G8(e) { + return e.getAttribute("aria-disabled") === "true" || "disabled" in e && e.disabled === !0; } -function Cu(e, o) { - o === void 0 && (o = null), e && (typeof e == "function" ? e(o) : e.current = o); +function Lc(e) { + const t = {}; + for (const c in e) + tr(e, c) && c !== "__proto__" && e[c] !== void 0 && (t[c] = e[c]); + return t; } -function zl(e, o) { - return In(function() { - return e == null && o == null ? null : function(g) { - Cu(e, g), Cu(o, g); - }; - }, [e, o]); +function cn(...e) { + for (const t of e) if (t !== void 0) return t; } -function Fl(e) { - for (var o = [], g = J6(e), C; !(C = g()).done; ) { - var P = C.value; - Array.isArray(P) ? o.push.apply(o, Fl(P)) : o.push(P); +const ro = q8(); +function q8() { + return typeof window < "u" && !!window.document?.createElement; +} +function Yd(e, t) { + let c = e; + for (; c; ) { + const h = Object.getOwnPropertyDescriptor(c, t); + if (h?.get) return h.get; + c = Object.getPrototypeOf(c); } - return o; } -function Q6(e) { - if (process.env.NODE_ENV !== "production") { - var o; - if (!e) return; - for (var g = arguments.length, C = new Array(g > 1 ? g - 1 : 0), P = 1; P < g; P++) - C[P - 1] = arguments[P]; - var x = Fl(C.map(function(n) { - return [n, ` -`]; - })); - (o = console).warn.apply(o, x.slice(0, -1)); - try { - throw Error(x.join("")); - } catch { +const Q0 = ro ? Yd(Object.getPrototypeOf(window.document), "nodeType") : void 0, el = ro ? Yd(Object.getPrototypeOf(window.document), "activeElement") : void 0; +function ic(e) { + return e ? e.window === e : !1; +} +function tl(e) { + if (!e) return !1; + if (!Q0) return e.nodeType === 9; + try { + return Q0.call(e) === 9; + } catch { + return !1; + } +} +function Z8(e, t) { + try { + return e.document === t; + } catch { + return !1; + } +} +function Wt(e) { + if (!e) return document; + if (tl(e)) return e; + if (ic(e)) return e.document; + const t = e.ownerDocument; + return tl(t) ? t : document; +} +function Kr(e) { + if (!e) return self; + if (ic(e)) return e; + const t = Wt(e), { defaultView: c } = t; + return ic(c) && Z8(c, t) ? c : window; +} +function Pr(e, { frame: t = !0, activeDescendant: c = !1 } = {}) { + const h = Wt(e), S = el ? el.call(h) : h.activeElement; + if (!S?.nodeName) return null; + if (t && mi(S) && S.contentDocument?.body) return Pr(S.contentDocument.body, { + frame: t, + activeDescendant: c + }); + if (c) { + const g = S.getAttribute("aria-activedescendant"); + if (g) { + const n = Wt(S).getElementById(g); + if (n) return n; } } + return S; } -function e5(e) { - return e ? e.ownerDocument || e : document; +function Xt(e, t) { + return e === t || e.contains(t); } -var Kl; -try { - Kl = window; -} catch { +function Un(e) { + return e?.nodeType === 1; } -function t5(e) { - return Kl; +function ac(e) { + return typeof e?.nodeType == "number"; } -function r5() { - var e = t5(); - return !!(typeof e < "u" && e.document && e.document.createElement); +function mi(e) { + return e.tagName === "IFRAME"; +} +function Y8(e) { + const t = e.tagName.toLowerCase(); + return t === "button" ? !0 : t === "input" && e.type ? X8.indexOf(e.type) !== -1 : !1; +} +const X8 = [ + "button", + "color", + "file", + "image", + "reset", + "submit" +]; +function Q8(e) { + if (typeof e.checkVisibility == "function") return e.checkVisibility(); + const t = e; + return t.offsetWidth > 0 || t.offsetHeight > 0 || e.getClientRects().length > 0; } -var ta = r5(), ra = ta ? Yc : vt; -function qn(e) { - var o = wt(e); - return ra(function() { - o.current = e; - }), o; +function e9() { + return ro && !!navigator.maxTouchPoints; } -function n5(e) { - return e.target === e.currentTarget; +function Xd() { + return ro ? /mac|iphone|ipad|ipod/i.test(navigator.platform) : !1; } -function xa(e) { - return ta ? window.navigator.userAgent.indexOf(e) !== -1 : !1; +function Qd() { + return ro && Xd() && /apple/i.test(navigator.vendor); } -var o5 = ["unstable_system"], hs = ea({ - name: "Role", - keys: o5, - propsAreEqual: function(o, g) { - var C = o.unstable_system, P = qr(o, ["unstable_system"]), x = g.unstable_system, n = qr(g, ["unstable_system"]); - return C !== x && !Lo(C, x) ? !1 : Lo(P, n); - } -}); -Qi({ - as: "div", - useHook: hs -}); -function zo(e) { - var o = Ct(e), g = o[0]; - return g; +function t9() { + return ro && navigator.platform.startsWith("Mac") && !e9(); } -var i5 = "id"; -function a5(e) { - return e === void 0 && (e = i5), (e ? e + "-" : "") + Math.random().toString(32).substr(2, 6); +function nl(e) { + return e.target === e.currentTarget; } -var s5 = /* @__PURE__ */ Wi(a5); -function u5(e) { - e === void 0 && (e = {}); - var o = zo(e), g = o.baseId, C = Do(s5), P = wt(0), x = Ct(function() { - return g || C(); - }), n = x[0], c = x[1]; - return { - baseId: n, - setBaseId: c, - unstable_idCountRef: P +function _o(e, t) { + const c = t || e.currentTarget, h = e.relatedTarget; + return !ac(h) || !Xt(c, h); +} +function rl(e, t, c, h) { + const g = ((s) => { + const r = requestAnimationFrame(s); + return () => cancelAnimationFrame(r); + })(() => { + e.removeEventListener(t, n, !0), c(); + }), n = () => { + g(), c(); + }; + return e.addEventListener(t, n, { + once: !0, + capture: !0 + }), () => { + g(), e.removeEventListener(t, n, !0); }; } -var Tr = "top", zr = "bottom", Fr = "right", Ir = "left", ps = "auto", Fo = [Tr, zr, Fr, Ir], Qn = "start", Ro = "end", c5 = "clippingParents", Wl = "viewport", bo = "popper", l5 = "reference", _u = /* @__PURE__ */ Fo.reduce(function(e, o) { - return e.concat([o + "-" + Qn, o + "-" + Ro]); -}, []), Jl = /* @__PURE__ */ [].concat(Fo, [ps]).reduce(function(e, o) { - return e.concat([o, o + "-" + Qn, o + "-" + Ro]); -}, []), d5 = "beforeRead", f5 = "read", h5 = "afterRead", p5 = "beforeMain", m5 = "main", y5 = "afterMain", g5 = "beforeWrite", v5 = "write", b5 = "afterWrite", w5 = [d5, f5, h5, p5, m5, y5, g5, v5, b5]; -function un(e) { - return e ? (e.nodeName || "").toLowerCase() : null; -} -function Br(e) { - if (e == null) - return window; - if (e.toString() !== "[object Window]") { - var o = e.ownerDocument; - return o && o.defaultView || window; +function nn(e, t, c, h = window) { + const S = []; + try { + h.document.addEventListener(e, t, c); + for (const n of Array.from(h.frames)) S.push(nn(e, t, c, n)); + } catch { } - return e; + return () => { + try { + h.document.removeEventListener(e, t, c); + } catch { + } + for (const n of S) n(); + }; } -function kn(e) { - var o = Br(e).Element; - return e instanceof o || e instanceof Element; +const Qa = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])"; +function n9(e) { + return Number.parseInt(e.getAttribute("tabindex") || "0", 10) < 0; +} +function Tn(e) { + return !(!e.matches(Qa) || !Q8(e) || e.closest("[inert]")); +} +function To(e) { + if (!Tn(e) || n9(e)) return !1; + if (!("form" in e) || !e.form || e.checked || e.type !== "radio") return !0; + const t = e.form.elements.namedItem(e.name); + if (!t || !("length" in t)) return !0; + const c = Pr(e); + return !c || c === e || !("form" in c) || c.form !== e.form || !("name" in c) || c.name !== e.name; +} +function Ic(e, t) { + const c = Array.from(e.querySelectorAll(Qa)); + t && c.unshift(e); + const h = c.filter(Tn); + return h.forEach((S, g) => { + if (!mi(S)) return; + const n = S.contentDocument?.body; + n && h.splice(g, 1, ...Ic(n)); + }), h; +} +function r9(e, t) { + const [c] = Ic(e, t); + return c || null; +} +function Nc(e, t, c) { + const h = Array.from(e.querySelectorAll(Qa)).filter(To); + return t && To(e) && h.unshift(e), h.forEach((S, g) => { + if (!mi(S)) return; + const n = S.contentDocument?.body; + if (!n) return; + const s = Nc(n, !1, c); + h.splice(g, 1, ...s); + }), h.length, h; +} +function sc(e, t, c) { + if (t && To(e)) { + if (!mi(e)) return e; + const S = e.contentDocument?.body; + if (!S) return e; + const g = sc(S, !1, c); + if (g) return g; + } + const h = e.querySelectorAll(Qa); + for (const S of h) + if (To(S)) { + if (mi(S)) { + const g = S.contentDocument?.body; + if (!g) return S; + const n = sc(g, !1, c); + if (n) return n; + continue; + } + return S; + } + return c ? r9(e) : null; +} +function ef({ container: e, includeContainer: t, reverse: c, fallbackToEdge: h, fallbackToFocusable: S }) { + const g = Pr(e), n = Ic(e, t); + c && n.reverse(); + const s = n.indexOf(g), r = n.slice(s + 1); + return r.find(To) || (h ? n.find(To) : null) || (S ? r[0] : null) || null; +} +function o9(e, t, c, h) { + return ef({ + container: e, + includeContainer: t, + fallbackToEdge: c, + fallbackToFocusable: h + }); } -function Ur(e) { - var o = Br(e).HTMLElement; - return e instanceof o || e instanceof HTMLElement; +function As(e, t) { + return o9(document.body, !1, e, t); } -function ms(e) { - if (typeof ShadowRoot > "u") - return !1; - var o = Br(e).ShadowRoot; - return e instanceof o || e instanceof ShadowRoot; -} -function C5(e) { - var o = e.state; - Object.keys(o.elements).forEach(function(g) { - var C = o.styles[g] || {}, P = o.attributes[g] || {}, x = o.elements[g]; - !Ur(x) || !un(x) || (Object.assign(x.style, C), Object.keys(P).forEach(function(n) { - var c = P[n]; - c === !1 ? x.removeAttribute(n) : x.setAttribute(n, c === !0 ? "" : c); - })); +function i9(e, t, c, h) { + return ef({ + container: e, + includeContainer: t, + reverse: !0, + fallbackToEdge: c, + fallbackToFocusable: h }); } -function _5(e) { - var o = e.state, g = { - popper: { - position: o.options.strategy, - left: "0", - top: "0", - margin: "0" - }, - arrow: { - position: "absolute" - }, - reference: {} +function ol(e, t) { + return i9(document.body, !1, e, t); +} +function il(e) { + const t = Pr(e); + if (!t) return !1; + if (t === e) return !0; + const c = t.getAttribute("aria-activedescendant"); + return c ? c === e.id : !1; +} +function al(e) { + const t = Pr(e); + if (!t) return !1; + if (Xt(e, t)) return !0; + const c = t.getAttribute("aria-activedescendant"); + return !c || !("id" in e) ? !1 : c === e.id ? !0 : !!e.querySelector(`#${CSS.escape(c)}`); +} +function a9(e) { + const t = e.getAttribute("tabindex") ?? ""; + e.setAttribute("data-tabindex", t), e.setAttribute("tabindex", "-1"); +} +function s9(e, t) { + const c = Nc(e, t); + for (const h of c) a9(h); +} +function c9(e) { + const t = e.querySelectorAll("[data-tabindex]"), c = (h) => { + const S = h.getAttribute("data-tabindex"); + h.removeAttribute("data-tabindex"), S ? h.setAttribute("tabindex", S) : h.removeAttribute("tabindex"); }; - return Object.assign(o.elements.popper.style, g.popper), o.styles = g, o.elements.arrow && Object.assign(o.elements.arrow.style, g.arrow), function() { - Object.keys(o.elements).forEach(function(C) { - var P = o.elements[C], x = o.attributes[C] || {}, n = Object.keys(o.styles.hasOwnProperty(C) ? o.styles[C] : g[C]), c = n.reduce(function(r, a) { - return r[a] = "", r; - }, {}); - !Ur(P) || !un(P) || (Object.assign(P.style, c), Object.keys(x).forEach(function(r) { - P.removeAttribute(r); - })); - }); + e.hasAttribute("data-tabindex") && c(e); + for (const h of t) c(h); +} +function tf(e) { + return async () => { + const t = await e?.(); + return tf(async () => (await t?.(), e)); }; } -const S5 = { - name: "applyStyles", - enabled: !0, - phase: "write", - fn: C5, - effect: _5, - requires: ["computeStyles"] +u9(); +function u9({ limit: e = 100 } = {}) { + const t = []; + let c = [], h = null; + const S = () => t.length > 0, g = () => c.length > 0; + return { + canUndo: S, + canRedo: g, + undo: async () => { + S() && (h = null, c.push(await t.pop()?.())); + }, + redo: async () => { + g() && (h = null, t.push(await c.pop()?.())); + }, + execute: async (o, i) => { + if (!o) return; + const p = i === h; + h = i ?? null; + const a = p ? Math.max(0, t.length - 1) : t.length, f = await o(); + if (!f) return; + c = []; + const C = t[a]; + for (t[a] = tf(async () => { + await f?.(); + const w = await C?.(); + return async () => { + await w?.(), await o?.(); + }; + }); t.length > e; ) t.shift(); + } + }; +} +function Oa(e, t) { + if (typeof e == "function") { + const c = e(t); + if (typeof c == "function") return c; + } else e && (e.current = t); +} +function l9(e) { + return !e || !Ec(e) ? !1 : "ref" in e.props || "ref" in e; +} +function d9(e) { + return l9(e) ? { ...e.props }.ref || e.ref : null; +} +function f9(e, t) { + const c = { ...e }; + for (const h in t) { + if (!tr(t, h) || h === "__proto__") continue; + if (h === "className") { + const g = "className", n = e[g], s = t[g]; + n && s ? c[g] = `${n} ${s}` : c[g] = s || n; + continue; + } + if (h === "style") { + const g = "style"; + c[g] = e[g] ? { + ...e[g], + ...t[g] + } : t[g]; + continue; + } + const S = t[h]; + if (S !== void 0) { + if (h.startsWith("on")) { + if (typeof S != "function") continue; + const g = e[h]; + if (typeof g == "function") { + c[h] = (...n) => { + S(...n), g(...n); + }; + continue; + } + } + c[h] = S; + } + } + return c; +} +const nf = { ...sn }, rf = nf.useId, p9 = nf.useInsertionEffect ?? ((e) => e()), Et = ro ? id : Ze; +function h9(e) { + const [t] = ft(e); + return t; +} +function Bc(e) { + const t = Qe(e); + return Et(() => { + t.current = e; + }), t; +} +function Kt(e) { + const t = Qe(() => { + throw new Error("Cannot call an event handler while rendering."); + }); + return p9(() => { + t.current = e; + }), rt((...c) => t.current?.(...c), []); +} +function mr(...e) { + return Fn(() => { + if (e.some(Boolean)) + return (t) => { + const c = []; + for (const h of e) { + if (!h) continue; + const S = Oa(h, t); + c.push({ + ref: h, + cleanup: typeof S == "function" ? S : void 0 + }); + } + if (c.some((h) => h.cleanup)) + return () => { + for (const { ref: h, cleanup: S } of c) S ? S() : Oa(h, null); + }; + }; + }, e); +} +function y9(e) { + const [t, c] = ft(e); + return Et(() => { + if (e || t) return; + const h = Math.random().toString(36).slice(2, 8); + c(`id-${h}`); + }, [e, t]), e || t; +} +function m9(e) { + const t = rf(); + return e || t; +} +const g9 = rf ? m9 : y9; +function of(e) { + return g9(e); +} +function v9(e, t, c) { + const h = h9(c), [S, g] = ft(h); + return Ze(() => { + const n = e && "current" in e ? e.current : e; + if (!n) return; + const s = () => { + const o = n.getAttribute(t); + g(o ?? h); + }, r = new MutationObserver(s); + return r.observe(n, { attributeFilter: [t] }), s(), () => r.disconnect(); + }, [ + e, + t, + h + ]), S; +} +function af(e, t) { + const c = Qe(!1); + Ze(() => { + if (c.current) return e(); + c.current = !0; + }, t), Ze(() => () => { + c.current = !1; + }, []); +} +function b9() { + return _c(() => [], []); +} +function Wr(e) { + return Kt(typeof e == "function" ? e : () => e); +} +function Bn(e, t, c = []) { + const h = rt((S) => (e.wrapElement && (S = e.wrapElement(S)), t(S)), [...c, e.wrapElement]); + return { + ...e, + wrapElement: h + }; +} +function Rc(e = !1, t) { + const [c, h] = ft(null); + return { + portalRef: mr(h, t), + portalNode: c, + domReady: !e || c + }; +} +function w9(e, t, c) { + const h = e.onLoadedMetadataCapture, S = Fn(() => Object.assign(() => { + }, h, ...c !== void 0 ? [{ [t]: c }] : []), [ + h, + t, + c + ]); + return [h?.[t], { onLoadedMetadataCapture: S }]; +} +let sl = !1; +function sf() { + return Ze(() => { + sl || (nn("mousemove", S9, !0), nn("mousedown", $i, !0), nn("mouseup", $i, !0), nn("keydown", $i, !0), nn("scroll", $i, !0), sl = !0); + }, []), Kt(() => kc); +} +let kc = !1, cl = 0, ul = 0; +function C9(e) { + const t = e.movementX || e.screenX - cl, c = e.movementY || e.screenY - ul; + return cl = e.screenX, ul = e.screenY, t || c || process.env.NODE_ENV === "test"; +} +function S9(e) { + C9(e) && (kc = !0); +} +function $i() { + kc = !1; +} +function on(e) { + const t = sn.forwardRef((c, h) => e(Lc({ + ...c, + ref: h + }))); + return t.displayName = e.displayName || e.name, t; +} +function Mn(e, t) { + const { wrapElement: c, render: h, ...S } = t, g = mr(t.ref, d9(h)); + let n; + if (sn.isValidElement(h)) { + const s = { + ...h.props, + ref: g + }; + n = sn.cloneElement(h, f9(S, s)); + } else h ? n = h(S) : n = /* @__PURE__ */ W(e, { ...S }); + return c ? c(n) : n; +} +function Pn(e) { + const t = (c = {}) => e(c); + return t.displayName = e.name, t; +} +function _i(e = [], t = []) { + const c = sn.createContext(void 0), h = sn.createContext(void 0), S = () => sn.useContext(c), g = (o = !1) => { + const i = sn.useContext(h), p = S(); + return o ? i : i || p; + }, n = () => { + const o = sn.useContext(h), i = S(); + if (!(o && o === i)) + return i; + }, s = (o) => e.reduceRight((i, p) => /* @__PURE__ */ W(p, { + ...o, + children: i + }), /* @__PURE__ */ W(c.Provider, { ...o })); + return { + context: c, + scopedContext: h, + useContext: S, + useScopedContext: g, + useProviderContext: n, + ContextProvider: s, + ScopedContextProvider: (o) => /* @__PURE__ */ W(s, { + ...o, + children: t.reduceRight((i, p) => /* @__PURE__ */ W(p, { + ...o, + children: i + }), /* @__PURE__ */ W(h.Provider, { ...o })) + }) + }; +} +const _9 = Symbol("accessibleWhenDisabled"), cf = "data-truly-disabled"; +function E9(e) { + return e.getAttribute(cf) === "true"; +} +function uf(e) { + return e === "ArrowUp" || e === "ArrowRight" || e === "ArrowDown" || e === "ArrowLeft" || e === "Home" || e === "End" || e === "PageUp" || e === "PageDown"; +} +const x9 = "div", lf = Qd(), df = 1, ff = 2, ll = 3, M9 = [ + "text", + "search", + "url", + "tel", + "email", + "password", + "number", + "date", + "month", + "week", + "time", + "datetime", + "datetime-local" +]; +function P9(e) { + const { tagName: t, readOnly: c, type: h } = e; + return t === "TEXTAREA" && !c || t === "SELECT" && !c ? !0 : t === "INPUT" && !c ? M9.includes(h) : !!(e.isContentEditable || e.getAttribute("role") === "combobox" && e.dataset.name); +} +function O9(e) { + return e ? e === "button" || e === "summary" || e === "input" || e === "select" || e === "textarea" || e === "a" : !0; +} +function T9(e) { + return e ? e === "button" || e === "input" || e === "select" || e === "textarea" : !0; +} +function A9(e) { + let t = 0; + return O9(e) && (t |= df), T9(e) && (t |= ff), t; +} +function L9(e) { + if (e.tagName === "BUTTON") { + const { type: t } = e; + return t === "submit"; + } + if (e.tagName === "INPUT") { + const { type: t } = e; + return t === "submit" || t === "image"; + } + return !1; +} +function I9({ focusable: e, trulyDisabled: t, nativeTabbable: c, supportsDisabled: h, safariTabIndex: S, tabIndexProp: g }) { + return e ? t ? c && !h ? -1 : void 0 : c ? S && g == null ? 0 : g : g ?? 0 : g; +} +function Gi(e, t) { + return Kt((c) => { + e?.(c), !c.defaultPrevented && t && (c.stopPropagation(), c.preventDefault()); + }); +} +let dl = !1, Ta = !0; +function N9(e) { + const t = e.target; + Un(t) && !t.hasAttribute("data-focus-visible") && (Ta = !1); +} +function B9(e) { + if (uf(e.key)) { + Ta = !0; + return; + } + e.metaKey || e.ctrlKey || e.altKey && (!lf || e.key !== "Tab") || (Ta = !0); +} +const Hc = Pn(function({ focusable: t = !0, accessibleWhenDisabled: c, autoFocus: h, onFocusVisible: S, ...g }) { + const n = Qe(null), [s, r] = w9(g, _9, c); + c ??= s, Ze(() => { + t && (dl || (nn("mousedown", N9, !0), nn("keydown", B9, !0), dl = !0)); + }, [t]); + const o = t && Zd(g), i = o && !c, [p, a] = ft(!1), f = Qe(!1), C = Qe(null), w = Kt((M) => { + C.current?.(), C.current = null, f.current = !1, M?.removeAttribute("data-focus-visible"); + }); + Ze(() => { + t && !i || (w(n.current), p && a(!1)); + }, [ + t, + i, + p, + w + ]), Ze(() => { + if (!t || !p) return; + const M = n.current; + if (!M || typeof IntersectionObserver > "u") return; + const P = new IntersectionObserver(() => { + Tn(M) || (f.current = !1, a(!1)); + }); + return P.observe(M), () => P.disconnect(); + }, [t, p]), Ze(() => () => C.current?.(), []); + const m = Gi(g.onKeyPressCapture, o), v = Gi(g.onMouseDownCapture, o), l = Gi(g.onClickCapture, o), u = Gi(g.onAuxClickCapture, o), y = (M, P) => { + if (P && (M.currentTarget = P), !t) return; + const H = M.currentTarget; + if (H && il(H) && (S?.(M), !M.defaultPrevented)) { + if (H.dataset.focusVisible = "true", f.current = !0, L9(H)) { + if (C.current?.(), C.current = null, typeof IntersectionObserver < "u") { + const K = new IntersectionObserver(() => { + Tn(H) || w(H); + }); + K.observe(H), C.current = () => K.disconnect(); + } + return; + } + a(!0); + } + }, d = g.onKeyDownCapture, b = Kt((M) => { + if (d?.(M), M.defaultPrevented || !t || p || f.current || (M.metaKey || M.altKey || M.ctrlKey) && !uf(M.key) || !nl(M)) return; + const P = M.currentTarget; + rl(P, "focusout", () => y(M, P)); + }), _ = g.onFocusCapture, E = Kt((M) => { + if (_?.(M), M.defaultPrevented || !t) return; + if (!nl(M)) { + a(!1); + return; + } + const P = M.currentTarget, H = () => y(M, P); + Ta || P9(M.target) ? rl(M.target, "focusout", H) : a(!1); + }), B = g.onBlur, O = Kt((M) => { + B?.(M), t && _o(M) && (w(M.currentTarget), a(!1)); + }), I = No(Gd), x = Kt((M) => { + t && h && M && I && queueMicrotask(() => { + il(M) || Tn(M) && M.focus(); + }); + }), [A, N] = ft(ll); + Et(() => { + const M = n.current; + if (!M) return; + const P = A9(M.tagName.toLowerCase()); + P !== ll && N(P); + }, []); + const k = t && !!(A & df), j = t && !!(A & ff), [D, T] = ft(!1); + lf && Ze(() => { + if (!t) return; + const M = n.current; + if (!M) return; + const { type: P } = M, H = M.tagName === "INPUT" && (P === "checkbox" || P === "radio"); + T(Y8(M) || H); + }, [t]); + const L = g.style, R = Fn(() => i ? { + pointerEvents: "none", + ...L + } : L, [i, L]); + return g = { + "data-focus-visible": t && p || void 0, + "data-autofocus": h || void 0, + "aria-disabled": o || void 0, + ...g, + ...r, + ref: mr(n, x, g.ref), + style: R, + tabIndex: I9({ + focusable: t, + trulyDisabled: i, + nativeTabbable: k, + supportsDisabled: j, + safariTabIndex: D, + tabIndexProp: g.tabIndex + }), + disabled: j && i ? !0 : void 0, + [cf]: o ? i : void 0, + contentEditable: o ? void 0 : g.contentEditable, + onKeyPressCapture: m, + onClickCapture: l, + onAuxClickCapture: u, + onMouseDownCapture: v, + onKeyDownCapture: b, + onFocusCapture: E, + onBlur: O + }, Lc(g); +}); +on(function(t) { + const c = Hc(t); + return Mn(x9, c); +}); +const jc = _i(), pf = jc.useProviderContext, R9 = jc.ContextProvider, k9 = jc.ScopedContextProvider, Dc = _i([R9], [k9]), es = Dc.useProviderContext, H9 = Dc.ContextProvider, Vc = Dc.ScopedContextProvider, j9 = Ir(void 0), D9 = Ir(void 0); +function jo(e, t) { + const c = e.__unstableInternals; + return Br(c, "Invalid store"), c[t]; +} +function hf(e, t) { + if (!e) return !0; + for (const c of e) if (t instanceof Set) { + if (t.has(c)) return !0; + } else if (ci(c, t)) return !0; + return !1; +} +function ci(e, t) { + return e === t || e !== e && t !== t; +} +function yf(e, t, c, h) { + let S; + for (const g of qd(t)) + ci(t[g], c[g]) || h !== void 0 && hf([g], h) || (S ??= { ...e }, S[g] = t[g]); + return S; +} +const fl = 100; +function V9(e, t, c) { + if (t) + for (const h of t) { + let S = e.get(h); + S || (S = /* @__PURE__ */ new Set(), e.set(h, S)), S.add(c); + } +} +function U9(e, t, c) { + if (e && t) + for (const h of t) { + const S = e.get(h); + S && (S.delete(c), S.size || e.delete(h)); + } +} +function mf(e) { + const t = /* @__PURE__ */ new Set(), c = e.currentListener; + if (!c) return t; + for (const h of e.keyedListeners) + if (t.add(h), h === c) return t; + return t.clear(), t.add(c), t; +} +function Aa(e) { + e.notifiedListeners ??= mf(e); +} +function Uc(e, t) { + if (!e.currentListener) return !1; + let c = !1; + for (const S of e.keyedListeners) { + if (S === e.currentListener) { + c = !0; + continue; + } + if (c && S === t) + return !1; + } + let h = !1; + for (const S of e.group.listeners) { + if (S === e.currentListener) return h; + S === t && (h = !0); + } + return !1; +} +function Ls(e, t, c) { + for (const h of e) + if (h.group === t && !h.recovering && !(c && !h.keyedListeners.has(c))) { + Aa(h); + for (const S of h.group.listeners) { + if (S === h.currentListener) break; + Uc(h, S) && h.notifiedListeners?.add(S); + } + } +} +function F9(e, t, c) { + for (const h of e) + h.group === t && (h.recovering || Uc(h, c) && (Aa(h), h.notifiedListeners?.add(c))); +} +function z9({ fastPathFrames: e, group: t, keys: c, listener: h }) { + const S = t.listeners.has(h); + for (const g of e) + g.group === t && (g.recovering || c.includes(g.updatedKey) && (Uc(g, h) ? (Aa(g), g.notifiedListeners?.add(h)) : S && (Aa(g), g.recoverToLive = !0))); +} +function K9(e, t, c) { + for (const h of e) + h.group === t && h.notifiedListeners?.delete(c); +} +function W9({ fastPathFrames: e, group: t, keys: c, listener: h }) { + for (const S of e) + S.group === t && (S.recovering || c.includes(S.updatedKey) && S.keyedListeners.add(h)); +} +function J9(e, t) { + if (!e.disposables.size) return; + const c = e.disposables.get(t); + c && (e.disposables.delete(t), c()); +} +function gf(e, t, c) { + const h = e.disposables.get(t); + if (!h) { + e.disposables.set(t, c); + return; + } + e.disposables.set(t, () => { + h(), c(); + }); +} +function vf(e, t, c, h, S, g) { + if (e.suspendCounts?.has(t)) return; + const { disposables: n } = e, s = n.size ? n.get(t) : void 0; + if (s) { + n.delete(t); + const o = c; + s(), c = S?.() ?? c, c !== o && (h = yf(h, c, o, g) ?? h); + } + const r = t(c, h); + r && gf(e, t, r); +} +function pl({ group: e, getState: t, prevState: c, updatedKey: h, notifiedListeners: S }) { + const g = e.allKeysListeners; + for (const n of e.listeners) + S?.has(n) || !g?.has(n) && !hf(e.listenerKeys.get(n), h) || (S?.add(n), vf(e, n, t(), c, t, h)); +} +function hr(e, ...t) { + let c = e, h = c, S = si, g = !1, n = !1, s = /* @__PURE__ */ new Set(); + const r = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), i = { + listeners: /* @__PURE__ */ new Set(), + disposables: /* @__PURE__ */ new Map(), + listenerKeys: /* @__PURE__ */ new WeakMap() + }, p = { + listeners: /* @__PURE__ */ new Set(), + disposables: /* @__PURE__ */ new Map(), + listenerKeys: /* @__PURE__ */ new WeakMap() + }, a = (I) => (o.add(I), () => o.delete(I)), f = () => { + const I = r.size, x = Symbol(); + r.add(x); + const A = () => { + r.delete(x) && (r.size || S()); + }; + if (I) return A; + const N = qd(c), k = []; + for (const T of t) { + const L = T?.getState?.(); + if (!L) continue; + const R = N.filter((M) => tr(L, M)); + if (R.length) { + if (t.length === 1 || R.length === N.length) { + for (const M of R) k.push(nr(T, [M], (P) => { + B(M, P[M], !0); + })); + continue; + } + k.push(Ei(T, R, (M, P) => { + for (const H of R) + M[H] !== P[H] && B(H, M[H], !0); + })); + for (const M of R) { + const P = T?.getState?.(); + P && B(M, P[M], !0); + } + } + } + const j = []; + for (const T of o) j.push(T()); + const D = t.map(bf); + return S = un(...k, ...j, ...D), A; + }, C = (I, x, A) => { + A !== void 0 && (A ? U9(I.listenersByKey, A, x) : I.allKeysListeners?.delete(x)); + }, w = [], m = (I, x, A = i) => { + const N = I ? [...I] : null, k = A.listeners.has(x); + return k || K9(w, A, x), N ? z9({ + fastPathFrames: w, + group: A, + keys: N, + listener: x + }) : (k && Ls(w, A), F9(w, A, x)), k && (Ls(w, A, x), C(A, x, A.listenerKeys.get(x))), A.listeners.add(x), N ? (A.listenersByKey ??= /* @__PURE__ */ new Map(), V9(A.listenersByKey, N, x), W9({ + fastPathFrames: w, + group: A, + keys: N, + listener: x + })) : (A.allKeysListeners ??= /* @__PURE__ */ new Set(), A.allKeysListeners.add(x)), A.listenerKeys.set(x, N), () => { + const j = A.disposables.get(x); + A.disposables.delete(x), Ls(w, A, x); + const D = A.listenerKeys.get(x); + C(A, x, N), D !== N && C(A, x, D), A.listenerKeys.delete(x), A.listeners.delete(x), j?.(); + }; + }, v = (I, x) => m(I, x), l = (I, x, A) => { + const N = I.listeners.has(x); + if (N) { + I.suspendCounts ??= /* @__PURE__ */ new Map(); + const j = I.suspendCounts.get(x) ?? 0; + I.suspendCounts.set(x, j + 1); + } + let k; + try { + const j = c; + J9(I, x), c !== j && (k = yf(A, c, j)); + const D = x(c, k ?? A); + D && gf(I, x, D); + } finally { + if (N) { + const j = I.suspendCounts, D = j?.get(x); + D && D > 1 ? j?.set(x, D - 1) : j?.delete(x), j?.size || delete I.suspendCounts; + } + } + }, u = (I, x) => (l(i, x, c), m(I, x)), y = (I, x) => (!p.listeners.size && !n && (h = c), l(p, x, h), m(I, x, p)), d = (I) => hr(W8(c, I), O), b = (I) => hr(K8(c, I), O), _ = () => c, E = (I, x, A) => { + if (!(A instanceof Set) && !I.allKeysListeners?.size) { + const N = I.listenersByKey?.get(A); + if (!N) return; + const k = { + group: I, + keyedListeners: N, + updatedKey: A, + currentListener: null + }; + w.push(k); + try { + for (const j of N) { + if (k.notifiedListeners?.has(j) || (k.currentListener = j, k.notifiedListeners?.add(j), vf(I, j, c, x, _, A), !I.allKeysListeners?.size && !k.recoverToLive)) continue; + const D = k.notifiedListeners ?? mf(k); + k.notifiedListeners = D, k.recovering = !0, pl({ + group: I, + getState: _, + prevState: x, + updatedKey: A, + notifiedListeners: D + }); + return; + } + } finally { + w.pop(); + } + return; + } + pl({ + group: I, + getState: _, + prevState: x, + updatedKey: A + }); + }, B = (I, x, A = !1) => { + if (!tr(c, I)) return; + const N = c[I], k = U8(x, () => N); + if (ci(k, N)) return; + const j = n; + n = !0; + const D = c, T = { + ...c, + [I]: k + }; + c = T; + let L = !1; + try { + if (!A && t.length) { + for (const R of t) + if (R?.setState?.(I, k), !ci(c[I], k)) { + L = !0; + break; + } + if (L) { + let R = 0; + for (; R < fl; R += 1) { + let M = !1; + for (const P of t) { + const H = c[I]; + P?.setState?.(I, H), ci(c[I], H) || (M = !0); + } + if (!M) break; + } + process.env.NODE_ENV !== "production" && R === fl && console.warn("Parent stores did not converge after a superseded fan-out; a parent listener may be rewriting this key in a cycle."); + } + } + if (!L) { + const R = c === T ? D : { + ...c, + [I]: D[I] + }; + E(i, R, I); + } + } finally { + n = j; + } + if (!p.listeners.size) { + n || (h = c); + return; + } + s.add(I), !g && (g = !0, queueMicrotask(() => { + g = !1; + const R = c, M = s; + s = /* @__PURE__ */ new Set(); + const P = h; + E(p, P, M), h === P && (h = R); + })); + }, O = { + getState: _, + setState: B, + __unstableInternals: { + setup: a, + init: f, + subscribe: v, + sync: u, + batch: y, + pick: d, + omit: b + } + }; + return O; +} +function ya(e, ...t) { + if (e) + return jo(e, "setup")(...t); +} +function bf(e, ...t) { + if (e) + return jo(e, "init")(...t); +} +function Ei(e, ...t) { + if (e) + return jo(e, "subscribe")(...t); +} +function nr(e, ...t) { + if (e) + return jo(e, "sync")(...t); +} +function $9(e, ...t) { + if (e) + return jo(e, "batch")(...t); +} +function wf(e, ...t) { + if (e) + return jo(e, "omit")(...t); +} +function Cf(...e) { + const t = {}; + for (const h of e) { + const S = h?.getState?.(); + S && Object.assign(t, S); + } + const c = hr(t, ...e); + return Object.assign({}, ...e, c); +} +function Sf(e, t) { + if (process.env.NODE_ENV === "production" || !t) return; + const c = Object.entries(e).filter(([S, g]) => S.startsWith("default") && g !== void 0).map(([S]) => { + const g = S.replace("default", ""); + return `${g[0]?.toLowerCase() || ""}${g.slice(1)}`; + }); + if (!c.length) return; + const h = t.getState(); + if (c.filter((S) => tr(h, S)).length) + throw new Error(`Passing a store prop in conjunction with a default state is not supported. + +const store = useSelectStore(); + + ^ ^ + +Instead, pass the default state to the topmost store: + +const store = useSelectStore({ defaultValue: "Apple" }); + + +See https://github.com/ariakit/ariakit/pull/2745 for more details. + +If there's a particular need for this, please submit a feature request at https://github.com/ariakit/ariakit +`); +} +var qi = { exports: {} }, Is = {}; +/** + * @license React + * use-sync-external-store-shim.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var hl; +function G9() { + if (hl) return Is; + hl = 1; + var e = yt; + function t(p, a) { + return p === a && (p !== 0 || 1 / p === 1 / a) || p !== p && a !== a; + } + var c = typeof Object.is == "function" ? Object.is : t, h = e.useState, S = e.useEffect, g = e.useLayoutEffect, n = e.useDebugValue; + function s(p, a) { + var f = a(), C = h({ inst: { value: f, getSnapshot: a } }), w = C[0].inst, m = C[1]; + return g( + function() { + w.value = f, w.getSnapshot = a, r(w) && m({ inst: w }); + }, + [p, f, a] + ), S( + function() { + return r(w) && m({ inst: w }), p(function() { + r(w) && m({ inst: w }); + }); + }, + [p] + ), n(f), f; + } + function r(p) { + var a = p.getSnapshot; + p = p.value; + try { + var f = a(); + return !c(p, f); + } catch { + return !0; + } + } + function o(p, a) { + return a(); + } + var i = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? o : s; + return Is.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : i, Is; +} +var Ns = {}; +/** + * @license React + * use-sync-external-store-shim.development.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +var yl; +function q9() { + return yl || (yl = 1, process.env.NODE_ENV !== "production" && function() { + function e(f, C) { + return f === C && (f !== 0 || 1 / f === 1 / C) || f !== f && C !== C; + } + function t(f, C) { + i || S.startTransition === void 0 || (i = !0, console.error( + "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release." + )); + var w = C(); + if (!p) { + var m = C(); + g(w, m) || (console.error( + "The result of getSnapshot should be cached to avoid an infinite loop" + ), p = !0); + } + m = n({ + inst: { value: w, getSnapshot: C } + }); + var v = m[0].inst, l = m[1]; + return r( + function() { + v.value = w, v.getSnapshot = C, c(v) && l({ inst: v }); + }, + [f, w, C] + ), s( + function() { + return c(v) && l({ inst: v }), f(function() { + c(v) && l({ inst: v }); + }); + }, + [f] + ), o(w), w; + } + function c(f) { + var C = f.getSnapshot; + f = f.value; + try { + var w = C(); + return !g(f, w); + } catch { + return !0; + } + } + function h(f, C) { + return C(); + } + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); + var S = yt, g = typeof Object.is == "function" ? Object.is : e, n = S.useState, s = S.useEffect, r = S.useLayoutEffect, o = S.useDebugValue, i = !1, p = !1, a = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? h : t; + Ns.useSyncExternalStore = S.useSyncExternalStore !== void 0 ? S.useSyncExternalStore : a, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); + }()), Ns; +} +var ml; +function Z9() { + return ml || (ml = 1, process.env.NODE_ENV === "production" ? qi.exports = G9() : qi.exports = q9()), qi.exports; +} +var _f = Z9(); +const La = () => () => { }; -function nn(e) { - return e.split("-")[0]; +function Ia(e) { + return Array.isArray(e); +} +function cc(e, t) { + return e === t || e !== e && t !== t; +} +function Y9(e, t) { + if (e?.length !== t.length) return !1; + for (let c = 0; c < e.length; c += 1) { + const h = e[c]; + if (!cc(h, t[c])) + return !1; + } + return !0; +} +function Ef(e) { + const [t, c] = sn.useState(() => e === null ? null : [...e]); + if (e === null) + return t !== null && c(null), null; + if (Y9(t, e)) return t; + const h = [...e]; + return c(h), h; +} +function Dt(e, t = J8, c) { + const h = Ef(Ia(t) ? t : typeof t == "function" ? null : [t]), S = sn.useCallback((n) => !e || h?.length === 0 ? La() : Ei(e, h, n), [e, h]), g = () => { + const n = e?.getState(); + if (Ia(t)) return c?.(n); + if (typeof t == "function") return t(n); + if (n && tr(n, t)) + return n[t]; + }; + return _f.useSyncExternalStore(S, g, g); +} +function X9(e, t) { + const c = []; + let h = !1; + for (const S in e) { + const g = e[S]; + if (g !== void 0) { + if (typeof g == "function") { + h = !0; + continue; + } + c.includes(g) || c.push(g); + } + } + if (!h) return c; + if (!t) return null; + for (const S of t) + c.includes(S) || c.push(S); + return c; +} +function Q9(e, t, c) { + const h = Ia(t) ? {} : t, S = Ia(t) ? t : void 0, g = sn.useRef({}), n = Ef(X9(h, S)), s = sn.useCallback((o) => !e || n?.length === 0 ? La() : Ei(e, n, o), [e, n]), r = () => { + const o = e?.getState(); + let i = !1; + const p = g.current; + for (const a in h) { + const f = h[a]; + if (f === void 0) continue; + if (typeof f == "function") { + const w = f(o); + Object.is(w, p[a]) || (p[a] = w, i = !0); + } + if (typeof f == "function") continue; + const C = o && tr(o, f) ? o[f] : void 0; + Object.is(C, p[a]) || (p[a] = C, i = !0); + } + return i && (g.current = { ...p }), g.current; + }; + return _f.useSyncExternalStore(s, r, r); +} +function lr(e, t, c, h) { + const S = tr(t, c) ? t[c] : void 0, g = h ? t[h] : void 0, n = !!g, s = Bc({ + value: S, + setValue: g + }); + Et(() => { + if (n) + return Ei(e, [c], (r, o) => { + const { value: i, setValue: p } = s.current; + p && (cc(r[c], o[c]) || cc(r[c], i) || p(r[c])); + }); + }, [ + e, + c, + n, + s + ]), Et(() => { + if (S !== void 0) + return e.setState(c, S), $9(e, [c], () => { + S !== void 0 && e.setState(c, S); + }); + }); +} +function Fc(e, t) { + const [c, h] = sn.useState(() => e(t)); + Et(() => bf(c), [c]); + const S = sn.useCallback((g) => Dt(c, g), [c]); + return [sn.useMemo(() => ({ + ...c, + useState: S + }), [c, S]), Kt(() => { + h((g) => e({ + ...t, + ...g.getState() + })); + })]; +} +const e7 = "div"; +function gl(e, t) { + const c = setTimeout(t, e); + return () => clearTimeout(c); } -var An = Math.max, ki = Math.min, eo = Math.round; -function qa() { - var e = navigator.userAgentData; - return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(o) { - return o.brand + "/" + o.version; - }).join(" ") : navigator.userAgent; -} -function $l() { - return !/^((?!chrome|android).)*safari/i.test(qa()); -} -function to(e, o, g) { - o === void 0 && (o = !1), g === void 0 && (g = !1); - var C = e.getBoundingClientRect(), P = 1, x = 1; - o && Ur(e) && (P = e.offsetWidth > 0 && eo(C.width) / e.offsetWidth || 1, x = e.offsetHeight > 0 && eo(C.height) / e.offsetHeight || 1); - var n = kn(e) ? Br(e) : window, c = n.visualViewport, r = !$l() && g, a = (C.left + (r && c ? c.offsetLeft : 0)) / P, i = (C.top + (r && c ? c.offsetTop : 0)) / x, m = C.width / P, t = C.height / x; +function vl(e) { + const t = e?.trim() || "0s", c = t.endsWith("ms") ? 1 : 1e3, h = Number.parseFloat(t) * c; + return Number.isNaN(h) ? 0 : h; +} +function bl(e, t, c) { + const h = e.split(","), S = t.split(","), g = c.split(","); + let n = 0; + for (const [s, r] of h.entries()) { + if (r.trim() === "none") continue; + const o = vl(S[s % S.length]), i = vl(g[s % g.length]); + n = Math.max(n, o + i); + } + return n; +} +function t7(e) { + const { transitionProperty: t, transitionDuration: c, transitionDelay: h, animationName: S, animationDuration: g, animationDelay: n } = getComputedStyle(e); + return Math.max(bl(t, h, c), bl(S, n, g)); +} +function zc(e, t, c) { + return !c && t !== !1 && (!e || !!t); +} +const Kc = Pn(function({ store: t, alwaysVisible: c, unstable_otherElementRef: h, ...S }) { + const g = pf(); + t = t || g, Br(t, process.env.NODE_ENV !== "production" && "DisclosureContent must receive a `store` prop or be wrapped in a DisclosureProvider component."); + const n = Qe(null), s = of(S.id), [r, o] = ft(null), { open: i, mounted: p, animated: a, contentElement: f } = Q9(t, { + open: "open", + mounted: "mounted", + animated: "animated", + contentElement: "contentElement" + }), C = Dt(t.disclosure, "contentElement"), w = Qe(!1); + Et(() => { + n.current && t?.setContentElement(n.current); + }, [t]), Et(() => { + let u; + return t?.setState("animated", (y) => (u = y, !0)), () => { + u !== void 0 && t?.setState("animated", u); + }; + }, [t]), Et(() => { + if (!a) { + i ? w.current && (w.current = !1, o("enter")) : (w.current = !0, o(null)); + return; + } + if (!f?.isConnected) { + o(null); + return; + } + return $8(() => { + o(i ? "enter" : p ? "leave" : null); + }); + }, [ + a, + f, + i, + p + ]), Et(() => { + if (!t || !a || !r || !f) return; + const u = () => t?.setState("animating", !1), y = () => ad(u); + if (r === "leave" && i || r === "enter" && !i) return; + if (typeof a == "number") return gl(a, y); + const d = [f]; + C && d.push(C); + const b = h?.current; + b && d.push(b); + const _ = Math.max(...d.map(t7)); + if (!_) { + r === "enter" && t.setState("animated", !1), u(); + return; + } + return gl(Math.max(_ - 1e3 / 60, 0), y); + }, [ + t, + a, + f, + C, + h, + i, + r + ]), S = Bn(S, (u) => /* @__PURE__ */ W(Vc, { + value: t, + children: u + }), [t]); + const m = zc(p, S.hidden, c), v = S.style, l = Fn(() => m ? { + ...v, + display: "none" + } : v, [m, v]); + return S = { + "data-open": i || void 0, + "data-enter": r === "enter" || void 0, + "data-leave": r === "leave" || void 0, + hidden: m, + ...S, + id: s, + ref: mr(s ? t.setContentElement : null, n, S.ref), + style: l + }, Lc(S); +}), n7 = on(function(t) { + const c = Kc(t); + return Mn(e7, c); +}); +on(function({ unmountOnHide: t, ...c }) { + const h = pf(), S = c.store || h; + return Dt(S, ["mounted"], (g) => !t || g?.mounted) === !1 ? null : /* @__PURE__ */ W(n7, { ...c }); +}); +const r7 = "div", xf = Pn(function({ autoFocusOnShow: t = !0, ...c }) { + return c = Bn(c, (h) => /* @__PURE__ */ W(Gd.Provider, { + value: t, + children: h + }), [t]), c; +}); +on(function(t) { + const c = xf(t); + return Mn(r7, c); +}); +const wl = Ir(0); +function o7({ level: e, children: t }) { + const c = No(wl), h = Math.max(Math.min(e || c + 1, 6), 1); + return /* @__PURE__ */ W(wl.Provider, { + value: h, + children: t + }); +} +const i7 = "span"; +function Mf(e) { return { - width: m, - height: t, - top: i, - right: a + m, - bottom: i + t, - left: a, - x: a, - y: i + borderWidth: 0, + clipPath: "inset(50%)", + height: "1px", + margin: "-1px", + overflow: "hidden", + padding: 0, + position: "absolute", + whiteSpace: "nowrap", + width: "1px", + ...e }; } -function ys(e) { - var o = to(e), g = e.offsetWidth, C = e.offsetHeight; - return Math.abs(o.width - g) <= 1 && (g = o.width), Math.abs(o.height - C) <= 1 && (C = o.height), { - x: e.offsetLeft, - y: e.offsetTop, - width: g, - height: C +const Pf = Pn(function(t) { + return t = { + ...t, + style: Mf(t.style) + }, t; +}); +on(function(t) { + const c = Pf(t); + return Mn(i7, c); +}); +const a7 = "span", s7 = Pn(function(t) { + return t = { + "data-focus-trap": "", + tabIndex: 0, + "aria-hidden": !0, + ...t, + style: { + position: "fixed", + top: 0, + left: 0, + ...t.style + } + }, t = Pf(t), t; +}), Zi = on(function(t) { + const c = s7(t); + return Mn(a7, c); +}), Cl = Ir(null), c7 = "div"; +function Sl(e) { + const t = Wt(e), { fullscreenElement: c } = t, h = Kr(e).HTMLElement; + return h && c instanceof h ? c : t.body; +} +function u7(e, t) { + return t ? typeof t == "function" ? t(e) : t : Wt(e).createElement("div"); +} +function l7(e = "id") { + return `${e ? `${e}-` : ""}${Math.random().toString(36).slice(2, 8)}`; +} +function Er(e) { + queueMicrotask(() => { + e?.focus(); + }); +} +function _l(e, t) { + return { + ref: e, + node: t, + cleanup: Oa(e, t) + }; +} +function El(e) { + typeof e.cleanup == "function" ? e.cleanup() : Oa(e.ref, null); +} +const Of = Pn(function({ preserveTabOrder: t, preserveTabOrderAnchor: c, portalElement: h, portalRef: S, portal: g = !0, ...n }) { + const s = Qe(null), r = mr(s, n.ref), o = No(Cl), [i, p] = ft(null), [a, f] = ft(null), C = Qe(null), w = Qe(null), m = Qe(null), v = Qe(null), l = Bc(S), u = Qe(null); + return Et(() => { + const y = s.current; + if (!y || !g) { + p(null); + return; + } + const d = u7(y, h); + if (!d) { + p(null); + return; + } + const b = d.isConnected; + return b || (o || Sl(y)).appendChild(d), d.id || (d.id = y.id ? `portal/${y.id}` : l7()), p(d), u.current = _l(l.current, d), () => { + const _ = u.current; + _ && (u.current = null, El(_)), b || d.remove(); + }; + }, [ + g, + h, + o, + l + ]), Et(() => { + const y = u.current; + y && y.ref !== S && (El(y), u.current = _l(S, y.node)); + }, [S]), Ze(() => { + if (!i || o || h) return; + const y = Wt(i), d = () => { + const b = Sl(i); + i.parentElement !== b && b.appendChild(i); + }; + return i.isConnected && d(), y.addEventListener("fullscreenchange", d), () => { + y.removeEventListener("fullscreenchange", d); + }; + }, [ + i, + o, + h + ]), Et(() => { + if (!g || !t || !c) return; + const y = Wt(c).createElement("span"); + return y.style.position = "fixed", c.insertAdjacentElement("afterend", y), f(y), () => { + y.remove(), f(null); + }; + }, [ + g, + t, + c + ]), Ze(() => { + if (!i || !t) return; + let y = 0; + const d = (b) => { + if (!_o(b)) return; + const _ = b.type === "focusin"; + if (cancelAnimationFrame(y), _) return c9(i); + y = requestAnimationFrame(() => { + s9(i, !0); + }); + }; + return i.addEventListener("focusin", d, !0), i.addEventListener("focusout", d, !0), () => { + cancelAnimationFrame(y), i.removeEventListener("focusin", d, !0), i.removeEventListener("focusout", d, !0); + }; + }, [i, t]), n = Bn(n, (y) => { + if (y = /* @__PURE__ */ W(Cl.Provider, { + value: i || o, + children: y + }), !g) return y; + if (!i) return /* @__PURE__ */ W("span", { + ref: r, + id: n.id, + style: { position: "fixed" }, + hidden: !0 + }); + y = /* @__PURE__ */ Le(pt, { children: [ + t && /* @__PURE__ */ W(Zi, { + ref: w, + "data-focus-trap": n.id, + className: "__focus-trap-inner-before", + onFocus: (b) => { + _o(b, i) ? Er(As()) : Er(C.current); + } + }), + y, + t && /* @__PURE__ */ W(Zi, { + ref: m, + "data-focus-trap": n.id, + className: "__focus-trap-inner-after", + onFocus: (b) => { + _o(b, i) ? Er(ol()) : Er(v.current); + } + }) + ] }), y = r0(y, i); + let d = /* @__PURE__ */ Le(pt, { children: [ + t && /* @__PURE__ */ W(Zi, { + ref: C, + "data-focus-trap": n.id, + className: "__focus-trap-outer-before", + onFocus: (b) => { + b.relatedTarget !== v.current && _o(b, i) ? Er(w.current) : Er(ol()); + } + }), + t && /* @__PURE__ */ W("span", { + "aria-owns": i.id, + style: { position: "fixed" } + }), + t && /* @__PURE__ */ W(Zi, { + ref: v, + "data-focus-trap": n.id, + className: "__focus-trap-outer-after", + onFocus: (b) => { + if (_o(b, i)) Er(m.current); + else { + const _ = As(); + if (_ === w.current) { + requestAnimationFrame(() => As()?.focus()); + return; + } + Er(_); + } + } + }) + ] }); + return a && t && (d = r0(d, a)), /* @__PURE__ */ Le(pt, { children: [d, y] }); + }, [ + i, + o, + g, + n.id, + t, + a + ]), n = { + ...n, + ref: r + }, n; +}); +on(function(t) { + const c = Of(t); + return Mn(c7, c); +}); +function Tf(e, ...t) { + if (!e) return !1; + const c = e.getAttribute("data-backdrop"); + return c == null ? !1 : c === "" || c === "true" || !t.length ? !0 : t.some((h) => c === h); +} +const xl = /* @__PURE__ */ new WeakMap(); +function d7(e, t, c) { + for (; c.length; ) { + const h = c[c.length - 1]; + if (!h) { + e.delete(t); + return; + } + if (!h.disposed) return; + c.pop(), h.cleanup(); + } + e.delete(t); +} +function xi(e, t, c) { + let h = xl.get(e); + h || (h = /* @__PURE__ */ new Map(), xl.set(e, h)); + const S = h.get(t) ?? [], g = { + cleanup: c(), + disposed: !1 + }; + return S.length || h.set(t, S), S.push(g), () => { + S.includes(g) && (g.disposed = !0, d7(h, t, S)); + }; +} +function Wc(e, t, c) { + return xi(e, t, () => { + const S = e.getAttribute(t); + return e.setAttribute(t, c), () => { + S == null ? e.removeAttribute(t) : e.setAttribute(t, S); + }; + }); +} +function Yr(e, t, c) { + return xi(e, t, () => { + const S = t in e, g = e[t]; + return e[t] = c, () => { + S ? e[t] = g : delete e[t]; + }; + }); +} +function ma(e, t) { + return e ? xi(e, "style", () => { + const h = e.style.cssText; + return Object.assign(e.style, t), () => { + e.style.cssText = h; + }; + }) : () => { + }; +} +function Yi(e, t, c) { + return e ? xi(e, t, () => { + const S = e.style.getPropertyValue(t), g = e.style.getPropertyPriority(t); + return e.style.setProperty(t, c), () => { + S ? e.style.setProperty(t, S, g) : e.style.removeProperty(t); + }; + }) : () => { + }; +} +const ga = /* @__PURE__ */ new WeakMap(); +function Ao(e = "", t = "outside") { + return `__ariakit-dialog-${t}${e ? `-${e}` : ""}`; +} +function f7(e, t = "") { + return un(Yr(e, Ao(), !0), Yr(e, Ao(t), !0)); +} +function Af(e, t = "") { + return un(Yr(e, Ao("", "ancestor"), !0), Yr(e, Ao(t, "ancestor"), !0)); +} +function p7(e, t) { + const c = /* @__PURE__ */ new WeakSet(); + ga.set(e, c); + for (const h of t) h && c.add(h); + return () => { + ga.get(e) === c && ga.delete(e); + }; +} +function Lf(e, t) { + const c = ga.get(t); + if (!c) return !1; + do { + if (c.has(e)) return !0; + if (!e.parentElement) return !1; + e = e.parentElement; + } while (!0); +} +function Na(e, t) { + const c = Ao(t, "ancestor"); + if (e[c]) return !0; + const h = Ao(t); + do { + if (e[h]) return !0; + if (!e.parentElement) return !1; + e = e.parentElement; + } while (!0); +} +function If({ cleanups: e, element: t, id: c, ids: h }) { + Tf(t, ...h) || e.push(f7(t, c)); +} +function Nf({ cleanups: e, ancestor: t, element: c, id: h }) { + c.hasAttribute("data-dialog") && c.id !== h || e.push(Af(t, h)); +} +function Bf(e) { + for (let t = e.length - 1; t >= 0; t -= 1) e[t]?.(); +} +const h7 = ["SCRIPT", "STYLE"]; +function uc(e) { + return `__ariakit-dialog-snapshot-${e}`; +} +function y7(e, t) { + const c = Wt(t), h = uc(e); + if (!c.body[h]) return !0; + do { + if (t === c.body) return !1; + if (t[h]) return !0; + if (!t.parentElement) return !1; + t = t.parentElement; + } while (!0); +} +function m7(e, t, c) { + return h7.includes(t.tagName) || !y7(e, t) ? !1 : !c.some((h) => h && Xt(t, h)); +} +function Jc(e, t, c, h) { + for (let S of t) { + if (!S?.isConnected) continue; + const g = t.some((r) => !r || r === S ? !1 : r.contains(S)), n = Wt(S), s = S; + for (; S.parentElement && S !== n.body; ) { + if (h?.(S.parentElement, s), !g) + for (const r of S.parentElement.children) m7(e, r, t) && c(r, s); + S = S.parentElement; + } + } +} +function g7(e, t) { + const { body: c } = Wt(t[0]), h = []; + return Jc(e, t, (g) => { + h.push(Yr(g, uc(e), !0)); + }), un(Yr(c, uc(e), !0), () => { + for (const g of h) g(); + }); +} +function v7(e, t) { + const c = [], h = t.map((g) => g?.id); + return Jc(e, t, (g) => { + If({ + cleanups: c, + element: g, + id: e, + ids: h + }); + }, (g, n) => { + Nf({ + cleanups: c, + ancestor: g, + element: n, + id: e + }); + }), () => { + Bf(c); + }; +} +function Rf(e = {}) { + const t = e.store || e.disclosure ? Cf(e.store, wf(e.disclosure, ["contentElement", "disclosureElement"])) : void 0; + Sf(e, t); + const c = t?.getState(), h = cn(e.open, c?.open, e.defaultOpen, !1), S = cn(e.animated, c?.animated, !1), g = { + open: h, + animated: S, + animating: !!S && h, + mounted: h, + contentElement: cn(c?.contentElement, null), + disclosureElement: cn(c?.disclosureElement, null) + }, n = t ? hr(g, t) : hr(g); + return ya(n, () => nr(n, ["animated", "animating"], (s) => { + s.animated || n.setState("animating", !1); + })), ya(n, () => Ei(n, ["open"], () => { + n.getState().animated && n.setState("animating", !0); + })), ya(n, () => nr(n, ["open", "animating"], (s) => { + n.setState("mounted", s.open || s.animating); + })), { + ...n, + disclosure: e.disclosure, + setOpen: (s) => n.setState("open", s), + show: () => n.setState("open", !0), + hide: () => n.setState("open", !1), + toggle: () => n.setState("open", (s) => !s), + stopAnimation: () => n.setState("animating", !1), + setContentElement: (s) => n.setState("contentElement", s), + setDisclosureElement: (s) => n.setState("disclosureElement", s) + }; +} +function kf(e, t, c) { + return af(t, [ + c.store, + c.disclosure, + t + ]), lr(e, c, "open", "setOpen"), lr(e, c, "mounted", "setMounted"), lr(e, c, "animated"), Object.assign(e, { disclosure: c.disclosure }); +} +function b7(e = {}) { + const [t, c] = Fc(Rf, e); + return kf(t, c, e); +} +const w7 = "div", C7 = [ + "a", + "button", + "details", + "dialog", + "div", + "form", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "header", + "img", + "input", + "label", + "li", + "nav", + "ol", + "p", + "section", + "select", + "span", + "summary", + "textarea", + "ul", + "svg" +]; +Pn(function(t) { + return t; +}); +const lc = on(function(t) { + return Mn(w7, t); +}); +Object.assign(lc, C7.reduce((e, t) => (e[t] = on(function(h) { + return Mn(t, h); +}), e), {})); +function S7({ store: e, backdrop: t, backdropRef: c, alwaysVisible: h, hidden: S }) { + const g = Qe(null), n = b7({ disclosure: e }), s = Dt(e, "contentElement"); + Et(() => { + const i = g.current, p = s; + i && p && (i.style.zIndex = getComputedStyle(p).zIndex); + }, [s]), Et(() => { + const i = s?.id; + if (!i) return; + const p = g.current; + if (p) + return Af(p, i); + }, [s]); + const r = Kc({ + ref: mr(g, c), + store: n, + role: "presentation", + "data-backdrop": s?.id || "", + alwaysVisible: h, + ...S != null && { hidden: S }, + style: { + position: "fixed", + top: 0, + right: 0, + bottom: 0, + left: 0 + } + }); + return t ? Ec(t) ? /* @__PURE__ */ W(lc, { + ...r, + render: t + }) : /* @__PURE__ */ W(lc, { + ...r, + render: /* @__PURE__ */ W(typeof t != "boolean" ? t : "div", {}) + }) : null; +} +function Hf(e = {}) { + return Rf(e); +} +function jf(e, t, c) { + return kf(e, t, c); +} +function Df(e = {}) { + const [t, c] = Fc(Hf, e); + return jf(t, c, e); +} +function ts(e, ...t) { + if (!e) return !1; + const c = e.getAttribute("data-dialog-hidden-dismiss"); + return c == null ? !1 : c === "" || !t.length ? !0 : t.some((h) => c === h); +} +function Vf() { + return "inert" in HTMLElement.prototype; +} +function _7(e) { + return Wc(e, "aria-hidden", "true"); +} +function E7(e, ...t) { + if (!e) return !1; + const c = e.getAttribute("data-focus-trap"); + return c == null ? !1 : t.length ? c === "" ? !1 : t.some((h) => c === h) : !0; +} +function Uf(e, t) { + if (!("style" in e)) return si; + if (Vf()) return Yr(e, "inert", !0); + const c = Nc(e, !0).map((h) => { + if (t?.some((g) => g && Xt(g, h))) return si; + const S = xi(h, "focus", () => (h.focus = si, () => { + delete h.focus; + })); + return un(Wc(h, "tabindex", "-1"), S); + }); + return un(...c, _7(e), ma(e, { + pointerEvents: "none", + userSelect: "none", + cursor: "default" + })); +} +function x7({ cleanups: e, element: t, elements: c, ids: h }) { + Tf(t, ...h) || E7(t, ...h) || ts(t, ...h) || e.push(Uf(t, c)); +} +function M7(e, t, c) { + t.hasAttribute("role") && (c.some((h) => h && Xt(h, t)) || e.push(Wc(t, "role", "none"))); +} +function P7(e, t) { + const c = [], h = t.map((g) => g?.id); + return Jc(e, t, (g) => { + If({ + cleanups: c, + element: g, + id: e, + ids: h + }), x7({ + cleanups: c, + element: g, + elements: t, + ids: h + }); + }, (g, n) => { + Nf({ + cleanups: c, + ancestor: g, + element: n, + id: e + }), M7(c, g, t); + }), () => { + Bf(c); + }; +} +function Ff(e) { + const t = [e]; + for (; ; ) { + let c; + try { + c = Kr(e).frameElement; + } catch { + return t; + } + if (!Un(c)) return t; + t.push(c), e = c; + } +} +function zf(e, t) { + const c = e.composedPath().filter(Un); + !c.length && Un(e.target) && c.push(e.target); + const h = c[0]; + if (h) + for (const g of Ff(h).slice(1)) c.includes(g) || c.push(g); + const S = t?.getRootNode(); + return { + elements: c, + rootTarget: S ? c.find((g) => g.getRootNode() === S) || e.target : c[0] || e.target }; } -function Gl(e, o) { - var g = o.getRootNode && o.getRootNode(); - if (e.contains(o)) - return !0; - if (g && ms(g)) { - var C = o; - do { - if (C && e.isSameNode(C)) - return !0; - C = C.parentNode || C.host; - } while (C); - } - return !1; +function O7(e, t, c) { + const h = Qe(null); + return Ze(() => { + if (!e) { + h.current = null; + return; + } + return nn("mousedown", (g) => { + h.current = zf(g, c); + }, !0, t); + }, [ + e, + t, + c + ]), h; } -function yn(e) { - return Br(e).getComputedStyle(e); -} -function M5(e) { - return ["table", "td", "th"].indexOf(un(e)) >= 0; -} -function Mn(e) { - return ((kn(e) ? e.ownerDocument : ( - // $FlowFixMe[prop-missing] - e.document - )) || window.document).documentElement; -} -function na(e) { - return un(e) === "html" ? e : ( - // this is a quicker (but less type safe) way to save quite some bytes from the bundle - // $FlowFixMe[incompatible-return] - // $FlowFixMe[prop-missing] - e.assignedSlot || // step into the shadow DOM of the parent of a slotted node - e.parentNode || // DOM Element detected - (ms(e) ? e.host : null) || // ShadowRoot detected - // $FlowFixMe[incompatible-call]: HTMLElement is a Node - Mn(e) - ); +function Kf(e) { + const t = Ff(e).at(-1); + return Kr(t ?? e); } -function Su(e) { - return !Ur(e) || // https://github.com/popperjs/popper-core/issues/837 - yn(e).position === "fixed" ? null : e.offsetParent; +function Ml(e) { + return e.isConnected; } -function x5(e) { - var o = /firefox/i.test(qa()), g = /Trident/i.test(qa()); - if (g && Ur(e)) { - var C = yn(e); - if (C.position === "fixed") - return null; +function T7(e, t) { + if (!e) return !1; + if (Xt(e, t)) return !0; + const c = t.getAttribute("aria-activedescendant"); + if (c) { + const h = Wt(t).getElementById(c); + if (h) return Xt(e, h); } - var P = na(e); - for (ms(P) && (P = P.host); Ur(P) && ["html", "body"].indexOf(un(P)) < 0; ) { - var x = yn(P); - if (x.transform !== "none" || x.perspective !== "none" || x.contain === "paint" || ["transform", "perspective"].indexOf(x.willChange) !== -1 || o && x.willChange === "filter" || o && x.filter && x.filter !== "none") - return P; - P = P.parentNode; - } - return null; -} -function Ko(e) { - for (var o = Br(e), g = Su(e); g && M5(g) && yn(g).position === "static"; ) - g = Su(g); - return g && (un(g) === "html" || un(g) === "body" && yn(g).position === "static") ? o : g || x5(e) || o; -} -function gs(e) { - return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y"; -} -function Mo(e, o, g) { - return An(e, ki(o, g)); + return !1; } -function E5(e, o, g) { - var C = Mo(e, o, g); - return C > g ? g : C; +function A7(e, t) { + if (!("clientY" in e)) return !1; + const c = t.getBoundingClientRect(); + return c.width === 0 || c.height === 0 ? !1 : c.top <= e.clientY && e.clientY <= c.top + c.height && c.left <= e.clientX && e.clientX <= c.left + c.width; +} +function L7(e, t, c) { + return Xt(t, e) || T7(c, e) || e.hasAttribute("data-focus-trap") || ts(e, t.id) ? !0 : Lf(e, t); +} +function Wf(e, t, c) { + return e.elements.some((h) => L7(h, t, c)); +} +function Bs({ store: e, type: t, listener: c, capture: h, open: S, contentElement: g, focusedRef: n }) { + const s = Kt(c); + Ze(() => { + if (!S) return; + const r = (i) => { + const { contentElement: p, disclosureElement: a } = e.getState(); + if (!p) return; + const f = zf(i, p), C = f.elements[0], w = f.rootTarget; + if (!Un(w) || C && !Ml(C) || !Ml(w) || Wf(f, p, a)) return; + const m = Wt(p); + if (Wt(w) !== m) { + s(i); + return; + } + Wt(C ?? w) === m && A7(i, p) || n.current && !Na(w, p.id) || s(i); + }, o = g ? Kf(g) : void 0; + return nn(t, r, h, o); + }, [ + S, + h, + e, + t, + s, + g, + n + ]); +} +function Rs(e, t) { + return typeof e == "function" ? e(t) : !!e; +} +function I7({ store: e, hideOnInteractOutside: t, domReady: c, interactedOutsideRef: h, focusedStoreRef: S }) { + const g = Dt(e, "open"), n = Dt(e, "contentElement"), s = n ? Kf(n) : void 0, r = O7(g, s, n), o = Qe(!1); + Et(() => { + if (!g || !c || !n) return; + o.current = !1; + const p = () => { + o.current = !0, S.current = e; + }; + return n.addEventListener("focusin", p, !0), () => n.removeEventListener("focusin", p, !0); + }, [ + g, + c, + n, + e, + S + ]); + const i = { + store: e, + capture: !0, + open: g, + contentElement: n, + focusedRef: o + }; + Bs({ + ...i, + type: "click", + listener: (p) => { + const { contentElement: a, disclosureElement: f } = e.getState(), C = r.current; + if (!C || !a || Wf(C, a, f)) return; + const w = C.rootTarget; + Un(w) && (Wt(w) === Wt(a) && !Na(w, a.id) || Rs(t, p) && (h.current = !0, e.hide())); + } + }), Bs({ + ...i, + type: "focusin", + listener: (p) => { + const { contentElement: a } = e.getState(); + if (!a || p.target === Wt(a) || !Rs(t, p)) return; + const f = p.target; + Un(f) && Wt(f) !== Wt(a) && (h.current = !0), e.hide(); + } + }), Bs({ + ...i, + type: "contextmenu", + listener: (p) => { + Rs(t, p) && (h.current = !0, e.hide()); + } + }); } -function ql() { +const Pl = Ir({}); +function N7(e) { + const t = No(Pl), [c, h] = ft([]), S = rt((n) => (h((s) => [...s, n]), un(t.add?.(n), () => { + h((s) => s.filter((r) => r !== n)); + })), [t]); + Et(() => nr(e, ["open", "contentElement"], (n) => { + if (n.open && n.contentElement) + return t.add?.(e); + }), [e, t]); + const g = Fn(() => ({ + store: e, + add: S + }), [e, S]); return { - top: 0, - right: 0, - bottom: 0, - left: 0 + wrapElement: rt((n) => /* @__PURE__ */ W(Pl.Provider, { + value: g, + children: n + }), [g]), + nestedDialogs: c }; } -function Zl(e) { - return Object.assign({}, ql(), e); +function B7({ attribute: e, contentId: t, contentElement: c, enabled: h }) { + const [S, g] = b9(), n = rt(() => { + if (!h || !c) return !1; + const { body: s } = Wt(c), r = s.getAttribute(e); + return !r || r === t; + }, [ + S, + h, + c, + e, + t + ]); + return Et(() => { + if (!h || !t || !c) return; + const { body: s } = Wt(c); + if (n()) + return s.setAttribute(e, t), () => s.removeAttribute(e); + const r = new MutationObserver(() => ad(g)); + return r.observe(s, { attributeFilter: [e] }), () => r.disconnect(); + }, [ + S, + h, + t, + c, + n, + e, + g + ]), n; +} +const Jf = Xd() && !t9(), R7 = Jf ? Ze : Et; +function k7(e) { + const { CSS: t } = e; + return !!t?.supports("scrollbar-gutter", "stable"); +} +function Ol(e) { + const t = e.getBoundingClientRect().left; + return Math.round(t) + e.scrollLeft ? "paddingLeft" : "paddingRight"; +} +function H7(e, t, c) { + const h = B7({ + attribute: "data-dialog-prevent-body-scroll", + contentElement: e, + contentId: t, + enabled: c + }); + R7(() => { + if (!h() || !e) return; + const S = Wt(e), g = Kr(e), { documentElement: n, body: s } = S, r = n.style.getPropertyValue("--scrollbar-width"), o = r ? Number.parseInt(r, 10) : g.innerWidth - n.clientWidth, i = () => { + const f = g.getComputedStyle(n), C = f.getPropertyValue("scrollbar-gutter"), w = C.includes("stable"), m = (y) => !y || y === "visible", v = !m(f.getPropertyValue("overflow-x")) || !m(f.getPropertyValue("overflow-y")), l = () => un(Yi(n, "overflow-x", "hidden"), Yi(n, "overflow-y", "hidden")), u = (y) => v ? un(y, l()) : y; + return !w && !o ? u(ma(s, { overflow: "hidden" })) : w || k7(g) ? un(Yi(n, "scrollbar-gutter", w ? C : "stable"), l()) : u(un(Yi(n, "--scrollbar-width", `${o}px`), ma(s, { + overflow: "hidden", + [Ol(n)]: `${o}px` + }))); + }, p = () => { + const { scrollX: f, scrollY: C, visualViewport: w } = g, m = w?.offsetLeft ?? 0, v = w?.offsetTop ?? 0, l = ma(s, { + position: "fixed", + overflow: "hidden", + top: `${-(C - Math.floor(v))}px`, + left: `${-(f - Math.floor(m))}px`, + right: "0", + [Ol(n)]: `${o}px` + }); + return () => { + l(), process.env.NODE_ENV !== "test" && g.scrollTo({ + left: f, + top: C, + behavior: "instant" + }); + }; + }; + if (Jf) return p(); + const a = i(); + return () => { + queueMicrotask(a); + }; + }, [h, e]); +} +const $f = /* @__PURE__ */ new WeakSet(); +function j7(e) { + $f.add(e); } -function Xl(e, o) { - return o.reduce(function(g, C) { - return g[C] = e, g; - }, {}); +function D7(e) { + return $f.has(e); } -var P5 = function(o, g) { - return o = typeof o == "function" ? o(Object.assign({}, g.rects, { - placement: g.placement - })) : o, Zl(typeof o != "number" ? o : Xl(o, Fo)); -}; -function A5(e) { - var o, g = e.state, C = e.name, P = e.options, x = g.elements.arrow, n = g.modifiersData.popperOffsets, c = nn(g.placement), r = gs(c), a = [Ir, Fr].indexOf(c) >= 0, i = a ? "height" : "width"; - if (!(!x || !n)) { - var m = P5(P.padding, g), t = ys(x), f = r === "y" ? Tr : Ir, b = r === "y" ? zr : Fr, y = g.rects.reference[i] + g.rects.reference[r] - n[r] - g.rects.popper[i], u = n[r] - g.rects.reference[r], d = Ko(x), l = d ? r === "y" ? d.clientHeight || 0 : d.clientWidth || 0 : 0, s = y / 2 - u / 2, v = m[f], p = l - t[i] - m[b], h = l / 2 - t[i] / 2 + s, O = Mo(v, h, p), I = r; - g.modifiersData[C] = (o = {}, o[I] = O, o.centerOffset = O - h, o); - } +const V7 = "div", U7 = Qd(), dc = /* @__PURE__ */ new WeakSet(); +function F7(e) { + const t = Pr(e); + return !t || e && Xt(e, t) || ts(t, e?.id) ? !1 : !!Tn(t); } -function O5(e) { - var o = e.state, g = e.options, C = g.element, P = C === void 0 ? "[data-popper-arrow]" : C; - P != null && (typeof P == "string" && (P = o.elements.popper.querySelector(P), !P) || Gl(o.elements.popper, P) && (o.elements.arrow = P)); +function z7(e) { + let t = e; + for (; t.shadowRoot; ) { + const c = t.shadowRoot.activeElement; + if (!Un(c)) break; + t = c; + } + return t; } -const T5 = { - name: "arrow", - enabled: !0, - phase: "main", - fn: A5, - effect: O5, - requires: ["popperOffsets"], - requiresIfExists: ["preventOverflow"] -}; -function ro(e) { - return e.split("-")[1]; +function Tl(e, t, c) { + return Xt(t, e) || c && Xt(c, e) ? !0 : Lf(e, t); } -var I5 = { - top: "auto", - right: "auto", - bottom: "auto", - left: "auto" -}; -function N5(e, o) { - var g = e.x, C = e.y, P = o.devicePixelRatio || 1; - return { - x: eo(g * P) / P || 0, - y: eo(C * P) / P || 0 - }; +function K7(e) { + const t = e.querySelectorAll("[data-dialog-dismiss]"); + for (const c of t) if (c.closest("[data-dialog]") === e) return !0; + return !1; } -function Mu(e) { - var o, g = e.popper, C = e.popperRect, P = e.placement, x = e.variation, n = e.offsets, c = e.position, r = e.gpuAcceleration, a = e.adaptive, i = e.roundOffsets, m = e.isFixed, t = n.x, f = t === void 0 ? 0 : t, b = n.y, y = b === void 0 ? 0 : b, u = typeof i == "function" ? i({ - x: f, - y - }) : { - x: f, - y - }; - f = u.x, y = u.y; - var d = n.hasOwnProperty("x"), l = n.hasOwnProperty("y"), s = Ir, v = Tr, p = window; - if (a) { - var h = Ko(g), O = "clientHeight", I = "clientWidth"; - if (h === Br(g) && (h = Mn(g), yn(h).position !== "static" && c === "absolute" && (O = "scrollHeight", I = "scrollWidth")), h = h, P === Tr || (P === Ir || P === Fr) && x === Ro) { - v = zr; - var k = m && h === p && p.visualViewport ? p.visualViewport.height : ( - // $FlowFixMe[prop-missing] - h[O] - ); - y -= k - C.height, y *= r ? 1 : -1; +function Al(e, t = !1) { + if (!e) return null; + const c = "current" in e ? e.current : e; + return c ? t ? Tn(c) ? c : null : c : null; +} +function W7(e) { + if (!e.isConnected) return []; + const t = e.getRootNode(), c = t.querySelectorAll("[data-dialog][data-dialog-portal][data-open]"), h = []; + let S = !1; + for (const g of c) { + if (g === e) { + S = !0; + continue; } - if (P === Ir || (P === Tr || P === zr) && x === Ro) { - s = Fr; - var R = m && h === p && p.visualViewport ? p.visualViewport.width : ( - // $FlowFixMe[prop-missing] - h[I] - ); - f -= R - C.width, f *= r ? 1 : -1; + if (!S) continue; + const n = g.getAttribute("data-dialog-portal"); + if (!n) continue; + const s = t.getElementById(n); + !s || !Xt(s, g) || dc.has(s) || h.push(s); + } + return h; +} +const Gf = Pn(function({ store: t, open: c, onClose: h, focusable: S = !0, modal: g = !0, portal: n = g, backdrop: s = g, hideOnEscape: r = !0, hideOnInteractOutside: o = !0, getPersistentElements: i, preventBodyScroll: p = g, autoFocusOnShow: a = !0, autoFocusOnHide: f = !0, initialFocus: C, finalFocus: w, unmountOnHide: m, unstable_treeSnapshotKey: v, ...l }) { + const u = es(), y = Qe(null), d = Qe(null), b = g && n && !l.portalElement, _ = Df({ + store: t || u, + open: c, + setOpen(be) { + if (be) return; + const Ne = y.current; + if (!Ne) return; + const He = new Event("close", { + bubbles: !1, + cancelable: !0 + }); + h && Ne.addEventListener("close", h, { once: !0 }), Ne.dispatchEvent(He), He.defaultPrevented && _.setOpen(!0); + } + }), { portalRef: E, portalNode: B, domReady: O } = Rc(n, l.portalRef), I = l.preserveTabOrder, x = Dt(_, ["mounted"], (be) => I && !g && be.mounted), A = of(l.id), N = Dt(_, "open"), k = Dt(_, "mounted"), j = Dt(_, "contentElement"), D = zc(k, l.hidden, l.alwaysVisible); + H7(j, A, p && !D); + const T = Qe(!1), L = Qe(null); + Et(() => nr(_, ["open"], (be) => { + if (!be.open) { + L.current = null; + return; } - } - var L = Object.assign({ - position: c - }, a && I5), N = i === !0 ? N5({ - x: f, - y - }, Br(g)) : { - x: f, - y - }; - if (f = N.x, y = N.y, r) { - var B; - return Object.assign({}, L, (B = {}, B[v] = l ? "0" : "", B[s] = d ? "0" : "", B.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + y + "px)" : "translate3d(" + f + "px, " + y + "px, 0)", B)); - } - return Object.assign({}, L, (o = {}, o[v] = l ? y + "px" : "", o[s] = d ? f + "px" : "", o.transform = "", o)); -} -function L5(e) { - var o = e.state, g = e.options, C = g.gpuAcceleration, P = C === void 0 ? !0 : C, x = g.adaptive, n = x === void 0 ? !0 : x, c = g.roundOffsets, r = c === void 0 ? !0 : c, a = { - placement: nn(o.placement), - variation: ro(o.placement), - popper: o.elements.popper, - popperRect: o.rects.popper, - gpuAcceleration: P, - isFixed: o.options.strategy === "fixed" - }; - o.modifiersData.popperOffsets != null && (o.styles.popper = Object.assign({}, o.styles.popper, Mu(Object.assign({}, a, { - offsets: o.modifiersData.popperOffsets, - position: o.options.strategy, - adaptive: n, - roundOffsets: r - })))), o.modifiersData.arrow != null && (o.styles.arrow = Object.assign({}, o.styles.arrow, Mu(Object.assign({}, a, { - offsets: o.modifiersData.arrow, - position: "absolute", - adaptive: !1, - roundOffsets: r - })))), o.attributes.popper = Object.assign({}, o.attributes.popper, { - "data-popper-placement": o.placement + T.current = !1, L.current !== _ && (L.current = null); + }), [_]), I7({ + store: _, + hideOnInteractOutside: o, + domReady: O, + interactedOutsideRef: T, + focusedStoreRef: L + }); + const { wrapElement: R, nestedDialogs: M } = N7(_); + l = Bn(l, R, [R]); + const P = Qe(null); + U7 && Ze(() => { + if (!O) return; + const be = y.current; + if (!be) return; + const Ne = Wt(be), He = (ae) => { + P.current = ae.target; + }; + return Ne.addEventListener("mousedown", He, !0), () => { + Ne.removeEventListener("mousedown", He, !0); + }; + }, [O]), Et(() => { + if (!N || L.current === _) return; + const be = y.current; + if ((() => { + const { disclosureElement: oe } = _.getState(); + return !(!oe || D7(oe) || !oe.isConnected || be && Xt(be, oe)); + })()) return; + const He = (oe) => { + j7(oe), _.setDisclosureElement(oe); + }, ae = Pr(be, { activeDescendant: !0 }); + if (ae) { + if (ae.tagName === "BODY") { + const oe = P.current; + if (P.current = null, !oe?.isConnected || !Tn(oe) || be && Xt(be, oe)) return; + He(oe); + return; + } + be && Xt(be, ae) || He(ae); + } + }, [_, N]), Ze(() => { + if (!k || !O) return; + const be = y.current; + if (!be) return; + const Ne = Kr(be), He = Ne.visualViewport || Ne, ae = () => { + const oe = Ne.visualViewport?.height ?? Ne.innerHeight; + be.style.setProperty("--dialog-viewport-height", `${oe}px`); + }; + return ae(), He.addEventListener("resize", ae), () => { + He.removeEventListener("resize", ae); + }; + }, [k, O]); + const [H, K] = ft(!1); + Et(() => { + if (!(g && N && O) || !j) { + K(!1); + return; + } + const be = () => { + K(!K7(j)); + }; + be(); + const { MutationObserver: Ne } = Kr(j), He = new Ne(be); + return He.observe(j, { + childList: !0, + subtree: !0 + }), () => He.disconnect(); + }, [ + g, + N, + O, + j + ]), Et(() => { + if (!Vf() || N || !k || !O) return; + const be = y.current; + if (be) + return Uf(be); + }, [ + N, + k, + O + ]); + const V = N && O, U = Qe(null); + Et(() => { + if (!A || !b || !V || !B) { + U.current = null; + return; + } + const be = y.current; + if (!be || !Xt(B, be)) { + U.current = null; + return; + } + return U.current?.portal !== B && (U.current = { + portal: B, + peers: W7(be) + }), dc.add(B), () => { + dc.delete(B); + }; + }, [ + A, + V, + b, + B + ]), Et(() => { + if (!A || !V) return; + const be = y.current; + return g7(A, [be]); + }, [ + A, + V, + v + ]); + const F = Kt(i); + Et(() => { + if (!A || !V) return; + const { disclosureElement: be } = _.getState(), Ne = j ?? y.current; + if (!Ne) return; + const He = [ + Ne, + ...F() || [], + ...U.current?.peers || [], + ...M.map((oe) => oe.getState().contentElement) + ], ae = p7(Ne, He); + return g ? un(ae, P7(A, He)) : un(ae, v7(A, [be, ...He])); + }, [ + A, + _, + V, + j, + g, + b, + F, + M, + v + ]); + const Q = !!a, ne = Wr(a), [te, X] = ft(!1); + Ze(() => { + if (!N || !Q || !O || !j?.isConnected) return; + const be = Al(C, !0) || j.querySelector("[data-autofocus=true],[autofocus]") || sc(j, !0, n && x) || j, Ne = Tn(be); + ne(Ne ? be : null) && (X(!0), queueMicrotask(() => { + const { open: He, disclosureElement: ae } = _.getState(); + if (!He) return; + const oe = Pr(j, { frame: !1 }), ue = oe && z7(oe); + L.current === _ && oe && ue && Tn(ue) && !Tl(oe, j, ae) && !Tl(ue, j, ae) || (Tn(be) && be.scrollIntoView({ + block: "nearest", + inline: "nearest" + }), be.focus({ preventScroll: !0 })); + })); + }, [ + N, + Q, + O, + j, + C, + n, + x, + _, + ne, + L + ]); + const Z = !!f, fe = Wr(f), [le, Se] = ft(!1); + Et(() => { + if (N) + return Se(!0), () => Se(!1); + }, [N]); + const de = rt((be, Ne = !0) => { + if (T.current) return; + const { disclosureElement: He } = _.getState(); + if (F7(be)) return; + let ae = Al(w) || He; + if (ae?.id) { + const ue = Wt(ae), he = `[aria-activedescendant="${ae.id}"]`, _e = ue.querySelector(he); + _e && (ae = _e); + } + if (ae && !Tn(ae)) { + const ue = ae.closest("[data-dialog]"); + if (ue?.id) { + const he = Wt(ue), _e = `[aria-controls~="${ue.id}"]`, Te = he.querySelector(_e); + Te && (ae = Te); + } + } + const oe = ae && Tn(ae); + if (!oe && Ne) { + requestAnimationFrame(() => de(be, !1)); + return; + } + fe(oe ? ae : null) && oe && ae?.focus(); + }, [ + _, + w, + fe + ]), me = Qe(!1); + Et(() => { + if (N || !le || !Z) return; + const be = y.current; + me.current = !0, de(be); + }, [ + N, + le, + O, + Z, + de + ]), Ze(() => { + if (!le || !Z) return; + const be = y.current; + return () => { + if (me.current) { + me.current = !1; + return; + } + de(be); + }; + }, [ + le, + Z, + de + ]); + const Oe = Wr(r), [Ce] = ft(() => /* @__PURE__ */ new WeakMap()), G = l.onKeyDown, ie = l.onKeyDownCapture, we = l.onFocusCapture, z = Kt((be) => { + if (we?.(be), !_.getState().open) return; + const Ne = be.target; + ac(Ne) && Xt(be.currentTarget, Ne) && (L.current = _); + }), J = Kt((be) => { + if (be.key !== "Escape" || !be.bubbles) return !1; + const Ne = Ce.get(be); + if (Ne) + return be.defaultPrevented && !Ne.defaultPrevented ? !1 : Ne.accepted; + if (be.defaultPrevented) return !1; + const He = y.current; + if (!k || !He || Na(He)) return !1; + const ae = Oe(be); + return Ce.set(be, { + accepted: ae, + defaultPrevented: be.defaultPrevented + }), ae; + }), q = Kt((be) => { + const Ne = J(be); + return Ce.delete(be), Ne ? (_.hide(), !0) : !1; + }), re = Kt((be) => { + const Ne = be.nativeEvent, He = Ne.cancelBubble; + if (G?.(be), He) { + Ce.delete(Ne); + return; + } + q(Ne) && be.stopPropagation(); + }), $ = Kt((be) => { + const Ne = be.nativeEvent, He = Ne.cancelBubble; + if (ie?.(be), He) { + Ce.delete(Ne); + return; + } + (be.isPropagationStopped() || Ne.cancelBubble) && q(Ne); + }); + Ze(() => { + if (!O || !k) return; + const be = (ae) => { + if (ae.key !== "Escape" || !ae.bubbles) return; + if (ae.cancelBubble) { + Ce.delete(ae); + return; + } + if (Ce.has(ae)) return; + const oe = y.current; + if (!oe) return; + const ue = ae.target; + if (!ac(ue)) return; + const { disclosureElement: he } = _.getState(); + !!(Un(ue) && ue.tagName === "BODY" || Xt(oe, ue) || !he || Xt(he, ue) || Un(ue) && Na(ue, oe.id) || Un(ue) && ts(ue, oe.id)) && J(ae) && ae.cancelBubble && q(ae); + }, Ne = (ae) => { + if (Ce.has(ae)) { + if (ae.cancelBubble) { + Ce.delete(ae); + return; + } + q(ae) && ae.stopPropagation(); + } + }, He = j ? Kr(j) : void 0; + return un(nn("keydown", be, !0, He), nn("keydown", Ne, !1, He)); + }, [ + _, + O, + k, + j, + q, + J, + Ce + ]), l = Bn(l, (be) => /* @__PURE__ */ W(o7, { + level: g ? 1 : void 0, + children: be + }), [g]); + const Y = l.hidden, ce = l.alwaysVisible; + l = Bn(l, (be) => /* @__PURE__ */ Le(pt, { children: [H && /* @__PURE__ */ W("button", { + type: "button", + tabIndex: -1, + "data-dialog-hidden-dismiss": A || "", + style: Mf(), + onClick: _.hide, + children: "Dismiss popup" + }), be] }), [ + H, + A, + _ + ]), l = Bn(l, (be) => /* @__PURE__ */ Le(pt, { children: [!!s && /* @__PURE__ */ W(S7, { + store: _, + backdrop: s, + backdropRef: d, + hidden: Y, + alwaysVisible: ce + }), be] }), [ + _, + s, + Y, + ce + ]); + const [ye, ve] = ft(), [Ee, Ie] = ft(); + return l = Bn(l, (be) => /* @__PURE__ */ W(Vc, { + value: _, + children: /* @__PURE__ */ W(j9.Provider, { + value: ve, + children: /* @__PURE__ */ W(D9.Provider, { + value: Ie, + children: be + }) + }) + }), [_]), l = { + "data-dialog": "", + role: "dialog", + tabIndex: S ? -1 : void 0, + "aria-labelledby": l["aria-label"] != null ? void 0 : ye, + "aria-describedby": Ee, + ...l, + "data-dialog-portal": b ? B?.id : void 0, + id: A, + ref: mr(y, l.ref), + onFocusCapture: z, + onKeyDown: re, + onKeyDownCapture: $ + }, l = xf({ + ...l, + autoFocusOnShow: te + }), l = Kc({ + store: _, + ...l, + unstable_otherElementRef: d + }), l = Hc({ + ...l, + focusable: S + }), l = Of({ + portal: n, + ...l, + portalRef: E, + preserveTabOrder: x + }), l; +}); +function ns(e, t = es) { + return on(function(h) { + const S = t(), g = h.store || S; + return Dt(g, ["mounted"], (n) => !h.unmountOnHide || n?.mounted || !!h.open) ? /* @__PURE__ */ W(e, { ...h }) : null; }); } -const R5 = { - name: "computeStyles", - enabled: !0, - phase: "beforeWrite", - fn: L5, - data: {} -}; -var ui = { - passive: !0 -}; -function k5(e) { - var o = e.state, g = e.instance, C = e.options, P = C.scroll, x = P === void 0 ? !0 : P, n = C.resize, c = n === void 0 ? !0 : n, r = Br(o.elements.popper), a = [].concat(o.scrollParents.reference, o.scrollParents.popper); - return x && a.forEach(function(i) { - i.addEventListener("scroll", g.update, ui); - }), c && r.addEventListener("resize", g.update, ui), function() { - x && a.forEach(function(i) { - i.removeEventListener("scroll", g.update, ui); - }), c && r.removeEventListener("resize", g.update, ui); - }; +const qf = ns(on(function(t) { + const c = Gf(t); + return Mn(V7, c); +}), es), J7 = on(function(t) { + const c = Df({ open: t.open }); + return /* @__PURE__ */ W(qf, { + ...t, + store: c + }); +}); +on(function(t) { + const c = es(); + return t.store || c || !t.unmountOnHide ? /* @__PURE__ */ W(qf, { ...t }) : /* @__PURE__ */ W(J7, { ...t }); +}); +const Mi = _i([H9], [Vc]); +Mi.useContext; +Mi.useScopedContext; +const Zf = Mi.useProviderContext, $7 = Mi.ContextProvider, Yf = Mi.ScopedContextProvider; +function G7(e) { + return e.split("-")[0]; } -const B5 = { - name: "eventListeners", - enabled: !0, - phase: "write", - fn: function() { - }, - effect: k5, - data: {} -}; -var H5 = { +const Or = Math.min, dr = Math.max, Ba = Math.round, Xi = Math.floor, fr = (e) => ({ + x: e, + y: e +}), q7 = { left: "right", right: "left", bottom: "top", top: "bottom" }; -function xi(e) { - return e.replace(/left|right|bottom|top/g, function(o) { - return H5[o]; - }); +function Xf(e, t, c) { + return dr(e, Or(t, c)); } -var j5 = { - start: "end", - end: "start" -}; -function xu(e) { - return e.replace(/start|end/g, function(o) { - return j5[o]; - }); +function Tr(e, t) { + return typeof e == "function" ? e(t) : e; } -function vs(e) { - var o = Br(e), g = o.pageXOffset, C = o.pageYOffset; - return { - scrollLeft: g, - scrollTop: C - }; +function Ar(e) { + return e.split("-")[0]; +} +function Do(e) { + return e.split("-")[1]; +} +function $c(e) { + return e === "x" ? "y" : "x"; } -function bs(e) { - return to(Mn(e)).left + vs(e).scrollLeft; +function Gc(e) { + return e === "y" ? "height" : "width"; } -function D5(e, o) { - var g = Br(e), C = Mn(e), P = g.visualViewport, x = C.clientWidth, n = C.clientHeight, c = 0, r = 0; - if (P) { - x = P.width, n = P.height; - var a = $l(); - (a || !a && o === "fixed") && (c = P.offsetLeft, r = P.offsetTop); +function Zn(e) { + const t = e[0]; + return t === "t" || t === "b" ? "y" : "x"; +} +function qc(e) { + return $c(Zn(e)); +} +function Z7(e, t, c) { + c === void 0 && (c = !1); + const h = Do(e), S = qc(e), g = Gc(S); + let n = S === "x" ? h === (c ? "end" : "start") ? "right" : "left" : h === "start" ? "bottom" : "top"; + return t.reference[g] > t.floating[g] && (n = Ra(n)), [n, Ra(n)]; +} +function Y7(e) { + const t = Ra(e); + return [fc(e), t, fc(t)]; +} +function fc(e) { + return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start"); +} +const Ll = ["left", "right"], Il = ["right", "left"], X7 = ["top", "bottom"], Q7 = ["bottom", "top"]; +function eb(e, t, c) { + switch (e) { + case "top": + case "bottom": + return c ? t ? Il : Ll : t ? Ll : Il; + case "left": + case "right": + return t ? X7 : Q7; + default: + return []; } - return { - width: x, - height: n, - x: c + bs(e), - y: r - }; } -function V5(e) { - var o, g = Mn(e), C = vs(e), P = (o = e.ownerDocument) == null ? void 0 : o.body, x = An(g.scrollWidth, g.clientWidth, P ? P.scrollWidth : 0, P ? P.clientWidth : 0), n = An(g.scrollHeight, g.clientHeight, P ? P.scrollHeight : 0, P ? P.clientHeight : 0), c = -C.scrollLeft + bs(e), r = -C.scrollTop; - return yn(P || g).direction === "rtl" && (c += An(g.clientWidth, P ? P.clientWidth : 0) - x), { - width: x, - height: n, - x: c, - y: r - }; +function tb(e, t, c, h) { + const S = Do(e); + let g = eb(Ar(e), c === "start", h); + return S && (g = g.map((n) => n + "-" + S), t && (g = g.concat(g.map(fc)))), g; } -function ws(e) { - var o = yn(e), g = o.overflow, C = o.overflowX, P = o.overflowY; - return /auto|scroll|overlay|hidden/.test(g + P + C); +function Ra(e) { + const t = Ar(e); + return q7[t] + e.slice(t.length); } -function Yl(e) { - return ["html", "body", "#document"].indexOf(un(e)) >= 0 ? e.ownerDocument.body : Ur(e) && ws(e) ? e : Yl(na(e)); +function nb(e) { + var t, c, h, S; + return { + top: (t = e.top) != null ? t : 0, + right: (c = e.right) != null ? c : 0, + bottom: (h = e.bottom) != null ? h : 0, + left: (S = e.left) != null ? S : 0 + }; } -function xo(e, o) { - var g; - o === void 0 && (o = []); - var C = Yl(e), P = C === ((g = e.ownerDocument) == null ? void 0 : g.body), x = Br(C), n = P ? [x].concat(x.visualViewport || [], ws(C) ? C : []) : C, c = o.concat(n); - return P ? c : ( - // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here - c.concat(xo(na(n))) - ); +function Qf(e) { + return typeof e != "number" ? nb(e) : { + top: e, + right: e, + bottom: e, + left: e + }; } -function Za(e) { - return Object.assign({}, e, { - left: e.x, - top: e.y, - right: e.x + e.width, - bottom: e.y + e.height - }); +function ka(e) { + const { + x: t, + y: c, + width: h, + height: S + } = e; + return { + width: h, + height: S, + top: c, + left: t, + right: t + h, + bottom: c + S, + x: t, + y: c + }; } -function U5(e, o) { - var g = to(e, !1, o === "fixed"); - return g.top = g.top + e.clientTop, g.left = g.left + e.clientLeft, g.bottom = g.top + e.clientHeight, g.right = g.left + e.clientWidth, g.width = e.clientWidth, g.height = e.clientHeight, g.x = g.left, g.y = g.top, g; -} -function Eu(e, o, g) { - return o === Wl ? Za(D5(e, g)) : kn(o) ? U5(o, g) : Za(V5(Mn(e))); -} -function z5(e) { - var o = xo(na(e)), g = ["absolute", "fixed"].indexOf(yn(e).position) >= 0, C = g && Ur(e) ? Ko(e) : e; - return kn(C) ? o.filter(function(P) { - return kn(P) && Gl(P, C) && un(P) !== "body"; - }) : []; -} -function F5(e, o, g, C) { - var P = o === "clippingParents" ? z5(e) : [].concat(o), x = [].concat(P, [g]), n = x[0], c = x.reduce(function(r, a) { - var i = Eu(e, a, C); - return r.top = An(i.top, r.top), r.right = ki(i.right, r.right), r.bottom = ki(i.bottom, r.bottom), r.left = An(i.left, r.left), r; - }, Eu(e, n, C)); - return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c; -} -function Ql(e) { - var o = e.reference, g = e.element, C = e.placement, P = C ? nn(C) : null, x = C ? ro(C) : null, n = o.x + o.width / 2 - g.width / 2, c = o.y + o.height / 2 - g.height / 2, r; - switch (P) { - case Tr: - r = { - x: n, - y: o.y - g.height +function Nl(e, t, c) { + let { + reference: h, + floating: S + } = e; + const g = Zn(t), n = qc(t), s = Gc(n), r = Ar(t), o = g === "y", i = h.x + h.width / 2 - S.width / 2, p = h.y + h.height / 2 - S.height / 2, a = h[s] / 2 - S[s] / 2; + let f; + switch (r) { + case "top": + f = { + x: i, + y: h.y - S.height }; break; - case zr: - r = { - x: n, - y: o.y + o.height + case "bottom": + f = { + x: i, + y: h.y + h.height }; break; - case Fr: - r = { - x: o.x + o.width, - y: c + case "right": + f = { + x: h.x + h.width, + y: p }; break; - case Ir: - r = { - x: o.x - g.width, - y: c + case "left": + f = { + x: h.x - S.width, + y: p }; break; default: - r = { - x: o.x, - y: o.y + f = { + x: h.x, + y: h.y }; } - var a = P ? gs(P) : null; - if (a != null) { - var i = a === "y" ? "height" : "width"; - switch (x) { - case Qn: - r[a] = r[a] - (o[i] / 2 - g[i] / 2); - break; - case Ro: - r[a] = r[a] + (o[i] / 2 - g[i] / 2); - break; - } - } - return r; + const C = Do(t); + return C && (f[n] += a * (C === "end" ? 1 : -1) * (c && o ? -1 : 1)), f; } -function ko(e, o) { - o === void 0 && (o = {}); - var g = o, C = g.placement, P = C === void 0 ? e.placement : C, x = g.strategy, n = x === void 0 ? e.strategy : x, c = g.boundary, r = c === void 0 ? c5 : c, a = g.rootBoundary, i = a === void 0 ? Wl : a, m = g.elementContext, t = m === void 0 ? bo : m, f = g.altBoundary, b = f === void 0 ? !1 : f, y = g.padding, u = y === void 0 ? 0 : y, d = Zl(typeof u != "number" ? u : Xl(u, Fo)), l = t === bo ? l5 : bo, s = e.rects.popper, v = e.elements[b ? l : t], p = F5(kn(v) ? v : v.contextElement || Mn(e.elements.popper), r, i, n), h = to(e.elements.reference), O = Ql({ - reference: h, - element: s, - placement: P - }), I = Za(Object.assign({}, s, O)), k = t === bo ? I : h, R = { - top: p.top - k.top + d.top, - bottom: k.bottom - p.bottom + d.bottom, - left: p.left - k.left + d.left, - right: k.right - p.right + d.right - }, L = e.modifiersData.offset; - if (t === bo && L) { - var N = L[P]; - Object.keys(R).forEach(function(B) { - var H = [Fr, zr].indexOf(B) >= 0 ? 1 : -1, U = [Tr, zr].indexOf(B) >= 0 ? "y" : "x"; - R[B] += N[U] * H; +async function rb(e, t) { + var c; + t === void 0 && (t = {}); + const { + x: h, + y: S, + platform: g, + rects: n, + elements: s, + strategy: r + } = e, { + boundary: o = "clippingAncestors", + rootBoundary: i = "viewport", + elementContext: p = "floating", + altBoundary: a = !1, + padding: f = 0 + } = Tr(t, e), C = Qf(f), m = s[a ? p === "floating" ? "reference" : "floating" : p], v = ka(await g.getClippingRect({ + element: (c = await (g.isElement == null ? void 0 : g.isElement(m))) == null || c ? m : m.contextElement || await (g.getDocumentElement == null ? void 0 : g.getDocumentElement(s.floating)), + boundary: o, + rootBoundary: i, + strategy: r + })), l = p === "floating" ? { + x: h, + y: S, + width: n.floating.width, + height: n.floating.height + } : n.reference, u = await (g.getOffsetParent == null ? void 0 : g.getOffsetParent(s.floating)), y = await (g.isElement == null ? void 0 : g.isElement(u)) && await (g.getScale == null ? void 0 : g.getScale(u)) || { + x: 1, + y: 1 + }, d = ka(g.convertOffsetParentRelativeRectToViewportRelativeRect ? await g.convertOffsetParentRelativeRectToViewportRelativeRect({ + elements: s, + rect: l, + offsetParent: u, + strategy: r + }) : l); + return { + top: (v.top - d.top + C.top) / y.y, + bottom: (d.bottom - v.bottom + C.bottom) / y.y, + left: (v.left - d.left + C.left) / y.x, + right: (d.right - v.right + C.right) / y.x + }; +} +const ob = 50, ib = async (e, t, c) => { + const { + placement: h = "bottom", + strategy: S = "absolute", + middleware: g = [], + platform: n + } = c, s = n.detectOverflow ? n : { + ...n, + detectOverflow: rb + }, r = await (n.isRTL == null ? void 0 : n.isRTL(t)); + let o = await n.getElementRects({ + reference: e, + floating: t, + strategy: S + }), { + x: i, + y: p + } = Nl(o, h, r), a = h, f = 0; + const C = {}; + for (let w = 0; w < g.length; w++) { + const m = g[w]; + if (!m) + continue; + const { + name: v, + fn: l + } = m, { + x: u, + y, + data: d, + reset: b + } = await l({ + x: i, + y: p, + initialPlacement: h, + placement: a, + strategy: S, + middlewareData: C, + rects: o, + platform: s, + elements: { + reference: e, + floating: t + } }); + i = u ?? i, p = y ?? p, C[v] = { + ...C[v], + ...d + }, b && f < ob && (f++, typeof b == "object" && (b.placement && (a = b.placement), b.rects && (o = b.rects === !0 ? await n.getElementRects({ + reference: e, + floating: t, + strategy: S + }) : b.rects), { + x: i, + y: p + } = Nl(o, a, r)), w = -1); } - return R; -} -function K5(e, o) { - o === void 0 && (o = {}); - var g = o, C = g.placement, P = g.boundary, x = g.rootBoundary, n = g.padding, c = g.flipVariations, r = g.allowedAutoPlacements, a = r === void 0 ? Jl : r, i = ro(C), m = i ? c ? _u : _u.filter(function(b) { - return ro(b) === i; - }) : Fo, t = m.filter(function(b) { - return a.indexOf(b) >= 0; - }); - t.length === 0 && (t = m); - var f = t.reduce(function(b, y) { - return b[y] = ko(e, { - placement: y, - boundary: P, - rootBoundary: x, - padding: n - })[nn(y)], b; - }, {}); - return Object.keys(f).sort(function(b, y) { - return f[b] - f[y]; - }); -} -function W5(e) { - if (nn(e) === ps) - return []; - var o = xi(e); - return [xu(e), o, xu(o)]; -} -function J5(e) { - var o = e.state, g = e.options, C = e.name; - if (!o.modifiersData[C]._skip) { - for (var P = g.mainAxis, x = P === void 0 ? !0 : P, n = g.altAxis, c = n === void 0 ? !0 : n, r = g.fallbackPlacements, a = g.padding, i = g.boundary, m = g.rootBoundary, t = g.altBoundary, f = g.flipVariations, b = f === void 0 ? !0 : f, y = g.allowedAutoPlacements, u = o.options.placement, d = nn(u), l = d === u, s = r || (l || !b ? [xi(u)] : W5(u)), v = [u].concat(s).reduce(function(V, D) { - return V.concat(nn(D) === ps ? K5(o, { - placement: D, - boundary: i, - rootBoundary: m, - padding: a, - flipVariations: b, - allowedAutoPlacements: y - }) : D); - }, []), p = o.rects.reference, h = o.rects.popper, O = /* @__PURE__ */ new Map(), I = !0, k = v[0], R = 0; R < v.length; R++) { - var L = v[R], N = nn(L), B = ro(L) === Qn, H = [Tr, zr].indexOf(N) >= 0, U = H ? "width" : "height", S = ko(o, { - placement: L, - boundary: i, - rootBoundary: m, - altBoundary: t, - padding: a - }), T = H ? B ? Fr : Ir : B ? zr : Tr; - p[U] > h[U] && (T = xi(T)); - var E = xi(T), M = []; - if (x && M.push(S[N] <= 0), c && M.push(S[T] <= 0, S[E] <= 0), M.every(function(V) { - return V; - })) { - k = L, I = !1; - break; + return { + x: i, + y: p, + placement: a, + strategy: S, + middlewareData: C + }; +}, ab = (e) => ({ + name: "arrow", + options: e, + async fn(t) { + const { + x: c, + y: h, + placement: S, + rects: g, + platform: n, + elements: s, + middlewareData: r + } = t, { + element: o, + padding: i = 0 + } = Tr(e, t) || {}; + if (o == null) + return {}; + const p = Qf(i), a = { + x: c, + y: h + }, f = qc(S), C = Gc(f), w = await n.getDimensions(o), m = f === "y", v = m ? "top" : "left", l = m ? "bottom" : "right", u = m ? "clientHeight" : "clientWidth", y = g.reference[C] + g.reference[f] - a[f] - g.floating[C], d = a[f] - g.reference[f], b = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(o)); + let _ = b ? b[u] : 0; + (!_ || !await (n.isElement == null ? void 0 : n.isElement(b))) && (_ = s.floating[u] || g.floating[C]); + const E = y / 2 - d / 2, B = _ / 2 - w[C] / 2 - 1, O = Or(p[v], B), I = Or(p[l], B), x = _ - w[C] - I, A = _ / 2 - w[C] / 2 + E, N = Xf(O, A, x), k = !r.arrow && Do(S) != null && A !== N && g.reference[C] / 2 - (A < O ? O : I) - w[C] / 2 < 0, j = k ? A < O ? A - O : A - x : 0; + return { + [f]: a[f] + j, + data: { + [f]: N, + centerOffset: A - N - j, + ...k && { + alignmentOffset: j + } + }, + reset: k + }; + } +}), sb = function(e) { + return e === void 0 && (e = {}), { + name: "flip", + options: e, + async fn(t) { + var c, h; + const { + placement: S, + middlewareData: g, + rects: n, + initialPlacement: s, + platform: r, + elements: o + } = t, { + mainAxis: i = !0, + crossAxis: p = !0, + fallbackPlacements: a, + fallbackStrategy: f = "bestFit", + fallbackAxisSideDirection: C = "none", + flipAlignment: w = !0, + ...m + } = Tr(e, t); + if ((c = g.arrow) != null && c.alignmentOffset) + return {}; + const v = Ar(S), l = Zn(s), u = Ar(s) === s, y = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), d = a || (u || !w ? [Ra(s)] : Y7(s)), b = C !== "none"; + !a && b && d.push(...tb(s, w, C, y)); + const _ = [s, ...d], E = await r.detectOverflow(t, m), B = []; + let O = ((h = g.flip) == null ? void 0 : h.overflows) || []; + if (i && B.push(E[v]), p) { + const N = Z7(S, n, y); + B.push(E[N[0]], E[N[1]]); } - O.set(L, M); + if (O = [...O, { + placement: S, + overflows: B + }], !B.every((N) => N <= 0)) { + var I, x; + const N = (((I = g.flip) == null ? void 0 : I.index) || 0) + 1, k = _[N]; + if (k && (!(p === "alignment" ? l !== Zn(k) : !1) || // We leave the current main axis only if every placement on that axis + // overflows the main axis. + O.every((T) => Zn(T.placement) === l ? T.overflows[0] > 0 : !0))) + return { + data: { + index: N, + overflows: O + }, + reset: { + placement: k + } + }; + let j = (x = O.filter((D) => D.overflows[0] <= 0).sort((D, T) => D.overflows[1] - T.overflows[1])[0]) == null ? void 0 : x.placement; + if (!j) + switch (f) { + case "bestFit": { + var A; + const D = (A = O.filter((T) => { + if (b) { + const L = Zn(T.placement); + return L === l || // Create a bias to the `y` side axis due to horizontal + // reading directions favoring greater width. + L === "y"; + } + return !0; + }).map((T) => [T.placement, T.overflows.filter((L) => L > 0).reduce((L, R) => L + R, 0)]).sort((T, L) => T[1] - L[1])[0]) == null ? void 0 : A[0]; + D && (j = D); + break; + } + case "initialPlacement": + j = s; + break; + } + if (S !== j) + return { + reset: { + placement: j + } + }; + } + return {}; } - if (I) - for (var _ = b ? 3 : 1, w = function(D) { - var z = v.find(function(J) { - var G = O.get(J); - if (G) - return G.slice(0, D).every(function(Q) { - return Q; - }); - }); - if (z) - return k = z, "break"; - }, A = _; A > 0; A--) { - var j = w(A); - if (j === "break") break; + }; +}, ep = /* @__PURE__ */ new Set(["left", "top"]); +async function cb(e, t) { + const { + placement: c, + platform: h, + elements: S + } = e, g = await (h.isRTL == null ? void 0 : h.isRTL(S.floating)), n = Ar(c), s = Do(c), r = Zn(c) === "y", o = ep.has(n) ? -1 : 1, i = g && r ? -1 : 1, p = Tr(t, e); + let { + mainAxis: a, + crossAxis: f, + alignmentAxis: C + } = typeof p == "number" ? { + mainAxis: p, + crossAxis: 0, + alignmentAxis: null + } : { + mainAxis: p.mainAxis || 0, + crossAxis: p.crossAxis || 0, + alignmentAxis: p.alignmentAxis + }; + return s && typeof C == "number" && (f = s === "end" ? C * -1 : C), r ? { + x: f * i, + y: a * o + } : { + x: a * o, + y: f * i + }; +} +const ub = function(e) { + return e === void 0 && (e = 0), { + name: "offset", + options: e, + async fn(t) { + var c, h; + const { + x: S, + y: g, + placement: n, + middlewareData: s + } = t, r = await cb(t, e); + return n === ((c = s.offset) == null ? void 0 : c.placement) && (h = s.arrow) != null && h.alignmentOffset ? {} : { + x: S + r.x, + y: g + r.y, + data: { + ...r, + placement: n + } + }; + } + }; +}, lb = function(e) { + return e === void 0 && (e = {}), { + name: "shift", + options: e, + async fn(t) { + const { + x: c, + y: h, + placement: S, + platform: g + } = t, { + mainAxis: n = !0, + crossAxis: s = !1, + limiter: r = { + fn: (l) => { + let { + x: u, + y + } = l; + return { + x: u, + y + }; + } + }, + ...o + } = Tr(e, t), i = { + x: c, + y: h + }, p = await g.detectOverflow(t, o), a = Zn(S), f = $c(a); + let C = i[f], w = i[a]; + const m = (l, u) => Xf(u + p[l === "y" ? "top" : "left"], u, u - p[l === "y" ? "bottom" : "right"]); + n && (C = m(f, C)), s && (w = m(a, w)); + const v = r.fn({ + ...t, + [f]: C, + [a]: w + }); + return { + ...v, + data: { + x: v.x - c, + y: v.y - h, + enabled: { + [f]: n, + [a]: s + } + } + }; + } + }; +}, db = function(e) { + return e === void 0 && (e = {}), { + options: e, + fn(t) { + var c, h; + const { + x: S, + y: g, + placement: n, + rects: s, + middlewareData: r + } = t, { + offset: o = 0, + mainAxis: i = !0, + crossAxis: p = !0 + } = Tr(e, t), a = { + x: S, + y: g + }, f = Zn(n), C = $c(f); + let w = a[C], m = a[f]; + const v = Tr(o, t), l = typeof v == "number" ? { + mainAxis: v, + crossAxis: 0 + } : { + mainAxis: (c = v.mainAxis) != null ? c : 0, + crossAxis: (h = v.crossAxis) != null ? h : 0 + }; + if (i) { + const d = C === "y" ? "height" : "width", b = s.reference[C] - s.floating[d] + l.mainAxis, _ = s.reference[C] + s.reference[d] - l.mainAxis; + w < b ? w = b : w > _ && (w = _); + } + if (p) { + var u, y; + const d = C === "y" ? "width" : "height", b = ep.has(Ar(n)), _ = s.reference[f] - s.floating[d] + (b && ((u = r.offset) == null ? void 0 : u[f]) || 0) + (b ? 0 : l.crossAxis), E = s.reference[f] + s.reference[d] + (b ? 0 : ((y = r.offset) == null ? void 0 : y[f]) || 0) - (b ? l.crossAxis : 0); + m < _ ? m = _ : m > E && (m = E); } - o.placement !== k && (o.modifiersData[C]._skip = !0, o.placement = k, o.reset = !0); + return { + [C]: w, + [f]: m + }; + } + }; +}, fb = function(e) { + return e === void 0 && (e = {}), { + name: "size", + options: e, + async fn(t) { + const { + placement: c, + rects: h, + platform: S, + elements: g + } = t, { + apply: n = () => { + }, + ...s + } = Tr(e, t), r = await S.detectOverflow(t, s), o = Ar(c), i = Do(c), p = Zn(c) === "y", { + width: a, + height: f + } = h.floating; + let C, w; + o === "top" || o === "bottom" ? (C = o, w = i === (await (S.isRTL == null ? void 0 : S.isRTL(g.floating)) ? "start" : "end") ? "left" : "right") : (w = o, C = i === "end" ? "top" : "bottom"); + const m = f - r.top - r.bottom, v = a - r.left - r.right, l = Or(f - r[C], m), u = Or(a - r[w], v), y = t.middlewareData.shift, d = !y; + let b = l, _ = u; + y != null && y.enabled.x && (_ = v), y != null && y.enabled.y && (b = m), d && !i && (p ? _ = a - 2 * dr(r.left, r.right) : b = f - 2 * dr(r.top, r.bottom)), await n({ + ...t, + availableWidth: _, + availableHeight: b + }); + const E = await S.getDimensions(g.floating); + return a !== E.width || f !== E.height ? { + reset: { + rects: !0 + } + } : {}; + } + }; +}; +function rs() { + return typeof window < "u"; +} +function Vo(e) { + return tp(e) ? (e.nodeName || "").toLowerCase() : "#document"; +} +function xn(e) { + var t; + return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window; +} +function gr(e) { + var t; + return (t = (tp(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement; +} +function tp(e) { + return rs() ? e instanceof Node || e instanceof xn(e).Node : !1; +} +function rr(e) { + return rs() ? e instanceof Element || e instanceof xn(e).Element : !1; +} +function Rr(e) { + return rs() ? e instanceof HTMLElement || e instanceof xn(e).HTMLElement : !1; +} +function Bl(e) { + return !rs() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof xn(e).ShadowRoot; +} +function os(e) { + const { + overflow: t, + overflowX: c, + overflowY: h, + display: S + } = or(e); + return /auto|scroll|overlay|hidden|clip/.test(t + h + c) && S !== "inline" && S !== "contents"; +} +function pb(e) { + return /^(table|td|th)$/.test(Vo(e)); +} +function is(e) { + try { + if (e.matches(":popover-open")) + return !0; + } catch { } + try { + return e.matches(":modal"); + } catch { + return !1; + } +} +const hb = /transform|translate|scale|rotate|perspective|filter/, yb = /paint|layout|strict|content/, Ur = (e) => !!e && e !== "none"; +let ks; +function Zc(e) { + const t = rr(e) ? or(e) : e; + return Ur(t.transform) || Ur(t.translate) || Ur(t.scale) || Ur(t.rotate) || Ur(t.perspective) || !Yc() && (Ur(t.backdropFilter) || Ur(t.filter)) || hb.test(t.willChange || "") || yb.test(t.contain || ""); } -const $5 = { - name: "flip", - enabled: !0, - phase: "main", - fn: J5, - requiresIfExists: ["offset"], - data: { - _skip: !1 +function mb(e) { + let t = Xr(e); + for (; Rr(t) && !gi(t); ) { + if (Zc(t)) + return t; + if (is(t)) + return null; + t = Xr(t); } -}; -function Pu(e, o, g) { - return g === void 0 && (g = { - x: 0, - y: 0 - }), { - top: e.top - o.height - g.y, - right: e.right - o.width + g.x, - bottom: e.bottom - o.height + g.y, - left: e.left - o.width - g.x - }; + return null; } -function Au(e) { - return [Tr, Fr, zr, Ir].some(function(o) { - return e[o] >= 0; - }); +function Yc() { + return ks == null && (ks = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), ks; } -function G5(e) { - var o = e.state, g = e.name, C = o.rects.reference, P = o.rects.popper, x = o.modifiersData.preventOverflow, n = ko(o, { - elementContext: "reference" - }), c = ko(o, { - altBoundary: !0 - }), r = Pu(n, C), a = Pu(c, P, x), i = Au(r), m = Au(a); - o.modifiersData[g] = { - referenceClippingOffsets: r, - popperEscapeOffsets: a, - isReferenceHidden: i, - hasPopperEscaped: m - }, o.attributes.popper = Object.assign({}, o.attributes.popper, { - "data-popper-reference-hidden": i, - "data-popper-escaped": m - }); +function gi(e) { + return /^(html|body|#document)$/.test(Vo(e)); } -const q5 = { - name: "hide", - enabled: !0, - phase: "main", - requiresIfExists: ["preventOverflow"], - fn: G5 -}; -function Z5(e, o, g) { - var C = nn(e), P = [Ir, Tr].indexOf(C) >= 0 ? -1 : 1, x = typeof g == "function" ? g(Object.assign({}, o, { - placement: e - })) : g, n = x[0], c = x[1]; - return n = n || 0, c = (c || 0) * P, [Ir, Fr].indexOf(C) >= 0 ? { - x: c, - y: n +function or(e) { + return xn(e).getComputedStyle(e); +} +function as(e) { + return rr(e) ? { + scrollLeft: e.scrollLeft, + scrollTop: e.scrollTop } : { + scrollLeft: e.scrollX, + scrollTop: e.scrollY + }; +} +function Xr(e) { + if (Vo(e) === "html") + return e; + const t = ( + // Step into the shadow DOM of the parent of a slotted node. + e.assignedSlot || // DOM Element detected. + e.parentNode || // ShadowRoot detected. + Bl(e) && e.host || // Fallback. + gr(e) + ); + return Bl(t) ? t.host : t; +} +function np(e) { + const t = Xr(e); + return gi(t) ? (e.ownerDocument || e).body : Rr(t) && os(t) ? t : np(t); +} +function vi(e, t, c) { + var h; + t === void 0 && (t = []), c === void 0 && (c = !0); + const S = np(e), g = S === ((h = e.ownerDocument) == null ? void 0 : h.body), n = xn(S); + if (g) { + const s = pc(n); + return t.concat(n, n.visualViewport || [], os(S) ? S : [], s && c ? vi(s) : []); + } else + return t.concat(S, vi(S, [], c)); +} +function pc(e) { + return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null; +} +function rp(e) { + const t = or(e); + let c = parseFloat(t.width) || 0, h = parseFloat(t.height) || 0; + const S = Rr(e), g = S ? e.offsetWidth : c, n = S ? e.offsetHeight : h, s = Ba(c) !== g || Ba(h) !== n; + return s && (c = g, h = n), { + width: c, + height: h, + $: s + }; +} +function Xc(e) { + return rr(e) ? e : e.contextElement; +} +function xo(e) { + const t = Xc(e); + if (!Rr(t)) + return fr(1); + const c = t.getBoundingClientRect(), { + width: h, + height: S, + $: g + } = rp(t); + let n = (g ? Ba(c.width) : c.width) / h, s = (g ? Ba(c.height) : c.height) / S; + return (!n || !Number.isFinite(n)) && (n = 1), (!s || !Number.isFinite(s)) && (s = 1), { x: n, - y: c + y: s }; } -function X5(e) { - var o = e.state, g = e.options, C = e.name, P = g.offset, x = P === void 0 ? [0, 0] : P, n = Jl.reduce(function(i, m) { - return i[m] = Z5(m, o.rects, x), i; - }, {}), c = n[o.placement], r = c.x, a = c.y; - o.modifiersData.popperOffsets != null && (o.modifiersData.popperOffsets.x += r, o.modifiersData.popperOffsets.y += a), o.modifiersData[C] = n; -} -const Y5 = { - name: "offset", - enabled: !0, - phase: "main", - requires: ["popperOffsets"], - fn: X5 -}; -function Q5(e) { - var o = e.state, g = e.name; - o.modifiersData[g] = Ql({ - reference: o.rects.reference, - element: o.rects.popper, - placement: o.placement +const gb = /* @__PURE__ */ fr(0); +function op(e) { + const t = xn(e); + return !Yc() || !t.visualViewport ? gb : { + x: t.visualViewport.offsetLeft, + y: t.visualViewport.offsetTop + }; +} +function vb(e, t, c) { + return t === void 0 && (t = !1), !!c && t && c === xn(e); +} +function Qr(e, t, c, h) { + t === void 0 && (t = !1), c === void 0 && (c = !1); + const S = e.getBoundingClientRect(), g = Xc(e); + let n = fr(1); + t && (h ? rr(h) && (n = xo(h)) : n = xo(e)); + const s = vb(g, c, h) ? op(g) : fr(0); + let r = (S.left + s.x) / n.x, o = (S.top + s.y) / n.y, i = S.width / n.x, p = S.height / n.y; + if (g && h) { + const a = xn(g), f = rr(h) ? xn(h) : h; + let C = a, w = pc(C); + for (; w && f !== C; ) { + const m = xo(w), v = w.getBoundingClientRect(), l = or(w), u = v.left + (w.clientLeft + parseFloat(l.paddingLeft)) * m.x, y = v.top + (w.clientTop + parseFloat(l.paddingTop)) * m.y; + r *= m.x, o *= m.y, i *= m.x, p *= m.y, r += u, o += y, C = xn(w), w = pc(C); + } + } + return ka({ + width: i, + height: p, + x: r, + y: o }); } -const e8 = { - name: "popperOffsets", - enabled: !0, - phase: "read", - fn: Q5, - data: {} -}; -function t8(e) { - return e === "x" ? "y" : "x"; +function ss(e, t) { + const c = as(e).scrollLeft; + return t ? t.left + c : Qr(gr(e)).left + c; } -function r8(e) { - var o = e.state, g = e.options, C = e.name, P = g.mainAxis, x = P === void 0 ? !0 : P, n = g.altAxis, c = n === void 0 ? !1 : n, r = g.boundary, a = g.rootBoundary, i = g.altBoundary, m = g.padding, t = g.tether, f = t === void 0 ? !0 : t, b = g.tetherOffset, y = b === void 0 ? 0 : b, u = ko(o, { - boundary: r, - rootBoundary: a, - padding: m, - altBoundary: i - }), d = nn(o.placement), l = ro(o.placement), s = !l, v = gs(d), p = t8(v), h = o.modifiersData.popperOffsets, O = o.rects.reference, I = o.rects.popper, k = typeof y == "function" ? y(Object.assign({}, o.rects, { - placement: o.placement - })) : y, R = typeof k == "number" ? { - mainAxis: k, - altAxis: k - } : Object.assign({ - mainAxis: 0, - altAxis: 0 - }, k), L = o.modifiersData.offset ? o.modifiersData.offset[o.placement] : null, N = { - x: 0, - y: 0 +function ip(e, t) { + const c = e.getBoundingClientRect(), h = c.left + t.scrollLeft - ss(e, c), S = c.top + t.scrollTop; + return { + x: h, + y: S }; - if (h) { - if (x) { - var B, H = v === "y" ? Tr : Ir, U = v === "y" ? zr : Fr, S = v === "y" ? "height" : "width", T = h[v], E = T + u[H], M = T - u[U], _ = f ? -I[S] / 2 : 0, w = l === Qn ? O[S] : I[S], A = l === Qn ? -I[S] : -O[S], j = o.elements.arrow, V = f && j ? ys(j) : { - width: 0, - height: 0 - }, D = o.modifiersData["arrow#persistent"] ? o.modifiersData["arrow#persistent"].padding : ql(), z = D[H], J = D[U], G = Mo(0, O[S], V[S]), Q = s ? O[S] / 2 - _ - G - z - R.mainAxis : w - G - z - R.mainAxis, ee = s ? -O[S] / 2 + _ + G + J + R.mainAxis : A + G + J + R.mainAxis, Z = o.elements.arrow && Ko(o.elements.arrow), q = Z ? v === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, se = (B = L?.[v]) != null ? B : 0, ue = T + Q - se - q, ce = T + ee - se, ie = Mo(f ? ki(E, ue) : E, T, f ? An(M, ce) : M); - h[v] = ie, N[v] = ie - T; - } - if (c) { - var fe, Te = v === "x" ? Tr : Ir, Se = v === "x" ? zr : Fr, te = h[p], ye = p === "y" ? "height" : "width", ve = te + u[Te], F = te - u[Se], W = [Tr, Ir].indexOf(d) !== -1, K = (fe = L?.[p]) != null ? fe : 0, X = W ? ve : te - O[ye] - I[ye] - K + R.altAxis, ne = W ? te + O[ye] + I[ye] - K - R.altAxis : F, re = f && W ? E5(X, te, ne) : Mo(f ? X : ve, te, f ? ne : F); - h[p] = re, N[p] = re - te; - } - o.modifiersData[C] = N; +} +function bb(e) { + let { + elements: t, + rect: c, + offsetParent: h, + strategy: S + } = e; + const g = S === "fixed", n = gr(h), s = t ? is(t.floating) : !1; + if (h === n || s && g) + return c; + let r = { + scrollLeft: 0, + scrollTop: 0 + }, o = fr(1); + const i = fr(0), p = Rr(h); + if ((p || !g) && ((Vo(h) !== "body" || os(n)) && (r = as(h)), p)) { + const f = Qr(h); + o = xo(h), i.x = f.x + h.clientLeft, i.y = f.y + h.clientTop; } + const a = n && !p && !g ? ip(n, r) : fr(0); + return { + width: c.width * o.x, + height: c.height * o.y, + x: c.x * o.x - r.scrollLeft * o.x + i.x + a.x, + y: c.y * o.y - r.scrollTop * o.y + i.y + a.y + }; } -const n8 = { - name: "preventOverflow", - enabled: !0, - phase: "main", - fn: r8, - requiresIfExists: ["offset"] -}; -function o8(e) { +function wb(e) { + return e.getClientRects ? Array.from(e.getClientRects()) : []; +} +function Cb(e) { + const t = as(e), c = e.ownerDocument.body, h = dr(e.scrollWidth, e.clientWidth, c.scrollWidth, c.clientWidth), S = dr(e.scrollHeight, e.clientHeight, c.scrollHeight, c.clientHeight); + let g = -t.scrollLeft + ss(e); + const n = -t.scrollTop; + return or(c).direction === "rtl" && (g += dr(e.clientWidth, c.clientWidth) - h), { + width: h, + height: S, + x: g, + y: n + }; +} +const Sb = 25; +function _b(e, t, c) { + c === void 0 && (c = "viewport"); + const h = c === "layoutViewport", S = xn(e), g = gr(e), n = S.visualViewport; + let s = g.clientWidth, r = g.clientHeight, o = 0, i = 0; + if (n) { + const a = !Yc() || t === "fixed"; + h ? a || (o = -n.offsetLeft, i = -n.offsetTop) : (s = n.width, r = n.height, a && (o = n.offsetLeft, i = n.offsetTop)); + } + if (ss(g) <= 0) { + const a = g.ownerDocument, f = a.body, C = getComputedStyle(f), w = a.compatMode === "CSS1Compat" && parseFloat(C.marginLeft) + parseFloat(C.marginRight) || 0, m = Math.abs(g.clientWidth - f.clientWidth - w), v = getComputedStyle(g).scrollbarGutter === "stable both-edges" ? m / 2 : m; + v <= Sb && (s -= v); + } return { - scrollLeft: e.scrollLeft, - scrollTop: e.scrollTop + width: s, + height: r, + x: o, + y: i + }; +} +function Eb(e, t) { + const c = Qr(e, !0, t === "fixed"), h = c.top + e.clientTop, S = c.left + e.clientLeft, g = xo(e), n = e.clientWidth * g.x, s = e.clientHeight * g.y, r = S * g.x, o = h * g.y; + return { + width: n, + height: s, + x: r, + y: o }; } -function i8(e) { - return e === Br(e) || !Ur(e) ? vs(e) : o8(e); +function Rl(e, t, c) { + let h; + if (t === "viewport" || t === "layoutViewport") + h = _b(e, c, t); + else if (t === "document") + h = Cb(gr(e)); + else if (rr(t)) + h = Eb(t, c); + else { + const S = op(e); + h = { + x: t.x - S.x, + y: t.y - S.y, + width: t.width, + height: t.height + }; + } + return ka(h); +} +function xb(e, t) { + const c = t.get(e); + if (c) + return c; + let h = vi(e, [], !1).filter((s) => rr(s) && Vo(s) !== "body"), S = null; + const g = or(e).position === "fixed"; + let n = g ? Xr(e) : e; + for (; rr(n) && !gi(n); ) { + const s = or(n), r = Zc(n), o = S ? S.position : g ? "fixed" : ""; + !r && (o === "fixed" || o === "absolute" && s.position === "static") ? h = h.filter((p) => p !== n) : S = s, n = Xr(n); + } + return t.set(e, h), h; +} +function Mb(e) { + let { + element: t, + boundary: c, + rootBoundary: h, + strategy: S + } = e; + const n = [...c === "clippingAncestors" ? is(t) ? [] : xb(t, this._c) : [].concat(c), h], s = Rl(t, n[0], S); + let r = s.top, o = s.right, i = s.bottom, p = s.left; + for (let a = 1; a < n.length; a++) { + const f = Rl(t, n[a], S); + r = dr(f.top, r), o = Or(f.right, o), i = Or(f.bottom, i), p = dr(f.left, p); + } + return { + width: o - p, + height: i - r, + x: p, + y: r + }; } -function a8(e) { - var o = e.getBoundingClientRect(), g = eo(o.width) / e.offsetWidth || 1, C = eo(o.height) / e.offsetHeight || 1; - return g !== 1 || C !== 1; +function Pb(e) { + const { + width: t, + height: c + } = rp(e); + return { + width: t, + height: c + }; } -function s8(e, o, g) { - g === void 0 && (g = !1); - var C = Ur(o), P = Ur(o) && a8(o), x = Mn(o), n = to(e, P, g), c = { +function Ob(e, t, c) { + const h = Rr(t), S = gr(t), g = c === "fixed", n = Qr(e, !0, g, t); + let s = { scrollLeft: 0, scrollTop: 0 - }, r = { - x: 0, - y: 0 }; - return (C || !C && !g) && ((un(o) !== "body" || // https://github.com/popperjs/popper-core/issues/1078 - ws(x)) && (c = i8(o)), Ur(o) ? (r = to(o, !0), r.x += o.clientLeft, r.y += o.clientTop) : x && (r.x = bs(x))), { - x: n.left + c.scrollLeft - r.x, - y: n.top + c.scrollTop - r.y, + const r = fr(0); + if ((h || !g) && ((Vo(t) !== "body" || os(S)) && (s = as(t)), h)) { + const a = Qr(t, !0, g, t); + r.x = a.x + t.clientLeft, r.y = a.y + t.clientTop; + } + !h && S && (r.x = ss(S)); + const o = S && !h && !g ? ip(S, s) : fr(0), i = n.left + s.scrollLeft - r.x - o.x, p = n.top + s.scrollTop - r.y - o.y; + return { + x: i, + y: p, width: n.width, height: n.height }; } -function u8(e) { - var o = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Set(), C = []; - e.forEach(function(x) { - o.set(x.name, x); - }); - function P(x) { - g.add(x.name); - var n = [].concat(x.requires || [], x.requiresIfExists || []); - n.forEach(function(c) { - if (!g.has(c)) { - var r = o.get(c); - r && P(r); - } - }), C.push(x); - } - return e.forEach(function(x) { - g.has(x.name) || P(x); - }), C; +function Hs(e) { + return or(e).position === "static"; } -function c8(e) { - var o = u8(e); - return w5.reduce(function(g, C) { - return g.concat(o.filter(function(P) { - return P.phase === C; - })); - }, []); +function kl(e, t) { + if (!Rr(e) || or(e).position === "fixed") + return null; + if (t) + return t(e); + let c = e.offsetParent; + return gr(e) === c && (c = c.ownerDocument.body), c; +} +function ap(e, t) { + const c = xn(e); + if (is(e)) + return c; + if (!Rr(e)) { + let S = Xr(e); + for (; S && !gi(S); ) { + if (rr(S) && !Hs(S)) + return S; + S = Xr(S); + } + return c; + } + let h = kl(e, t); + for (; h && pb(h) && Hs(h); ) + h = kl(h, t); + return h && gi(h) && Hs(h) && !Zc(h) ? c : h || mb(e) || c; +} +const Tb = async function(e) { + const t = this.getOffsetParent || ap, c = this.getDimensions, h = await c(e.floating); + return { + reference: Ob(e.reference, await t(e.floating), e.strategy), + floating: { + x: 0, + y: 0, + width: h.width, + height: h.height + } + }; +}; +function Ab(e) { + return or(e).direction === "rtl"; +} +const Lb = { + convertOffsetParentRelativeRectToViewportRelativeRect: bb, + getDocumentElement: gr, + getClippingRect: Mb, + getOffsetParent: ap, + getElementRects: Tb, + getClientRects: wb, + getDimensions: Pb, + getScale: xo, + isElement: rr, + isRTL: Ab +}; +function sp(e, t) { + return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height; } -function l8(e) { - var o; - return function() { - return o || (o = new Promise(function(g) { - Promise.resolve().then(function() { - o = void 0, g(e()); +function Ib(e, t, c) { + let h = null, S; + const g = gr(e); + function n() { + var i; + clearTimeout(S), (i = h) == null || i.disconnect(), h = null; + } + function s(i, p) { + i === void 0 && (i = !1), p === void 0 && (p = 1), n(); + const a = e.getBoundingClientRect(), { + left: f, + top: C, + width: w, + height: m + } = a; + if (i || t(), !w || !m) + return; + const v = Xi(C), l = Xi(g.clientWidth - (f + w)), u = Xi(g.clientHeight - (C + m)), y = Xi(f), b = { + rootMargin: -v + "px " + -l + "px " + -u + "px " + -y + "px", + threshold: dr(0, Or(1, p)) || 1 + }; + let _ = !0; + function E(B) { + const O = B[0].intersectionRatio; + if (!sp(a, e.getBoundingClientRect())) + return s(); + if (O !== p) { + if (!_) + return s(); + O ? s(!1, O) : S = setTimeout(() => { + s(!1, 1e-7); + }, 1e3); + } + _ = !1; + } + try { + h = new IntersectionObserver(E, { + ...b, + // Handle s + root: g.ownerDocument }); - })), o; + } catch { + h = new IntersectionObserver(E, b); + } + h.observe(e); + } + const r = xn(e), o = () => s(c); + return r.addEventListener("resize", o), s(!0), () => { + r.removeEventListener("resize", o), n(); }; } -function d8(e) { - var o = e.reduce(function(g, C) { - var P = g[C.name]; - return g[C.name] = P ? Object.assign({}, P, C, { - options: Object.assign({}, P.options, C.options), - data: Object.assign({}, P.data, C.data) - }) : C, g; - }, {}); - return Object.keys(o).map(function(g) { - return o[g]; +function Nb(e, t, c, h) { + h === void 0 && (h = {}); + const { + ancestorScroll: S = !0, + ancestorResize: g = !0, + elementResize: n = typeof ResizeObserver == "function", + layoutShift: s = typeof IntersectionObserver == "function", + animationFrame: r = !1 + } = h, o = Xc(e), i = S || g ? [...o ? vi(o) : [], ...t ? vi(t) : []] : []; + i.forEach((v) => { + S && v.addEventListener("scroll", c), g && v.addEventListener("resize", c); }); + const p = o && s ? Ib(o, c, g) : null; + let a = -1, f = null; + n && (f = new ResizeObserver((v) => { + let [l] = v; + l && l.target === o && f && t && (f.unobserve(t), cancelAnimationFrame(a), a = requestAnimationFrame(() => { + var u; + (u = f) == null || u.observe(t); + })), c(); + }), o && !r && f.observe(o), t && f.observe(t)); + let C, w = r ? Qr(e) : null; + r && m(); + function m() { + const v = Qr(e); + w && !sp(w, v) && c(), w = v, C = requestAnimationFrame(m); + } + return c(), () => { + var v; + i.forEach((l) => { + S && l.removeEventListener("scroll", c), g && l.removeEventListener("resize", c); + }), p?.(), (v = f) == null || v.disconnect(), f = null, r && cancelAnimationFrame(C); + }; } -var Ou = { - placement: "bottom", - modifiers: [], - strategy: "absolute" -}; -function Tu() { - for (var e = arguments.length, o = new Array(e), g = 0; g < e; g++) - o[g] = arguments[g]; - return !o.some(function(C) { - return !(C && typeof C.getBoundingClientRect == "function"); +const Bb = ub, Rb = lb, kb = sb, Hb = fb, jb = ab, Db = db, Vb = (e, t, c) => { + const h = /* @__PURE__ */ new Map(), S = c ?? {}, g = { + ...Lb, + ...S.platform, + _c: h + }; + return ib(e, t, { + ...S, + platform: g }); +}, Ub = "div", ni = /* @__PURE__ */ new WeakMap(); +function Hl(e = 0, t = 0, c = 0, h = 0) { + if (typeof DOMRect == "function") return new DOMRect(e, t, c, h); + const S = { + x: e, + y: t, + width: c, + height: h, + top: t, + right: e + c, + bottom: t + h, + left: e + }; + return { + ...S, + toJSON: () => S + }; } -function f8(e) { - e === void 0 && (e = {}); - var o = e, g = o.defaultModifiers, C = g === void 0 ? [] : g, P = o.defaultOptions, x = P === void 0 ? Ou : P; - return function(c, r, a) { - a === void 0 && (a = x); - var i = { - placement: "bottom", - orderedModifiers: [], - options: Object.assign({}, Ou, x), - modifiersData: {}, - elements: { - reference: c, - popper: r - }, - attributes: {}, - styles: {} - }, m = [], t = !1, f = { - state: i, - setOptions: function(d) { - var l = typeof d == "function" ? d(i.options) : d; - y(), i.options = Object.assign({}, x, i.options, l), i.scrollParents = { - reference: kn(c) ? xo(c) : c.contextElement ? xo(c.contextElement) : [], - popper: xo(r) - }; - var s = c8(d8([].concat(C, i.options.modifiers))); - return i.orderedModifiers = s.filter(function(v) { - return v.enabled; - }), b(), f.update(); - }, - // Sync update – it will always be executed, even if not necessary. This - // is useful for low frequency updates where sync behavior simplifies the - // logic. - // For high frequency updates (e.g. `resize` and `scroll` events), always - // prefer the async Popper#update method - forceUpdate: function() { - if (!t) { - var d = i.elements, l = d.reference, s = d.popper; - if (Tu(l, s)) { - i.rects = { - reference: s8(l, Ko(s), i.options.strategy === "fixed"), - popper: ys(s) - }, i.reset = !1, i.placement = i.options.placement, i.orderedModifiers.forEach(function(R) { - return i.modifiersData[R.name] = Object.assign({}, R.data); - }); - for (var v = 0; v < i.orderedModifiers.length; v++) { - if (i.reset === !0) { - i.reset = !1, v = -1; - continue; - } - var p = i.orderedModifiers[v], h = p.fn, O = p.options, I = O === void 0 ? {} : O, k = p.name; - typeof h == "function" && (i = h({ - state: i, - options: I, - name: k, - instance: f - }) || i); - } - } - } - }, - // Async and optimistically optimized update – it will not be executed if - // not necessary (debounced to run at most once-per-tick) - update: l8(function() { - return new Promise(function(u) { - f.forceUpdate(), u(i); - }); - }), - destroy: function() { - y(), t = !0; - } - }; - if (!Tu(c, r)) - return f; - f.setOptions(a).then(function(u) { - !t && a.onFirstUpdate && a.onFirstUpdate(u); - }); - function b() { - i.orderedModifiers.forEach(function(u) { - var d = u.name, l = u.options, s = l === void 0 ? {} : l, v = u.effect; - if (typeof v == "function") { - var p = v({ - state: i, - name: d, - instance: f, - options: s - }), h = function() { - }; - m.push(p || h); - } - }); - } - function y() { - m.forEach(function(u) { - return u(); - }), m = []; +function Fb(e) { + if (!e) return Hl(); + const { x: t, y: c, width: h, height: S } = e; + return Hl(t, c, h, S); +} +function zb(e, t) { + return { + contextElement: e || void 0, + getBoundingClientRect: () => { + const c = e, h = t?.(c); + return h || !c ? Fb(h) : c.getBoundingClientRect(); } - return f; }; } -var h8 = [B5, e8, R5, S5, Y5, $5, n8, T5, q5], p8 = /* @__PURE__ */ f8({ - defaultModifiers: h8 -}); -function m8(e) { - var o = wt(null); - return ra(function() { - o.current = e; - }, [e]), o; +function Kb(e) { + return /^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e); } -function y8(e) { - e === void 0 && (e = {}); - var o = zo(e), g = o.visible, C = g === void 0 ? !1 : g, P = o.animated, x = P === void 0 ? !1 : P, n = qr(o, ["visible", "animated"]), c = u5(n), r = Ct(C), a = r[0], i = r[1], m = Ct(x), t = m[0], f = m[1], b = Ct(!1), y = b[0], u = b[1], d = m8(a), l = d.current != null && d.current !== a; - t && !y && l && u(!0), vt(function() { - if (typeof t == "number" && y) { - var O = setTimeout(function() { - return u(!1); - }, t); - return function() { - clearTimeout(O); - }; - } - if (t && y && process.env.NODE_ENV === "development") { - var I = setTimeout(function() { - process.env.NODE_ENV !== "production" && Q6(y, "It's been 8 seconds but stopAnimation has not been called. Does the disclousure element have a CSS transition?"); - }, 8e3); - return function() { - clearTimeout(I); - }; - } - return function() { +function jl(e) { + const t = window.devicePixelRatio || 1; + return Math.round(e * t) / t; +} +function Wb(e) { + return typeof e == "number" ? e : Math.max(e.left ?? 0, e.right ?? 0); +} +function Jb(e, t) { + return Bb(({ placement: c }) => { + const h = (e?.clientHeight || 0) / 2, S = typeof t.gutter == "number" ? t.gutter + h : t.gutter ?? h; + return { + crossAxis: c.split("-")[1] ? void 0 : t.shift, + mainAxis: S, + alignmentAxis: t.shift }; - }, [t, y]); - var s = ot(function() { - return i(!0); - }, []), v = ot(function() { - return i(!1); - }, []), p = ot(function() { - return i(function(O) { - return !O; - }); - }, []), h = ot(function() { - return u(!1); - }, []); - return er(er({}, c), {}, { - visible: a, - animated: t, - animating: y, - show: s, - hide: v, - toggle: p, - setVisible: i, - setAnimated: f, - stopAnimation: h }); } -function g8(e) { - e === void 0 && (e = {}); - var o = zo(e), g = o.modal, C = g === void 0 ? !0 : g, P = qr(o, ["modal"]), x = y8(P), n = Ct(C), c = n[0], r = n[1], a = wt(null); - return er(er({}, x), {}, { - modal: c, - setModal: r, - unstable_disclosureRef: a +function $b(e) { + if (e.flip === !1) return; + const t = typeof e.flip == "string" ? e.flip.split(" ") : void 0; + return Br(!t || t.every(Kb), process.env.NODE_ENV !== "production" && "`flip` expects a spaced-delimited list of placements"), kb({ + padding: e.overflowPadding, + fallbackPlacements: t }); } -var v8 = xa("Mac") && !xa("Chrome") && xa("Safari"); -function Iu(e) { - return function(o) { - return e && !Lo(o, e) ? e : o; - }; +function Gb(e) { + if (!(!e.slide && !e.overlap)) + return Rb({ + mainAxis: e.slide, + crossAxis: e.overlap, + padding: e.overflowPadding, + limiter: Db() + }); } -function b8(e) { - e === void 0 && (e = {}); - var o = zo(e), g = o.gutter, C = g === void 0 ? 12 : g, P = o.placement, x = P === void 0 ? "bottom" : P, n = o.unstable_flip, c = n === void 0 ? !0 : n, r = o.unstable_offset, a = o.unstable_preventOverflow, i = a === void 0 ? !0 : a, m = o.unstable_fixed, t = m === void 0 ? !1 : m, f = o.modal, b = f === void 0 ? !1 : f, y = qr(o, ["gutter", "placement", "unstable_flip", "unstable_offset", "unstable_preventOverflow", "unstable_fixed", "modal"]), u = wt(null), d = wt(null), l = wt(null), s = wt(null), v = Ct(x), p = v[0], h = v[1], O = Ct(x), I = O[0], k = O[1], R = Ct(r || [0, C]), L = R[0], N = Ct({ - position: "fixed", - left: "100%", - top: "100%" - }), B = N[0], H = N[1], U = Ct({}), S = U[0], T = U[1], E = g8(er({ - modal: b - }, y)), M = ot(function() { - return u.current ? (u.current.forceUpdate(), !0) : !1; - }, []), _ = ot(function(w) { - w.placement && k(w.placement), w.styles && (H(Iu(w.styles.popper)), s.current && T(Iu(w.styles.arrow))); - }, []); - return ra(function() { - return d.current && l.current && (u.current = p8(d.current, l.current, { - // https://popper.js.org/docs/v2/constructors/#options - placement: p, - strategy: t ? "fixed" : "absolute", - // Safari needs styles to be applied in the first render, otherwise - // hovering over the popover when it gets visible for the first time - // will change its dimensions unexpectedly. - onFirstUpdate: v8 ? _ : void 0, - modifiers: [{ - // https://popper.js.org/docs/v2/modifiers/event-listeners/ - name: "eventListeners", - enabled: E.visible - }, { - // https://popper.js.org/docs/v2/modifiers/apply-styles/ - name: "applyStyles", - enabled: !1 - }, { - // https://popper.js.org/docs/v2/modifiers/flip/ - name: "flip", - enabled: c, - options: { - padding: 8 - } - }, { - // https://popper.js.org/docs/v2/modifiers/offset/ - name: "offset", - options: { - offset: L - } - }, { - // https://popper.js.org/docs/v2/modifiers/prevent-overflow/ - name: "preventOverflow", - enabled: i, - options: { - tetherOffset: function() { - var A; - return ((A = s.current) === null || A === void 0 ? void 0 : A.clientWidth) || 0; - } - } - }, { - // https://popper.js.org/docs/v2/modifiers/arrow/ - name: "arrow", - enabled: !!s.current, - options: { - element: s.current +function qb(e, t) { + return Hb({ + padding: e.overflowPadding, + apply({ elements: c, availableWidth: h, availableHeight: S, rects: g }) { + if (t?.()) return; + const n = c.floating, s = Math.round(g.reference.width); + h = Math.floor(h), S = Math.floor(S), n.style.setProperty("--popover-anchor-width", `${s}px`), n.style.setProperty("--popover-available-width", `${h}px`), n.style.setProperty("--popover-available-height", `${S}px`), e.sameWidth && (n.style.width = `${s}px`), e.fitViewport && (n.style.maxWidth = `${h}px`, n.style.maxHeight = `${S}px`); + } + }); +} +function Zb(e, t) { + if (e) + return jb({ + element: e, + padding: t.arrowPadding + }); +} +const cp = Pn(function({ store: t, modal: c = !1, portal: h = c, preserveTabOrder: S = !0, autoFocusOnShow: g = !0, wrapperProps: n, fixed: s = !1, flip: r = !0, shift: o = 0, slide: i = !0, overlap: p = !1, sameWidth: a = !1, fitViewport: f = !1, gutter: C, arrowPadding: w = 4, overflowPadding: m = 8, getAnchorRect: v, updatePosition: l, ...u }) { + const y = Zf(); + t = t || y, Br(t, process.env.NODE_ENV !== "production" && "Popover must receive a `store` prop or be wrapped in a PopoverProvider component."); + const d = Dt(t, "arrowElement"), b = Dt(t, "anchorElement"), _ = S && h && !c, E = Dt(t, _ ? ["disclosureElement"] : [], (Q) => _ ? Q.disclosureElement : null), B = Dt(t, "popoverElement"), O = Dt(t, "unstable_placing"), I = Dt(t, "contentElement"), x = Dt(t, "placement"), A = Dt(t, "mounted"), N = Dt(t, "rendered"), k = Qe(null), j = !O, { portalRef: D, domReady: T } = Rc(h, u.portalRef), L = Kt(v), R = Kt(l), M = !!l, P = typeof m == "number" ? m : m.top ?? 0, H = typeof m == "number" ? m : m.right ?? 0, K = typeof m == "number" ? m : m.bottom ?? 0, V = typeof m == "number" ? m : m.left ?? 0, U = !A && zc(A, u.hidden, u.alwaysVisible); + Et(() => { + if (A && t?.setState("unstable_placing", !0), !B?.isConnected) return; + const Q = { + top: P, + right: H, + bottom: K, + left: V + }; + if (B.style.setProperty("--popover-overflow-padding", `${Wb(Q)}px`), U && !M) return; + const ne = zb(b, L); + let te = !1, X = !1; + const Z = () => !!(te || !B.isConnected), fe = async () => { + if (Z() || !A) return; + d || (k.current = k.current || document.createElement("div")); + const de = d || k.current, me = [ + Jb(de, { + gutter: C, + shift: o + }), + $b({ + flip: r, + overflowPadding: Q + }), + Gb({ + slide: i, + overlap: p, + overflowPadding: Q + }), + Zb(de, { arrowPadding: w }), + qb({ + sameWidth: a, + fitViewport: f, + overflowPadding: Q + }, Z) + ], Oe = await Vb(ne, B, { + placement: x, + strategy: s ? "fixed" : "absolute", + middleware: me + }); + if (Z()) return; + t?.setState("currentPlacement", Oe.placement); + const Ce = jl(Oe.x), G = jl(Oe.y); + if (Object.assign(B.style, { + top: "0", + left: "0", + transform: `translate3d(${Ce}px,${G}px,0)` + }), X = !0, de && Oe.middlewareData.arrow) { + const { x: ie, y: we } = Oe.middlewareData.arrow, z = G7(Oe.placement), J = de.clientWidth / 2, q = de.clientHeight / 2, re = ie != null ? ie + J : -J, $ = we != null ? we + q : -q; + B.style.setProperty("--popover-transform-origin", { + top: `${re}px calc(100% + ${q}px)`, + bottom: `${re}px ${-q}px`, + left: `calc(100% + ${J}px) ${$}px`, + right: `${-J}px ${$}px` + }[z]), Object.assign(de.style, { + left: ie != null ? `${ie}px` : "", + top: we != null ? `${we}px` : "", + right: "", + bottom: "", + [z]: "100%" + }); + } + }, Se = Nb(ne, B, async () => { + if (!Z()) { + try { + M ? await R({ updatePosition: fe }) : await fe(); + } catch (de) { + throw X && !Z() && t?.setState("unstable_placing", !1), de; } - }, { - // https://popper.js.org/docs/v2/modifiers/#custom-modifiers - name: "updateState", - phase: "write", - requires: ["computeStyles"], - enabled: E.visible && process.env.NODE_ENV !== "test", - fn: function(A) { - var j = A.state; - return _(j); - } - }] - })), function() { - u.current && (u.current.destroy(), u.current = null); + Z() || t?.setState("unstable_placing", !1); + } + }, { elementResize: typeof ResizeObserver == "function" }); + return () => { + te = !0, Se(); + }; + }, [ + t, + N, + B, + d, + b, + x, + A, + U, + T, + s, + r, + o, + i, + p, + a, + f, + C, + w, + P, + H, + K, + V, + L, + M, + R + ]), Et(() => { + if (!A || !T || !B?.isConnected || !I?.isConnected) return; + const Q = () => { + B.style.zIndex = getComputedStyle(I).zIndex; + }; + Q(); + let ne = requestAnimationFrame(() => { + ne = requestAnimationFrame(Q); + }); + return () => cancelAnimationFrame(ne); + }, [ + A, + T, + B, + I + ]), Et(() => { + if (!t) return; + const Q = t; + ni.set(Q, (ni.get(Q) ?? 0) + 1); + const ne = nr(Q, ["mounted"], (te) => { + Q.setState("unstable_placing", te.mounted); + }); + return () => { + ne(), ni.set(Q, (ni.get(Q) ?? 1) - 1), queueMicrotask(() => { + ni.get(Q) || Q.setState("unstable_placing", !1); + }); }; - }, [p, t, E.visible, c, L, i]), vt(function() { - if (E.visible) { - var w = window.requestAnimationFrame(function() { - var A; - (A = u.current) === null || A === void 0 || A.forceUpdate(); + }, [t]); + const F = s ? "fixed" : "absolute"; + return u = Bn(u, (Q) => /* @__PURE__ */ W("div", { + ...n, + style: { + position: F, + top: 0, + left: 0, + width: "max-content", + ...n?.style + }, + ref: t?.setPopoverElement, + children: Q + }), [ + t, + F, + n + ]), u = Bn(u, (Q) => /* @__PURE__ */ W(Yf, { + value: t, + children: Q + }), [t]), u = { + "data-placing": O || void 0, + ...u, + style: { + position: "relative", + ...u.style + } + }, u = Gf({ + store: t, + modal: c, + portal: h, + preserveTabOrder: S, + preserveTabOrderAnchor: E || b, + autoFocusOnShow: j && g, + ...u, + portalRef: D + }), u; +}); +ns(on(function(t) { + const c = cp(t); + return Mn(Ub, c); +}), Zf); +const Pi = _i([$7], [Yf]); +Pi.useContext; +Pi.useScopedContext; +const Qc = Pi.useProviderContext, Yb = Pi.ContextProvider, up = Pi.ScopedContextProvider; +function lp(e) { + return [e.clientX, e.clientY]; +} +function Xb(e, t) { + const [c, h] = e; + let S = !1; + const g = t.length; + for (let n = g, s = 0, r = n - 1; s < n; r = s++) { + const o = t[s], i = t[r], p = t[r === 0 ? n - 1 : r - 1]; + if (o == null || i == null || p == null) return !1; + const [a, f] = o, [C, w] = i, [, m] = p, v = (f - w) * (c - a) - (a - C) * (h - f); + if (w < f) { + if (h >= w && h < f) { + if (v === 0) return !0; + v > 0 && (h === w ? h > m && (S = !S) : S = !S); + } + } else if (f < w) { + if (h > f && h <= w) { + if (v === 0) return !0; + v < 0 && (h === w ? h < m && (S = !S) : S = !S); + } + } else if (h === f && (c >= C && c <= a || c >= a && c <= C)) return !0; + } + return S; +} +function Qb(e, t) { + const { top: c, right: h, bottom: S, left: g } = t, [n, s] = e; + return [n < g ? "left" : n > h ? "right" : null, s < c ? "top" : s > S ? "bottom" : null]; +} +function ew(e, t) { + const c = e.getBoundingClientRect(), { top: h, right: S, bottom: g, left: n } = c, [s, r] = Qb(t, c), o = [t]; + return s ? (r !== "top" && o.push([s === "left" ? n : S, h]), o.push([s === "left" ? S : n, h]), o.push([s === "left" ? S : n, g]), r !== "bottom" && o.push([s === "left" ? n : S, g])) : r === "top" ? (o.push([n, h]), o.push([n, g]), o.push([S, g]), o.push([S, h])) : (o.push([n, g]), o.push([n, h]), o.push([S, h]), o.push([S, g])), o; +} +const tw = "div"; +function nw(e, t, c, h) { + return !!(al(t) || e.includes(t) || c.some((S) => S && e.includes(S)) || h?.some((S) => al(S) || e.includes(S))); +} +function Dl({ event: e, element: t, enterPointRef: c, disablePointerEvents: h, refreshEnterPoint: S = !1 }) { + const g = c.current; + if (!g) return !1; + const n = lp(e), s = ew(t, g); + return Xb(n, s) ? (S && (c.current = n), h(e) && (e.preventDefault(), e.stopPropagation()), !0) : !1; +} +function rw({ store: e, ...t }) { + const [c, h] = ft(!1), S = Dt(e, "mounted"); + Ze(() => { + S || h(!1); + }, [S]); + const g = t.onFocus, n = Kt((r) => { + g?.(r), !r.defaultPrevented && h(!0); + }), s = Qe(null); + return Ze(() => nr(e, ["anchorElement"], (r) => { + s.current = r.anchorElement; + }), [e]), t = { + autoFocusOnHide: c, + finalFocus: s, + ...t, + onFocus: n + }, t; +} +const Vl = Ir(null), dp = Pn(function({ store: t, modal: c = !1, portal: h = c, hideOnEscape: S = !0, hideOnHoverOutside: g = !0, disablePointerEventsOnApproach: n = !!g, ...s }) { + const r = Qc(); + t = t || r, Br(t, process.env.NODE_ENV !== "production" && "Hovercard must receive a `store` prop or be wrapped in a HovercardProvider component."); + const o = Qe(null), i = Qe([]), p = Qe(0), a = Qe(null), { portalRef: f, domReady: C } = Rc(h, s.portalRef), w = sf(), m = !!g, v = Wr(g), l = !!n, u = Wr(n), y = Dt(t, "open"), d = Dt(t, "mounted"), b = rt(() => { + window.clearTimeout(p.current), p.current = 0; + }, []); + Ze(() => { + if (!C || !d || !m && !l) return; + const I = o.current; + return I ? un(nn("mousemove", (A) => { + if (!t || !w()) return; + const { anchorElement: N, disclosureElement: k, hideTimeout: j, timeout: D } = t.getState(), T = A.composedPath(), L = [N, k], R = L.find((M) => M && T.includes(M)); + if (nw(T, I, L, i.current)) { + a.current = R ? lp(A) : null, b(); + return; + } + p.current || Dl({ + event: A, + element: I, + enterPointRef: a, + disablePointerEvents: u, + refreshEnterPoint: !0 + }) || v(A) && (p.current = window.setTimeout(() => { + p.current = 0, t?.hide(); + }, j ?? D)); + }, !0), b) : void 0; + }, [ + t, + w, + C, + d, + m, + l, + i, + b, + u, + v + ]), Ze(() => { + if (!C || !d || !l) return; + const I = (x) => { + const A = o.current; + A && Dl({ + event: x, + element: A, + enterPointRef: a, + disablePointerEvents: u }); - return function() { - window.cancelAnimationFrame(w); + }; + return un(nn("mouseenter", I, !0), nn("mouseover", I, !0), nn("mouseout", I, !0), nn("mouseleave", I, !0)); + }, [ + C, + d, + l, + u + ]), Ze(() => { + C && (y || t?.setAutoFocusOnShow(!1)); + }, [ + t, + C, + y + ]); + const _ = Bc(y); + Ze(() => { + if (C) + return () => { + _.current || t?.setAutoFocusOnShow(!1); }; + }, [t, C]); + const E = No(Vl); + Et(() => { + if (c || !h || !d || !C) return; + const I = o.current; + if (I) + return E?.(I); + }, [ + c, + h, + d, + C, + E + ]); + const B = rt((I) => { + b(), i.current = [...i.current, I]; + const x = E?.(I); + return () => { + b(), i.current = i.current.filter((A) => A !== I), x?.(); + }; + }, [b, E]); + s = Bn(s, (I) => /* @__PURE__ */ W(up, { + value: t, + children: /* @__PURE__ */ W(Vl.Provider, { + value: B, + children: I + }) + }), [t, B]), s = { + ...s, + ref: mr(o, s.ref) + }, s = rw({ + store: t, + ...s + }); + const O = Dt(t, ["autoFocusOnShow"], (I) => c || I.autoFocusOnShow); + return s = cp({ + store: t, + modal: c, + portal: h, + autoFocusOnShow: O, + ...s, + portalRef: f, + hideOnEscape(I) { + return Pa(S, I) ? !1 : (requestAnimationFrame(() => { + requestAnimationFrame(() => { + t?.hide(); + }); + }), !0); } - }, [E.visible]), er(er({}, E), {}, { - unstable_referenceRef: d, - unstable_popoverRef: l, - unstable_arrowRef: s, - unstable_popoverStyles: B, - unstable_arrowStyles: S, - unstable_update: M, - unstable_originalPlacement: p, - placement: I, - place: h + }), s; +}); +ns(on(function(t) { + const c = dp(t); + return Mn(tw, c); +}), Qc); +const fp = _i([Yb], [up]), eu = fp.useProviderContext, ow = fp.ScopedContextProvider, iw = "div", aw = Pn(function({ store: t, portal: c = !0, gutter: h = 8, preserveTabOrder: S = !1, hideOnHoverOutside: g = !0, hideOnInteractOutside: n = !0, ...s }) { + const r = eu(); + return t = t || r, Br(t, process.env.NODE_ENV !== "production" && "Tooltip must receive a `store` prop or be wrapped in a TooltipProvider component."), s = Bn(s, (o) => /* @__PURE__ */ W(ow, { + value: t, + children: o + }), [t]), s = { + role: Dt(t, ["type"], (o) => o.type === "description" ? "tooltip" : "none"), + ...s + }, s = dp({ + ...s, + store: t, + portal: c, + gutter: h, + preserveTabOrder: S, + hideOnHoverOutside(o) { + if (Pa(g, o)) return !1; + const i = t?.getState().anchorElement; + return i ? !("focusVisible" in i.dataset) : !0; + }, + hideOnInteractOutside: (o) => { + if (Pa(n, o)) return !1; + const i = t?.getState().anchorElement; + return i ? !Xt(i, o.target) : !0; + } + }), s; +}), sw = ns(on(function(t) { + const c = aw(t); + return Mn(iw, c); +}), eu), cw = Pn(function({ store: t, showOnHover: c = !0, unstable_showOnHoverWhenDisabled: h = !0, setAnchorElement: S = !1, ...g }) { + const n = Zd(g), s = g.focusable !== !1, r = Qe(null), o = Qe(0), i = Kt((u) => n && !s ? !0 : E9(u)); + Ze(() => () => window.clearTimeout(o.current), []), Ze(() => nn("mouseleave", (y) => { + const d = r.current; + d && y.target === d && (window.clearTimeout(o.current), o.current = 0); + }, !0), []); + const p = g.onMouseMove, a = Wr(c), f = Wr(h), C = sf(), w = Kt((u) => { + if (p?.(u), u.defaultPrevented || o.current || !C()) return; + const y = u.currentTarget; + if (i(y) || (n || G8(y)) && !f(u) || !a(u)) return; + S && t.setAnchorElement(y), t.setDisclosureElement(y); + const { showTimeout: d, timeout: b } = t.getState(), _ = () => { + o.current = 0, C() && (i(y) || (S && t.setAnchorElement(y), t.show(), queueMicrotask(() => { + t.setDisclosureElement(y); + }))); + }, E = d ?? b; + E === 0 ? _() : o.current = window.setTimeout(_, E); + }), m = g.onClick, v = Kt((u) => { + m?.(u), window.clearTimeout(o.current), o.current = 0; + }), l = rt((u) => { + if (r.current = u, !S) return; + const { anchorElement: y } = t.getState(); + y?.isConnected || t.setAnchorElement(u); + }, [t, S]); + return g = { + ...g, + ref: mr(l, g.ref), + onMouseMove: w, + onClick: v + }, g = Hc(g), g; +}), uw = "a", pp = Pn(function({ store: t, showOnHover: c = !0, ...h }) { + const S = Qc(); + return t = t || S, Br(t, process.env.NODE_ENV !== "production" && "HovercardAnchor must receive a `store` prop or be wrapped in a HovercardProvider component."), cw({ + store: t, + showOnHover: c, + setAnchorElement: !0, + ...h }); -} -var w8 = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation"], C8 = w8, _8 = C8, e2 = ea({ - name: "DisclosureContent", - compose: hs, - keys: _8, - useProps: function(o, g) { - var C = g.onTransitionEnd, P = g.onAnimationEnd, x = g.style, n = qr(g, ["onTransitionEnd", "onAnimationEnd", "style"]), c = o.animated && o.animating, r = Ct(null), a = r[0], i = r[1], m = !o.visible && !c, t = m ? er({ - display: "none" - }, x) : x, f = qn(C), b = qn(P), y = wt(0); - vt(function() { - if (o.animated) - return y.current = window.requestAnimationFrame(function() { - y.current = window.requestAnimationFrame(function() { - o.visible ? i("enter") : i(c ? "leave" : null); - }); - }), function() { - return window.cancelAnimationFrame(y.current); - }; - }, [o.animated, o.visible, c]); - var u = ot(function(s) { - if (n5(s) && c && o.animated === !0) { - var v; - (v = o.stopAnimation) === null || v === void 0 || v.call(o); - } - }, [o.animated, c, o.stopAnimation]), d = ot(function(s) { - var v; - (v = f.current) === null || v === void 0 || v.call(f, s), u(s); - }, [u]), l = ot(function(s) { - var v; - (v = b.current) === null || v === void 0 || v.call(b, s), u(s); - }, [u]); - return er({ - id: o.baseId, - "data-enter": a === "enter" ? "" : void 0, - "data-leave": a === "leave" ? "" : void 0, - onTransitionEnd: d, - onAnimationEnd: l, - hidden: m, - style: t - }, n); - } }); -Qi({ - as: "div", - useHook: e2 +on(function(t) { + const c = pp(t); + return Mn(uw, c); }); -function t2() { - return ta ? document.body : null; +const lw = "div", zr = hr({ activeStore: null }), hc = /* @__PURE__ */ new WeakSet(); +function dw(e) { + return () => { + const { activeStore: t } = zr.getState(); + t === e && zr.setState("activeStore", null); + }; } -var Nu = /* @__PURE__ */ Wi(t2()); -function Bo(e) { - var o = e.children, g = Do(Nu) || t2(), C = Ct(function() { - if (ta) { - var x = document.createElement("div"); - return x.className = Bo.__className, x; - } - return null; - }), P = C[0]; - return ra(function() { - if (!(!P || !g)) - return g.appendChild(P), function() { - g.removeChild(P); - }; - }, [P, g]), P ? /* @__PURE__ */ uf(/* @__PURE__ */ is(Nu.Provider, { - value: P - }, o), P) : null; -} -Bo.__className = "__reakit-portal"; -Bo.__selector = "." + Bo.__className; -var r2 = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "unstable_disclosureRef", "unstable_referenceRef", "unstable_popoverRef", "unstable_arrowRef", "unstable_popoverStyles", "unstable_arrowStyles", "unstable_originalPlacement", "unstable_update", "placement", "place", "unstable_timeout", "unstable_setTimeout"], S8 = [].concat(r2, ["unstable_portal"]), M8 = r2, x8 = M8, wn = { - currentTooltipId: null, - listeners: /* @__PURE__ */ new Set(), - subscribe: function(o) { - var g = this; - return this.listeners.add(o), function() { - g.listeners.delete(o); - }; - }, - show: function(o) { - this.currentTooltipId = o, this.listeners.forEach(function(g) { - return g(o); - }); - }, - hide: function(o) { - this.currentTooltipId === o && (this.currentTooltipId = null, this.listeners.forEach(function(g) { - return g(null); +function fw(e) { + e && (hc.add(e), e.hide(), queueMicrotask(() => hc.delete(e))); +} +const pw = Pn(function({ store: t, showOnHover: c = !0, ...h }) { + const S = eu(); + t = t || S, Br(t, process.env.NODE_ENV !== "production" && "TooltipAnchor must receive a `store` prop or be wrapped in a TooltipProvider component."); + const g = Qe(!1); + Ze(() => nr(t, ["mounted"], (C) => { + C.mounted || (g.current = !1); + }), [t]), Ze(() => { + if (!t) return; + const C = dw(t); + return un(C, nr(t, ["mounted"], (w) => { + if (!t) return; + if (w.mounted) { + const { activeStore: v } = zr.getState(); + if (v !== t) { + if (hc.has(t)) return; + fw(v); + } + return zr.setState("activeStore", t); + } + const m = setTimeout(C, t.getState().skipTimeout); + return () => clearTimeout(m); })); - } -}; -function E8(e) { - e.defaultPrevented || e.key === "Escape" && wn.show(null); -} -var P8 = ea({ - name: "Tooltip", - compose: e2, - keys: S8, - useOptions: function(o) { - var g = o.unstable_portal, C = g === void 0 ? !0 : g, P = qr(o, ["unstable_portal"]); - return er({ - unstable_portal: C - }, P); - }, - useProps: function(o, g) { - var C = g.ref, P = g.style, x = g.wrapElement, n = qr(g, ["ref", "style", "wrapElement"]); - vt(function() { - var r, a = e5((r = o.unstable_popoverRef) === null || r === void 0 ? void 0 : r.current); - a.addEventListener("keydown", E8); - }, []); - var c = ot(function(r) { - return o.unstable_portal && (r = /* @__PURE__ */ is(Bo, null, r)), x ? x(r) : r; - }, [o.unstable_portal, x]); - return er({ - ref: zl(o.unstable_popoverRef, C), - role: "tooltip", - style: er(er({}, o.unstable_popoverStyles), {}, { - pointerEvents: "none" - }, P), - wrapElement: c - }, n); - } -}), A8 = Qi({ - as: "div", - memo: !0, - useHook: P8 -}), O8 = ea({ - name: "TooltipReference", - compose: hs, - keys: x8, - useProps: function(o, g) { - var C = g.ref, P = g.onFocus, x = g.onBlur, n = g.onMouseEnter, c = g.onMouseLeave, r = qr(g, ["ref", "onFocus", "onBlur", "onMouseEnter", "onMouseLeave"]), a = qn(P), i = qn(x), m = qn(n), t = qn(c), f = ot(function(d) { - var l, s; - (l = a.current) === null || l === void 0 || l.call(a, d), !d.defaultPrevented && ((s = o.show) === null || s === void 0 || s.call(o)); - }, [o.show]), b = ot(function(d) { - var l, s; - (l = i.current) === null || l === void 0 || l.call(i, d), !d.defaultPrevented && ((s = o.hide) === null || s === void 0 || s.call(o)); - }, [o.hide]), y = ot(function(d) { - var l, s; - (l = m.current) === null || l === void 0 || l.call(m, d), !d.defaultPrevented && ((s = o.show) === null || s === void 0 || s.call(o)); - }, [o.show]), u = ot(function(d) { - var l, s; - (l = t.current) === null || l === void 0 || l.call(t, d), !d.defaultPrevented && ((s = o.hide) === null || s === void 0 || s.call(o)); - }, [o.hide]); - return er({ - ref: zl(o.unstable_referenceRef, C), - tabIndex: 0, - onFocus: f, - onBlur: b, - onMouseEnter: y, - onMouseLeave: u, - "aria-describedby": o.baseId - }, r); - } -}), T8 = Qi({ - as: "div", - useHook: O8 + }, [t]); + const n = h.onMouseEnter, s = Kt((C) => { + n?.(C), g.current = !0; + }), r = h.onFocusVisible, o = Kt((C) => { + r?.(C), !C.defaultPrevented && (t?.setAnchorElement(C.currentTarget), t?.show()); + }), i = h.onBlur, p = Kt((C) => { + if (i?.(C), C.defaultPrevented) return; + const { activeStore: w } = zr.getState(); + g.current = !1, w === t && zr.setState("activeStore", null); + }), a = Dt(t, ["type", "contentElement"], (C) => C.type === "label" ? C.contentElement : null); + v9(a, "id"); + const f = a?.id; + return h = { + "aria-labelledby": h["aria-label"] == null ? f : void 0, + ...h, + onMouseEnter: s, + onFocusVisible: o, + onBlur: p + }, h = pp({ + store: t, + showOnHover(C) { + if (!g.current || Pa(c, C)) return !1; + const { activeStore: w } = zr.getState(); + return w ? (t?.show(), !1) : !0; + }, + ...h + }), h; +}), hw = on(function(t) { + const c = pw(t); + return Mn(lw, c); }); -function I8(e) { - e === void 0 && (e = {}); - var o = zo(e), g = o.placement, C = g === void 0 ? "top" : g, P = o.unstable_timeout, x = P === void 0 ? 0 : P, n = qr(o, ["placement", "unstable_timeout"]), c = Ct(x), r = c[0], a = c[1], i = wt(null), m = wt(null), t = b8(er(er({}, n), {}, { - placement: C - })); - t.modal, t.setModal; - var f = qr(t, ["modal", "setModal"]), b = ot(function() { - i.current !== null && window.clearTimeout(i.current), m.current !== null && window.clearTimeout(m.current); - }, []), y = ot(function() { - b(), f.hide(), m.current = window.setTimeout(function() { - wn.hide(f.baseId); - }, r); - }, [b, f.hide, r, f.baseId]), u = ot(function() { - b(), !r || wn.currentTooltipId ? (wn.show(f.baseId), f.show()) : (wn.show(null), i.current = window.setTimeout(function() { - wn.show(f.baseId), f.show(); - }, r)); - }, [b, r, f.show, f.baseId]); - return vt(function() { - return wn.subscribe(function(d) { - d !== f.baseId && (b(), f.visible && f.hide()); - }); - }, [f.baseId, b, f.visible, f.hide]), vt(function() { - return function() { - b(), wn.hide(f.baseId); - }; - }, [b, f.baseId]), er(er({}, f), {}, { - hide: y, - show: u, - unstable_timeout: r, - unstable_setTimeout: a - }); +function yw({ popover: e, ...t } = {}) { + const c = Cf(t.store, wf(e, [ + "arrowElement", + "anchorElement", + "contentElement", + "popoverElement", + "disclosureElement", + "unstable_placing" + ])); + Sf(t, c); + const h = c?.getState(), S = Hf({ + ...t, + store: c + }), g = cn(t.placement, h?.placement, "bottom"), n = { + ...S.getState(), + placement: g, + currentPlacement: g, + anchorElement: cn(h?.anchorElement, null), + popoverElement: cn(h?.popoverElement, null), + arrowElement: cn(h?.arrowElement, null), + rendered: Symbol("rendered"), + unstable_placing: !1 + }, s = hr(n, S, c); + let r = n.anchorElement === n.disclosureElement ? n.anchorElement : null; + return ya(s, () => nr(s, ["anchorElement", "disclosureElement"], (o) => { + if (o.anchorElement && o.anchorElement !== r) { + r = null; + return; + } + r = o.disclosureElement, s.setState("anchorElement", r); + })), { + ...S, + ...s, + setAnchorElement: (o) => s.setState("anchorElement", o), + setPopoverElement: (o) => s.setState("popoverElement", o), + setArrowElement: (o) => s.setState("arrowElement", o), + render: () => s.setState("rendered", Symbol("rendered")) + }; +} +function mw(e, t, c) { + return af(t, [c.popover, t]), lr(e, c, "placement"), jf(e, t, c); +} +function gw(e = {}) { + const t = e.store?.getState(), c = yw({ + ...e, + placement: cn(e.placement, t?.placement, "bottom") + }), h = cn(e.timeout, t?.timeout, 500), S = { + ...c.getState(), + timeout: h, + showTimeout: cn(e.showTimeout, t?.showTimeout), + hideTimeout: cn(e.hideTimeout, t?.hideTimeout), + autoFocusOnShow: cn(t?.autoFocusOnShow, !1) + }, g = hr(S, c, e.store); + return { + ...c, + ...g, + setAutoFocusOnShow: (n) => g.setState("autoFocusOnShow", n) + }; +} +function vw(e, t, c) { + return lr(e, c, "timeout"), lr(e, c, "showTimeout"), lr(e, c, "hideTimeout"), mw(e, t, c); +} +function bw(e = {}) { + process.env.NODE_ENV !== "production" && e.type === "label" && console.warn("The `type` option on the tooltip store is deprecated.", "Render a visually hidden label or use the `aria-label` or `aria-labelledby` attributes on the anchor element instead.", "See https://ariakit.com/components/tooltip#tooltip-anchors-must-have-accessible-names"); + const t = e.store?.getState(), c = gw({ + ...e, + placement: cn(e.placement, t?.placement, "top"), + hideTimeout: cn(e.hideTimeout, t?.hideTimeout, 0) + }), h = { + ...c.getState(), + type: cn(e.type, t?.type, "description"), + skipTimeout: cn(e.skipTimeout, t?.skipTimeout, 300) + }, S = hr(h, c, e.store); + return { + ...c, + ...S + }; +} +function ww(e, t, c) { + return lr(e, c, "type"), lr(e, c, "skipTimeout"), vw(e, t, c); } -const N8 = be(A8).withConfig({ +function Cw(e = {}) { + const [t, c] = Fc(bw, e); + return ww(t, c, e); +} +const Sw = xe(sw).withConfig({ shouldForwardProp: (e) => e !== "paddingScale", displayName: "tooltip__StyledReactTooltip", componentId: "sc-1m82hpm-0" })(({ theme: e, - lineHeight: o = "sm", - scale: g = "sm", - paddingScale: C = 2, - padding: P + lineHeight: t = "sm", + scale: c = "sm", + paddingScale: h = 2, + padding: S }) => ({ zIndex: e.zIndex.tooltip, color: e.styleguideColors.contentPrimary, backgroundColor: e.styleguideColors.backgroundPrimary, borderRadius: e.borderRadius.base, - padding: P || e.padding[C], + padding: S || e.padding[h], boxShadow: e.boxShadow.tooltip, transition: "opacity 250ms ease-in-out", opacity: 0, - fontSize: It({ + fontSize: xt({ sm: "1.3rem", xs: "0.8125rem" - }, g), - lineHeight: It({ + }, c), + lineHeight: xt({ sm: "1.5rem", xs: "1.25rem" - }, o), + }, t), "&[data-enter]": { opacity: 1 } -})), Yt = St.forwardRef(({ +})), en = yt.forwardRef(({ children: e, - limitWidth: o, - tooltipContent: g, - caption: C, - additionalBlock: P, - monotype: x, + limitWidth: t, + tooltipContent: c, + caption: h, + additionalBlock: S, + monotype: g, lineHeight: n = "sm", - scale: c = "sm", + scale: s = "sm", paddingScale: r = 2, - padding: a, + padding: o, ...i -}, m) => { - const t = I8({ - animated: 250 - }), f = o ? typeof o == "string" ? o : "500px" : void 0; - return e == null ? null : g == null ? /* @__PURE__ */ $(At, { children: e }) : /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(T8, { ...t, ref: e.ref, ...e.props, children: (b) => St.cloneElement(e, b) }), - /* @__PURE__ */ $(N8, { paddingScale: r, padding: a, ...t, ...i, children: /* @__PURE__ */ $("div", { style: { - maxWidth: f - }, children: /* @__PURE__ */ Pe(Kt, { itemsSpacing: 8, children: [ - /* @__PURE__ */ Pe(Kt, { children: [ - /* @__PURE__ */ $(mn, { size: 2, variation: "gray", children: C }), - /* @__PURE__ */ $(Ae, { size: 3, monotype: x, lineHeight: n, scale: c, children: g }) +}, p) => { + const a = Cw({ + showTimeout: 0 + }), f = yt.useId(), C = i.id || f, w = t ? typeof t == "string" ? t : "500px" : void 0; + return e == null ? null : c == null ? /* @__PURE__ */ W(pt, { children: e }) : /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(hw, { store: a, render: yt.cloneElement(e, { + // Modern Ariakit tooltips are visual-only by default. Preserve the + // Reakit description contract without replacing the child's name. + "aria-describedby": [e.props["aria-describedby"], C].filter(Boolean).join(" ") + }) }), + /* @__PURE__ */ W(Sw, { paddingScale: r, padding: o, store: a, ref: p, ...i, id: C, children: /* @__PURE__ */ W("div", { style: { + maxWidth: w + }, children: /* @__PURE__ */ Le(Ht, { itemsSpacing: 8, children: [ + /* @__PURE__ */ Le(Ht, { children: [ + /* @__PURE__ */ W(pr, { size: 2, variation: "gray", children: h }), + /* @__PURE__ */ W(Be, { size: 3, monotype: g, lineHeight: n, scale: s, children: c }) ] }), - P + S ] }) }) }) ] }); -}), Wo = ({ +}), Oi = ({ extendedLine: e, - hash: o, - tooltipCaption: g, - children: C + hash: t, + tooltipCaption: c, + children: h }) => { - const P = e?.title != null, x = g || (Ft.isValidPublicKey(o) ? "Public Key" : "Account hash"), n = P ? e?.title : o, c = P ? e?.caption : x; - return /* @__PURE__ */ $(Yt, { monotype: !P, tooltipContent: n, caption: c, additionalBlock: P && /* @__PURE__ */ Pe(Kt, { children: [ - /* @__PURE__ */ $(mn, { size: 1, variation: "gray", children: x }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: o }) - ] }), scale: "xs", lineHeight: "xs", children: C }); -}, L8 = be(Yi).withConfig({ + const S = e?.title != null, g = c || (kt.isValidPublicKey(t) ? "Public Key" : "Account hash"), n = S ? e?.title : t, s = S ? e?.caption : g; + return /* @__PURE__ */ W(en, { monotype: !S, tooltipContent: n, caption: s, additionalBlock: S && /* @__PURE__ */ Le(Ht, { children: [ + /* @__PURE__ */ W(pr, { size: 1, variation: "gray", children: g }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: t }) + ] }), scale: "xs", lineHeight: "xs", children: h }); +}, _w = xe(Xa).withConfig({ displayName: "address__StyledTruncateBox", componentId: "sc-yrlbi9-0" })(() => ({ height: "20px" -})), R8 = be(Ae).withConfig({ +})), Ew = xe(Be).withConfig({ displayName: "address__StyledBodyText", componentId: "sc-yrlbi9-1" })(({ @@ -35375,73 +37294,73 @@ const N8 = be(A8).withConfig({ "&:active > *": { color: e.styleguideColors.fillPrimaryRedClick } -})), Lu = ({ +})), Ul = ({ navigateToPath: e, - csprName: o, - hash: g, - hashLength: C, - align: P, - minified: x, + csprName: t, + hash: c, + hashLength: h, + align: S, + minified: g, hashFontSize: n }) => { if (!e || e === "") { - const r = o || g || "", a = o && C === Vt.TINY ? Dl(o, 24) : o, i = g ? Vr(g, C) : null; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: P, children: [ - /* @__PURE__ */ $(Ae, { size: 3, scale: n, lineHeight: "xs", monotype: !o, children: a || i }), - /* @__PURE__ */ $(Zi, { value: r, minified: x }) + const r = t || c || "", o = t && h === Nt.TINY ? $d(t, 24) : t, i = c ? kn(c, h) : null; + return /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: S, children: [ + /* @__PURE__ */ W(Be, { size: 3, scale: n, lineHeight: "xs", monotype: !t, children: o || i }), + /* @__PURE__ */ W(Za, { value: r, minified: g }) ] }); } - return /* @__PURE__ */ $(R8, { size: 3, scale: n, monotype: !o, children: /* @__PURE__ */ $(Ja, { href: e, hash: g, csprName: o && Wa(o, Vt.TINY), hashLength: C, minified: x, align: P }) }); -}, Dn = St.forwardRef(function(o, g) { + return /* @__PURE__ */ W(Ew, { size: 3, scale: n, monotype: !t, children: /* @__PURE__ */ W(oc, { href: e, hash: c, csprName: t && rc(t, Nt.TINY), hashLength: h, minified: g, align: S }) }); +}, oo = yt.forwardRef(function(t, c) { const { - hash: C, - csprName: P, - logo: x, + hash: h, + csprName: S, + logo: g, name: n, - loading: c, + loading: s, hashLength: r, - minifiedCopyNotification: a, + minifiedCopyNotification: o, navigateToPath: i, - tooltipCaption: m, - hashFontSize: t, + tooltipCaption: p, + hashFontSize: a, nameTruncateSize: f = 5, - avatarSize: b = "default", - horizonalAlign: y = "center", - itemsSpacing: u = 12 - } = o; - if (c || !C) - return /* @__PURE__ */ $(je, { align: "center", itemsSpacing: u, children: /* @__PURE__ */ $(kr, { hash: C, loading: c, size: b }) }); - if (C === "00") - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: u, children: [ - /* @__PURE__ */ $(kr, { hash: C, loading: c, size: b }), - /* @__PURE__ */ Pe(Kt, { children: [ - /* @__PURE__ */ $(Ae, { size: 2, monotype: !0, lineHeight: "xs", children: C }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", noWrap: !0, children: "System" }) + avatarSize: C = "default", + horizonalAlign: w = "center", + itemsSpacing: m = 12 + } = t; + if (s || !h) + return /* @__PURE__ */ W(je, { align: "center", itemsSpacing: m, children: /* @__PURE__ */ W(An, { hash: h, loading: s, size: C }) }); + if (h === "00") + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: m, children: [ + /* @__PURE__ */ W(An, { hash: h, loading: s, size: C }), + /* @__PURE__ */ Le(Ht, { children: [ + /* @__PURE__ */ W(Be, { size: 2, monotype: !0, lineHeight: "xs", children: h }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", noWrap: !0, children: "System" }) ] }) ] }); - const d = m || (Ft.isValidPublicKey(C) ? "Public Key" : "Account hash"); - return /* @__PURE__ */ Pe(je, { ref: g, align: y, itemsSpacing: u, children: [ - x ? /* @__PURE__ */ $(kr, { src: x, loading: c, size: b, alt: "Account logo" }) : /* @__PURE__ */ $(kr, { hash: C, loading: c, size: b }), - /* @__PURE__ */ $(Wo, { extendedLine: { - title: P, + const v = p || (kt.isValidPublicKey(h) ? "Public Key" : "Account hash"); + return /* @__PURE__ */ Le(je, { ref: c, align: w, itemsSpacing: m, children: [ + g ? /* @__PURE__ */ W(An, { src: g, loading: s, size: C, alt: "Account logo" }) : /* @__PURE__ */ W(An, { hash: h, loading: s, size: C }), + /* @__PURE__ */ W(Oi, { extendedLine: { + title: S, caption: "CSPR.name" - }, tooltipCaption: d, hash: C, children: /* @__PURE__ */ $(Kt, { children: n ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Lu, { hashFontSize: t, navigateToPath: i, hash: C, csprName: P && Wa(P, Vt.TINY), hashLength: r, minified: a, align: y }), - /* @__PURE__ */ $(je, { itemsSpacing: 6, align: y, children: /* @__PURE__ */ $(L8, { size: f, children: /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", noWrap: !0, children: n }) }) }) - ] }) : /* @__PURE__ */ $(Lu, { hashFontSize: t, navigateToPath: i, hash: C, csprName: P && Wa(P, Vt.TINY), hashLength: r, minified: a, align: y }) }) }) + }, tooltipCaption: v, hash: h, children: /* @__PURE__ */ W(Ht, { children: n ? /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Ul, { hashFontSize: a, navigateToPath: i, hash: h, csprName: S && rc(S, Nt.TINY), hashLength: r, minified: o, align: w }), + /* @__PURE__ */ W(je, { itemsSpacing: 6, align: w, children: /* @__PURE__ */ W(_w, { size: f, children: /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", noWrap: !0, children: n }) }) }) + ] }) : /* @__PURE__ */ W(Ul, { hashFontSize: a, navigateToPath: i, hash: h, csprName: S && rc(S, Nt.TINY), hashLength: r, minified: o, align: w }) }) }) ] }); }); -Dn.displayName = "Address"; -const Jo = be.button.withConfig({ +oo.displayName = "Address"; +const Ti = xe.button.withConfig({ displayName: "button__BaseButton", componentId: "sc-e3gw2w-0" })(({ theme: e, - disabled: o, - height: g = "36", - width: C = "100%", - lineHeight: P = "sm", - hasOutline: x = !1 + disabled: t, + height: c = "36", + width: h = "100%", + lineHeight: S = "sm", + hasOutline: g = !1 }) => ({ display: "flex", alignItems: "center", @@ -35449,51 +37368,51 @@ const Jo = be.button.withConfig({ border: "none", borderRadius: e.borderRadius.base, fontFamily: e.typography.fontFamily.primary, - fontWeight: It({ + fontWeight: xt({ 24: e.typography.fontWeight.medium, 36: e.typography.fontWeight.medium, 40: e.typography.fontWeight.semiBold - }, g), - fontSize: It({ + }, c), + fontSize: xt({ 24: "0.688rem", 36: "0.875rem", 40: "0.875rem" - }, g), - minHeight: It({ + }, c), + minHeight: xt({ 24: 24, 36: 36, 40: 40 - }, g), - lineHeight: It({ + }, c), + lineHeight: xt({ sm: "1.5rem", xs: "1.25rem" - }, P), - padding: It({ + }, S), + padding: xt({ 24: "2px 10px", 36: "8px 25px", 40: "10px 30px" - }, g), - width: It({ + }, c), + width: xt({ 100: "100px", 120: "120px", 140: "140px", 176: "176px", "100%": "100%" - }, C), - ...!x && { + }, h), + ...!g && { ":focus": { outline: "none" } }, - ...o && { + ...t && { pointerEvents: "none" } -})), n2 = be(Jo).withConfig({ +})), hp = xe(Ti).withConfig({ displayName: "button__PrimaryBlueButton", componentId: "sc-e3gw2w-1" })(({ theme: e, - disabled: o + disabled: t }) => ({ color: e.styleguideColors.contentOnFill, background: e.styleguideColors.fillPrimaryBlue, @@ -35503,16 +37422,16 @@ const Jo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillPrimaryBlueClick }, - ...o && { + ...t && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.backgroundSecondary } -})), k8 = be(Jo).withConfig({ +})), xw = xe(Ti).withConfig({ displayName: "button__PrimaryRedButton", componentId: "sc-e3gw2w-2" })(({ theme: e, - disabled: o + disabled: t }) => ({ color: e.styleguideColors.contentOnFill, background: e.styleguideColors.fillPrimaryRed, @@ -35522,16 +37441,16 @@ const Jo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillPrimaryRedClick }, - ...o && { + ...t && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.fillSecondary } -})), B8 = be(Jo).withConfig({ +})), Mw = xe(Ti).withConfig({ displayName: "button__SecondaryBlueButton", componentId: "sc-e3gw2w-3" })(({ theme: e, - disabled: o + disabled: t }) => ({ color: e.styleguideColors.contentBlue, background: e.styleguideColors.fillSecondary, @@ -35543,16 +37462,16 @@ const Jo = be.button.withConfig({ background: e.styleguideColors.fillSecondaryBlueClick, borderColor: "transparent" }, - ...o && { + ...t && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.backgroundPrimary } -})), H8 = be(Jo).withConfig({ +})), Pw = xe(Ti).withConfig({ displayName: "button__SecondaryRedButton", componentId: "sc-e3gw2w-4" })(({ theme: e, - disabled: o + disabled: t }) => ({ color: e.styleguideColors.contentRed, background: e.styleguideColors.fillSecondary, @@ -35562,16 +37481,16 @@ const Jo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillSecondaryRedClick }, - ...o && { + ...t && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.fillSecondary } -})), j8 = be(Jo).withConfig({ +})), Ow = xe(Ti).withConfig({ displayName: "button__UtilityButton", componentId: "sc-e3gw2w-5" })(({ theme: e, - disabled: o + disabled: t }) => ({ color: e.styleguideColors.fillPrimaryRed, background: e.styleguideColors.backgroundSecondary, @@ -35581,70 +37500,70 @@ const Jo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillSecondaryRedClick }, - ...o && { + ...t && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.backgroundPrimary } -})), D8 = { - primaryBlue: n2, - primaryRed: k8, - secondaryBlue: B8, - secondaryRed: H8, - utility: j8 -}, no = St.forwardRef(function({ - color: o = "primaryBlue", - ...g -}, C) { - const P = D8[o] || n2; - return /* @__PURE__ */ $(P, { ref: C, color: o, "aria-disabled": !!g.disabled, tabIndex: 0, ...g }); -}), V8 = be(ao).withConfig({ +})), Tw = { + primaryBlue: hp, + primaryRed: xw, + secondaryBlue: Mw, + secondaryRed: Pw, + utility: Ow +}, Lo = yt.forwardRef(function({ + color: t = "primaryBlue", + ...c +}, h) { + const S = Tw[t] || hp; + return /* @__PURE__ */ W(S, { ref: h, color: t, "aria-disabled": !!c.disabled, tabIndex: 0, ...c }); +}), Aw = xe(Ro).withConfig({ displayName: "label__StyledText", componentId: "sc-1nad54u-0" })(({ theme: e, - size: o = 2, - transform: g = "unset", - lineHeight: C = "sm" + size: t = 2, + transform: c = "unset", + lineHeight: h = "sm" }) => ({ - fontWeight: It({ + fontWeight: xt({ 1: e.typography.fontWeight.bold, 2: e.typography.fontWeight.medium - }, o), - lineHeight: It({ + }, t), + lineHeight: xt({ sm: "1.5rem", xs: "1.25rem", xxs: "0.75rem" - }, C), + }, h), fontSize: "0.625rem", - textTransform: g + textTransform: c })); -function U8(e) { - return /* @__PURE__ */ $(V8, { ...e }); +function Lw(e) { + return /* @__PURE__ */ W(Aw, { ...e }); } -const z8 = (e, o) => ({ +const Iw = (e, t) => ({ green: e.styleguideColors.fillGreen, violet: e.styleguideColors.fillVioletGradient, blue: e.colorSpecialCase.blueBanner2, gray: e.styleguideColors.contentQuaternary, fillBlueGradient: e.styleguideColors.fillBlueGradient, lightBlue: e.styleguideColors.contentLightBlue -})[o] || o, F8 = be.div.withConfig({ +})[t] || t, Nw = xe.div.withConfig({ displayName: "badge__StyledBadge", componentId: "sc-1sbk5zi-0" })(({ theme: e, - bgColor: o, - textColor: g + bgColor: t, + textColor: c }) => ({ display: "flex", alignItems: "center", width: "fit-content", - color: g || e.styleguideColors.contentOnFill, - background: z8(e, o), + color: c || e.styleguideColors.contentOnFill, + background: Iw(e, t), borderRadius: "40px", minHeight: "17px", padding: "0 6px 1px 6px" -})), K8 = be.div.withConfig({ +})), Bw = xe.div.withConfig({ displayName: "badge__StyledLabelContentWrapper", componentId: "sc-1sbk5zi-1" })(({ @@ -35657,141 +37576,141 @@ const z8 = (e, o) => ({ "a:hover": { color: e.styleguideColors.contentQuaternary } -})), Eo = St.forwardRef((e, o) => /* @__PURE__ */ $(F8, { ref: o, bgColor: e.variation || "green", textColor: e.textColor, children: /* @__PURE__ */ $(U8, { size: 2, capitalize: e.capitalize || !0, lineHeight: e.lineHeight || "sm", children: /* @__PURE__ */ $(K8, { children: e.label }) }) })), Ru = { +})), ui = yt.forwardRef((e, t) => /* @__PURE__ */ W(Nw, { ref: t, bgColor: e.variation || "green", textColor: e.textColor, children: /* @__PURE__ */ W(Lw, { size: 2, capitalize: e.capitalize || !0, lineHeight: e.lineHeight || "sm", children: /* @__PURE__ */ W(Bw, { children: e.label }) }) })), Fl = { blue: "contentBlue", gray: "contentTertiary" -}, W8 = be(_t).withConfig({ +}, Rw = xe(vt).withConfig({ displayName: "copy-hash__SuccessIconWrapper", componentId: "sc-1gbsp0v-0" })(({ theme: e }) => ({ color: e.styleguideColors.contentGreen -})), J8 = be(_t).withConfig({ +})), kw = xe(vt).withConfig({ displayName: "copy-hash__StyledSvgIcon", componentId: "sc-1gbsp0v-1" })(({ theme: e, - variation: o = "blue" + variation: t = "blue" }) => e.withMedia({ - color: e.styleguideColors[Ru[o]], + color: e.styleguideColors[Fl[t]], path: { - fill: e.styleguideColors[Ru[o]] + fill: e.styleguideColors[Fl[t]] } -})), o2 = ({ +})), yp = ({ value: e, - label: o = "Copy Public Key", - copiedLabel: g = "Copied!", - variation: C, - styles: P, - minified: x = !1 + label: t = "Copy Public Key", + copiedLabel: c = "Copied!", + variation: h, + styles: S, + minified: g = !1 }) => { - const [n, c] = Ct(!1); - return /* @__PURE__ */ $(je, { style: P, align: "center", onClick: () => { - cl(e), c(!0), setTimeout(() => c(!1), 3e3); - }, children: n ? /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(W8, { src: $i, marginRight: !0 }), - !x && /* @__PURE__ */ $(Ae, { size: 3, variation: "green", children: g }) - ] }) : /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(J8, { src: il, marginRight: !0, variation: C }), - !x && /* @__PURE__ */ $(Ae, { size: 3, variation: "black", children: o }) + const [n, s] = ft(!1); + return /* @__PURE__ */ W(je, { style: S, align: "center", onClick: () => { + gd(e), s(!0), setTimeout(() => s(!1), 3e3); + }, children: n ? /* @__PURE__ */ Le(je, { align: "center", children: [ + /* @__PURE__ */ W(Rw, { src: $a, marginRight: !0 }), + !g && /* @__PURE__ */ W(Be, { size: 3, variation: "green", children: c }) + ] }) : /* @__PURE__ */ Le(je, { align: "center", children: [ + /* @__PURE__ */ W(kw, { src: pd, marginRight: !0, variation: h }), + !g && /* @__PURE__ */ W(Be, { size: 3, variation: "black", children: t }) ] }) }); -}, $8 = be(ao).withConfig({ +}, Hw = xe(Ro).withConfig({ displayName: "subtitle-text__StyledText", componentId: "sc-66nqe4-0" })(({ theme: e, - size: o, - scale: g = "md", - monotype: C = !1 + size: t, + scale: c = "md", + monotype: h = !1 }) => ({ - fontWeight: C ? e.typography.fontWeight.regular : It({ + fontWeight: h ? e.typography.fontWeight.regular : xt({ 1: e.typography.fontWeight.semiBold, 2: e.typography.fontWeight.regular, 3: e.typography.fontWeight.light - }, o), - fontSize: It({ + }, t), + fontSize: xt({ lg: "1.5rem", md: "1.25rem" - }, g), + }, c), lineHeight: "2rem", "&:where(h1, h2, h3, h4, h5, h6)": { margin: 0 } -})), $o = St.forwardRef((e, o) => /* @__PURE__ */ $($8, { ref: o, ...e })), G8 = be(je).withConfig({ +})), Ai = yt.forwardRef((e, t) => /* @__PURE__ */ W(Hw, { ref: t, ...e })), jw = xe(je).withConfig({ displayName: "checkbox__StyledFlexRow", componentId: "sc-mn33h4-0" })(({ theme: e, - checked: o, - disabled: g, - customCheckedColor: C, - customUncheckedColor: P + checked: t, + disabled: c, + customCheckedColor: h, + customUncheckedColor: S }) => ({ - cursor: g ? "default" : "pointer", + cursor: c ? "default" : "pointer", width: "fit-content", - pointerEvents: g ? "none" : "auto", + pointerEvents: c ? "none" : "auto", svg: { - fill: o && !g && C ? C : o && !g ? e.styleguideColors.contentBlue : "none", + fill: t && !c && h ? h : t && !c ? e.styleguideColors.contentBlue : "none", path: { - fill: o && !g ? e.styleguideColors.backgroundPrimary : o && g ? e.styleguideColors.contentQuaternary : "none" + fill: t && !c ? e.styleguideColors.backgroundPrimary : t && c ? e.styleguideColors.contentQuaternary : "none" }, rect: { - stroke: g ? e.styleguideColors.contentQuaternary : P || e.styleguideColors.contentQuaternary + stroke: c ? e.styleguideColors.contentQuaternary : S || e.styleguideColors.contentQuaternary } }, span: { - color: g ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentPrimary + color: c ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentPrimary } })); -var i2 = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(i2 || {}); -const q8 = ({ +var mp = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(mp || {}); +const Dw = ({ checkboxFontSize: e, - ...o -}) => e === "small" ? /* @__PURE__ */ $(Ae, { size: 3, lineHeight: "xs", ...o }) : /* @__PURE__ */ $($o, { size: 2, ...o }); -function Z8({ + ...t +}) => e === "small" ? /* @__PURE__ */ W(Be, { size: 3, lineHeight: "xs", ...t }) : /* @__PURE__ */ W(Ai, { size: 2, ...t }); +function Vw({ checked: e, - onChange: o, - label: g, - disabled: C, - customCheckedColor: P, - customUncheckedColor: x, + onChange: t, + label: c, + disabled: h, + customCheckedColor: S, + customUncheckedColor: g, checkboxFontSize: n = "default" /* default */ }) { - const c = (a) => { - o && o(a); + const s = (o) => { + t && t(o); }; - return /* @__PURE__ */ Pe(G8, { itemsSpacing: 8, align: "center", checked: e, disabled: C, onClick: c, onKeyDown: (a) => { - a.key === "Enter" && c(a); - }, customCheckedColor: P, customUncheckedColor: x, role: "checkbox", "aria-checked": e, "aria-disabled": C, "aria-label": e ? "Checked" : "Not checked", tabIndex: 0, children: [ - /* @__PURE__ */ $(_t, { src: e ? C ? Hf : jf : Df }), - /* @__PURE__ */ $(q8, { checkboxFontSize: n, children: g }) + return /* @__PURE__ */ Le(jw, { itemsSpacing: 8, align: "center", checked: e, disabled: h, onClick: s, onKeyDown: (o) => { + o.key === "Enter" && s(o); + }, customCheckedColor: S, customUncheckedColor: g, role: "checkbox", "aria-checked": e, "aria-disabled": h, "aria-label": e ? "Checked" : "Not checked", tabIndex: 0, children: [ + /* @__PURE__ */ W(vt, { src: e ? h ? Vh : Uh : Fh }), + /* @__PURE__ */ W(Dw, { checkboxFontSize: n, children: c }) ] }); } -var X8 = /* @__PURE__ */ ((e) => (e[e.small = 1] = "small", e[e.default = 2] = "default", e))(X8 || {}); -const Y8 = { +var Uw = /* @__PURE__ */ ((e) => (e[e.small = 1] = "small", e[e.default = 2] = "default", e))(Uw || {}); +const Fw = { 1: "darkGray", 2: "black" -}, Q8 = be(ao).withConfig({ +}, zw = xe(Ro).withConfig({ displayName: "circular-indicator__StyledText", componentId: "sc-4hrntg-0" })(({ theme: e, - size: o = 3, - textSize: g + size: t = 3, + textSize: c }) => ({ - fontWeight: It({ + fontWeight: xt({ 1: e.typography.fontWeight.semiBold, 2: e.typography.fontWeight.medium, 3: e.typography.fontWeight.regular - }, o), - fontSize: It({ + }, t), + fontSize: xt({ 1: "0.813rem", 2: "0.875rem" - }, g), + }, c), lineHeight: "1.25rem" -})), ci = [{ +})), Qi = [{ id: 1, limit: 0, color: "E6332A" @@ -35815,77 +37734,77 @@ const Y8 = { id: 6, limit: 1, color: "31DE91" -}], e9 = (e) => { +}], Kw = (e) => { if (e < 95) - return `#${ci[0].color}`; - const C = (e - 95) / 5, P = ci.find((t) => C <= t.limit), x = P.color; - if (P.id === ci.length) - return `#${x}`; - const n = ci.find((t) => t.id === P.id + 1).color, c = (t) => t.toString(16).padStart(2, "0"), r = Math.ceil(parseInt(x.substring(0, 2), 16) * C + parseInt(n.substring(0, 2), 16) * (1 - C)), a = Math.ceil(parseInt(x.substring(2, 4), 16) * C + parseInt(n.substring(2, 4), 16) * (1 - C)), i = Math.ceil(parseInt(x.substring(4, 6), 16) * C + parseInt(n.substring(4, 6), 16) * (1 - C)); - return `#${c(r) + c(a) + c(i)}`; + return `#${Qi[0].color}`; + const h = (e - 95) / 5, S = Qi.find((a) => h <= a.limit), g = S.color; + if (S.id === Qi.length) + return `#${g}`; + const n = Qi.find((a) => a.id === S.id + 1).color, s = (a) => a.toString(16).padStart(2, "0"), r = Math.ceil(parseInt(g.substring(0, 2), 16) * h + parseInt(n.substring(0, 2), 16) * (1 - h)), o = Math.ceil(parseInt(g.substring(2, 4), 16) * h + parseInt(n.substring(2, 4), 16) * (1 - h)), i = Math.ceil(parseInt(g.substring(4, 6), 16) * h + parseInt(n.substring(4, 6), 16) * (1 - h)); + return `#${s(r) + s(o) + s(i)}`; }; -function kS({ +function xO({ size: e, - progress: o, - textSize: g, - title: C + progress: t, + textSize: c, + title: h }) { const { - stroke: P, - radius: x - } = It({ + stroke: S, + radius: g + } = xt({ medium: { stroke: 4, radius: 12 } }, e); - (o == null || o < 0 || o > 100) && (o = 0); - const n = x - P / 2, c = n * 2 * Math.PI, r = c - o / 100 * c, a = o.toPrecision(3), i = e9(o); - return /* @__PURE__ */ Pe(je, { align: "center", tag: "span", children: [ - /* @__PURE__ */ Pe("svg", { height: x * 2, width: x * 2, children: [ - /* @__PURE__ */ $("title", { children: C }), - /* @__PURE__ */ $("circle", { stroke: i, fill: "transparent", strokeWidth: P, strokeDasharray: c + " " + c, style: { + (t == null || t < 0 || t > 100) && (t = 0); + const n = g - S / 2, s = n * 2 * Math.PI, r = s - t / 100 * s, o = t.toPrecision(3), i = Kw(t); + return /* @__PURE__ */ Le(je, { align: "center", tag: "span", children: [ + /* @__PURE__ */ Le("svg", { height: g * 2, width: g * 2, children: [ + /* @__PURE__ */ W("title", { children: h }), + /* @__PURE__ */ W("circle", { stroke: i, fill: "transparent", strokeWidth: S, strokeDasharray: s + " " + s, style: { strokeDashoffset: r, transition: "stroke-dashoffset 0.35s", transform: "rotate(-90deg)", transformOrigin: "50% 50%" - }, r: n, cx: x, cy: x }) + }, r: n, cx: g, cy: g }) ] }), - /* @__PURE__ */ Pe(Q8, { size: 3, style: { + /* @__PURE__ */ Le(zw, { size: 3, style: { marginLeft: 8 - }, textSize: g, variation: Y8[g], children: [ - a, + }, textSize: c, variation: Fw[c], children: [ + o, "%" ] }) ] }); } -function wr(e, o) { +function Sn(e, t) { if (e == null) return {}; - var g = {}; - for (var C in e) if ({}.hasOwnProperty.call(e, C)) { - if (o.indexOf(C) !== -1) continue; - g[C] = e[C]; + var c = {}; + for (var h in e) if ({}.hasOwnProperty.call(e, h)) { + if (t.indexOf(h) !== -1) continue; + c[h] = e[h]; } - return g; + return c; } -function dt() { - return dt = Object.assign ? Object.assign.bind() : function(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o]; - for (var C in g) ({}).hasOwnProperty.call(g, C) && (e[C] = g[C]); +function it() { + return it = Object.assign ? Object.assign.bind() : function(e) { + for (var t = 1; t < arguments.length; t++) { + var c = arguments[t]; + for (var h in c) ({}).hasOwnProperty.call(c, h) && (e[h] = c[h]); } return e; - }, dt.apply(null, arguments); + }, it.apply(null, arguments); } -function Xa(e, o) { - return Xa = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(g, C) { - return g.__proto__ = C, g; - }, Xa(e, o); +function yc(e, t) { + return yc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(c, h) { + return c.__proto__ = h, c; + }, yc(e, t); } -function t9(e, o) { - e.prototype = Object.create(o.prototype), e.prototype.constructor = e, Xa(e, o); +function Ww(e, t) { + e.prototype = Object.create(t.prototype), e.prototype.constructor = e, yc(e, t); } -var li = { exports: {} }, di = { exports: {} }, kt = {}; +var ea = { exports: {} }, ta = { exports: {} }, Ot = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -35894,73 +37813,73 @@ var li = { exports: {} }, di = { exports: {} }, kt = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var ku; -function r9() { - if (ku) return kt; - ku = 1; - var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, g = e ? Symbol.for("react.portal") : 60106, C = e ? Symbol.for("react.fragment") : 60107, P = e ? Symbol.for("react.strict_mode") : 60108, x = e ? Symbol.for("react.profiler") : 60114, n = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, r = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, t = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, d = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; - function s(p) { - if (typeof p == "object" && p !== null) { - var h = p.$$typeof; - switch (h) { - case o: - switch (p = p.type, p) { +var zl; +function Jw() { + if (zl) return Ot; + zl = 1; + var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, c = e ? Symbol.for("react.portal") : 60106, h = e ? Symbol.for("react.fragment") : 60107, S = e ? Symbol.for("react.strict_mode") : 60108, g = e ? Symbol.for("react.profiler") : 60114, n = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, r = e ? Symbol.for("react.async_mode") : 60111, o = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, a = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; + function u(d) { + if (typeof d == "object" && d !== null) { + var b = d.$$typeof; + switch (b) { + case t: + switch (d = d.type, d) { case r: - case a: - case C: - case x: - case P: - case m: - return p; + case o: + case h: + case g: + case S: + case p: + return d; default: - switch (p = p && p.$$typeof, p) { - case c: + switch (d = d && d.$$typeof, d) { + case s: case i: - case b: + case C: case f: case n: - return p; + return d; default: - return h; + return b; } } - case g: - return h; + case c: + return b; } } } - function v(p) { - return s(p) === a; - } - return kt.AsyncMode = r, kt.ConcurrentMode = a, kt.ContextConsumer = c, kt.ContextProvider = n, kt.Element = o, kt.ForwardRef = i, kt.Fragment = C, kt.Lazy = b, kt.Memo = f, kt.Portal = g, kt.Profiler = x, kt.StrictMode = P, kt.Suspense = m, kt.isAsyncMode = function(p) { - return v(p) || s(p) === r; - }, kt.isConcurrentMode = v, kt.isContextConsumer = function(p) { - return s(p) === c; - }, kt.isContextProvider = function(p) { - return s(p) === n; - }, kt.isElement = function(p) { - return typeof p == "object" && p !== null && p.$$typeof === o; - }, kt.isForwardRef = function(p) { - return s(p) === i; - }, kt.isFragment = function(p) { - return s(p) === C; - }, kt.isLazy = function(p) { - return s(p) === b; - }, kt.isMemo = function(p) { - return s(p) === f; - }, kt.isPortal = function(p) { - return s(p) === g; - }, kt.isProfiler = function(p) { - return s(p) === x; - }, kt.isStrictMode = function(p) { - return s(p) === P; - }, kt.isSuspense = function(p) { - return s(p) === m; - }, kt.isValidElementType = function(p) { - return typeof p == "string" || typeof p == "function" || p === C || p === a || p === x || p === P || p === m || p === t || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === f || p.$$typeof === n || p.$$typeof === c || p.$$typeof === i || p.$$typeof === u || p.$$typeof === d || p.$$typeof === l || p.$$typeof === y); - }, kt.typeOf = s, kt; -} -var Bt = {}; + function y(d) { + return u(d) === o; + } + return Ot.AsyncMode = r, Ot.ConcurrentMode = o, Ot.ContextConsumer = s, Ot.ContextProvider = n, Ot.Element = t, Ot.ForwardRef = i, Ot.Fragment = h, Ot.Lazy = C, Ot.Memo = f, Ot.Portal = c, Ot.Profiler = g, Ot.StrictMode = S, Ot.Suspense = p, Ot.isAsyncMode = function(d) { + return y(d) || u(d) === r; + }, Ot.isConcurrentMode = y, Ot.isContextConsumer = function(d) { + return u(d) === s; + }, Ot.isContextProvider = function(d) { + return u(d) === n; + }, Ot.isElement = function(d) { + return typeof d == "object" && d !== null && d.$$typeof === t; + }, Ot.isForwardRef = function(d) { + return u(d) === i; + }, Ot.isFragment = function(d) { + return u(d) === h; + }, Ot.isLazy = function(d) { + return u(d) === C; + }, Ot.isMemo = function(d) { + return u(d) === f; + }, Ot.isPortal = function(d) { + return u(d) === c; + }, Ot.isProfiler = function(d) { + return u(d) === g; + }, Ot.isStrictMode = function(d) { + return u(d) === S; + }, Ot.isSuspense = function(d) { + return u(d) === p; + }, Ot.isValidElementType = function(d) { + return typeof d == "string" || typeof d == "function" || d === h || d === o || d === g || d === S || d === p || d === a || typeof d == "object" && d !== null && (d.$$typeof === C || d.$$typeof === f || d.$$typeof === n || d.$$typeof === s || d.$$typeof === i || d.$$typeof === m || d.$$typeof === v || d.$$typeof === l || d.$$typeof === w); + }, Ot.typeOf = u, Ot; +} +var Tt = {}; /** @license React v16.13.1 * react-is.development.js * @@ -35969,165 +37888,165 @@ var Bt = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Bu; -function n9() { - return Bu || (Bu = 1, process.env.NODE_ENV !== "production" && function() { - var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, g = e ? Symbol.for("react.portal") : 60106, C = e ? Symbol.for("react.fragment") : 60107, P = e ? Symbol.for("react.strict_mode") : 60108, x = e ? Symbol.for("react.profiler") : 60114, n = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, r = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, t = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, d = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; - function s(q) { - return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - q === C || q === a || q === x || q === P || q === m || q === t || typeof q == "object" && q !== null && (q.$$typeof === b || q.$$typeof === f || q.$$typeof === n || q.$$typeof === c || q.$$typeof === i || q.$$typeof === u || q.$$typeof === d || q.$$typeof === l || q.$$typeof === y); - } - function v(q) { - if (typeof q == "object" && q !== null) { - var se = q.$$typeof; - switch (se) { - case o: - var ue = q.type; - switch (ue) { +var Kl; +function $w() { + return Kl || (Kl = 1, process.env.NODE_ENV !== "production" && function() { + var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, c = e ? Symbol.for("react.portal") : 60106, h = e ? Symbol.for("react.fragment") : 60107, S = e ? Symbol.for("react.strict_mode") : 60108, g = e ? Symbol.for("react.profiler") : 60114, n = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, r = e ? Symbol.for("react.async_mode") : 60111, o = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, a = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; + function u(Z) { + return typeof Z == "string" || typeof Z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + Z === h || Z === o || Z === g || Z === S || Z === p || Z === a || typeof Z == "object" && Z !== null && (Z.$$typeof === C || Z.$$typeof === f || Z.$$typeof === n || Z.$$typeof === s || Z.$$typeof === i || Z.$$typeof === m || Z.$$typeof === v || Z.$$typeof === l || Z.$$typeof === w); + } + function y(Z) { + if (typeof Z == "object" && Z !== null) { + var fe = Z.$$typeof; + switch (fe) { + case t: + var le = Z.type; + switch (le) { case r: - case a: - case C: - case x: - case P: - case m: - return ue; + case o: + case h: + case g: + case S: + case p: + return le; default: - var ce = ue && ue.$$typeof; - switch (ce) { - case c: + var Se = le && le.$$typeof; + switch (Se) { + case s: case i: - case b: + case C: case f: case n: - return ce; + return Se; default: - return se; + return fe; } } - case g: - return se; + case c: + return fe; } } } - var p = r, h = a, O = c, I = n, k = o, R = i, L = C, N = b, B = f, H = g, U = x, S = P, T = m, E = !1; - function M(q) { - return E || (E = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(q) || v(q) === r; + var d = r, b = o, _ = s, E = n, B = t, O = i, I = h, x = C, A = f, N = c, k = g, j = S, D = p, T = !1; + function L(Z) { + return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), R(Z) || y(Z) === r; } - function _(q) { - return v(q) === a; + function R(Z) { + return y(Z) === o; } - function w(q) { - return v(q) === c; + function M(Z) { + return y(Z) === s; } - function A(q) { - return v(q) === n; + function P(Z) { + return y(Z) === n; } - function j(q) { - return typeof q == "object" && q !== null && q.$$typeof === o; + function H(Z) { + return typeof Z == "object" && Z !== null && Z.$$typeof === t; } - function V(q) { - return v(q) === i; + function K(Z) { + return y(Z) === i; } - function D(q) { - return v(q) === C; + function V(Z) { + return y(Z) === h; } - function z(q) { - return v(q) === b; + function U(Z) { + return y(Z) === C; } - function J(q) { - return v(q) === f; + function F(Z) { + return y(Z) === f; } - function G(q) { - return v(q) === g; + function Q(Z) { + return y(Z) === c; } - function Q(q) { - return v(q) === x; + function ne(Z) { + return y(Z) === g; } - function ee(q) { - return v(q) === P; + function te(Z) { + return y(Z) === S; } - function Z(q) { - return v(q) === m; + function X(Z) { + return y(Z) === p; } - Bt.AsyncMode = p, Bt.ConcurrentMode = h, Bt.ContextConsumer = O, Bt.ContextProvider = I, Bt.Element = k, Bt.ForwardRef = R, Bt.Fragment = L, Bt.Lazy = N, Bt.Memo = B, Bt.Portal = H, Bt.Profiler = U, Bt.StrictMode = S, Bt.Suspense = T, Bt.isAsyncMode = M, Bt.isConcurrentMode = _, Bt.isContextConsumer = w, Bt.isContextProvider = A, Bt.isElement = j, Bt.isForwardRef = V, Bt.isFragment = D, Bt.isLazy = z, Bt.isMemo = J, Bt.isPortal = G, Bt.isProfiler = Q, Bt.isStrictMode = ee, Bt.isSuspense = Z, Bt.isValidElementType = s, Bt.typeOf = v; - }()), Bt; + Tt.AsyncMode = d, Tt.ConcurrentMode = b, Tt.ContextConsumer = _, Tt.ContextProvider = E, Tt.Element = B, Tt.ForwardRef = O, Tt.Fragment = I, Tt.Lazy = x, Tt.Memo = A, Tt.Portal = N, Tt.Profiler = k, Tt.StrictMode = j, Tt.Suspense = D, Tt.isAsyncMode = L, Tt.isConcurrentMode = R, Tt.isContextConsumer = M, Tt.isContextProvider = P, Tt.isElement = H, Tt.isForwardRef = K, Tt.isFragment = V, Tt.isLazy = U, Tt.isMemo = F, Tt.isPortal = Q, Tt.isProfiler = ne, Tt.isStrictMode = te, Tt.isSuspense = X, Tt.isValidElementType = u, Tt.typeOf = y; + }()), Tt; } -var Hu; -function a2() { - return Hu || (Hu = 1, process.env.NODE_ENV === "production" ? di.exports = r9() : di.exports = n9()), di.exports; +var Wl; +function gp() { + return Wl || (Wl = 1, process.env.NODE_ENV === "production" ? ta.exports = Jw() : ta.exports = $w()), ta.exports; } /* object-assign (c) Sindre Sorhus @license MIT */ -var Ea, ju; -function o9() { - if (ju) return Ea; - ju = 1; - var e = Object.getOwnPropertySymbols, o = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable; - function C(x) { - if (x == null) +var js, Jl; +function Gw() { + if (Jl) return js; + Jl = 1; + var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable; + function h(g) { + if (g == null) throw new TypeError("Object.assign cannot be called with null or undefined"); - return Object(x); + return Object(g); } - function P() { + function S() { try { if (!Object.assign) return !1; - var x = new String("abc"); - if (x[5] = "de", Object.getOwnPropertyNames(x)[0] === "5") + var g = new String("abc"); + if (g[5] = "de", Object.getOwnPropertyNames(g)[0] === "5") return !1; - for (var n = {}, c = 0; c < 10; c++) - n["_" + String.fromCharCode(c)] = c; + for (var n = {}, s = 0; s < 10; s++) + n["_" + String.fromCharCode(s)] = s; var r = Object.getOwnPropertyNames(n).map(function(i) { return n[i]; }); if (r.join("") !== "0123456789") return !1; - var a = {}; + var o = {}; return "abcdefghijklmnopqrst".split("").forEach(function(i) { - a[i] = i; - }), Object.keys(Object.assign({}, a)).join("") === "abcdefghijklmnopqrst"; + o[i] = i; + }), Object.keys(Object.assign({}, o)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } - return Ea = P() ? Object.assign : function(x, n) { - for (var c, r = C(x), a, i = 1; i < arguments.length; i++) { - c = Object(arguments[i]); - for (var m in c) - o.call(c, m) && (r[m] = c[m]); + return js = S() ? Object.assign : function(g, n) { + for (var s, r = h(g), o, i = 1; i < arguments.length; i++) { + s = Object(arguments[i]); + for (var p in s) + t.call(s, p) && (r[p] = s[p]); if (e) { - a = e(c); - for (var t = 0; t < a.length; t++) - g.call(c, a[t]) && (r[a[t]] = c[a[t]]); + o = e(s); + for (var a = 0; a < o.length; a++) + c.call(s, o[a]) && (r[o[a]] = s[o[a]]); } } return r; - }, Ea; + }, js; } -var Pa, Du; -function Cs() { - if (Du) return Pa; - Du = 1; +var Ds, $l; +function tu() { + if ($l) return Ds; + $l = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return Pa = e, Pa; + return Ds = e, Ds; } -var Aa, Vu; -function s2() { - return Vu || (Vu = 1, Aa = Function.call.bind(Object.prototype.hasOwnProperty)), Aa; +var Vs, Gl; +function vp() { + return Gl || (Gl = 1, Vs = Function.call.bind(Object.prototype.hasOwnProperty)), Vs; } -var Oa, Uu; -function i9() { - if (Uu) return Oa; - Uu = 1; +var Us, ql; +function qw() { + if (ql) return Us; + ql = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var o = /* @__PURE__ */ Cs(), g = {}, C = /* @__PURE__ */ s2(); - e = function(x) { - var n = "Warning: " + x; + var t = /* @__PURE__ */ tu(), c = {}, h = /* @__PURE__ */ vp(); + e = function(g) { + var n = "Warning: " + g; typeof console < "u" && console.error(n); try { throw new Error(n); @@ -36135,46 +38054,46 @@ function i9() { } }; } - function P(x, n, c, r, a) { + function S(g, n, s, r, o) { if (process.env.NODE_ENV !== "production") { - for (var i in x) - if (C(x, i)) { - var m; + for (var i in g) + if (h(g, i)) { + var p; try { - if (typeof x[i] != "function") { - var t = Error( - (r || "React class") + ": " + c + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + if (typeof g[i] != "function") { + var a = Error( + (r || "React class") + ": " + s + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof g[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); - throw t.name = "Invariant Violation", t; + throw a.name = "Invariant Violation", a; } - m = x[i](n, i, r, c, null, o); - } catch (b) { - m = b; + p = g[i](n, i, r, s, null, t); + } catch (C) { + p = C; } - if (m && !(m instanceof Error) && e( - (r || "React class") + ": type specification of " + c + " `" + i + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." - ), m instanceof Error && !(m.message in g)) { - g[m.message] = !0; - var f = a ? a() : ""; + if (p && !(p instanceof Error) && e( + (r || "React class") + ": type specification of " + s + " `" + i + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." + ), p instanceof Error && !(p.message in c)) { + c[p.message] = !0; + var f = o ? o() : ""; e( - "Failed " + c + " type: " + m.message + (f ?? "") + "Failed " + s + " type: " + p.message + (f ?? "") ); } } } } - return P.resetWarningCache = function() { - process.env.NODE_ENV !== "production" && (g = {}); - }, Oa = P, Oa; + return S.resetWarningCache = function() { + process.env.NODE_ENV !== "production" && (c = {}); + }, Us = S, Us; } -var Ta, zu; -function a9() { - if (zu) return Ta; - zu = 1; - var e = a2(), o = o9(), g = /* @__PURE__ */ Cs(), C = /* @__PURE__ */ s2(), P = /* @__PURE__ */ i9(), x = function() { +var Fs, Zl; +function Zw() { + if (Zl) return Fs; + Zl = 1; + var e = gp(), t = Gw(), c = /* @__PURE__ */ tu(), h = /* @__PURE__ */ vp(), S = /* @__PURE__ */ qw(), g = function() { }; - process.env.NODE_ENV !== "production" && (x = function(c) { - var r = "Warning: " + c; + process.env.NODE_ENV !== "production" && (g = function(s) { + var r = "Warning: " + s; typeof console < "u" && console.error(r); try { throw new Error(r); @@ -36184,262 +38103,262 @@ function a9() { function n() { return null; } - return Ta = function(c, r) { - var a = typeof Symbol == "function" && Symbol.iterator, i = "@@iterator"; - function m(_) { - var w = _ && (a && _[a] || _[i]); - if (typeof w == "function") - return w; - } - var t = "<>", f = { - array: d("array"), - bigint: d("bigint"), - bool: d("boolean"), - func: d("function"), - number: d("number"), - object: d("object"), - string: d("string"), - symbol: d("symbol"), + return Fs = function(s, r) { + var o = typeof Symbol == "function" && Symbol.iterator, i = "@@iterator"; + function p(R) { + var M = R && (o && R[o] || R[i]); + if (typeof M == "function") + return M; + } + var a = "<>", f = { + array: v("array"), + bigint: v("bigint"), + bool: v("boolean"), + func: v("function"), + number: v("number"), + object: v("object"), + string: v("string"), + symbol: v("symbol"), any: l(), - arrayOf: s, - element: v(), - elementType: p(), - instanceOf: h, - node: R(), - objectOf: I, - oneOf: O, - oneOfType: k, - shape: N, - exact: B + arrayOf: u, + element: y(), + elementType: d(), + instanceOf: b, + node: O(), + objectOf: E, + oneOf: _, + oneOfType: B, + shape: x, + exact: A }; - function b(_, w) { - return _ === w ? _ !== 0 || 1 / _ === 1 / w : _ !== _ && w !== w; + function C(R, M) { + return R === M ? R !== 0 || 1 / R === 1 / M : R !== R && M !== M; } - function y(_, w) { - this.message = _, this.data = w && typeof w == "object" ? w : {}, this.stack = ""; + function w(R, M) { + this.message = R, this.data = M && typeof M == "object" ? M : {}, this.stack = ""; } - y.prototype = Error.prototype; - function u(_) { + w.prototype = Error.prototype; + function m(R) { if (process.env.NODE_ENV !== "production") - var w = {}, A = 0; - function j(D, z, J, G, Q, ee, Z) { - if (G = G || t, ee = ee || J, Z !== g) { + var M = {}, P = 0; + function H(V, U, F, Q, ne, te, X) { + if (Q = Q || a, te = te || F, X !== c) { if (r) { - var q = new Error( + var Z = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types" ); - throw q.name = "Invariant Violation", q; + throw Z.name = "Invariant Violation", Z; } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { - var se = G + ":" + J; - !w[se] && // Avoid spamming the console because they are often not actionable except for lib authors - A < 3 && (x( - "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + G + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." - ), w[se] = !0, A++); + var fe = Q + ":" + F; + !M[fe] && // Avoid spamming the console because they are often not actionable except for lib authors + P < 3 && (g( + "You are manually calling a React.PropTypes validation function for the `" + te + "` prop on `" + Q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." + ), M[fe] = !0, P++); } } - return z[J] == null ? D ? z[J] === null ? new y("The " + Q + " `" + ee + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new y("The " + Q + " `" + ee + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : _(z, J, G, Q, ee); + return U[F] == null ? V ? U[F] === null ? new w("The " + ne + " `" + te + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new w("The " + ne + " `" + te + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : R(U, F, Q, ne, te); } - var V = j.bind(null, !1); - return V.isRequired = j.bind(null, !0), V; - } - function d(_) { - function w(A, j, V, D, z, J) { - var G = A[j], Q = S(G); - if (Q !== _) { - var ee = T(G); - return new y( - "Invalid " + D + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + V + "`, expected ") + ("`" + _ + "`."), - { expectedType: _ } + var K = H.bind(null, !1); + return K.isRequired = H.bind(null, !0), K; + } + function v(R) { + function M(P, H, K, V, U, F) { + var Q = P[H], ne = j(Q); + if (ne !== R) { + var te = D(Q); + return new w( + "Invalid " + V + " `" + U + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected ") + ("`" + R + "`."), + { expectedType: R } ); } return null; } - return u(w); + return m(M); } function l() { - return u(n); - } - function s(_) { - function w(A, j, V, D, z) { - if (typeof _ != "function") - return new y("Property `" + z + "` of component `" + V + "` has invalid PropType notation inside arrayOf."); - var J = A[j]; - if (!Array.isArray(J)) { - var G = S(J); - return new y("Invalid " + D + " `" + z + "` of type " + ("`" + G + "` supplied to `" + V + "`, expected an array.")); - } - for (var Q = 0; Q < J.length; Q++) { - var ee = _(J, Q, V, D, z + "[" + Q + "]", g); - if (ee instanceof Error) - return ee; + return m(n); + } + function u(R) { + function M(P, H, K, V, U) { + if (typeof R != "function") + return new w("Property `" + U + "` of component `" + K + "` has invalid PropType notation inside arrayOf."); + var F = P[H]; + if (!Array.isArray(F)) { + var Q = j(F); + return new w("Invalid " + V + " `" + U + "` of type " + ("`" + Q + "` supplied to `" + K + "`, expected an array.")); + } + for (var ne = 0; ne < F.length; ne++) { + var te = R(F, ne, K, V, U + "[" + ne + "]", c); + if (te instanceof Error) + return te; } return null; } - return u(w); + return m(M); } - function v() { - function _(w, A, j, V, D) { - var z = w[A]; - if (!c(z)) { - var J = S(z); - return new y("Invalid " + V + " `" + D + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected a single ReactElement.")); + function y() { + function R(M, P, H, K, V) { + var U = M[P]; + if (!s(U)) { + var F = j(U); + return new w("Invalid " + K + " `" + V + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement.")); } return null; } - return u(_); + return m(R); } - function p() { - function _(w, A, j, V, D) { - var z = w[A]; - if (!e.isValidElementType(z)) { - var J = S(z); - return new y("Invalid " + V + " `" + D + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected a single ReactElement type.")); + function d() { + function R(M, P, H, K, V) { + var U = M[P]; + if (!e.isValidElementType(U)) { + var F = j(U); + return new w("Invalid " + K + " `" + V + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement type.")); } return null; } - return u(_); + return m(R); } - function h(_) { - function w(A, j, V, D, z) { - if (!(A[j] instanceof _)) { - var J = _.name || t, G = M(A[j]); - return new y("Invalid " + D + " `" + z + "` of type " + ("`" + G + "` supplied to `" + V + "`, expected ") + ("instance of `" + J + "`.")); + function b(R) { + function M(P, H, K, V, U) { + if (!(P[H] instanceof R)) { + var F = R.name || a, Q = L(P[H]); + return new w("Invalid " + V + " `" + U + "` of type " + ("`" + Q + "` supplied to `" + K + "`, expected ") + ("instance of `" + F + "`.")); } return null; } - return u(w); + return m(M); } - function O(_) { - if (!Array.isArray(_)) - return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? x( + function _(R) { + if (!Array.isArray(R)) + return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? g( "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." - ) : x("Invalid argument supplied to oneOf, expected an array.")), n; - function w(A, j, V, D, z) { - for (var J = A[j], G = 0; G < _.length; G++) - if (b(J, _[G])) + ) : g("Invalid argument supplied to oneOf, expected an array.")), n; + function M(P, H, K, V, U) { + for (var F = P[H], Q = 0; Q < R.length; Q++) + if (C(F, R[Q])) return null; - var Q = JSON.stringify(_, function(Z, q) { - var se = T(q); - return se === "symbol" ? String(q) : q; + var ne = JSON.stringify(R, function(X, Z) { + var fe = D(Z); + return fe === "symbol" ? String(Z) : Z; }); - return new y("Invalid " + D + " `" + z + "` of value `" + String(J) + "` " + ("supplied to `" + V + "`, expected one of " + Q + ".")); + return new w("Invalid " + V + " `" + U + "` of value `" + String(F) + "` " + ("supplied to `" + K + "`, expected one of " + ne + ".")); } - return u(w); - } - function I(_) { - function w(A, j, V, D, z) { - if (typeof _ != "function") - return new y("Property `" + z + "` of component `" + V + "` has invalid PropType notation inside objectOf."); - var J = A[j], G = S(J); - if (G !== "object") - return new y("Invalid " + D + " `" + z + "` of type " + ("`" + G + "` supplied to `" + V + "`, expected an object.")); - for (var Q in J) - if (C(J, Q)) { - var ee = _(J, Q, V, D, z + "." + Q, g); - if (ee instanceof Error) - return ee; + return m(M); + } + function E(R) { + function M(P, H, K, V, U) { + if (typeof R != "function") + return new w("Property `" + U + "` of component `" + K + "` has invalid PropType notation inside objectOf."); + var F = P[H], Q = j(F); + if (Q !== "object") + return new w("Invalid " + V + " `" + U + "` of type " + ("`" + Q + "` supplied to `" + K + "`, expected an object.")); + for (var ne in F) + if (h(F, ne)) { + var te = R(F, ne, K, V, U + "." + ne, c); + if (te instanceof Error) + return te; } return null; } - return u(w); - } - function k(_) { - if (!Array.isArray(_)) - return process.env.NODE_ENV !== "production" && x("Invalid argument supplied to oneOfType, expected an instance of array."), n; - for (var w = 0; w < _.length; w++) { - var A = _[w]; - if (typeof A != "function") - return x( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + E(A) + " at index " + w + "." + return m(M); + } + function B(R) { + if (!Array.isArray(R)) + return process.env.NODE_ENV !== "production" && g("Invalid argument supplied to oneOfType, expected an instance of array."), n; + for (var M = 0; M < R.length; M++) { + var P = R[M]; + if (typeof P != "function") + return g( + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + T(P) + " at index " + M + "." ), n; } - function j(V, D, z, J, G) { - for (var Q = [], ee = 0; ee < _.length; ee++) { - var Z = _[ee], q = Z(V, D, z, J, G, g); - if (q == null) + function H(K, V, U, F, Q) { + for (var ne = [], te = 0; te < R.length; te++) { + var X = R[te], Z = X(K, V, U, F, Q, c); + if (Z == null) return null; - q.data && C(q.data, "expectedType") && Q.push(q.data.expectedType); + Z.data && h(Z.data, "expectedType") && ne.push(Z.data.expectedType); } - var se = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : ""; - return new y("Invalid " + J + " `" + G + "` supplied to " + ("`" + z + "`" + se + ".")); + var fe = ne.length > 0 ? ", expected one of type [" + ne.join(", ") + "]" : ""; + return new w("Invalid " + F + " `" + Q + "` supplied to " + ("`" + U + "`" + fe + ".")); } - return u(j); + return m(H); } - function R() { - function _(w, A, j, V, D) { - return H(w[A]) ? null : new y("Invalid " + V + " `" + D + "` supplied to " + ("`" + j + "`, expected a ReactNode.")); + function O() { + function R(M, P, H, K, V) { + return N(M[P]) ? null : new w("Invalid " + K + " `" + V + "` supplied to " + ("`" + H + "`, expected a ReactNode.")); } - return u(_); + return m(R); } - function L(_, w, A, j, V) { - return new y( - (_ || "React class") + ": " + w + " type `" + A + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + V + "`." + function I(R, M, P, H, K) { + return new w( + (R || "React class") + ": " + M + " type `" + P + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + K + "`." ); } - function N(_) { - function w(A, j, V, D, z) { - var J = A[j], G = S(J); - if (G !== "object") - return new y("Invalid " + D + " `" + z + "` of type `" + G + "` " + ("supplied to `" + V + "`, expected `object`.")); - for (var Q in _) { - var ee = _[Q]; - if (typeof ee != "function") - return L(V, D, z, Q, T(ee)); - var Z = ee(J, Q, V, D, z + "." + Q, g); - if (Z) - return Z; + function x(R) { + function M(P, H, K, V, U) { + var F = P[H], Q = j(F); + if (Q !== "object") + return new w("Invalid " + V + " `" + U + "` of type `" + Q + "` " + ("supplied to `" + K + "`, expected `object`.")); + for (var ne in R) { + var te = R[ne]; + if (typeof te != "function") + return I(K, V, U, ne, D(te)); + var X = te(F, ne, K, V, U + "." + ne, c); + if (X) + return X; } return null; } - return u(w); - } - function B(_) { - function w(A, j, V, D, z) { - var J = A[j], G = S(J); - if (G !== "object") - return new y("Invalid " + D + " `" + z + "` of type `" + G + "` " + ("supplied to `" + V + "`, expected `object`.")); - var Q = o({}, A[j], _); - for (var ee in Q) { - var Z = _[ee]; - if (C(_, ee) && typeof Z != "function") - return L(V, D, z, ee, T(Z)); - if (!Z) - return new y( - "Invalid " + D + " `" + z + "` key `" + ee + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(A[j], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(_), null, " ") + return m(M); + } + function A(R) { + function M(P, H, K, V, U) { + var F = P[H], Q = j(F); + if (Q !== "object") + return new w("Invalid " + V + " `" + U + "` of type `" + Q + "` " + ("supplied to `" + K + "`, expected `object`.")); + var ne = t({}, P[H], R); + for (var te in ne) { + var X = R[te]; + if (h(R, te) && typeof X != "function") + return I(K, V, U, te, D(X)); + if (!X) + return new w( + "Invalid " + V + " `" + U + "` key `" + te + "` supplied to `" + K + "`.\nBad object: " + JSON.stringify(P[H], null, " ") + ` +Valid keys: ` + JSON.stringify(Object.keys(R), null, " ") ); - var q = Z(J, ee, V, D, z + "." + ee, g); - if (q) - return q; + var Z = X(F, te, K, V, U + "." + te, c); + if (Z) + return Z; } return null; } - return u(w); + return m(M); } - function H(_) { - switch (typeof _) { + function N(R) { + switch (typeof R) { case "number": case "string": case "undefined": return !0; case "boolean": - return !_; + return !R; case "object": - if (Array.isArray(_)) - return _.every(H); - if (_ === null || c(_)) + if (Array.isArray(R)) + return R.every(N); + if (R === null || s(R)) return !0; - var w = m(_); - if (w) { - var A = w.call(_), j; - if (w !== _.entries) { - for (; !(j = A.next()).done; ) - if (!H(j.value)) + var M = p(R); + if (M) { + var P = M.call(R), H; + if (M !== R.entries) { + for (; !(H = P.next()).done; ) + if (!N(H.value)) return !1; } else - for (; !(j = A.next()).done; ) { - var V = j.value; - if (V && !H(V[1])) + for (; !(H = P.next()).done; ) { + var K = H.value; + if (K && !N(K[1])) return !1; } } else @@ -36449,106 +38368,106 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ") return !1; } } - function U(_, w) { - return _ === "symbol" ? !0 : w ? w["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && w instanceof Symbol : !1; + function k(R, M) { + return R === "symbol" ? !0 : M ? M["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && M instanceof Symbol : !1; } - function S(_) { - var w = typeof _; - return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : U(w, _) ? "symbol" : w; + function j(R) { + var M = typeof R; + return Array.isArray(R) ? "array" : R instanceof RegExp ? "object" : k(M, R) ? "symbol" : M; } - function T(_) { - if (typeof _ > "u" || _ === null) - return "" + _; - var w = S(_); - if (w === "object") { - if (_ instanceof Date) + function D(R) { + if (typeof R > "u" || R === null) + return "" + R; + var M = j(R); + if (M === "object") { + if (R instanceof Date) return "date"; - if (_ instanceof RegExp) + if (R instanceof RegExp) return "regexp"; } - return w; + return M; } - function E(_) { - var w = T(_); - switch (w) { + function T(R) { + var M = D(R); + switch (M) { case "array": case "object": - return "an " + w; + return "an " + M; case "boolean": case "date": case "regexp": - return "a " + w; + return "a " + M; default: - return w; + return M; } } - function M(_) { - return !_.constructor || !_.constructor.name ? t : _.constructor.name; + function L(R) { + return !R.constructor || !R.constructor.name ? a : R.constructor.name; } - return f.checkPropTypes = P, f.resetWarningCache = P.resetWarningCache, f.PropTypes = f, f; - }, Ta; + return f.checkPropTypes = S, f.resetWarningCache = S.resetWarningCache, f.PropTypes = f, f; + }, Fs; } -var Ia, Fu; -function s9() { - if (Fu) return Ia; - Fu = 1; - var e = /* @__PURE__ */ Cs(); - function o() { +var zs, Yl; +function Yw() { + if (Yl) return zs; + Yl = 1; + var e = /* @__PURE__ */ tu(); + function t() { } - function g() { + function c() { } - return g.resetWarningCache = o, Ia = function() { - function C(n, c, r, a, i, m) { - if (m !== e) { - var t = new Error( + return c.resetWarningCache = t, zs = function() { + function h(n, s, r, o, i, p) { + if (p !== e) { + var a = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types" ); - throw t.name = "Invariant Violation", t; + throw a.name = "Invariant Violation", a; } } - C.isRequired = C; - function P() { - return C; - } - var x = { - array: C, - bigint: C, - bool: C, - func: C, - number: C, - object: C, - string: C, - symbol: C, - any: C, - arrayOf: P, - element: C, - elementType: C, - instanceOf: P, - node: C, - objectOf: P, - oneOf: P, - oneOfType: P, - shape: P, - exact: P, - checkPropTypes: g, - resetWarningCache: o + h.isRequired = h; + function S() { + return h; + } + var g = { + array: h, + bigint: h, + bool: h, + func: h, + number: h, + object: h, + string: h, + symbol: h, + any: h, + arrayOf: S, + element: h, + elementType: h, + instanceOf: S, + node: h, + objectOf: S, + oneOf: S, + oneOfType: S, + shape: S, + exact: S, + checkPropTypes: c, + resetWarningCache: t }; - return x.PropTypes = x, x; - }, Ia; -} -var Ku; -function _s() { - if (Ku) return li.exports; - if (Ku = 1, process.env.NODE_ENV !== "production") { - var e = a2(), o = !0; - li.exports = /* @__PURE__ */ a9()(e.isElement, o); + return g.PropTypes = g, g; + }, zs; +} +var Xl; +function nu() { + if (Xl) return ea.exports; + if (Xl = 1, process.env.NODE_ENV !== "production") { + var e = gp(), t = !0; + ea.exports = /* @__PURE__ */ Zw()(e.isElement, t); } else - li.exports = /* @__PURE__ */ s9()(); - return li.exports; + ea.exports = /* @__PURE__ */ Yw()(); + return ea.exports; } -var u9 = /* @__PURE__ */ _s(); -const Ke = /* @__PURE__ */ qi(u9); -var fi = { exports: {} }, Ht = {}; +var Xw = /* @__PURE__ */ nu(); +const We = /* @__PURE__ */ qa(Xw); +var na = { exports: {} }, At = {}; /** * @license React * react-is.production.min.js @@ -36558,75 +38477,75 @@ var fi = { exports: {} }, Ht = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Wu; -function c9() { - if (Wu) return Ht; - Wu = 1; - var e = Symbol.for("react.element"), o = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), n = Symbol.for("react.context"), c = Symbol.for("react.server_context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), t = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), b; - b = Symbol.for("react.module.reference"); - function y(u) { - if (typeof u == "object" && u !== null) { - var d = u.$$typeof; - switch (d) { +var Ql; +function Qw() { + if (Ql) return At; + Ql = 1; + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), n = Symbol.for("react.context"), s = Symbol.for("react.server_context"), r = Symbol.for("react.forward_ref"), o = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), a = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), C; + C = Symbol.for("react.module.reference"); + function w(m) { + if (typeof m == "object" && m !== null) { + var v = m.$$typeof; + switch (v) { case e: - switch (u = u.type, u) { - case g: - case P: - case C: - case a: + switch (m = m.type, m) { + case c: + case S: + case h: + case o: case i: - return u; + return m; default: - switch (u = u && u.$$typeof, u) { - case c: + switch (m = m && m.$$typeof, m) { + case s: case n: case r: - case t: - case m: - case x: - return u; + case a: + case p: + case g: + return m; default: - return d; + return v; } } - case o: - return d; + case t: + return v; } } } - return Ht.ContextConsumer = n, Ht.ContextProvider = x, Ht.Element = e, Ht.ForwardRef = r, Ht.Fragment = g, Ht.Lazy = t, Ht.Memo = m, Ht.Portal = o, Ht.Profiler = P, Ht.StrictMode = C, Ht.Suspense = a, Ht.SuspenseList = i, Ht.isAsyncMode = function() { + return At.ContextConsumer = n, At.ContextProvider = g, At.Element = e, At.ForwardRef = r, At.Fragment = c, At.Lazy = a, At.Memo = p, At.Portal = t, At.Profiler = S, At.StrictMode = h, At.Suspense = o, At.SuspenseList = i, At.isAsyncMode = function() { return !1; - }, Ht.isConcurrentMode = function() { + }, At.isConcurrentMode = function() { return !1; - }, Ht.isContextConsumer = function(u) { - return y(u) === n; - }, Ht.isContextProvider = function(u) { - return y(u) === x; - }, Ht.isElement = function(u) { - return typeof u == "object" && u !== null && u.$$typeof === e; - }, Ht.isForwardRef = function(u) { - return y(u) === r; - }, Ht.isFragment = function(u) { - return y(u) === g; - }, Ht.isLazy = function(u) { - return y(u) === t; - }, Ht.isMemo = function(u) { - return y(u) === m; - }, Ht.isPortal = function(u) { - return y(u) === o; - }, Ht.isProfiler = function(u) { - return y(u) === P; - }, Ht.isStrictMode = function(u) { - return y(u) === C; - }, Ht.isSuspense = function(u) { - return y(u) === a; - }, Ht.isSuspenseList = function(u) { - return y(u) === i; - }, Ht.isValidElementType = function(u) { - return typeof u == "string" || typeof u == "function" || u === g || u === P || u === C || u === a || u === i || u === f || typeof u == "object" && u !== null && (u.$$typeof === t || u.$$typeof === m || u.$$typeof === x || u.$$typeof === n || u.$$typeof === r || u.$$typeof === b || u.getModuleId !== void 0); - }, Ht.typeOf = y, Ht; -} -var jt = {}; + }, At.isContextConsumer = function(m) { + return w(m) === n; + }, At.isContextProvider = function(m) { + return w(m) === g; + }, At.isElement = function(m) { + return typeof m == "object" && m !== null && m.$$typeof === e; + }, At.isForwardRef = function(m) { + return w(m) === r; + }, At.isFragment = function(m) { + return w(m) === c; + }, At.isLazy = function(m) { + return w(m) === a; + }, At.isMemo = function(m) { + return w(m) === p; + }, At.isPortal = function(m) { + return w(m) === t; + }, At.isProfiler = function(m) { + return w(m) === S; + }, At.isStrictMode = function(m) { + return w(m) === h; + }, At.isSuspense = function(m) { + return w(m) === o; + }, At.isSuspenseList = function(m) { + return w(m) === i; + }, At.isValidElementType = function(m) { + return typeof m == "string" || typeof m == "function" || m === c || m === S || m === h || m === o || m === i || m === f || typeof m == "object" && m !== null && (m.$$typeof === a || m.$$typeof === p || m.$$typeof === g || m.$$typeof === n || m.$$typeof === r || m.$$typeof === C || m.getModuleId !== void 0); + }, At.typeOf = w, At; +} +var Lt = {}; /** * @license React * react-is.development.js @@ -36636,299 +38555,299 @@ var jt = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Ju; -function l9() { - return Ju || (Ju = 1, process.env.NODE_ENV !== "production" && function() { - var e = Symbol.for("react.element"), o = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), n = Symbol.for("react.context"), c = Symbol.for("react.server_context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), t = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), b = !1, y = !1, u = !1, d = !1, l = !1, s; - s = Symbol.for("react.module.reference"); - function v(ue) { - return !!(typeof ue == "string" || typeof ue == "function" || ue === g || ue === P || l || ue === C || ue === a || ue === i || d || ue === f || b || y || u || typeof ue == "object" && ue !== null && (ue.$$typeof === t || ue.$$typeof === m || ue.$$typeof === x || ue.$$typeof === n || ue.$$typeof === r || // This needs to include all possible module reference object +var e2; +function eC() { + return e2 || (e2 = 1, process.env.NODE_ENV !== "production" && function() { + var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), n = Symbol.for("react.context"), s = Symbol.for("react.server_context"), r = Symbol.for("react.forward_ref"), o = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), a = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), C = !1, w = !1, m = !1, v = !1, l = !1, u; + u = Symbol.for("react.module.reference"); + function y(le) { + return !!(typeof le == "string" || typeof le == "function" || le === c || le === S || l || le === h || le === o || le === i || v || le === f || C || w || m || typeof le == "object" && le !== null && (le.$$typeof === a || le.$$typeof === p || le.$$typeof === g || le.$$typeof === n || le.$$typeof === r || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - ue.$$typeof === s || ue.getModuleId !== void 0)); + le.$$typeof === u || le.getModuleId !== void 0)); } - function p(ue) { - if (typeof ue == "object" && ue !== null) { - var ce = ue.$$typeof; - switch (ce) { + function d(le) { + if (typeof le == "object" && le !== null) { + var Se = le.$$typeof; + switch (Se) { case e: - var ie = ue.type; - switch (ie) { - case g: - case P: - case C: - case a: + var de = le.type; + switch (de) { + case c: + case S: + case h: + case o: case i: - return ie; + return de; default: - var fe = ie && ie.$$typeof; - switch (fe) { - case c: + var me = de && de.$$typeof; + switch (me) { + case s: case n: case r: - case t: - case m: - case x: - return fe; + case a: + case p: + case g: + return me; default: - return ce; + return Se; } } - case o: - return ce; + case t: + return Se; } } } - var h = n, O = x, I = e, k = r, R = g, L = t, N = m, B = o, H = P, U = C, S = a, T = i, E = !1, M = !1; - function _(ue) { - return E || (E = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; + var b = n, _ = g, E = e, B = r, O = c, I = a, x = p, A = t, N = S, k = h, j = o, D = i, T = !1, L = !1; + function R(le) { + return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function w(ue) { - return M || (M = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; + function M(le) { + return L || (L = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function A(ue) { - return p(ue) === n; + function P(le) { + return d(le) === n; } - function j(ue) { - return p(ue) === x; + function H(le) { + return d(le) === g; } - function V(ue) { - return typeof ue == "object" && ue !== null && ue.$$typeof === e; + function K(le) { + return typeof le == "object" && le !== null && le.$$typeof === e; } - function D(ue) { - return p(ue) === r; + function V(le) { + return d(le) === r; } - function z(ue) { - return p(ue) === g; + function U(le) { + return d(le) === c; } - function J(ue) { - return p(ue) === t; + function F(le) { + return d(le) === a; } - function G(ue) { - return p(ue) === m; + function Q(le) { + return d(le) === p; } - function Q(ue) { - return p(ue) === o; + function ne(le) { + return d(le) === t; } - function ee(ue) { - return p(ue) === P; + function te(le) { + return d(le) === S; } - function Z(ue) { - return p(ue) === C; + function X(le) { + return d(le) === h; } - function q(ue) { - return p(ue) === a; + function Z(le) { + return d(le) === o; } - function se(ue) { - return p(ue) === i; + function fe(le) { + return d(le) === i; } - jt.ContextConsumer = h, jt.ContextProvider = O, jt.Element = I, jt.ForwardRef = k, jt.Fragment = R, jt.Lazy = L, jt.Memo = N, jt.Portal = B, jt.Profiler = H, jt.StrictMode = U, jt.Suspense = S, jt.SuspenseList = T, jt.isAsyncMode = _, jt.isConcurrentMode = w, jt.isContextConsumer = A, jt.isContextProvider = j, jt.isElement = V, jt.isForwardRef = D, jt.isFragment = z, jt.isLazy = J, jt.isMemo = G, jt.isPortal = Q, jt.isProfiler = ee, jt.isStrictMode = Z, jt.isSuspense = q, jt.isSuspenseList = se, jt.isValidElementType = v, jt.typeOf = p; - }()), jt; + Lt.ContextConsumer = b, Lt.ContextProvider = _, Lt.Element = E, Lt.ForwardRef = B, Lt.Fragment = O, Lt.Lazy = I, Lt.Memo = x, Lt.Portal = A, Lt.Profiler = N, Lt.StrictMode = k, Lt.Suspense = j, Lt.SuspenseList = D, Lt.isAsyncMode = R, Lt.isConcurrentMode = M, Lt.isContextConsumer = P, Lt.isContextProvider = H, Lt.isElement = K, Lt.isForwardRef = V, Lt.isFragment = U, Lt.isLazy = F, Lt.isMemo = Q, Lt.isPortal = ne, Lt.isProfiler = te, Lt.isStrictMode = X, Lt.isSuspense = Z, Lt.isSuspenseList = fe, Lt.isValidElementType = y, Lt.typeOf = d; + }()), Lt; } -var $u; -function d9() { - return $u || ($u = 1, process.env.NODE_ENV === "production" ? fi.exports = c9() : fi.exports = l9()), fi.exports; +var t2; +function tC() { + return t2 || (t2 = 1, process.env.NODE_ENV === "production" ? na.exports = Qw() : na.exports = eC()), na.exports; } -var Gu = d9(); -const qu = (e) => typeof e == "object" && e != null && e.nodeType === 1, Zu = (e, o) => (!o || e !== "hidden") && e !== "visible" && e !== "clip", hi = (e, o) => { +var n2 = tC(); +const r2 = (e) => typeof e == "object" && e != null && e.nodeType === 1, o2 = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", ra = (e, t) => { if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) { - const g = getComputedStyle(e, null); - return Zu(g.overflowY, o) || Zu(g.overflowX, o) || ((C) => { - const P = ((x) => { - if (!x.ownerDocument || !x.ownerDocument.defaultView) return null; + const c = getComputedStyle(e, null); + return o2(c.overflowY, t) || o2(c.overflowX, t) || ((h) => { + const S = ((g) => { + if (!g.ownerDocument || !g.ownerDocument.defaultView) return null; try { - return x.ownerDocument.defaultView.frameElement; + return g.ownerDocument.defaultView.frameElement; } catch { return null; } - })(C); - return !!P && (P.clientHeight < C.scrollHeight || P.clientWidth < C.scrollWidth); + })(h); + return !!S && (S.clientHeight < h.scrollHeight || S.clientWidth < h.scrollWidth); })(e); } return !1; -}, pi = (e, o, g, C, P, x, n, c) => x < e && n > o || x > e && n < o ? 0 : x <= e && c <= g || n >= o && c >= g ? x - e - C : n > o && c < g || x < e && c > g ? n - o + P : 0, f9 = (e) => { - const o = e.parentElement; - return o ?? (e.getRootNode().host || null); -}, h9 = (e, o) => { - var g, C, P, x; +}, oa = (e, t, c, h, S, g, n, s) => g < e && n > t || g > e && n < t ? 0 : g <= e && s <= c || n >= t && s >= c ? g - e - h : n > t && s < c || g < e && s > c ? n - t + S : 0, nC = (e) => { + const t = e.parentElement; + return t ?? (e.getRootNode().host || null); +}, rC = (e, t) => { + var c, h, S, g; if (typeof document > "u") return []; - const { inline: n, boundary: c, skipOverflowHiddenElements: r } = o, a = typeof c == "function" ? c : (B) => B !== c; - if (!qu(e)) throw new TypeError("Invalid target"); - const i = document.scrollingElement || document.documentElement, m = []; - let t = e; - for (; qu(t) && a(t); ) { - if (t = f9(t), t === i) { - m.push(t); + const { inline: n, boundary: s, skipOverflowHiddenElements: r } = t, o = typeof s == "function" ? s : (A) => A !== s; + if (!r2(e)) throw new TypeError("Invalid target"); + const i = document.scrollingElement || document.documentElement, p = []; + let a = e; + for (; r2(a) && o(a); ) { + if (a = nC(a), a === i) { + p.push(a); break; } - t != null && t === document.body && hi(t) && !hi(document.documentElement) || t != null && hi(t, r) && m.push(t); + a != null && a === document.body && ra(a) && !ra(document.documentElement) || a != null && ra(a, r) && p.push(a); } - const f = (C = (g = window.visualViewport) == null ? void 0 : g.width) != null ? C : innerWidth, b = (x = (P = window.visualViewport) == null ? void 0 : P.height) != null ? x : innerHeight, { scrollX: y, scrollY: u } = window, { height: d, width: l, top: s, right: v, bottom: p, left: h } = e.getBoundingClientRect(), { top: O, right: I, left: k } = ((B) => { - const H = window.getComputedStyle(B); - return { top: parseFloat(H.scrollMarginTop) || 0, right: parseFloat(H.scrollMarginRight) || 0, bottom: parseFloat(H.scrollMarginBottom) || 0, left: parseFloat(H.scrollMarginLeft) || 0 }; + const f = (h = (c = window.visualViewport) == null ? void 0 : c.width) != null ? h : innerWidth, C = (g = (S = window.visualViewport) == null ? void 0 : S.height) != null ? g : innerHeight, { scrollX: w, scrollY: m } = window, { height: v, width: l, top: u, right: y, bottom: d, left: b } = e.getBoundingClientRect(), { top: _, right: E, left: B } = ((A) => { + const N = window.getComputedStyle(A); + return { top: parseFloat(N.scrollMarginTop) || 0, right: parseFloat(N.scrollMarginRight) || 0, bottom: parseFloat(N.scrollMarginBottom) || 0, left: parseFloat(N.scrollMarginLeft) || 0 }; })(e); - let R = s - O, L = n === "center" ? h + l / 2 - k + I : n === "end" ? v + I : h - k; - const N = []; - for (let B = 0; B < m.length; B++) { - const H = m[B], { height: U, width: S, top: T, right: E, bottom: M, left: _ } = H.getBoundingClientRect(); - if (s >= 0 && h >= 0 && p <= b && v <= f && (H === i && !hi(H) || s >= T && p <= M && h >= _ && v <= E)) return N; - const w = getComputedStyle(H), A = parseInt(w.borderLeftWidth, 10), j = parseInt(w.borderTopWidth, 10), V = parseInt(w.borderRightWidth, 10), D = parseInt(w.borderBottomWidth, 10); - let z = 0, J = 0; - const G = "offsetWidth" in H ? H.offsetWidth - H.clientWidth - A - V : 0, Q = "offsetHeight" in H ? H.offsetHeight - H.clientHeight - j - D : 0, ee = "offsetWidth" in H ? H.offsetWidth === 0 ? 0 : S / H.offsetWidth : 0, Z = "offsetHeight" in H ? H.offsetHeight === 0 ? 0 : U / H.offsetHeight : 0; - if (i === H) z = pi(u, u + b, b, j, D, u + R, u + R + d, d), J = n === "start" ? L : n === "center" ? L - f / 2 : n === "end" ? L - f : pi(y, y + f, f, A, V, y + L, y + L + l, l), z = Math.max(0, z + u), J = Math.max(0, J + y); + let O = u - _, I = n === "center" ? b + l / 2 - B + E : n === "end" ? y + E : b - B; + const x = []; + for (let A = 0; A < p.length; A++) { + const N = p[A], { height: k, width: j, top: D, right: T, bottom: L, left: R } = N.getBoundingClientRect(); + if (u >= 0 && b >= 0 && d <= C && y <= f && (N === i && !ra(N) || u >= D && d <= L && b >= R && y <= T)) return x; + const M = getComputedStyle(N), P = parseInt(M.borderLeftWidth, 10), H = parseInt(M.borderTopWidth, 10), K = parseInt(M.borderRightWidth, 10), V = parseInt(M.borderBottomWidth, 10); + let U = 0, F = 0; + const Q = "offsetWidth" in N ? N.offsetWidth - N.clientWidth - P - K : 0, ne = "offsetHeight" in N ? N.offsetHeight - N.clientHeight - H - V : 0, te = "offsetWidth" in N ? N.offsetWidth === 0 ? 0 : j / N.offsetWidth : 0, X = "offsetHeight" in N ? N.offsetHeight === 0 ? 0 : k / N.offsetHeight : 0; + if (i === N) U = oa(m, m + C, C, H, V, m + O, m + O + v, v), F = n === "start" ? I : n === "center" ? I - f / 2 : n === "end" ? I - f : oa(w, w + f, f, P, K, w + I, w + I + l, l), U = Math.max(0, U + m), F = Math.max(0, F + w); else { - z = pi(T, M, U, j, D + Q, R, R + d, d), J = n === "start" ? L - _ - A : n === "center" ? L - (_ + S / 2) + G / 2 : n === "end" ? L - E + V + G : pi(_, E, S, A, V + G, L, L + l, l); - const { scrollLeft: q, scrollTop: se } = H; - z = Z === 0 ? 0 : Math.max(0, Math.min(se + z / Z, H.scrollHeight - U / Z + Q)), J = ee === 0 ? 0 : Math.max(0, Math.min(q + J / ee, H.scrollWidth - S / ee + G)), R += se - z, L += q - J; + U = oa(D, L, k, H, V + ne, O, O + v, v), F = n === "start" ? I - R - P : n === "center" ? I - (R + j / 2) + Q / 2 : n === "end" ? I - T + K + Q : oa(R, T, j, P, K + Q, I, I + l, l); + const { scrollLeft: Z, scrollTop: fe } = N; + U = X === 0 ? 0 : Math.max(0, Math.min(fe + U / X, N.scrollHeight - k / X + ne)), F = te === 0 ? 0 : Math.max(0, Math.min(Z + F / te, N.scrollWidth - j / te + Q)), O += fe - U, I += Z - F; } - N.push({ el: H, top: z, left: J }); + x.push({ el: N, top: U, left: F }); } - return N; + return x; }; -var p9 = 0; -function Xu(e) { - return typeof e == "function" ? e : br; +var oC = 0; +function i2(e) { + return typeof e == "function" ? e : Cn; } -function br() { +function Cn() { } -function u2(e, o) { +function bp(e, t) { if (e) { - var g = h9(e, { - boundary: o + var c = rC(e, { + boundary: t }); - g.forEach(function(C) { - var P = C.el, x = C.top, n = C.left; - P.scrollTop = x, P.scrollLeft = n; + c.forEach(function(h) { + var S = h.el, g = h.top, n = h.left; + S.scrollTop = g, S.scrollLeft = n; }); } } -function Yu(e, o, g) { - var C = e === o || o instanceof g.Node && e.contains && e.contains(o); - return C; -} -function oa(e, o) { - var g; - function C() { - g && clearTimeout(g); - } - function P() { - for (var x = arguments.length, n = new Array(x), c = 0; c < x; c++) - n[c] = arguments[c]; - C(), g = setTimeout(function() { - g = null, e.apply(void 0, n); - }, o); - } - return P.cancel = C, P; -} -function Nt() { - for (var e = arguments.length, o = new Array(e), g = 0; g < e; g++) - o[g] = arguments[g]; - return function(C) { - for (var P = arguments.length, x = new Array(P > 1 ? P - 1 : 0), n = 1; n < P; n++) - x[n - 1] = arguments[n]; - return o.some(function(c) { - return c && c.apply(void 0, [C].concat(x)), C.preventDownshiftDefault || C.hasOwnProperty("nativeEvent") && C.nativeEvent.preventDownshiftDefault; +function a2(e, t, c) { + var h = e === t || t instanceof c.Node && e.contains && e.contains(t); + return h; +} +function cs(e, t) { + var c; + function h() { + c && clearTimeout(c); + } + function S() { + for (var g = arguments.length, n = new Array(g), s = 0; s < g; s++) + n[s] = arguments[s]; + h(), c = setTimeout(function() { + c = null, e.apply(void 0, n); + }, t); + } + return S.cancel = h, S; +} +function Pt() { + for (var e = arguments.length, t = new Array(e), c = 0; c < e; c++) + t[c] = arguments[c]; + return function(h) { + for (var S = arguments.length, g = new Array(S > 1 ? S - 1 : 0), n = 1; n < S; n++) + g[n - 1] = arguments[n]; + return t.some(function(s) { + return s && s.apply(void 0, [h].concat(g)), h.preventDownshiftDefault || h.hasOwnProperty("nativeEvent") && h.nativeEvent.preventDownshiftDefault; }); }; } -function Jr() { - for (var e = arguments.length, o = new Array(e), g = 0; g < e; g++) - o[g] = arguments[g]; - return function(C) { - o.forEach(function(P) { - typeof P == "function" ? P(C) : P && (P.current = C); +function Dn() { + for (var e = arguments.length, t = new Array(e), c = 0; c < e; c++) + t[c] = arguments[c]; + return function(h) { + t.forEach(function(S) { + typeof S == "function" ? S(h) : S && (S.current = h); }); }; } -function c2() { - return String(p9++); +function wp() { + return String(oC++); } -function m9(e) { - var o = e.isOpen, g = e.resultCount, C = e.previousResultCount; - return o ? g ? g !== C ? g + " result" + (g === 1 ? " is" : "s are") + " available, use up and down arrow keys to navigate. Press Enter key to select." : "" : "No results are available." : ""; +function iC(e) { + var t = e.isOpen, c = e.resultCount, h = e.previousResultCount; + return t ? c ? c !== h ? c + " result" + (c === 1 ? " is" : "s are") + " available, use up and down arrow keys to navigate. Press Enter key to select." : "" : "No results are available." : ""; } -function Qu(e, o) { +function s2(e, t) { return e = Array.isArray(e) ? ( /* istanbul ignore next (preact) */ e[0] - ) : e, !e && o ? o : e; + ) : e, !e && t ? t : e; } -function l2(e) { +function Cp(e) { return typeof e.type == "string"; } -function d2(e) { +function Sp(e) { return e.props; } -function y9(e, o) { - console.error('The property "' + o + '" is required in "' + e + '"'); +function aC(e, t) { + console.error('The property "' + t + '" is required in "' + e + '"'); } -var g9 = ["highlightedIndex", "inputValue", "isOpen", "selectedItem", "type"]; -function mi(e) { +var sC = ["highlightedIndex", "inputValue", "isOpen", "selectedItem", "type"]; +function ia(e) { e === void 0 && (e = {}); - var o = {}; - return g9.forEach(function(g) { - e.hasOwnProperty(g) && (o[g] = e[g]); - }), o; -} -function Ho(e, o) { - return !e || !o ? e : Object.keys(e).reduce(function(g, C) { - return g[C] = Bi(o, C) ? o[C] : e[C], g; + var t = {}; + return sC.forEach(function(c) { + e.hasOwnProperty(c) && (t[c] = e[c]); + }), t; +} +function bi(e, t) { + return !e || !t ? e : Object.keys(e).reduce(function(c, h) { + return c[h] = Ha(t, h) ? t[h] : e[h], c; }, {}); } -function Bi(e, o) { - return e[o] !== void 0; +function Ha(e, t) { + return e[t] !== void 0; } -function oo(e) { - var o = e.key, g = e.keyCode; - return g >= 37 && g <= 40 && o.indexOf("Arrow") !== 0 ? "Arrow" + o : o; +function Io(e) { + var t = e.key, c = e.keyCode; + return c >= 37 && c <= 40 && t.indexOf("Arrow") !== 0 ? "Arrow" + t : t; } -function v9(e) { +function cC(e) { return Object.prototype.toString.call(e) === "[object Object]"; } -function $r(e, o, g, C, P) { - P === void 0 && (P = !1); - var x = g.length; - if (x === 0) +function Vn(e, t, c, h, S) { + S === void 0 && (S = !1); + var g = c.length; + if (g === 0) return -1; - var n = x - 1; - (typeof e != "number" || e < 0 || e > n) && (e = o > 0 ? -1 : n + 1); - var c = e + o; - c < 0 ? c = P ? n : 0 : c > n && (c = P ? 0 : n); - var r = _n(c, o < 0, g, C, P); - return r === -1 ? e >= x ? -1 : e : r; -} -function _n(e, o, g, C, P) { - P === void 0 && (P = !1); - var x = g.length; - if (o) { + var n = g - 1; + (typeof e != "number" || e < 0 || e > n) && (e = t > 0 ? -1 : n + 1); + var s = e + t; + s < 0 ? s = S ? n : 0 : s > n && (s = S ? 0 : n); + var r = Lr(s, t < 0, c, h, S); + return r === -1 ? e >= g ? -1 : e : r; +} +function Lr(e, t, c, h, S) { + S === void 0 && (S = !1); + var g = c.length; + if (t) { for (var n = e; n >= 0; n--) - if (!C(g[n], n)) + if (!h(c[n], n)) return n; } else - for (var c = e; c < x; c++) - if (!C(g[c], c)) - return c; - return P ? _n(o ? x - 1 : 0, o, g, C) : -1; -} -function Hi(e, o, g, C) { - return C === void 0 && (C = !0), g && o.some(function(P) { - return P && (Yu(P, e, g) || C && Yu(P, g.document.activeElement, g)); + for (var s = e; s < g; s++) + if (!h(c[s], s)) + return s; + return S ? Lr(t ? g - 1 : 0, t, c, h) : -1; +} +function ja(e, t, c, h) { + return h === void 0 && (h = !0), c && t.some(function(S) { + return S && (a2(S, e, c) || h && a2(S, c.document.activeElement, c)); }); } -var Ss = br; -process.env.NODE_ENV !== "production" && (Ss = function(o, g, C) { - var P = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props"; - Object.keys(o).forEach(function(x) { - g[x] !== void 0 && C[x] === void 0 ? console.error('downshift: A component has changed the controlled prop "' + x + '" to be uncontrolled. ' + P) : g[x] === void 0 && C[x] !== void 0 && console.error('downshift: A component has changed the uncontrolled prop "' + x + '" to be controlled. ' + P); +var ru = Cn; +process.env.NODE_ENV !== "production" && (ru = function(t, c, h) { + var S = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props"; + Object.keys(t).forEach(function(g) { + c[g] !== void 0 && h[g] === void 0 ? console.error('downshift: A component has changed the controlled prop "' + g + '" to be uncontrolled. ' + S) : c[g] === void 0 && h[g] !== void 0 && console.error('downshift: A component has changed the uncontrolled prop "' + g + '" to be controlled. ' + S); }); }); -var b9 = oa(function(e) { - f2(e).textContent = ""; +var uC = cs(function(e) { + _p(e).textContent = ""; }, 500); -function f2(e) { - var o = e.getElementById("a11y-status-message"); - return o || (o = e.createElement("div"), o.setAttribute("id", "a11y-status-message"), o.setAttribute("role", "status"), o.setAttribute("aria-live", "polite"), o.setAttribute("aria-relevant", "additions text"), Object.assign(o.style, { +function _p(e) { + var t = e.getElementById("a11y-status-message"); + return t || (t = e.createElement("div"), t.setAttribute("id", "a11y-status-message"), t.setAttribute("role", "status"), t.setAttribute("aria-live", "polite"), t.setAttribute("aria-relevant", "additions text"), Object.assign(t.style, { border: "0", clip: "rect(0 0 0 0)", height: "1px", @@ -36937,993 +38856,993 @@ function f2(e) { padding: "0", position: "absolute", width: "1px" - }), e.body.appendChild(o), o); + }), e.body.appendChild(t), t); } -function h2(e, o) { - if (!(!e || !o)) { - var g = f2(o); - g.textContent = e, b9(o); +function Ep(e, t) { + if (!(!e || !t)) { + var c = _p(t); + c.textContent = e, uC(t); } } -function w9(e) { - var o = e?.getElementById("a11y-status-message"); - o && o.remove(); +function lC(e) { + var t = e?.getElementById("a11y-status-message"); + t && t.remove(); } -var p2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, m2 = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, y2 = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, Ei = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, Pi = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, g2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, v2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, b2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, w2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, C2 = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, _2 = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, S2 = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, M2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, Ya = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, x2 = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, E2 = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, P2 = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, C9 = /* @__PURE__ */ Object.freeze({ +var xp = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, Mp = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, Pp = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, va = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, ba = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, Op = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, Tp = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, Ap = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, Lp = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, Ip = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, Np = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, Bp = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, Rp = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, mc = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, kp = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, Hp = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, jp = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, dC = /* @__PURE__ */ Object.freeze({ __proto__: null, - blurButton: x2, - blurInput: _2, - changeInput: S2, - clickButton: Ya, - clickItem: C2, - controlledPropUpdatedSelectedItem: E2, - itemMouseEnter: y2, - keyDownArrowDown: Pi, - keyDownArrowUp: Ei, - keyDownEnd: w2, - keyDownEnter: v2, - keyDownEscape: g2, - keyDownHome: b2, - keyDownSpaceButton: M2, - mouseUp: m2, - touchEnd: P2, - unknown: p2 -}), _9 = ["refKey", "ref"], S9 = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"], M9 = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"], x9 = ["refKey", "ref"], E9 = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"], A2 = /* @__PURE__ */ function() { - var e = /* @__PURE__ */ function(o) { - function g(P) { - var x; - x = o.call(this, P) || this, x.id = x.props.id || "downshift-" + c2(), x.menuId = x.props.menuId || x.id + "-menu", x.labelId = x.props.labelId || x.id + "-label", x.inputId = x.props.inputId || x.id + "-input", x.getItemId = x.props.getItemId || function(l) { - return x.id + "-item-" + l; - }, x.items = [], x.itemCount = null, x.previousResultCount = 0, x.timeoutIds = [], x.internalSetTimeout = function(l, s) { - var v = setTimeout(function() { - x.timeoutIds = x.timeoutIds.filter(function(p) { - return p !== v; + blurButton: kp, + blurInput: Np, + changeInput: Bp, + clickButton: mc, + clickItem: Ip, + controlledPropUpdatedSelectedItem: Hp, + itemMouseEnter: Pp, + keyDownArrowDown: ba, + keyDownArrowUp: va, + keyDownEnd: Lp, + keyDownEnter: Tp, + keyDownEscape: Op, + keyDownHome: Ap, + keyDownSpaceButton: Rp, + mouseUp: Mp, + touchEnd: jp, + unknown: xp +}), fC = ["refKey", "ref"], pC = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"], hC = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"], yC = ["refKey", "ref"], mC = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"], Dp = /* @__PURE__ */ function() { + var e = /* @__PURE__ */ function(t) { + function c(S) { + var g; + g = t.call(this, S) || this, g.id = g.props.id || "downshift-" + wp(), g.menuId = g.props.menuId || g.id + "-menu", g.labelId = g.props.labelId || g.id + "-label", g.inputId = g.props.inputId || g.id + "-input", g.getItemId = g.props.getItemId || function(l) { + return g.id + "-item-" + l; + }, g.items = [], g.itemCount = null, g.previousResultCount = 0, g.timeoutIds = [], g.internalSetTimeout = function(l, u) { + var y = setTimeout(function() { + g.timeoutIds = g.timeoutIds.filter(function(d) { + return d !== y; }), l(); - }, s); - x.timeoutIds.push(v); - }, x.setItemCount = function(l) { - x.itemCount = l; - }, x.unsetItemCount = function() { - x.itemCount = null; - }, x.isItemDisabled = function(l, s) { - var v = x.getItemNodeFromIndex(s); - return v && v.hasAttribute("disabled"); - }, x.setHighlightedIndex = function(l, s) { - l === void 0 && (l = x.props.defaultHighlightedIndex), s === void 0 && (s = {}), s = mi(s), x.internalSetState(dt({ + }, u); + g.timeoutIds.push(y); + }, g.setItemCount = function(l) { + g.itemCount = l; + }, g.unsetItemCount = function() { + g.itemCount = null; + }, g.isItemDisabled = function(l, u) { + var y = g.getItemNodeFromIndex(u); + return y && y.hasAttribute("disabled"); + }, g.setHighlightedIndex = function(l, u) { + l === void 0 && (l = g.props.defaultHighlightedIndex), u === void 0 && (u = {}), u = ia(u), g.internalSetState(it({ highlightedIndex: l - }, s)); - }, x.clearSelection = function(l) { - x.internalSetState({ + }, u)); + }, g.clearSelection = function(l) { + g.internalSetState({ selectedItem: null, inputValue: "", - highlightedIndex: x.props.defaultHighlightedIndex, - isOpen: x.props.defaultIsOpen + highlightedIndex: g.props.defaultHighlightedIndex, + isOpen: g.props.defaultIsOpen }, l); - }, x.selectItem = function(l, s, v) { - s = mi(s), x.internalSetState(dt({ - isOpen: x.props.defaultIsOpen, - highlightedIndex: x.props.defaultHighlightedIndex, + }, g.selectItem = function(l, u, y) { + u = ia(u), g.internalSetState(it({ + isOpen: g.props.defaultIsOpen, + highlightedIndex: g.props.defaultHighlightedIndex, selectedItem: l, - inputValue: x.props.itemToString(l) - }, s), v); - }, x.selectItemAtIndex = function(l, s, v) { - var p = x.items[l]; - p != null && x.selectItem(p, s, v); - }, x.selectHighlightedItem = function(l, s) { - return x.selectItemAtIndex(x.getState().highlightedIndex, l, s); - }, x.internalSetState = function(l, s) { - var v, p, h = {}, O = typeof l == "function"; - return !O && l.hasOwnProperty("inputValue") && x.props.onInputValueChange(l.inputValue, dt({}, x.getStateAndHelpers(), l)), x.setState(function(I) { - var k; - I = x.getState(I); - var R = O ? l(I) : l; - R = x.props.stateReducer(I, R), v = R.hasOwnProperty("selectedItem"); - var L = {}; - return v && R.selectedItem !== I.selectedItem && (p = R.selectedItem), (k = R).type || (k.type = p2), Object.keys(R).forEach(function(N) { - I[N] !== R[N] && (h[N] = R[N]), N !== "type" && (R[N], Bi(x.props, N) || (L[N] = R[N])); - }), O && R.hasOwnProperty("inputValue") && x.props.onInputValueChange(R.inputValue, dt({}, x.getStateAndHelpers(), R)), L; + inputValue: g.props.itemToString(l) + }, u), y); + }, g.selectItemAtIndex = function(l, u, y) { + var d = g.items[l]; + d != null && g.selectItem(d, u, y); + }, g.selectHighlightedItem = function(l, u) { + return g.selectItemAtIndex(g.getState().highlightedIndex, l, u); + }, g.internalSetState = function(l, u) { + var y, d, b = {}, _ = typeof l == "function"; + return !_ && l.hasOwnProperty("inputValue") && g.props.onInputValueChange(l.inputValue, it({}, g.getStateAndHelpers(), l)), g.setState(function(E) { + var B; + E = g.getState(E); + var O = _ ? l(E) : l; + O = g.props.stateReducer(E, O), y = O.hasOwnProperty("selectedItem"); + var I = {}; + return y && O.selectedItem !== E.selectedItem && (d = O.selectedItem), (B = O).type || (B.type = xp), Object.keys(O).forEach(function(x) { + E[x] !== O[x] && (b[x] = O[x]), x !== "type" && (O[x], Ha(g.props, x) || (I[x] = O[x])); + }), _ && O.hasOwnProperty("inputValue") && g.props.onInputValueChange(O.inputValue, it({}, g.getStateAndHelpers(), O)), I; }, function() { - Xu(s)(); - var I = Object.keys(h).length > 1; - I && x.props.onStateChange(h, x.getStateAndHelpers()), v && x.props.onSelect(l.selectedItem, x.getStateAndHelpers()), p !== void 0 && x.props.onChange(p, x.getStateAndHelpers()), x.props.onUserAction(h, x.getStateAndHelpers()); + i2(u)(); + var E = Object.keys(b).length > 1; + E && g.props.onStateChange(b, g.getStateAndHelpers()), y && g.props.onSelect(l.selectedItem, g.getStateAndHelpers()), d !== void 0 && g.props.onChange(d, g.getStateAndHelpers()), g.props.onUserAction(b, g.getStateAndHelpers()); }); - }, x.rootRef = function(l) { - return x._rootNode = l; - }, x.getRootProps = function(l, s) { - var v, p = l === void 0 ? {} : l, h = p.refKey, O = h === void 0 ? "ref" : h, I = p.ref, k = wr(p, _9), R = s === void 0 ? {} : s, L = R.suppressRefError, N = L === void 0 ? !1 : L; - x.getRootProps.called = !0, x.getRootProps.refKey = O, x.getRootProps.suppressRefError = N; - var B = x.getState(), H = B.isOpen; - return dt((v = {}, v[O] = Jr(I, x.rootRef), v.role = "combobox", v["aria-expanded"] = H, v["aria-haspopup"] = "listbox", v["aria-owns"] = H ? x.menuId : void 0, v["aria-labelledby"] = x.labelId, v), k); - }, x.keyDownHandlers = { - ArrowDown: function(s) { - var v = this; - if (s.preventDefault(), this.getState().isOpen) { - var p = s.shiftKey ? 5 : 1; - this.moveHighlightedIndex(p, { - type: Pi + }, g.rootRef = function(l) { + return g._rootNode = l; + }, g.getRootProps = function(l, u) { + var y, d = l === void 0 ? {} : l, b = d.refKey, _ = b === void 0 ? "ref" : b, E = d.ref, B = Sn(d, fC), O = u === void 0 ? {} : u, I = O.suppressRefError, x = I === void 0 ? !1 : I; + g.getRootProps.called = !0, g.getRootProps.refKey = _, g.getRootProps.suppressRefError = x; + var A = g.getState(), N = A.isOpen; + return it((y = {}, y[_] = Dn(E, g.rootRef), y.role = "combobox", y["aria-expanded"] = N, y["aria-haspopup"] = "listbox", y["aria-owns"] = N ? g.menuId : void 0, y["aria-labelledby"] = g.labelId, y), B); + }, g.keyDownHandlers = { + ArrowDown: function(u) { + var y = this; + if (u.preventDefault(), this.getState().isOpen) { + var d = u.shiftKey ? 5 : 1; + this.moveHighlightedIndex(d, { + type: ba }); } else this.internalSetState({ isOpen: !0, - type: Pi + type: ba }, function() { - var h = v.getItemCount(); - if (h > 0) { - var O = v.getState(), I = O.highlightedIndex, k = $r(I, 1, { - length: h - }, v.isItemDisabled, !0); - v.setHighlightedIndex(k, { - type: Pi + var b = y.getItemCount(); + if (b > 0) { + var _ = y.getState(), E = _.highlightedIndex, B = Vn(E, 1, { + length: b + }, y.isItemDisabled, !0); + y.setHighlightedIndex(B, { + type: ba }); } }); }, - ArrowUp: function(s) { - var v = this; - if (s.preventDefault(), this.getState().isOpen) { - var p = s.shiftKey ? -5 : -1; - this.moveHighlightedIndex(p, { - type: Ei + ArrowUp: function(u) { + var y = this; + if (u.preventDefault(), this.getState().isOpen) { + var d = u.shiftKey ? -5 : -1; + this.moveHighlightedIndex(d, { + type: va }); } else this.internalSetState({ isOpen: !0, - type: Ei + type: va }, function() { - var h = v.getItemCount(); - if (h > 0) { - var O = v.getState(), I = O.highlightedIndex, k = $r(I, -1, { - length: h - }, v.isItemDisabled, !0); - v.setHighlightedIndex(k, { - type: Ei + var b = y.getItemCount(); + if (b > 0) { + var _ = y.getState(), E = _.highlightedIndex, B = Vn(E, -1, { + length: b + }, y.isItemDisabled, !0); + y.setHighlightedIndex(B, { + type: va }); } }); }, - Enter: function(s) { - if (s.which !== 229) { - var v = this.getState(), p = v.isOpen, h = v.highlightedIndex; - if (p && h != null) { - s.preventDefault(); - var O = this.items[h], I = this.getItemNodeFromIndex(h); - if (O == null || I && I.hasAttribute("disabled")) + Enter: function(u) { + if (u.which !== 229) { + var y = this.getState(), d = y.isOpen, b = y.highlightedIndex; + if (d && b != null) { + u.preventDefault(); + var _ = this.items[b], E = this.getItemNodeFromIndex(b); + if (_ == null || E && E.hasAttribute("disabled")) return; this.selectHighlightedItem({ - type: v2 + type: Tp }); } } }, - Escape: function(s) { - s.preventDefault(), this.reset(dt({ - type: g2 + Escape: function(u) { + u.preventDefault(), this.reset(it({ + type: Op }, !this.state.isOpen && { selectedItem: null, inputValue: "" })); } - }, x.buttonKeyDownHandlers = dt({}, x.keyDownHandlers, { - " ": function(s) { - s.preventDefault(), this.toggleMenu({ - type: M2 + }, g.buttonKeyDownHandlers = it({}, g.keyDownHandlers, { + " ": function(u) { + u.preventDefault(), this.toggleMenu({ + type: Rp }); } - }), x.inputKeyDownHandlers = dt({}, x.keyDownHandlers, { - Home: function(s) { - var v = this.getState(), p = v.isOpen; - if (p) { - s.preventDefault(); - var h = this.getItemCount(); - if (!(h <= 0 || !p)) { - var O = _n(0, !1, { - length: h + }), g.inputKeyDownHandlers = it({}, g.keyDownHandlers, { + Home: function(u) { + var y = this.getState(), d = y.isOpen; + if (d) { + u.preventDefault(); + var b = this.getItemCount(); + if (!(b <= 0 || !d)) { + var _ = Lr(0, !1, { + length: b }, this.isItemDisabled); - this.setHighlightedIndex(O, { - type: b2 + this.setHighlightedIndex(_, { + type: Ap }); } } }, - End: function(s) { - var v = this.getState(), p = v.isOpen; - if (p) { - s.preventDefault(); - var h = this.getItemCount(); - if (!(h <= 0 || !p)) { - var O = _n(h - 1, !0, { - length: h + End: function(u) { + var y = this.getState(), d = y.isOpen; + if (d) { + u.preventDefault(); + var b = this.getItemCount(); + if (!(b <= 0 || !d)) { + var _ = Lr(b - 1, !0, { + length: b }, this.isItemDisabled); - this.setHighlightedIndex(O, { - type: w2 + this.setHighlightedIndex(_, { + type: Lp }); } } } - }), x.getToggleButtonProps = function(l) { - var s = l === void 0 ? {} : l, v = s.onClick; - s.onPress; - var p = s.onKeyDown, h = s.onKeyUp, O = s.onBlur, I = wr(s, S9), k = x.getState(), R = k.isOpen, L = { - onClick: Nt(v, x.buttonHandleClick), - onKeyDown: Nt(p, x.buttonHandleKeyDown), - onKeyUp: Nt(h, x.buttonHandleKeyUp), - onBlur: Nt(O, x.buttonHandleBlur) - }, N = I.disabled ? {} : L; - return dt({ + }), g.getToggleButtonProps = function(l) { + var u = l === void 0 ? {} : l, y = u.onClick; + u.onPress; + var d = u.onKeyDown, b = u.onKeyUp, _ = u.onBlur, E = Sn(u, pC), B = g.getState(), O = B.isOpen, I = { + onClick: Pt(y, g.buttonHandleClick), + onKeyDown: Pt(d, g.buttonHandleKeyDown), + onKeyUp: Pt(b, g.buttonHandleKeyUp), + onBlur: Pt(_, g.buttonHandleBlur) + }, x = E.disabled ? {} : I; + return it({ type: "button", role: "button", - "aria-label": R ? "close menu" : "open menu", + "aria-label": O ? "close menu" : "open menu", "aria-haspopup": !0, "data-toggle": !0 - }, N, I); - }, x.buttonHandleKeyUp = function(l) { + }, x, E); + }, g.buttonHandleKeyUp = function(l) { l.preventDefault(); - }, x.buttonHandleKeyDown = function(l) { - var s = oo(l); - x.buttonKeyDownHandlers[s] && x.buttonKeyDownHandlers[s].call(x, l); - }, x.buttonHandleClick = function(l) { - if (l.preventDefault(), x.props.environment) { - var s = x.props.environment.document, v = s.body, p = s.activeElement; - v && v === p && l.target.focus(); - } - process.env.NODE_ENV === "test" ? x.toggleMenu({ - type: Ya - }) : x.internalSetTimeout(function() { - return x.toggleMenu({ - type: Ya + }, g.buttonHandleKeyDown = function(l) { + var u = Io(l); + g.buttonKeyDownHandlers[u] && g.buttonKeyDownHandlers[u].call(g, l); + }, g.buttonHandleClick = function(l) { + if (l.preventDefault(), g.props.environment) { + var u = g.props.environment.document, y = u.body, d = u.activeElement; + y && y === d && l.target.focus(); + } + process.env.NODE_ENV === "test" ? g.toggleMenu({ + type: mc + }) : g.internalSetTimeout(function() { + return g.toggleMenu({ + type: mc }); }); - }, x.buttonHandleBlur = function(l) { - var s = l.target; - x.internalSetTimeout(function() { - if (!(x.isMouseDown || !x.props.environment)) { - var v = x.props.environment.document.activeElement; - (v == null || v.id !== x.inputId) && v !== s && x.reset({ - type: x2 + }, g.buttonHandleBlur = function(l) { + var u = l.target; + g.internalSetTimeout(function() { + if (!(g.isMouseDown || !g.props.environment)) { + var y = g.props.environment.document.activeElement; + (y == null || y.id !== g.inputId) && y !== u && g.reset({ + type: kp }); } }); - }, x.getLabelProps = function(l) { - return dt({ - htmlFor: x.inputId, - id: x.labelId + }, g.getLabelProps = function(l) { + return it({ + htmlFor: g.inputId, + id: g.labelId }, l); - }, x.getInputProps = function(l) { - var s = l === void 0 ? {} : l, v = s.onKeyDown, p = s.onBlur, h = s.onChange, O = s.onInput; - s.onChangeText; - var I = wr(s, M9), k, R = {}; - k = "onChange"; - var L = x.getState(), N = L.inputValue, B = L.isOpen, H = L.highlightedIndex; - if (!I.disabled) { - var U; - R = (U = {}, U[k] = Nt(h, O, x.inputHandleChange), U.onKeyDown = Nt(v, x.inputHandleKeyDown), U.onBlur = Nt(p, x.inputHandleBlur), U); + }, g.getInputProps = function(l) { + var u = l === void 0 ? {} : l, y = u.onKeyDown, d = u.onBlur, b = u.onChange, _ = u.onInput; + u.onChangeText; + var E = Sn(u, hC), B, O = {}; + B = "onChange"; + var I = g.getState(), x = I.inputValue, A = I.isOpen, N = I.highlightedIndex; + if (!E.disabled) { + var k; + O = (k = {}, k[B] = Pt(b, _, g.inputHandleChange), k.onKeyDown = Pt(y, g.inputHandleKeyDown), k.onBlur = Pt(d, g.inputHandleBlur), k); } - return dt({ + return it({ "aria-autocomplete": "list", - "aria-activedescendant": B && typeof H == "number" && H >= 0 ? x.getItemId(H) : void 0, - "aria-controls": B ? x.menuId : void 0, - "aria-labelledby": I && I["aria-label"] ? void 0 : x.labelId, + "aria-activedescendant": A && typeof N == "number" && N >= 0 ? g.getItemId(N) : void 0, + "aria-controls": A ? g.menuId : void 0, + "aria-labelledby": E && E["aria-label"] ? void 0 : g.labelId, // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion // revert back since autocomplete="nope" is ignored on latest Chrome and Opera autoComplete: "off", - value: N, - id: x.inputId - }, R, I); - }, x.inputHandleKeyDown = function(l) { - var s = oo(l); - s && x.inputKeyDownHandlers[s] && x.inputKeyDownHandlers[s].call(x, l); - }, x.inputHandleChange = function(l) { - x.internalSetState({ - type: S2, + value: x, + id: g.inputId + }, O, E); + }, g.inputHandleKeyDown = function(l) { + var u = Io(l); + u && g.inputKeyDownHandlers[u] && g.inputKeyDownHandlers[u].call(g, l); + }, g.inputHandleChange = function(l) { + g.internalSetState({ + type: Bp, isOpen: !0, inputValue: l.target.value, - highlightedIndex: x.props.defaultHighlightedIndex + highlightedIndex: g.props.defaultHighlightedIndex }); - }, x.inputHandleBlur = function() { - x.internalSetTimeout(function() { + }, g.inputHandleBlur = function() { + g.internalSetTimeout(function() { var l; - if (!(x.isMouseDown || !x.props.environment)) { - var s = x.props.environment.document.activeElement, v = (s == null || (l = s.dataset) == null ? void 0 : l.toggle) && x._rootNode && x._rootNode.contains(s); - v || x.reset({ - type: _2 + if (!(g.isMouseDown || !g.props.environment)) { + var u = g.props.environment.document.activeElement, y = (u == null || (l = u.dataset) == null ? void 0 : l.toggle) && g._rootNode && g._rootNode.contains(u); + y || g.reset({ + type: Np }); } }); - }, x.menuRef = function(l) { - x._menuNode = l; - }, x.getMenuProps = function(l, s) { - var v, p = l === void 0 ? {} : l, h = p.refKey, O = h === void 0 ? "ref" : h, I = p.ref, k = wr(p, x9), R = s === void 0 ? {} : s, L = R.suppressRefError, N = L === void 0 ? !1 : L; - return x.getMenuProps.called = !0, x.getMenuProps.refKey = O, x.getMenuProps.suppressRefError = N, dt((v = {}, v[O] = Jr(I, x.menuRef), v.role = "listbox", v["aria-labelledby"] = k && k["aria-label"] ? void 0 : x.labelId, v.id = x.menuId, v), k); - }, x.getItemProps = function(l) { - var s, v = l === void 0 ? {} : l, p = v.onMouseMove, h = v.onMouseDown, O = v.onClick; - v.onPress; - var I = v.index, k = v.item, R = k === void 0 ? process.env.NODE_ENV === "production" ? ( + }, g.menuRef = function(l) { + g._menuNode = l; + }, g.getMenuProps = function(l, u) { + var y, d = l === void 0 ? {} : l, b = d.refKey, _ = b === void 0 ? "ref" : b, E = d.ref, B = Sn(d, yC), O = u === void 0 ? {} : u, I = O.suppressRefError, x = I === void 0 ? !1 : I; + return g.getMenuProps.called = !0, g.getMenuProps.refKey = _, g.getMenuProps.suppressRefError = x, it((y = {}, y[_] = Dn(E, g.menuRef), y.role = "listbox", y["aria-labelledby"] = B && B["aria-label"] ? void 0 : g.labelId, y.id = g.menuId, y), B); + }, g.getItemProps = function(l) { + var u, y = l === void 0 ? {} : l, d = y.onMouseMove, b = y.onMouseDown, _ = y.onClick; + y.onPress; + var E = y.index, B = y.item, O = B === void 0 ? process.env.NODE_ENV === "production" ? ( /* istanbul ignore next */ void 0 - ) : y9("getItemProps", "item") : k, L = wr(v, E9); - I === void 0 ? (x.items.push(R), I = x.items.indexOf(R)) : x.items[I] = R; - var N = "onClick", B = O, H = (s = { + ) : aC("getItemProps", "item") : B, I = Sn(y, mC); + E === void 0 ? (g.items.push(O), E = g.items.indexOf(O)) : g.items[E] = O; + var x = "onClick", A = _, N = (u = { // onMouseMove is used over onMouseEnter here. onMouseMove // is only triggered on actual mouse movement while onMouseEnter // can fire on DOM changes, interrupting keyboard navigation - onMouseMove: Nt(p, function() { - I !== x.getState().highlightedIndex && (x.setHighlightedIndex(I, { - type: y2 - }), x.avoidScrolling = !0, x.internalSetTimeout(function() { - return x.avoidScrolling = !1; + onMouseMove: Pt(d, function() { + E !== g.getState().highlightedIndex && (g.setHighlightedIndex(E, { + type: Pp + }), g.avoidScrolling = !0, g.internalSetTimeout(function() { + return g.avoidScrolling = !1; }, 250)); }), - onMouseDown: Nt(h, function(S) { - S.preventDefault(); + onMouseDown: Pt(b, function(j) { + j.preventDefault(); }) - }, s[N] = Nt(B, function() { - x.selectItemAtIndex(I, { - type: C2 + }, u[x] = Pt(A, function() { + g.selectItemAtIndex(E, { + type: Ip }); - }), s), U = L.disabled ? { - onMouseDown: H.onMouseDown - } : H; - return dt({ - id: x.getItemId(I), + }), u), k = I.disabled ? { + onMouseDown: N.onMouseDown + } : N; + return it({ + id: g.getItemId(E), role: "option", - "aria-selected": x.getState().highlightedIndex === I - }, U, L); - }, x.clearItems = function() { - x.items = []; - }, x.reset = function(l, s) { - l === void 0 && (l = {}), l = mi(l), x.internalSetState(function(v) { - var p = v.selectedItem; - return dt({ - isOpen: x.props.defaultIsOpen, - highlightedIndex: x.props.defaultHighlightedIndex, - inputValue: x.props.itemToString(p) + "aria-selected": g.getState().highlightedIndex === E + }, k, I); + }, g.clearItems = function() { + g.items = []; + }, g.reset = function(l, u) { + l === void 0 && (l = {}), l = ia(l), g.internalSetState(function(y) { + var d = y.selectedItem; + return it({ + isOpen: g.props.defaultIsOpen, + highlightedIndex: g.props.defaultHighlightedIndex, + inputValue: g.props.itemToString(d) }, l); - }, s); - }, x.toggleMenu = function(l, s) { - l === void 0 && (l = {}), l = mi(l), x.internalSetState(function(v) { - var p = v.isOpen; - return dt({ - isOpen: !p - }, p && { - highlightedIndex: x.props.defaultHighlightedIndex + }, u); + }, g.toggleMenu = function(l, u) { + l === void 0 && (l = {}), l = ia(l), g.internalSetState(function(y) { + var d = y.isOpen; + return it({ + isOpen: !d + }, d && { + highlightedIndex: g.props.defaultHighlightedIndex }, l); }, function() { - var v = x.getState(), p = v.isOpen, h = v.highlightedIndex; - p && x.getItemCount() > 0 && typeof h == "number" && x.setHighlightedIndex(h, l), Xu(s)(); + var y = g.getState(), d = y.isOpen, b = y.highlightedIndex; + d && g.getItemCount() > 0 && typeof b == "number" && g.setHighlightedIndex(b, l), i2(u)(); }); - }, x.openMenu = function(l) { - x.internalSetState({ + }, g.openMenu = function(l) { + g.internalSetState({ isOpen: !0 }, l); - }, x.closeMenu = function(l) { - x.internalSetState({ + }, g.closeMenu = function(l) { + g.internalSetState({ isOpen: !1 }, l); - }, x.updateStatus = oa(function() { + }, g.updateStatus = cs(function() { var l; - if ((l = x.props) != null && (l = l.environment) != null && l.document) { - var s = x.getState(), v = x.items[s.highlightedIndex], p = x.getItemCount(), h = x.props.getA11yStatusMessage(dt({ - itemToString: x.props.itemToString, - previousResultCount: x.previousResultCount, - resultCount: p, - highlightedItem: v - }, s)); - x.previousResultCount = p, h2(h, x.props.environment.document); + if ((l = g.props) != null && (l = l.environment) != null && l.document) { + var u = g.getState(), y = g.items[u.highlightedIndex], d = g.getItemCount(), b = g.props.getA11yStatusMessage(it({ + itemToString: g.props.itemToString, + previousResultCount: g.previousResultCount, + resultCount: d, + highlightedItem: y + }, u)); + g.previousResultCount = d, Ep(b, g.props.environment.document); } }, 200); - var n = x.props, c = n.defaultHighlightedIndex, r = n.initialHighlightedIndex, a = r === void 0 ? c : r, i = n.defaultIsOpen, m = n.initialIsOpen, t = m === void 0 ? i : m, f = n.initialInputValue, b = f === void 0 ? "" : f, y = n.initialSelectedItem, u = y === void 0 ? null : y, d = x.getState({ - highlightedIndex: a, - isOpen: t, - inputValue: b, - selectedItem: u + var n = g.props, s = n.defaultHighlightedIndex, r = n.initialHighlightedIndex, o = r === void 0 ? s : r, i = n.defaultIsOpen, p = n.initialIsOpen, a = p === void 0 ? i : p, f = n.initialInputValue, C = f === void 0 ? "" : f, w = n.initialSelectedItem, m = w === void 0 ? null : w, v = g.getState({ + highlightedIndex: o, + isOpen: a, + inputValue: C, + selectedItem: m }); - return d.selectedItem != null && x.props.initialInputValue === void 0 && (d.inputValue = x.props.itemToString(d.selectedItem)), x.state = d, x; + return v.selectedItem != null && g.props.initialInputValue === void 0 && (v.inputValue = g.props.itemToString(v.selectedItem)), g.state = v, g; } - t9(g, o); - var C = g.prototype; - return C.internalClearTimeouts = function() { - this.timeoutIds.forEach(function(x) { - clearTimeout(x); + Ww(c, t); + var h = c.prototype; + return h.internalClearTimeouts = function() { + this.timeoutIds.forEach(function(g) { + clearTimeout(g); }), this.timeoutIds = []; - }, C.getState = function(x) { - return x === void 0 && (x = this.state), Ho(x, this.props); - }, C.getItemCount = function() { - var x = this.items.length; - return this.itemCount != null ? x = this.itemCount : this.props.itemCount !== void 0 && (x = this.props.itemCount), x; - }, C.getItemNodeFromIndex = function(x) { - return this.props.environment ? this.props.environment.document.getElementById(this.getItemId(x)) : null; - }, C.scrollHighlightedItemIntoView = function() { + }, h.getState = function(g) { + return g === void 0 && (g = this.state), bi(g, this.props); + }, h.getItemCount = function() { + var g = this.items.length; + return this.itemCount != null ? g = this.itemCount : this.props.itemCount !== void 0 && (g = this.props.itemCount), g; + }, h.getItemNodeFromIndex = function(g) { + return this.props.environment ? this.props.environment.document.getElementById(this.getItemId(g)) : null; + }, h.scrollHighlightedItemIntoView = function() { { - var x = this.getItemNodeFromIndex(this.getState().highlightedIndex); - this.props.scrollIntoView(x, this._menuNode); + var g = this.getItemNodeFromIndex(this.getState().highlightedIndex); + this.props.scrollIntoView(g, this._menuNode); } - }, C.moveHighlightedIndex = function(x, n) { - var c = this.getItemCount(), r = this.getState(), a = r.highlightedIndex; - if (c > 0) { - var i = $r(a, x, { - length: c + }, h.moveHighlightedIndex = function(g, n) { + var s = this.getItemCount(), r = this.getState(), o = r.highlightedIndex; + if (s > 0) { + var i = Vn(o, g, { + length: s }, this.isItemDisabled, !0); this.setHighlightedIndex(i, n); } - }, C.getStateAndHelpers = function() { - var x = this.getState(), n = x.highlightedIndex, c = x.inputValue, r = x.selectedItem, a = x.isOpen, i = this.props.itemToString, m = this.id, t = this.getRootProps, f = this.getToggleButtonProps, b = this.getLabelProps, y = this.getMenuProps, u = this.getInputProps, d = this.getItemProps, l = this.openMenu, s = this.closeMenu, v = this.toggleMenu, p = this.selectItem, h = this.selectItemAtIndex, O = this.selectHighlightedItem, I = this.setHighlightedIndex, k = this.clearSelection, R = this.clearItems, L = this.reset, N = this.setItemCount, B = this.unsetItemCount, H = this.internalSetState; + }, h.getStateAndHelpers = function() { + var g = this.getState(), n = g.highlightedIndex, s = g.inputValue, r = g.selectedItem, o = g.isOpen, i = this.props.itemToString, p = this.id, a = this.getRootProps, f = this.getToggleButtonProps, C = this.getLabelProps, w = this.getMenuProps, m = this.getInputProps, v = this.getItemProps, l = this.openMenu, u = this.closeMenu, y = this.toggleMenu, d = this.selectItem, b = this.selectItemAtIndex, _ = this.selectHighlightedItem, E = this.setHighlightedIndex, B = this.clearSelection, O = this.clearItems, I = this.reset, x = this.setItemCount, A = this.unsetItemCount, N = this.internalSetState; return { // prop getters - getRootProps: t, + getRootProps: a, getToggleButtonProps: f, - getLabelProps: b, - getMenuProps: y, - getInputProps: u, - getItemProps: d, + getLabelProps: C, + getMenuProps: w, + getInputProps: m, + getItemProps: v, // actions - reset: L, + reset: I, openMenu: l, - closeMenu: s, - toggleMenu: v, - selectItem: p, - selectItemAtIndex: h, - selectHighlightedItem: O, - setHighlightedIndex: I, - clearSelection: k, - clearItems: R, - setItemCount: N, - unsetItemCount: B, - setState: H, + closeMenu: u, + toggleMenu: y, + selectItem: d, + selectItemAtIndex: b, + selectHighlightedItem: _, + setHighlightedIndex: E, + clearSelection: B, + clearItems: O, + setItemCount: x, + unsetItemCount: A, + setState: N, // props itemToString: i, // derived - id: m, + id: p, // state highlightedIndex: n, - inputValue: c, - isOpen: a, + inputValue: s, + isOpen: o, selectedItem: r }; - }, C.componentDidMount = function() { - var x = this; - if (process.env.NODE_ENV !== "production" && this.getMenuProps.called && !this.getMenuProps.suppressRefError && ec(this._menuNode, this.getMenuProps), !this.props.environment) + }, h.componentDidMount = function() { + var g = this; + if (process.env.NODE_ENV !== "production" && this.getMenuProps.called && !this.getMenuProps.suppressRefError && c2(this._menuNode, this.getMenuProps), !this.props.environment) this.cleanup = function() { - x.internalClearTimeouts(); + g.internalClearTimeouts(); }; else { var n = function() { - x.isMouseDown = !0; - }, c = function(f) { - x.isMouseDown = !1; - var b = Hi(f.target, [x._rootNode, x._menuNode], x.props.environment); - !b && x.getState().isOpen && x.reset({ - type: m2 + g.isMouseDown = !0; + }, s = function(f) { + g.isMouseDown = !1; + var C = ja(f.target, [g._rootNode, g._menuNode], g.props.environment); + !C && g.getState().isOpen && g.reset({ + type: Mp }, function() { - return x.props.onOuterClick(x.getStateAndHelpers()); + return g.props.onOuterClick(g.getStateAndHelpers()); }); }, r = function() { - x.isTouchMove = !1; - }, a = function() { - x.isTouchMove = !0; + g.isTouchMove = !1; + }, o = function() { + g.isTouchMove = !0; }, i = function(f) { - var b = Hi(f.target, [x._rootNode, x._menuNode], x.props.environment, !1); - !x.isTouchMove && !b && x.getState().isOpen && x.reset({ - type: P2 + var C = ja(f.target, [g._rootNode, g._menuNode], g.props.environment, !1); + !g.isTouchMove && !C && g.getState().isOpen && g.reset({ + type: jp }, function() { - return x.props.onOuterClick(x.getStateAndHelpers()); + return g.props.onOuterClick(g.getStateAndHelpers()); }); - }, m = this.props.environment; - m.addEventListener("mousedown", n), m.addEventListener("mouseup", c), m.addEventListener("touchstart", r), m.addEventListener("touchmove", a), m.addEventListener("touchend", i), this.cleanup = function() { - x.internalClearTimeouts(), x.updateStatus.cancel(), m.removeEventListener("mousedown", n), m.removeEventListener("mouseup", c), m.removeEventListener("touchstart", r), m.removeEventListener("touchmove", a), m.removeEventListener("touchend", i); + }, p = this.props.environment; + p.addEventListener("mousedown", n), p.addEventListener("mouseup", s), p.addEventListener("touchstart", r), p.addEventListener("touchmove", o), p.addEventListener("touchend", i), this.cleanup = function() { + g.internalClearTimeouts(), g.updateStatus.cancel(), p.removeEventListener("mousedown", n), p.removeEventListener("mouseup", s), p.removeEventListener("touchstart", r), p.removeEventListener("touchmove", o), p.removeEventListener("touchend", i); }; } - }, C.shouldScroll = function(x, n) { - var c = this.props.highlightedIndex === void 0 ? this.getState() : this.props, r = c.highlightedIndex, a = n.highlightedIndex === void 0 ? x : n, i = a.highlightedIndex, m = r && this.getState().isOpen && !x.isOpen, t = r !== i; - return m || t; - }, C.componentDidUpdate = function(x, n) { - process.env.NODE_ENV !== "production" && (Ss(this.state, x, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && ec(this._menuNode, this.getMenuProps)), Bi(this.props, "selectedItem") && this.props.selectedItemChanged(x.selectedItem, this.props.selectedItem) && this.internalSetState({ - type: E2, + }, h.shouldScroll = function(g, n) { + var s = this.props.highlightedIndex === void 0 ? this.getState() : this.props, r = s.highlightedIndex, o = n.highlightedIndex === void 0 ? g : n, i = o.highlightedIndex, p = r && this.getState().isOpen && !g.isOpen, a = r !== i; + return p || a; + }, h.componentDidUpdate = function(g, n) { + process.env.NODE_ENV !== "production" && (ru(this.state, g, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && c2(this._menuNode, this.getMenuProps)), Ha(this.props, "selectedItem") && this.props.selectedItemChanged(g.selectedItem, this.props.selectedItem) && this.internalSetState({ + type: Hp, inputValue: this.props.itemToString(this.props.selectedItem) - }), !this.avoidScrolling && this.shouldScroll(n, x) && this.scrollHighlightedItemIntoView(), this.updateStatus(); - }, C.componentWillUnmount = function() { + }), !this.avoidScrolling && this.shouldScroll(n, g) && this.scrollHighlightedItemIntoView(), this.updateStatus(); + }, h.componentWillUnmount = function() { this.cleanup(); - }, C.render = function() { - var x = Qu(this.props.children, br); + }, h.render = function() { + var g = s2(this.props.children, Cn); this.clearItems(), this.getRootProps.called = !1, this.getRootProps.refKey = void 0, this.getRootProps.suppressRefError = void 0, this.getMenuProps.called = !1, this.getMenuProps.refKey = void 0, this.getMenuProps.suppressRefError = void 0, this.getLabelProps.called = !1, this.getInputProps.called = !1; - var n = Qu(x(this.getStateAndHelpers())); + var n = s2(g(this.getStateAndHelpers())); if (!n) return null; if (this.getRootProps.called || this.props.suppressRefError) - return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && P9(n, this.getRootProps), n; - if (l2(n)) - return /* @__PURE__ */ Xc(n, this.getRootProps(d2(n))); + return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && gC(n, this.getRootProps), n; + if (Cp(n)) + return /* @__PURE__ */ od(n, this.getRootProps(Sp(n))); if (process.env.NODE_ENV !== "production") throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function"); - }, g; - }(af); + }, c; + }(lh); return e.defaultProps = { defaultHighlightedIndex: null, defaultIsOpen: !1, - getA11yStatusMessage: m9, - itemToString: function(g) { - return g == null ? "" : (process.env.NODE_ENV !== "production" && v9(g) && !g.hasOwnProperty("toString") && console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.", "The object that was passed:", g), String(g)); + getA11yStatusMessage: iC, + itemToString: function(c) { + return c == null ? "" : (process.env.NODE_ENV !== "production" && cC(c) && !c.hasOwnProperty("toString") && console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.", "The object that was passed:", c), String(c)); }, - onStateChange: br, - onInputValueChange: br, - onUserAction: br, - onChange: br, - onSelect: br, - onOuterClick: br, - selectedItemChanged: function(g, C) { - return g !== C; + onStateChange: Cn, + onInputValueChange: Cn, + onUserAction: Cn, + onChange: Cn, + onSelect: Cn, + onOuterClick: Cn, + selectedItemChanged: function(c, h) { + return c !== h; }, environment: ( /* istanbul ignore next (ssr) */ typeof window > "u" ? void 0 : window ), - stateReducer: function(g, C) { - return C; + stateReducer: function(c, h) { + return h; }, suppressRefError: !1, - scrollIntoView: u2 - }, e.stateChangeTypes = C9, e; + scrollIntoView: bp + }, e.stateChangeTypes = dC, e; }(); -process.env.NODE_ENV !== "production" && (A2.propTypes = { - children: Ke.func, - defaultHighlightedIndex: Ke.number, - defaultIsOpen: Ke.bool, - initialHighlightedIndex: Ke.number, - initialSelectedItem: Ke.any, - initialInputValue: Ke.string, - initialIsOpen: Ke.bool, - getA11yStatusMessage: Ke.func, - itemToString: Ke.func, - onChange: Ke.func, - onSelect: Ke.func, - onStateChange: Ke.func, - onInputValueChange: Ke.func, - onUserAction: Ke.func, - onOuterClick: Ke.func, - selectedItemChanged: Ke.func, - stateReducer: Ke.func, - itemCount: Ke.number, - id: Ke.string, - environment: Ke.shape({ - addEventListener: Ke.func.isRequired, - removeEventListener: Ke.func.isRequired, - document: Ke.shape({ - createElement: Ke.func.isRequired, - getElementById: Ke.func.isRequired, - activeElement: Ke.any.isRequired, - body: Ke.any.isRequired +process.env.NODE_ENV !== "production" && (Dp.propTypes = { + children: We.func, + defaultHighlightedIndex: We.number, + defaultIsOpen: We.bool, + initialHighlightedIndex: We.number, + initialSelectedItem: We.any, + initialInputValue: We.string, + initialIsOpen: We.bool, + getA11yStatusMessage: We.func, + itemToString: We.func, + onChange: We.func, + onSelect: We.func, + onStateChange: We.func, + onInputValueChange: We.func, + onUserAction: We.func, + onOuterClick: We.func, + selectedItemChanged: We.func, + stateReducer: We.func, + itemCount: We.number, + id: We.string, + environment: We.shape({ + addEventListener: We.func.isRequired, + removeEventListener: We.func.isRequired, + document: We.shape({ + createElement: We.func.isRequired, + getElementById: We.func.isRequired, + activeElement: We.any.isRequired, + body: We.any.isRequired }).isRequired, - Node: Ke.func.isRequired + Node: We.func.isRequired }), - suppressRefError: Ke.bool, - scrollIntoView: Ke.func, + suppressRefError: We.bool, + scrollIntoView: We.func, // things we keep in state for uncontrolled components // but can accept as props for controlled components /* eslint-disable react/no-unused-prop-types */ - selectedItem: Ke.any, - isOpen: Ke.bool, - inputValue: Ke.string, - highlightedIndex: Ke.number, - labelId: Ke.string, - inputId: Ke.string, - menuId: Ke.string, - getItemId: Ke.func + selectedItem: We.any, + isOpen: We.bool, + inputValue: We.string, + highlightedIndex: We.number, + labelId: We.string, + inputId: We.string, + menuId: We.string, + getItemId: We.func /* eslint-enable react/no-unused-prop-types */ }); -function ec(e, o) { - var g = o.refKey; - e || console.error('downshift: The ref prop "' + g + '" from getMenuProps was not applied correctly on your menu element.'); +function c2(e, t) { + var c = t.refKey; + e || console.error('downshift: The ref prop "' + c + '" from getMenuProps was not applied correctly on your menu element.'); } -function P9(e, o) { - var g = o.refKey, C = g !== "ref", P = !l2(e); - P && !C && !Gu.isForwardRef(e) ? console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps") : !P && C && console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "' + g + '"'), !Gu.isForwardRef(e) && !d2(e)[g] && console.error('downshift: You must apply the ref prop "' + g + '" from getRootProps onto your root element.'); +function gC(e, t) { + var c = t.refKey, h = c !== "ref", S = !Cp(e); + S && !h && !n2.isForwardRef(e) ? console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps") : !S && h && console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "' + c + '"'), !n2.isForwardRef(e) && !Sp(e)[c] && console.error('downshift: You must apply the ref prop "' + c + '" from getRootProps onto your root element.'); } -var O2 = { +var Vp = { highlightedIndex: -1, isOpen: !1, selectedItem: null, inputValue: "" }; -function A9(e, o, g) { - var C = e.props, P = e.type, x = {}; - Object.keys(o).forEach(function(n) { - O9(n, e, o, g), g[n] !== o[n] && (x[n] = g[n]); - }), C.onStateChange && Object.keys(x).length && C.onStateChange(dt({ - type: P - }, x)); -} -function O9(e, o, g, C) { - var P = o.props, x = o.type, n = "on" + xs(e) + "Change"; - P[n] && C[e] !== void 0 && C[e] !== g[e] && P[n](dt({ - type: x - }, C)); -} -function T9(e, o) { - return o.changes; -} -var tc = oa(function(e, o) { - h2(e, o); -}, 200), I9 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yc : vt, T2 = "useId" in St ? function(o) { - var g = o.id, C = o.labelId, P = o.menuId, x = o.getItemId, n = o.toggleButtonId, c = o.inputId, r = "downshift-" + St.useId(); - g || (g = r); - var a = wt({ - labelId: C || g + "-label", - menuId: P || g + "-menu", - getItemId: x || function(i) { - return g + "-item-" + i; +function vC(e, t, c) { + var h = e.props, S = e.type, g = {}; + Object.keys(t).forEach(function(n) { + bC(n, e, t, c), c[n] !== t[n] && (g[n] = c[n]); + }), h.onStateChange && Object.keys(g).length && h.onStateChange(it({ + type: S + }, g)); +} +function bC(e, t, c, h) { + var S = t.props, g = t.type, n = "on" + iu(e) + "Change"; + S[n] && h[e] !== void 0 && h[e] !== c[e] && S[n](it({ + type: g + }, h)); +} +function wC(e, t) { + return t.changes; +} +var u2 = cs(function(e, t) { + Ep(e, t); +}, 200), CC = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? id : Ze, Up = "useId" in yt ? function(t) { + var c = t.id, h = t.labelId, S = t.menuId, g = t.getItemId, n = t.toggleButtonId, s = t.inputId, r = "downshift-" + yt.useId(); + c || (c = r); + var o = Qe({ + labelId: h || c + "-label", + menuId: S || c + "-menu", + getItemId: g || function(i) { + return c + "-item-" + i; }, - toggleButtonId: n || g + "-toggle-button", - inputId: c || g + "-input" + toggleButtonId: n || c + "-toggle-button", + inputId: s || c + "-input" }); - return a.current; -} : function(o) { - var g = o.id, C = g === void 0 ? "downshift-" + c2() : g, P = o.labelId, x = o.menuId, n = o.getItemId, c = o.toggleButtonId, r = o.inputId, a = wt({ - labelId: P || C + "-label", - menuId: x || C + "-menu", + return o.current; +} : function(t) { + var c = t.id, h = c === void 0 ? "downshift-" + wp() : c, S = t.labelId, g = t.menuId, n = t.getItemId, s = t.toggleButtonId, r = t.inputId, o = Qe({ + labelId: S || h + "-label", + menuId: g || h + "-menu", getItemId: n || function(i) { - return C + "-item-" + i; + return h + "-item-" + i; }, - toggleButtonId: c || C + "-toggle-button", - inputId: r || C + "-input" + toggleButtonId: s || h + "-toggle-button", + inputId: r || h + "-input" }); - return a.current; + return o.current; }; -function Ms(e, o, g, C) { - var P, x; +function ou(e, t, c, h) { + var S, g; if (e === void 0) { - if (o === void 0) - throw new Error(C); - P = g[o], x = o; + if (t === void 0) + throw new Error(h); + S = c[t], g = t; } else - x = o === void 0 ? g.indexOf(e) : o, P = e; - return [P, x]; + g = t === void 0 ? c.indexOf(e) : t, S = e; + return [S, g]; } -function N9(e) { +function SC(e) { return /^\S{1}$/.test(e); } -function xs(e) { +function iu(e) { return "" + e.slice(0, 1).toUpperCase() + e.slice(1); } -function ia(e) { - var o = wt(e); - return o.current = e, o; -} -function I2(e, o, g, C) { - var P = wt(), x = wt(), n = ot(function(f, b) { - x.current = b, f = Ho(f, b.props); - var y = e(f, b), u = b.props.stateReducer(f, dt({}, b, { - changes: y +function us(e) { + var t = Qe(e); + return t.current = e, t; +} +function Fp(e, t, c, h) { + var S = Qe(), g = Qe(), n = rt(function(f, C) { + g.current = C, f = bi(f, C.props); + var w = e(f, C), m = C.props.stateReducer(f, it({}, C, { + changes: w })); - return u; - }, [e]), c = Zc(n, o, g), r = c[0], a = c[1], i = ia(o), m = ot(function(f) { - return a(dt({ + return m; + }, [e]), s = _c(n, t, c), r = s[0], o = s[1], i = us(t), p = rt(function(f) { + return o(it({ props: i.current }, f)); - }, [i]), t = x.current; - return vt(function() { - var f = Ho(P.current, t?.props), b = t && P.current && !C(f, r); - b && A9(t, f, r), P.current = r; - }, [r, t, C]), [r, m]; -} -function N2(e, o, g, C) { - var P = I2(e, o, g, C), x = P[0], n = P[1]; - return [Ho(x, o), n]; -} -var Po = { - itemToString: function(o) { - return o ? String(o) : ""; + }, [i]), a = g.current; + return Ze(function() { + var f = bi(S.current, a?.props), C = a && S.current && !h(f, r); + C && vC(a, f, r), S.current = r; + }, [r, a, h]), [r, p]; +} +function zp(e, t, c, h) { + var S = Fp(e, t, c, h), g = S[0], n = S[1]; + return [bi(g, t), n]; +} +var li = { + itemToString: function(t) { + return t ? String(t) : ""; }, - itemToKey: function(o) { - return o; + itemToKey: function(t) { + return t; }, - stateReducer: T9, - scrollIntoView: u2, + stateReducer: wC, + scrollIntoView: bp, environment: ( /* istanbul ignore next (ssr) */ typeof window > "u" ? void 0 : window ) }; -function on(e, o, g) { - g === void 0 && (g = O2); - var C = e["default" + xs(o)]; - return C !== void 0 ? C : g[o]; -} -function On(e, o, g) { - g === void 0 && (g = O2); - var C = e[o]; - if (C !== void 0) - return C; - var P = e["initial" + xs(o)]; - return P !== void 0 ? P : on(e, o, g); -} -function L2(e) { - var o = On(e, "selectedItem"), g = On(e, "isOpen"), C = L9(e), P = On(e, "inputValue"); +function Xn(e, t, c) { + c === void 0 && (c = Vp); + var h = e["default" + iu(t)]; + return h !== void 0 ? h : c[t]; +} +function Jr(e, t, c) { + c === void 0 && (c = Vp); + var h = e[t]; + if (h !== void 0) + return h; + var S = e["initial" + iu(t)]; + return S !== void 0 ? S : Xn(e, t, c); +} +function Kp(e) { + var t = Jr(e, "selectedItem"), c = Jr(e, "isOpen"), h = _C(e), S = Jr(e, "inputValue"); return { - highlightedIndex: C < 0 && o && g ? e.items.findIndex(function(x) { - return e.itemToKey(x) === e.itemToKey(o); - }) : C, - isOpen: g, - selectedItem: o, - inputValue: P + highlightedIndex: h < 0 && t && c ? e.items.findIndex(function(g) { + return e.itemToKey(g) === e.itemToKey(t); + }) : h, + isOpen: c, + selectedItem: t, + inputValue: S }; } -function Tn(e, o, g) { - var C = e.items, P = e.initialHighlightedIndex, x = e.defaultHighlightedIndex, n = e.isItemDisabled, c = e.itemToKey, r = o.selectedItem, a = o.highlightedIndex; - return C.length === 0 ? -1 : P !== void 0 && a === P && !n(C[P], P) ? P : x !== void 0 && !n(C[x], x) ? x : r ? C.findIndex(function(i) { - return c(r) === c(i); - }) : g < 0 && !n(C[C.length - 1], C.length - 1) ? C.length - 1 : g > 0 && !n(C[0], 0) ? 0 : -1; +function $r(e, t, c) { + var h = e.items, S = e.initialHighlightedIndex, g = e.defaultHighlightedIndex, n = e.isItemDisabled, s = e.itemToKey, r = t.selectedItem, o = t.highlightedIndex; + return h.length === 0 ? -1 : S !== void 0 && o === S && !n(h[S], S) ? S : g !== void 0 && !n(h[g], g) ? g : r ? h.findIndex(function(i) { + return s(r) === s(i); + }) : c < 0 && !n(h[h.length - 1], h.length - 1) ? h.length - 1 : c > 0 && !n(h[0], 0) ? 0 : -1; } -function R2(e, o, g) { - var C = wt({ +function Wp(e, t, c) { + var h = Qe({ isMouseDown: !1, isTouchMove: !1, isTouchEnd: !1 }); - return vt(function() { + return Ze(function() { if (!e) - return br; - var P = g.map(function(i) { + return Cn; + var S = c.map(function(i) { return i.current; }); - function x() { - C.current.isTouchEnd = !1, C.current.isMouseDown = !0; + function g() { + h.current.isTouchEnd = !1, h.current.isMouseDown = !0; } function n(i) { - C.current.isMouseDown = !1, Hi(i.target, P, e) || o(); + h.current.isMouseDown = !1, ja(i.target, S, e) || t(); } - function c() { - C.current.isTouchEnd = !1, C.current.isTouchMove = !1; + function s() { + h.current.isTouchEnd = !1, h.current.isTouchMove = !1; } function r() { - C.current.isTouchMove = !0; + h.current.isTouchMove = !0; } - function a(i) { - C.current.isTouchEnd = !0, !C.current.isTouchMove && !Hi(i.target, P, e, !1) && o(); + function o(i) { + h.current.isTouchEnd = !0, !h.current.isTouchMove && !ja(i.target, S, e, !1) && t(); } - return e.addEventListener("mousedown", x), e.addEventListener("mouseup", n), e.addEventListener("touchstart", c), e.addEventListener("touchmove", r), e.addEventListener("touchend", a), function() { - e.removeEventListener("mousedown", x), e.removeEventListener("mouseup", n), e.removeEventListener("touchstart", c), e.removeEventListener("touchmove", r), e.removeEventListener("touchend", a); + return e.addEventListener("mousedown", g), e.addEventListener("mouseup", n), e.addEventListener("touchstart", s), e.addEventListener("touchmove", r), e.addEventListener("touchend", o), function() { + e.removeEventListener("mousedown", g), e.removeEventListener("mouseup", n), e.removeEventListener("touchstart", s), e.removeEventListener("touchmove", r), e.removeEventListener("touchend", o); }; - }, [g, e, o]), C.current; + }, [c, e, t]), h.current; } -var aa = function() { - return br; +var ls = function() { + return Cn; }; -process.env.NODE_ENV !== "production" && (aa = function() { - for (var o = arguments.length, g = new Array(o), C = 0; C < o; C++) - g[C] = arguments[C]; - var P = wt(g.reduce(function(n, c) { - return n[c] = {}, n; +process.env.NODE_ENV !== "production" && (ls = function() { + for (var t = arguments.length, c = new Array(t), h = 0; h < t; h++) + c[h] = arguments[h]; + var S = Qe(c.reduce(function(n, s) { + return n[s] = {}, n; }, {})); - vt(function() { - Object.keys(P.current).forEach(function(n) { - var c = P.current[n]; - if (!Object.keys(c).length) { + Ze(function() { + Object.keys(S.current).forEach(function(n) { + var s = S.current[n]; + if (!Object.keys(s).length) { console.error("downshift: You forgot to call the " + n + " getter function on your component / element."); return; } - var r = c.suppressRefError, a = c.refKey, i = c.elementRef; - r || i != null && i.current || console.error('downshift: The ref prop "' + a + '" from ' + n + " was not applied correctly on your element."); + var r = s.suppressRefError, o = s.refKey, i = s.elementRef; + r || i != null && i.current || console.error('downshift: The ref prop "' + o + '" from ' + n + " was not applied correctly on your element."); }); }, []); - var x = ot(function(n, c, r, a) { - P.current[n] = { - suppressRefError: c, + var g = rt(function(n, s, r, o) { + S.current[n] = { + suppressRefError: s, refKey: r, - elementRef: a + elementRef: o }; }, []); - return x; + return g; }); -function Es(e, o, g, C) { - C === void 0 && (C = {}); - var P = C.document, x = Go(); - vt(function() { - if (!(!e || x || !P)) { - var n = e(o); - tc(n, P); - } - }, g), vt(function() { +function au(e, t, c, h) { + h === void 0 && (h = {}); + var S = h.document, g = Li(); + Ze(function() { + if (!(!e || g || !S)) { + var n = e(t); + u2(n, S); + } + }, c), Ze(function() { return function() { - tc.cancel(), w9(P); + u2.cancel(), lC(S); }; - }, [P]); -} -function k2(e) { - var o = e.highlightedIndex, g = e.isOpen, C = e.itemRefs, P = e.getItemNodeFromIndex, x = e.menuElement, n = e.scrollIntoView, c = wt(!0); - return I9(function() { - o < 0 || !g || !Object.keys(C.current).length || (c.current === !1 ? c.current = !0 : n(P(o), x)); - }, [o]), c; -} -var sa = br; -process.env.NODE_ENV !== "production" && (sa = function(o) { - var g = o.props, C = o.state, P = wt(g), x = Go(); - vt(function() { - x || (Ss(C, P.current, g), P.current = g); - }, [C, g, x]); + }, [S]); +} +function Jp(e) { + var t = e.highlightedIndex, c = e.isOpen, h = e.itemRefs, S = e.getItemNodeFromIndex, g = e.menuElement, n = e.scrollIntoView, s = Qe(!0); + return CC(function() { + t < 0 || !c || !Object.keys(h.current).length || (s.current === !1 ? s.current = !0 : n(S(t), g)); + }, [t]), s; +} +var ds = Cn; +process.env.NODE_ENV !== "production" && (ds = function(t) { + var c = t.props, h = t.state, S = Qe(c), g = Li(); + Ze(function() { + g || (ru(h, S.current, c), S.current = c); + }, [h, c, g]); }); -function ji(e, o, g) { - var C; - g === void 0 && (g = !0); - var P = ((C = e.items) == null ? void 0 : C.length) && o >= 0; - return dt({ +function Da(e, t, c) { + var h; + c === void 0 && (c = !0); + var S = ((h = e.items) == null ? void 0 : h.length) && t >= 0; + return it({ isOpen: !1, highlightedIndex: -1 - }, P && dt({ - selectedItem: e.items[o], - isOpen: on(e, "isOpen"), - highlightedIndex: on(e, "highlightedIndex") - }, g && { - inputValue: e.itemToString(e.items[o]) + }, S && it({ + selectedItem: e.items[t], + isOpen: Xn(e, "isOpen"), + highlightedIndex: Xn(e, "highlightedIndex") + }, c && { + inputValue: e.itemToString(e.items[t]) })); } -function B2(e, o) { - return e.isOpen === o.isOpen && e.inputValue === o.inputValue && e.highlightedIndex === o.highlightedIndex && e.selectedItem === o.selectedItem; +function $p(e, t) { + return e.isOpen === t.isOpen && e.inputValue === t.inputValue && e.highlightedIndex === t.highlightedIndex && e.selectedItem === t.selectedItem; } -function Go() { - var e = St.useRef(!0); - return St.useEffect(function() { +function Li() { + var e = yt.useRef(!0); + return yt.useEffect(function() { return e.current = !1, function() { e.current = !0; }; }, []), e.current; } -function Di(e) { - var o = on(e, "highlightedIndex"); - return o > -1 && e.isItemDisabled(e.items[o], o) ? -1 : o; -} -function L9(e) { - var o = On(e, "highlightedIndex"); - return o > -1 && e.isItemDisabled(e.items[o], o) ? -1 : o; -} -var Ai = { - environment: Ke.shape({ - addEventListener: Ke.func.isRequired, - removeEventListener: Ke.func.isRequired, - document: Ke.shape({ - createElement: Ke.func.isRequired, - getElementById: Ke.func.isRequired, - activeElement: Ke.any.isRequired, - body: Ke.any.isRequired +function Va(e) { + var t = Xn(e, "highlightedIndex"); + return t > -1 && e.isItemDisabled(e.items[t], t) ? -1 : t; +} +function _C(e) { + var t = Jr(e, "highlightedIndex"); + return t > -1 && e.isItemDisabled(e.items[t], t) ? -1 : t; +} +var wa = { + environment: We.shape({ + addEventListener: We.func.isRequired, + removeEventListener: We.func.isRequired, + document: We.shape({ + createElement: We.func.isRequired, + getElementById: We.func.isRequired, + activeElement: We.any.isRequired, + body: We.any.isRequired }).isRequired, - Node: Ke.func.isRequired + Node: We.func.isRequired }), - itemToString: Ke.func, - itemToKey: Ke.func, - stateReducer: Ke.func -}, H2 = dt({}, Ai, { - getA11yStatusMessage: Ke.func, - highlightedIndex: Ke.number, - defaultHighlightedIndex: Ke.number, - initialHighlightedIndex: Ke.number, - isOpen: Ke.bool, - defaultIsOpen: Ke.bool, - initialIsOpen: Ke.bool, - selectedItem: Ke.any, - initialSelectedItem: Ke.any, - defaultSelectedItem: Ke.any, - id: Ke.string, - labelId: Ke.string, - menuId: Ke.string, - getItemId: Ke.func, - toggleButtonId: Ke.string, - onSelectedItemChange: Ke.func, - onHighlightedIndexChange: Ke.func, - onStateChange: Ke.func, - onIsOpenChange: Ke.func, - scrollIntoView: Ke.func + itemToString: We.func, + itemToKey: We.func, + stateReducer: We.func +}, Gp = it({}, wa, { + getA11yStatusMessage: We.func, + highlightedIndex: We.number, + defaultHighlightedIndex: We.number, + initialHighlightedIndex: We.number, + isOpen: We.bool, + defaultIsOpen: We.bool, + initialIsOpen: We.bool, + selectedItem: We.any, + initialSelectedItem: We.any, + defaultSelectedItem: We.any, + id: We.string, + labelId: We.string, + menuId: We.string, + getItemId: We.func, + toggleButtonId: We.string, + onSelectedItemChange: We.func, + onHighlightedIndexChange: We.func, + onStateChange: We.func, + onIsOpenChange: We.func, + scrollIntoView: We.func }); -function j2(e, o, g) { - var C = o.type, P = o.props, x; - switch (C) { - case g.ItemMouseMove: - x = { - highlightedIndex: o.disabled ? -1 : o.index +function qp(e, t, c) { + var h = t.type, S = t.props, g; + switch (h) { + case c.ItemMouseMove: + g = { + highlightedIndex: t.disabled ? -1 : t.index }; break; - case g.MenuMouseLeave: - x = { + case c.MenuMouseLeave: + g = { highlightedIndex: -1 }; break; - case g.ToggleButtonClick: - case g.FunctionToggleMenu: - x = { + case c.ToggleButtonClick: + case c.FunctionToggleMenu: + g = { isOpen: !e.isOpen, - highlightedIndex: e.isOpen ? -1 : Tn(P, e, 0) + highlightedIndex: e.isOpen ? -1 : $r(S, e, 0) }; break; - case g.FunctionOpenMenu: - x = { + case c.FunctionOpenMenu: + g = { isOpen: !0, - highlightedIndex: Tn(P, e, 0) + highlightedIndex: $r(S, e, 0) }; break; - case g.FunctionCloseMenu: - x = { + case c.FunctionCloseMenu: + g = { isOpen: !1 }; break; - case g.FunctionSetHighlightedIndex: - x = { - highlightedIndex: P.isItemDisabled(P.items[o.highlightedIndex], o.highlightedIndex) ? -1 : o.highlightedIndex + case c.FunctionSetHighlightedIndex: + g = { + highlightedIndex: S.isItemDisabled(S.items[t.highlightedIndex], t.highlightedIndex) ? -1 : t.highlightedIndex }; break; - case g.FunctionSetInputValue: - x = { - inputValue: o.inputValue + case c.FunctionSetInputValue: + g = { + inputValue: t.inputValue }; break; - case g.FunctionReset: - x = { - highlightedIndex: Di(P), - isOpen: on(P, "isOpen"), - selectedItem: on(P, "selectedItem"), - inputValue: on(P, "inputValue") + case c.FunctionReset: + g = { + highlightedIndex: Va(S), + isOpen: Xn(S, "isOpen"), + selectedItem: Xn(S, "selectedItem"), + inputValue: Xn(S, "inputValue") }; break; default: throw new Error("Reducer called without proper action type."); } - return dt({}, e, x); + return it({}, e, g); } -function R9(e) { - for (var o = e.keysSoFar, g = e.highlightedIndex, C = e.items, P = e.itemToString, x = e.isItemDisabled, n = o.toLowerCase(), c = 0; c < C.length; c++) { - var r = (c + g + (o.length < 2 ? 1 : 0)) % C.length, a = C[r]; - if (a !== void 0 && P(a).toLowerCase().startsWith(n) && !x(a, r)) +function EC(e) { + for (var t = e.keysSoFar, c = e.highlightedIndex, h = e.items, S = e.itemToString, g = e.isItemDisabled, n = t.toLowerCase(), s = 0; s < h.length; s++) { + var r = (s + c + (t.length < 2 ? 1 : 0)) % h.length, o = h[r]; + if (o !== void 0 && S(o).toLowerCase().startsWith(n) && !g(o, r)) return r; } - return g; + return c; } -var k9 = st(st({}, H2), { items: Ke.array.isRequired, isItemDisabled: Ke.func }), B9 = st(st({}, Po), { isItemDisabled: function() { +var xC = nt(nt({}, Gp), { items: We.array.isRequired, isItemDisabled: We.func }), MC = nt(nt({}, li), { isItemDisabled: function() { return !1; -} }), D2 = br; -process.env.NODE_ENV !== "production" && (D2 = function(e, o) { - Ke.checkPropTypes(k9, e, "prop", o.name); +} }), Zp = Cn; +process.env.NODE_ENV !== "production" && (Zp = function(e, t) { + We.checkPropTypes(xC, e, "prop", t.name); }); -var Oi = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 0, Ps = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_down__" : 1, As = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_up__" : 2, Vi = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_character__" : 3, Os = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_escape__" : 4, Ts = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_home__" : 5, Is = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_end__" : 6, Ns = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_enter__" : 7, Ls = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_space_button__" : 8, Rs = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_up__" : 9, ks = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_down__" : 10, Ui = process.env.NODE_ENV !== "production" ? "__togglebutton_blur__" : 11, V2 = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 12, U2 = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 13, Bs = process.env.NODE_ENV !== "production" ? "__item_click__" : 14, z2 = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, F2 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, K2 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, W2 = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Hs = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Qa = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, J2 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, $2 = /* @__PURE__ */ Object.freeze({ +var Ca = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 0, su = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_down__" : 1, cu = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_up__" : 2, Ua = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_character__" : 3, uu = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_escape__" : 4, lu = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_home__" : 5, du = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_end__" : 6, fu = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_enter__" : 7, pu = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_space_button__" : 8, hu = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_up__" : 9, yu = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_down__" : 10, Fa = process.env.NODE_ENV !== "production" ? "__togglebutton_blur__" : 11, Yp = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 12, Xp = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 13, mu = process.env.NODE_ENV !== "production" ? "__item_click__" : 14, Qp = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, e1 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, t1 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, n1 = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, gu = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, gc = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, r1 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, o1 = /* @__PURE__ */ Object.freeze({ __proto__: null, - FunctionCloseMenu: K2, - FunctionOpenMenu: F2, - FunctionReset: J2, - FunctionSelectItem: Hs, - FunctionSetHighlightedIndex: W2, - FunctionSetInputValue: Qa, - FunctionToggleMenu: z2, - ItemClick: Bs, - ItemMouseMove: U2, - MenuMouseLeave: V2, - ToggleButtonBlur: Ui, - ToggleButtonClick: Oi, - ToggleButtonKeyDownArrowDown: Ps, - ToggleButtonKeyDownArrowUp: As, - ToggleButtonKeyDownCharacter: Vi, - ToggleButtonKeyDownEnd: Is, - ToggleButtonKeyDownEnter: Ns, - ToggleButtonKeyDownEscape: Os, - ToggleButtonKeyDownHome: Ts, - ToggleButtonKeyDownPageDown: ks, - ToggleButtonKeyDownPageUp: Rs, - ToggleButtonKeyDownSpaceButton: Ls + FunctionCloseMenu: t1, + FunctionOpenMenu: e1, + FunctionReset: r1, + FunctionSelectItem: gu, + FunctionSetHighlightedIndex: n1, + FunctionSetInputValue: gc, + FunctionToggleMenu: Qp, + ItemClick: mu, + ItemMouseMove: Xp, + MenuMouseLeave: Yp, + ToggleButtonBlur: Fa, + ToggleButtonClick: Ca, + ToggleButtonKeyDownArrowDown: su, + ToggleButtonKeyDownArrowUp: cu, + ToggleButtonKeyDownCharacter: Ua, + ToggleButtonKeyDownEnd: du, + ToggleButtonKeyDownEnter: fu, + ToggleButtonKeyDownEscape: uu, + ToggleButtonKeyDownHome: lu, + ToggleButtonKeyDownPageDown: yu, + ToggleButtonKeyDownPageUp: hu, + ToggleButtonKeyDownSpaceButton: pu }); -function H9(e, o) { - var g, C = o.type, P = o.props, x = o.altKey, n; - switch (C) { - case Bs: +function PC(e, t) { + var c, h = t.type, S = t.props, g = t.altKey, n; + switch (h) { + case mu: n = { - isOpen: on(P, "isOpen"), - highlightedIndex: Di(P), - selectedItem: P.items[o.index] + isOpen: Xn(S, "isOpen"), + highlightedIndex: Va(S), + selectedItem: S.items[t.index] }; break; - case Vi: + case Ua: { - var c = o.key, r = "" + e.inputValue + c, a = !e.isOpen && e.selectedItem ? P.items.findIndex(function(f) { - return P.itemToKey(f) === P.itemToKey(e.selectedItem); - }) : e.highlightedIndex, i = R9({ + var s = t.key, r = "" + e.inputValue + s, o = !e.isOpen && e.selectedItem ? S.items.findIndex(function(f) { + return S.itemToKey(f) === S.itemToKey(e.selectedItem); + }) : e.highlightedIndex, i = EC({ keysSoFar: r, - highlightedIndex: a, - items: P.items, - itemToString: P.itemToString, - isItemDisabled: P.isItemDisabled + highlightedIndex: o, + items: S.items, + itemToString: S.itemToString, + isItemDisabled: S.isItemDisabled }); n = { inputValue: r, @@ -37932,397 +39851,397 @@ function H9(e, o) { }; } break; - case Ps: + case su: { - var m = e.isOpen ? $r(e.highlightedIndex, 1, P.items, P.isItemDisabled) : x && e.selectedItem == null ? -1 : Tn(P, e, 1); + var p = e.isOpen ? Vn(e.highlightedIndex, 1, S.items, S.isItemDisabled) : g && e.selectedItem == null ? -1 : $r(S, e, 1); n = { - highlightedIndex: m, + highlightedIndex: p, isOpen: !0 }; } break; - case As: - if (e.isOpen && x) - n = ji(P, e.highlightedIndex, !1); + case cu: + if (e.isOpen && g) + n = Da(S, e.highlightedIndex, !1); else { - var t = e.isOpen ? $r(e.highlightedIndex, -1, P.items, P.isItemDisabled) : Tn(P, e, -1); + var a = e.isOpen ? Vn(e.highlightedIndex, -1, S.items, S.isItemDisabled) : $r(S, e, -1); n = { - highlightedIndex: t, + highlightedIndex: a, isOpen: !0 }; } break; // only triggered when menu is open. - case Ns: - case Ls: - n = ji(P, e.highlightedIndex, !1); + case fu: + case pu: + n = Da(S, e.highlightedIndex, !1); break; - case Ts: + case lu: n = { - highlightedIndex: _n(0, !1, P.items, P.isItemDisabled), + highlightedIndex: Lr(0, !1, S.items, S.isItemDisabled), isOpen: !0 }; break; - case Is: + case du: n = { - highlightedIndex: _n(P.items.length - 1, !0, P.items, P.isItemDisabled), + highlightedIndex: Lr(S.items.length - 1, !0, S.items, S.isItemDisabled), isOpen: !0 }; break; - case Rs: + case hu: n = { - highlightedIndex: $r(e.highlightedIndex, -10, P.items, P.isItemDisabled) + highlightedIndex: Vn(e.highlightedIndex, -10, S.items, S.isItemDisabled) }; break; - case ks: + case yu: n = { - highlightedIndex: $r(e.highlightedIndex, 10, P.items, P.isItemDisabled) + highlightedIndex: Vn(e.highlightedIndex, 10, S.items, S.isItemDisabled) }; break; - case Os: + case uu: n = { isOpen: !1, highlightedIndex: -1 }; break; - case Ui: - n = dt({ + case Fa: + n = it({ isOpen: !1, highlightedIndex: -1 - }, e.highlightedIndex >= 0 && ((g = P.items) == null ? void 0 : g.length) && { - selectedItem: P.items[e.highlightedIndex] + }, e.highlightedIndex >= 0 && ((c = S.items) == null ? void 0 : c.length) && { + selectedItem: S.items[e.highlightedIndex] }); break; - case Hs: + case gu: n = { - selectedItem: o.selectedItem + selectedItem: t.selectedItem }; break; default: - return j2(e, o, $2); + return qp(e, t, o1); } - return dt({}, e, n); + return it({}, e, n); } -var j9 = ["onClick"], D9 = ["onMouseLeave", "refKey", "ref"], V9 = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], U9 = ["item", "index", "onMouseMove", "onClick", "onMouseDown", "onPress", "refKey", "disabled", "ref"]; -hn.stateChangeTypes = $2; -function hn(e) { - e === void 0 && (e = {}), D2(e, hn); - var o = dt({}, B9, e), g = o.scrollIntoView, C = o.environment, P = o.getA11yStatusMessage, x = N2(H9, o, L2, B2), n = x[0], c = x[1], r = n.isOpen, a = n.highlightedIndex, i = n.selectedItem, m = n.inputValue, t = wt(null), f = wt(null), b = wt({}), y = wt(null), u = T2(o), d = ia({ +var OC = ["onClick"], TC = ["onMouseLeave", "refKey", "ref"], AC = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], LC = ["item", "index", "onMouseMove", "onClick", "onMouseDown", "onPress", "refKey", "disabled", "ref"]; +cr.stateChangeTypes = o1; +function cr(e) { + e === void 0 && (e = {}), Zp(e, cr); + var t = it({}, MC, e), c = t.scrollIntoView, h = t.environment, S = t.getA11yStatusMessage, g = zp(PC, t, Kp, $p), n = g[0], s = g[1], r = n.isOpen, o = n.highlightedIndex, i = n.selectedItem, p = n.inputValue, a = Qe(null), f = Qe(null), C = Qe({}), w = Qe(null), m = Up(t), v = us({ state: n, - props: o - }), l = ot(function(E) { - return b.current[u.getItemId(E)]; - }, [u]); - Es(P, n, [r, a, i, m], C); - var s = k2({ + props: t + }), l = rt(function(T) { + return C.current[m.getItemId(T)]; + }, [m]); + au(S, n, [r, o, i, p], h); + var u = Jp({ menuElement: f.current, - highlightedIndex: a, + highlightedIndex: o, isOpen: r, - itemRefs: b, - scrollIntoView: g, + itemRefs: C, + scrollIntoView: c, getItemNodeFromIndex: l }); - vt(function() { - return y.current = oa(function(E) { - E({ - type: Qa, + Ze(function() { + return w.current = cs(function(T) { + T({ + type: gc, inputValue: "" }); }, 500), function() { - y.current.cancel(); + w.current.cancel(); }; - }, []), vt(function() { - m && y.current(c); - }, [c, m]), sa({ - props: o, + }, []), Ze(function() { + p && w.current(s); + }, [s, p]), ds({ + props: t, state: n - }), vt(function() { - var E = On(o, "isOpen"); - E && t.current && t.current.focus(); + }), Ze(function() { + var T = Jr(t, "isOpen"); + T && a.current && a.current.focus(); }, []); - var v = R2(C, ot(function() { - d.current.state.isOpen && c({ - type: Ui + var y = Wp(h, rt(function() { + v.current.state.isOpen && s({ + type: Fa }); - }, [c, d]), In(function() { - return [f, t]; - }, [f.current, t.current])), p = aa("getMenuProps", "getToggleButtonProps"); - vt(function() { - r || (b.current = {}); + }, [s, v]), Fn(function() { + return [f, a]; + }, [f.current, a.current])), d = ls("getMenuProps", "getToggleButtonProps"); + Ze(function() { + r || (C.current = {}); }, [r]); - var h = In(function() { + var b = Fn(function() { return { - ArrowDown: function(M) { - M.preventDefault(), c({ - type: Ps, - altKey: M.altKey + ArrowDown: function(L) { + L.preventDefault(), s({ + type: su, + altKey: L.altKey }); }, - ArrowUp: function(M) { - M.preventDefault(), c({ - type: As, - altKey: M.altKey + ArrowUp: function(L) { + L.preventDefault(), s({ + type: cu, + altKey: L.altKey }); }, - Home: function(M) { - M.preventDefault(), c({ - type: Ts + Home: function(L) { + L.preventDefault(), s({ + type: lu }); }, - End: function(M) { - M.preventDefault(), c({ - type: Is + End: function(L) { + L.preventDefault(), s({ + type: du }); }, Escape: function() { - d.current.state.isOpen && c({ - type: Os + v.current.state.isOpen && s({ + type: uu }); }, - Enter: function(M) { - M.preventDefault(), c({ - type: d.current.state.isOpen ? Ns : Oi + Enter: function(L) { + L.preventDefault(), s({ + type: v.current.state.isOpen ? fu : Ca }); }, - PageUp: function(M) { - d.current.state.isOpen && (M.preventDefault(), c({ - type: Rs + PageUp: function(L) { + v.current.state.isOpen && (L.preventDefault(), s({ + type: hu })); }, - PageDown: function(M) { - d.current.state.isOpen && (M.preventDefault(), c({ - type: ks + PageDown: function(L) { + v.current.state.isOpen && (L.preventDefault(), s({ + type: yu })); }, - " ": function(M) { - M.preventDefault(); - var _ = d.current.state; - if (!_.isOpen) { - c({ - type: Oi + " ": function(L) { + L.preventDefault(); + var R = v.current.state; + if (!R.isOpen) { + s({ + type: Ca }); return; } - _.inputValue ? c({ - type: Vi, + R.inputValue ? s({ + type: Ua, key: " " - }) : c({ - type: Ls + }) : s({ + type: pu }); } }; - }, [c, d]), O = ot(function() { - c({ - type: z2 + }, [s, v]), _ = rt(function() { + s({ + type: Qp }); - }, [c]), I = ot(function() { - c({ - type: K2 + }, [s]), E = rt(function() { + s({ + type: t1 }); - }, [c]), k = ot(function() { - c({ - type: F2 + }, [s]), B = rt(function() { + s({ + type: e1 }); - }, [c]), R = ot(function(E) { - c({ - type: W2, - highlightedIndex: E + }, [s]), O = rt(function(T) { + s({ + type: n1, + highlightedIndex: T }); - }, [c]), L = ot(function(E) { - c({ - type: Hs, - selectedItem: E + }, [s]), I = rt(function(T) { + s({ + type: gu, + selectedItem: T }); - }, [c]), N = ot(function() { - c({ - type: J2 + }, [s]), x = rt(function() { + s({ + type: r1 }); - }, [c]), B = ot(function(E) { - c({ - type: Qa, - inputValue: E + }, [s]), A = rt(function(T) { + s({ + type: gc, + inputValue: T }); - }, [c]), H = ot(function(E) { - var M = E === void 0 ? {} : E, _ = M.onClick, w = wr(M, j9), A = function() { - var V; - (V = t.current) == null || V.focus(); + }, [s]), N = rt(function(T) { + var L = T === void 0 ? {} : T, R = L.onClick, M = Sn(L, OC), P = function() { + var K; + (K = a.current) == null || K.focus(); }; - return dt({ - id: u.labelId, - htmlFor: u.toggleButtonId, - onClick: Nt(_, A) - }, w); - }, [u]), U = ot(function(E, M) { - var _, w = E === void 0 ? {} : E, A = w.onMouseLeave, j = w.refKey, V = j === void 0 ? "ref" : j, D = w.ref, z = wr(w, D9), J = M === void 0 ? {} : M, G = J.suppressRefError, Q = G === void 0 ? !1 : G, ee = function() { - c({ - type: V2 + return it({ + id: m.labelId, + htmlFor: m.toggleButtonId, + onClick: Pt(R, P) + }, M); + }, [m]), k = rt(function(T, L) { + var R, M = T === void 0 ? {} : T, P = M.onMouseLeave, H = M.refKey, K = H === void 0 ? "ref" : H, V = M.ref, U = Sn(M, TC), F = L === void 0 ? {} : L, Q = F.suppressRefError, ne = Q === void 0 ? !1 : Q, te = function() { + s({ + type: Yp }); }; - return p("getMenuProps", Q, V, f), dt((_ = {}, _[V] = Jr(D, function(Z) { - f.current = Z; - }), _.id = u.menuId, _.role = "listbox", _["aria-labelledby"] = z && z["aria-label"] ? void 0 : "" + u.labelId, _.onMouseLeave = Nt(A, ee), _), z); - }, [c, p, u]), S = ot(function(E, M) { - var _, w = E === void 0 ? {} : E, A = w.onBlur, j = w.onClick; - w.onPress; - var V = w.onKeyDown, D = w.refKey, z = D === void 0 ? "ref" : D, J = w.ref, G = wr(w, V9), Q = M === void 0 ? {} : M, ee = Q.suppressRefError, Z = ee === void 0 ? !1 : ee, q = d.current.state, se = function() { - c({ - type: Oi + return d("getMenuProps", ne, K, f), it((R = {}, R[K] = Dn(V, function(X) { + f.current = X; + }), R.id = m.menuId, R.role = "listbox", R["aria-labelledby"] = U && U["aria-label"] ? void 0 : "" + m.labelId, R.onMouseLeave = Pt(P, te), R), U); + }, [s, d, m]), j = rt(function(T, L) { + var R, M = T === void 0 ? {} : T, P = M.onBlur, H = M.onClick; + M.onPress; + var K = M.onKeyDown, V = M.refKey, U = V === void 0 ? "ref" : V, F = M.ref, Q = Sn(M, AC), ne = L === void 0 ? {} : L, te = ne.suppressRefError, X = te === void 0 ? !1 : te, Z = v.current.state, fe = function() { + s({ + type: Ca }); - }, ue = function() { - q.isOpen && !v.isMouseDown && c({ - type: Ui + }, le = function() { + Z.isOpen && !y.isMouseDown && s({ + type: Fa }); - }, ce = function(Te) { - var Se = oo(Te); - Se && h[Se] ? h[Se](Te) : N9(Se) && c({ - type: Vi, - key: Se + }, Se = function(Oe) { + var Ce = Io(Oe); + Ce && b[Ce] ? b[Ce](Oe) : SC(Ce) && s({ + type: Ua, + key: Ce }); - }, ie = dt((_ = {}, _[z] = Jr(J, function(fe) { - t.current = fe; - }), _["aria-activedescendant"] = q.isOpen && q.highlightedIndex > -1 ? u.getItemId(q.highlightedIndex) : "", _["aria-controls"] = u.menuId, _["aria-expanded"] = d.current.state.isOpen, _["aria-haspopup"] = "listbox", _["aria-labelledby"] = G && G["aria-label"] ? void 0 : "" + u.labelId, _.id = u.toggleButtonId, _.role = "combobox", _.tabIndex = 0, _.onBlur = Nt(A, ue), _), G); - return G.disabled || (ie.onClick = Nt(j, se), ie.onKeyDown = Nt(V, ce)), p("getToggleButtonProps", Z, z, t), ie; - }, [c, u, d, v, p, h]), T = ot(function(E) { - var M, _ = E === void 0 ? {} : E, w = _.item, A = _.index, j = _.onMouseMove, V = _.onClick, D = _.onMouseDown; - _.onPress; - var z = _.refKey, J = z === void 0 ? "ref" : z, G = _.disabled, Q = _.ref, ee = wr(_, U9); - G !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.'); - var Z = d.current, q = Z.state, se = Z.props, ue = Ms(w, A, se.items, "Pass either item or index to getItemProps!"), ce = ue[0], ie = ue[1], fe = se.isItemDisabled(ce, ie), Te = function() { - v.isTouchEnd || ie === q.highlightedIndex || (s.current = !1, c({ - type: U2, - index: ie, - disabled: fe + }, de = it((R = {}, R[U] = Dn(F, function(me) { + a.current = me; + }), R["aria-activedescendant"] = Z.isOpen && Z.highlightedIndex > -1 ? m.getItemId(Z.highlightedIndex) : "", R["aria-controls"] = m.menuId, R["aria-expanded"] = v.current.state.isOpen, R["aria-haspopup"] = "listbox", R["aria-labelledby"] = Q && Q["aria-label"] ? void 0 : "" + m.labelId, R.id = m.toggleButtonId, R.role = "combobox", R.tabIndex = 0, R.onBlur = Pt(P, le), R), Q); + return Q.disabled || (de.onClick = Pt(H, fe), de.onKeyDown = Pt(K, Se)), d("getToggleButtonProps", X, U, a), de; + }, [s, m, v, y, d, b]), D = rt(function(T) { + var L, R = T === void 0 ? {} : T, M = R.item, P = R.index, H = R.onMouseMove, K = R.onClick, V = R.onMouseDown; + R.onPress; + var U = R.refKey, F = U === void 0 ? "ref" : U, Q = R.disabled, ne = R.ref, te = Sn(R, LC); + Q !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.'); + var X = v.current, Z = X.state, fe = X.props, le = ou(M, P, fe.items, "Pass either item or index to getItemProps!"), Se = le[0], de = le[1], me = fe.isItemDisabled(Se, de), Oe = function() { + y.isTouchEnd || de === Z.highlightedIndex || (u.current = !1, s({ + type: Xp, + index: de, + disabled: me })); - }, Se = function() { - c({ - type: Bs, - index: ie + }, Ce = function() { + s({ + type: mu, + index: de }); - }, te = function(F) { - return F.preventDefault(); - }, ye = dt((M = {}, M[J] = Jr(Q, function(ve) { - ve && (b.current[u.getItemId(ie)] = ve); - }), M["aria-disabled"] = fe, M["aria-selected"] = ce === q.selectedItem, M.id = u.getItemId(ie), M.role = "option", M), ee); - return fe || (ye.onClick = Nt(V, Se)), ye.onMouseMove = Nt(j, Te), ye.onMouseDown = Nt(D, te), ye; - }, [d, u, v, s, c]); + }, G = function(z) { + return z.preventDefault(); + }, ie = it((L = {}, L[F] = Dn(ne, function(we) { + we && (C.current[m.getItemId(de)] = we); + }), L["aria-disabled"] = me, L["aria-selected"] = Se === Z.selectedItem, L.id = m.getItemId(de), L.role = "option", L), te); + return me || (ie.onClick = Pt(K, Ce)), ie.onMouseMove = Pt(H, Oe), ie.onMouseDown = Pt(V, G), ie; + }, [v, m, y, u, s]); return { // prop getters. - getToggleButtonProps: S, - getLabelProps: H, - getMenuProps: U, - getItemProps: T, + getToggleButtonProps: j, + getLabelProps: N, + getMenuProps: k, + getItemProps: D, // actions. - toggleMenu: O, - openMenu: k, - closeMenu: I, - setHighlightedIndex: R, - selectItem: L, - reset: N, - setInputValue: B, + toggleMenu: _, + openMenu: B, + closeMenu: E, + setHighlightedIndex: O, + selectItem: I, + reset: x, + setInputValue: A, // state. - highlightedIndex: a, + highlightedIndex: o, isOpen: r, selectedItem: i, - inputValue: m + inputValue: p }; } -var js = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, Ds = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, Vs = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, Us = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, zs = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, Fs = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Ks = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, Ws = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, Js = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, zi = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, $s = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, G2 = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, q2 = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Gs = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, Z2 = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, X2 = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, Y2 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, Q2 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, ed = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, qs = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, td = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, rd = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Zs = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, nd = /* @__PURE__ */ Object.freeze({ +var vu = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, bu = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, wu = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, Cu = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, Su = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, _u = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Eu = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, xu = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, Mu = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, za = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, Pu = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, i1 = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, a1 = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Ou = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, s1 = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, c1 = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, u1 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, l1 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, d1 = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Tu = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, f1 = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, p1 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Au = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, h1 = /* @__PURE__ */ Object.freeze({ __proto__: null, - ControlledPropUpdatedSelectedItem: Zs, - FunctionCloseMenu: Q2, - FunctionOpenMenu: Y2, - FunctionReset: rd, - FunctionSelectItem: qs, - FunctionSetHighlightedIndex: ed, - FunctionSetInputValue: td, - FunctionToggleMenu: X2, - InputBlur: zi, - InputChange: Js, - InputClick: $s, - InputKeyDownArrowDown: js, - InputKeyDownArrowUp: Ds, - InputKeyDownEnd: zs, - InputKeyDownEnter: Ws, - InputKeyDownEscape: Vs, - InputKeyDownHome: Us, - InputKeyDownPageDown: Ks, - InputKeyDownPageUp: Fs, - ItemClick: Gs, - ItemMouseMove: q2, - MenuMouseLeave: G2, - ToggleButtonClick: Z2 + ControlledPropUpdatedSelectedItem: Au, + FunctionCloseMenu: l1, + FunctionOpenMenu: u1, + FunctionReset: p1, + FunctionSelectItem: Tu, + FunctionSetHighlightedIndex: d1, + FunctionSetInputValue: f1, + FunctionToggleMenu: c1, + InputBlur: za, + InputChange: Mu, + InputClick: Pu, + InputKeyDownArrowDown: vu, + InputKeyDownArrowUp: bu, + InputKeyDownEnd: Su, + InputKeyDownEnter: xu, + InputKeyDownEscape: wu, + InputKeyDownHome: Cu, + InputKeyDownPageDown: Eu, + InputKeyDownPageUp: _u, + ItemClick: Ou, + ItemMouseMove: a1, + MenuMouseLeave: i1, + ToggleButtonClick: s1 }); -function z9(e) { - var o = L2(e), g = o.selectedItem, C = o.inputValue; - return C === "" && g && e.defaultInputValue === void 0 && e.initialInputValue === void 0 && e.inputValue === void 0 && (C = e.itemToString(g)), dt({}, o, { - inputValue: C +function IC(e) { + var t = Kp(e), c = t.selectedItem, h = t.inputValue; + return h === "" && c && e.defaultInputValue === void 0 && e.initialInputValue === void 0 && e.inputValue === void 0 && (h = e.itemToString(c)), it({}, t, { + inputValue: h }); } -var F9 = dt({}, H2, { - items: Ke.array.isRequired, - isItemDisabled: Ke.func, - inputValue: Ke.string, - defaultInputValue: Ke.string, - initialInputValue: Ke.string, - inputId: Ke.string, - onInputValueChange: Ke.func +var NC = it({}, Gp, { + items: We.array.isRequired, + isItemDisabled: We.func, + inputValue: We.string, + defaultInputValue: We.string, + initialInputValue: We.string, + inputId: We.string, + onInputValueChange: We.func }); -function K9(e, o, g, C) { - var P = wt(), x = I2(e, o, g, C), n = x[0], c = x[1], r = Go(); - return vt(function() { - if (Bi(o, "selectedItem")) { +function BC(e, t, c, h) { + var S = Qe(), g = Fp(e, t, c, h), n = g[0], s = g[1], r = Li(); + return Ze(function() { + if (Ha(t, "selectedItem")) { if (!r) { - var a = o.itemToKey(o.selectedItem) !== o.itemToKey(P.current); - a && c({ - type: Zs, - inputValue: o.itemToString(o.selectedItem) + var o = t.itemToKey(t.selectedItem) !== t.itemToKey(S.current); + o && s({ + type: Au, + inputValue: t.itemToString(t.selectedItem) }); } - P.current = n.selectedItem === P.current ? o.selectedItem : n.selectedItem; + S.current = n.selectedItem === S.current ? t.selectedItem : n.selectedItem; } - }, [n.selectedItem, o.selectedItem]), [Ho(n, o), c]; + }, [n.selectedItem, t.selectedItem]), [bi(n, t), s]; } -var od = br; -process.env.NODE_ENV !== "production" && (od = function(o, g) { - Ke.checkPropTypes(F9, o, "prop", g.name); +var y1 = Cn; +process.env.NODE_ENV !== "production" && (y1 = function(t, c) { + We.checkPropTypes(NC, t, "prop", c.name); }); -var W9 = dt({}, Po, { +var RC = it({}, li, { isItemDisabled: function() { return !1; } }); -function J9(e, o) { - var g, C = o.type, P = o.props, x = o.altKey, n; - switch (C) { - case Gs: +function kC(e, t) { + var c, h = t.type, S = t.props, g = t.altKey, n; + switch (h) { + case Ou: n = { - isOpen: on(P, "isOpen"), - highlightedIndex: Di(P), - selectedItem: P.items[o.index], - inputValue: P.itemToString(P.items[o.index]) + isOpen: Xn(S, "isOpen"), + highlightedIndex: Va(S), + selectedItem: S.items[t.index], + inputValue: S.itemToString(S.items[t.index]) }; break; - case js: + case vu: e.isOpen ? n = { - highlightedIndex: $r(e.highlightedIndex, 1, P.items, P.isItemDisabled, !0) + highlightedIndex: Vn(e.highlightedIndex, 1, S.items, S.isItemDisabled, !0) } : n = { - highlightedIndex: x && e.selectedItem == null ? -1 : Tn(P, e, 1), - isOpen: P.items.length >= 0 + highlightedIndex: g && e.selectedItem == null ? -1 : $r(S, e, 1), + isOpen: S.items.length >= 0 }; break; - case Ds: - e.isOpen ? x ? n = ji(P, e.highlightedIndex) : n = { - highlightedIndex: $r(e.highlightedIndex, -1, P.items, P.isItemDisabled, !0) + case bu: + e.isOpen ? g ? n = Da(S, e.highlightedIndex) : n = { + highlightedIndex: Vn(e.highlightedIndex, -1, S.items, S.isItemDisabled, !0) } : n = { - highlightedIndex: Tn(P, e, -1), - isOpen: P.items.length >= 0 + highlightedIndex: $r(S, e, -1), + isOpen: S.items.length >= 0 }; break; - case Ws: - n = ji(P, e.highlightedIndex); + case xu: + n = Da(S, e.highlightedIndex); break; - case Vs: - n = dt({ + case wu: + n = it({ isOpen: !1, highlightedIndex: -1 }, !e.isOpen && { @@ -38330,628 +40249,628 @@ function J9(e, o) { inputValue: "" }); break; - case Fs: + case _u: n = { - highlightedIndex: $r(e.highlightedIndex, -10, P.items, P.isItemDisabled, !0) + highlightedIndex: Vn(e.highlightedIndex, -10, S.items, S.isItemDisabled, !0) }; break; - case Ks: + case Eu: n = { - highlightedIndex: $r(e.highlightedIndex, 10, P.items, P.isItemDisabled, !0) + highlightedIndex: Vn(e.highlightedIndex, 10, S.items, S.isItemDisabled, !0) }; break; - case Us: + case Cu: n = { - highlightedIndex: _n(0, !1, P.items, P.isItemDisabled) + highlightedIndex: Lr(0, !1, S.items, S.isItemDisabled) }; break; - case zs: + case Su: n = { - highlightedIndex: _n(P.items.length - 1, !0, P.items, P.isItemDisabled) + highlightedIndex: Lr(S.items.length - 1, !0, S.items, S.isItemDisabled) }; break; - case zi: - n = dt({ + case za: + n = it({ isOpen: !1, highlightedIndex: -1 - }, e.highlightedIndex >= 0 && ((g = P.items) == null ? void 0 : g.length) && o.selectItem && { - selectedItem: P.items[e.highlightedIndex], - inputValue: P.itemToString(P.items[e.highlightedIndex]) + }, e.highlightedIndex >= 0 && ((c = S.items) == null ? void 0 : c.length) && t.selectItem && { + selectedItem: S.items[e.highlightedIndex], + inputValue: S.itemToString(S.items[e.highlightedIndex]) }); break; - case Js: + case Mu: n = { isOpen: !0, - highlightedIndex: Di(P), - inputValue: o.inputValue + highlightedIndex: Va(S), + inputValue: t.inputValue }; break; - case $s: + case Pu: n = { isOpen: !e.isOpen, - highlightedIndex: e.isOpen ? -1 : Tn(P, e, 0) + highlightedIndex: e.isOpen ? -1 : $r(S, e, 0) }; break; - case qs: + case Tu: n = { - selectedItem: o.selectedItem, - inputValue: P.itemToString(o.selectedItem) + selectedItem: t.selectedItem, + inputValue: S.itemToString(t.selectedItem) }; break; - case Zs: + case Au: n = { - inputValue: o.inputValue + inputValue: t.inputValue }; break; default: - return j2(e, o, nd); - } - return dt({}, e, n); -} -var $9 = ["onMouseLeave", "refKey", "ref"], G9 = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], q9 = ["onClick", "onPress", "refKey", "ref"], Z9 = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "onClick", "refKey", "ref"]; -Yr.stateChangeTypes = nd; -function Yr(e) { - e === void 0 && (e = {}), od(e, Yr); - var o = dt({}, W9, e), g = o.items, C = o.scrollIntoView, P = o.environment, x = o.getA11yStatusMessage, n = K9(J9, o, z9, B2), c = n[0], r = n[1], a = c.isOpen, i = c.highlightedIndex, m = c.selectedItem, t = c.inputValue, f = wt(null), b = wt({}), y = wt(null), u = wt(null), d = Go(), l = T2(o), s = wt(), v = ia({ - state: c, - props: o - }), p = ot(function(A) { - return b.current[l.getItemId(A)]; + return qp(e, t, h1); + } + return it({}, e, n); +} +var HC = ["onMouseLeave", "refKey", "ref"], jC = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], DC = ["onClick", "onPress", "refKey", "ref"], VC = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "onClick", "refKey", "ref"]; +Jn.stateChangeTypes = h1; +function Jn(e) { + e === void 0 && (e = {}), y1(e, Jn); + var t = it({}, RC, e), c = t.items, h = t.scrollIntoView, S = t.environment, g = t.getA11yStatusMessage, n = BC(kC, t, IC, $p), s = n[0], r = n[1], o = s.isOpen, i = s.highlightedIndex, p = s.selectedItem, a = s.inputValue, f = Qe(null), C = Qe({}), w = Qe(null), m = Qe(null), v = Li(), l = Up(t), u = Qe(), y = us({ + state: s, + props: t + }), d = rt(function(P) { + return C.current[l.getItemId(P)]; }, [l]); - Es(x, c, [a, i, m, t], P); - var h = k2({ + au(g, s, [o, i, p, a], S); + var b = Jp({ menuElement: f.current, highlightedIndex: i, - isOpen: a, - itemRefs: b, - scrollIntoView: C, - getItemNodeFromIndex: p + isOpen: o, + itemRefs: C, + scrollIntoView: h, + getItemNodeFromIndex: d }); - sa({ - props: o, - state: c - }), vt(function() { - var A = On(o, "isOpen"); - A && y.current && y.current.focus(); - }, []), vt(function() { - d || (s.current = g.length); + ds({ + props: t, + state: s + }), Ze(function() { + var P = Jr(t, "isOpen"); + P && w.current && w.current.focus(); + }, []), Ze(function() { + v || (u.current = c.length); }); - var O = R2(P, ot(function() { - v.current.state.isOpen && r({ - type: zi, + var _ = Wp(S, rt(function() { + y.current.state.isOpen && r({ + type: za, selectItem: !1 }); - }, [r, v]), In(function() { - return [f, u, y]; - }, [f.current, u.current, y.current])), I = aa("getInputProps", "getMenuProps"); - vt(function() { - a || (b.current = {}); - }, [a]), vt(function() { - var A; - !a || !(P != null && P.document) || !(y != null && (A = y.current) != null && A.focus) || P.document.activeElement !== y.current && y.current.focus(); - }, [a, P]); - var k = In(function() { + }, [r, y]), Fn(function() { + return [f, m, w]; + }, [f.current, m.current, w.current])), E = ls("getInputProps", "getMenuProps"); + Ze(function() { + o || (C.current = {}); + }, [o]), Ze(function() { + var P; + !o || !(S != null && S.document) || !(w != null && (P = w.current) != null && P.focus) || S.document.activeElement !== w.current && w.current.focus(); + }, [o, S]); + var B = Fn(function() { return { - ArrowDown: function(j) { - j.preventDefault(), r({ - type: js, - altKey: j.altKey + ArrowDown: function(H) { + H.preventDefault(), r({ + type: vu, + altKey: H.altKey }); }, - ArrowUp: function(j) { - j.preventDefault(), r({ - type: Ds, - altKey: j.altKey + ArrowUp: function(H) { + H.preventDefault(), r({ + type: bu, + altKey: H.altKey }); }, - Home: function(j) { - v.current.state.isOpen && (j.preventDefault(), r({ - type: Us + Home: function(H) { + y.current.state.isOpen && (H.preventDefault(), r({ + type: Cu })); }, - End: function(j) { - v.current.state.isOpen && (j.preventDefault(), r({ - type: zs + End: function(H) { + y.current.state.isOpen && (H.preventDefault(), r({ + type: Su })); }, - Escape: function(j) { - var V = v.current.state; - (V.isOpen || V.inputValue || V.selectedItem || V.highlightedIndex > -1) && (j.preventDefault(), r({ - type: Vs + Escape: function(H) { + var K = y.current.state; + (K.isOpen || K.inputValue || K.selectedItem || K.highlightedIndex > -1) && (H.preventDefault(), r({ + type: wu })); }, - Enter: function(j) { - var V = v.current.state; - !V.isOpen || j.which === 229 || (j.preventDefault(), r({ - type: Ws + Enter: function(H) { + var K = y.current.state; + !K.isOpen || H.which === 229 || (H.preventDefault(), r({ + type: xu })); }, - PageUp: function(j) { - v.current.state.isOpen && (j.preventDefault(), r({ - type: Fs + PageUp: function(H) { + y.current.state.isOpen && (H.preventDefault(), r({ + type: _u })); }, - PageDown: function(j) { - v.current.state.isOpen && (j.preventDefault(), r({ - type: Ks + PageDown: function(H) { + y.current.state.isOpen && (H.preventDefault(), r({ + type: Eu })); } }; - }, [r, v]), R = ot(function(A) { - return dt({ + }, [r, y]), O = rt(function(P) { + return it({ id: l.labelId, htmlFor: l.inputId - }, A); - }, [l]), L = ot(function(A, j) { - var V, D = A === void 0 ? {} : A, z = D.onMouseLeave, J = D.refKey, G = J === void 0 ? "ref" : J, Q = D.ref, ee = wr(D, $9), Z = j === void 0 ? {} : j, q = Z.suppressRefError, se = q === void 0 ? !1 : q; - return I("getMenuProps", se, G, f), dt((V = {}, V[G] = Jr(Q, function(ue) { - f.current = ue; - }), V.id = l.menuId, V.role = "listbox", V["aria-labelledby"] = ee && ee["aria-label"] ? void 0 : "" + l.labelId, V.onMouseLeave = Nt(z, function() { + }, P); + }, [l]), I = rt(function(P, H) { + var K, V = P === void 0 ? {} : P, U = V.onMouseLeave, F = V.refKey, Q = F === void 0 ? "ref" : F, ne = V.ref, te = Sn(V, HC), X = H === void 0 ? {} : H, Z = X.suppressRefError, fe = Z === void 0 ? !1 : Z; + return E("getMenuProps", fe, Q, f), it((K = {}, K[Q] = Dn(ne, function(le) { + f.current = le; + }), K.id = l.menuId, K.role = "listbox", K["aria-labelledby"] = te && te["aria-label"] ? void 0 : "" + l.labelId, K.onMouseLeave = Pt(U, function() { r({ - type: G2 + type: i1 }); - }), V), ee); - }, [r, I, l]), N = ot(function(A) { - var j, V, D = A === void 0 ? {} : A, z = D.item, J = D.index, G = D.refKey, Q = G === void 0 ? "ref" : G, ee = D.ref, Z = D.onMouseMove, q = D.onMouseDown, se = D.onClick; - D.onPress; - var ue = D.disabled, ce = wr(D, G9); - ue !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.'); - var ie = v.current, fe = ie.props, Te = ie.state, Se = Ms(z, J, fe.items, "Pass either item or index to getItemProps!"), te = Se[0], ye = Se[1], ve = fe.isItemDisabled(te, ye), F = "onClick", W = se, K = function() { - O.isTouchEnd || ye === Te.highlightedIndex || (h.current = !1, r({ - type: q2, - index: ye, - disabled: ve + }), K), te); + }, [r, E, l]), x = rt(function(P) { + var H, K, V = P === void 0 ? {} : P, U = V.item, F = V.index, Q = V.refKey, ne = Q === void 0 ? "ref" : Q, te = V.ref, X = V.onMouseMove, Z = V.onMouseDown, fe = V.onClick; + V.onPress; + var le = V.disabled, Se = Sn(V, jC); + le !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.'); + var de = y.current, me = de.props, Oe = de.state, Ce = ou(U, F, me.items, "Pass either item or index to getItemProps!"), G = Ce[0], ie = Ce[1], we = me.isItemDisabled(G, ie), z = "onClick", J = fe, q = function() { + _.isTouchEnd || ie === Oe.highlightedIndex || (b.current = !1, r({ + type: a1, + index: ie, + disabled: we })); - }, X = function() { + }, re = function() { r({ - type: Gs, - index: ye + type: Ou, + index: ie }); - }, ne = function(pe) { - return pe.preventDefault(); + }, $ = function(ce) { + return ce.preventDefault(); }; - return dt((j = {}, j[Q] = Jr(ee, function(re) { - re && (b.current[l.getItemId(ye)] = re); - }), j["aria-disabled"] = ve, j["aria-selected"] = ye === Te.highlightedIndex, j.id = l.getItemId(ye), j.role = "option", j), !ve && (V = {}, V[F] = Nt(W, X), V), { - onMouseMove: Nt(Z, K), - onMouseDown: Nt(q, ne) - }, ce); - }, [r, l, v, O, h]), B = ot(function(A) { - var j, V = A === void 0 ? {} : A, D = V.onClick; - V.onPress; - var z = V.refKey, J = z === void 0 ? "ref" : z, G = V.ref, Q = wr(V, q9), ee = v.current.state, Z = function() { + return it((H = {}, H[ne] = Dn(te, function(Y) { + Y && (C.current[l.getItemId(ie)] = Y); + }), H["aria-disabled"] = we, H["aria-selected"] = ie === Oe.highlightedIndex, H.id = l.getItemId(ie), H.role = "option", H), !we && (K = {}, K[z] = Pt(J, re), K), { + onMouseMove: Pt(X, q), + onMouseDown: Pt(Z, $) + }, Se); + }, [r, l, y, _, b]), A = rt(function(P) { + var H, K = P === void 0 ? {} : P, V = K.onClick; + K.onPress; + var U = K.refKey, F = U === void 0 ? "ref" : U, Q = K.ref, ne = Sn(K, DC), te = y.current.state, X = function() { r({ - type: Z2 + type: s1 }); }; - return dt((j = {}, j[J] = Jr(G, function(q) { - u.current = q; - }), j["aria-controls"] = l.menuId, j["aria-expanded"] = ee.isOpen, j.id = l.toggleButtonId, j.tabIndex = -1, j), !Q.disabled && dt({}, { - onClick: Nt(D, Z) - }), Q); - }, [r, v, l]), H = ot(function(A, j) { - var V, D = A === void 0 ? {} : A, z = D.onKeyDown, J = D.onChange, G = D.onInput, Q = D.onBlur; - D.onChangeText; - var ee = D.onClick, Z = D.refKey, q = Z === void 0 ? "ref" : Z, se = D.ref, ue = wr(D, Z9), ce = j === void 0 ? {} : j, ie = ce.suppressRefError, fe = ie === void 0 ? !1 : ie; - I("getInputProps", fe, q, y); - var Te = v.current.state, Se = function(ne) { - var re = oo(ne); - re && k[re] && k[re](ne); - }, te = function(ne) { + return it((H = {}, H[F] = Dn(Q, function(Z) { + m.current = Z; + }), H["aria-controls"] = l.menuId, H["aria-expanded"] = te.isOpen, H.id = l.toggleButtonId, H.tabIndex = -1, H), !ne.disabled && it({}, { + onClick: Pt(V, X) + }), ne); + }, [r, y, l]), N = rt(function(P, H) { + var K, V = P === void 0 ? {} : P, U = V.onKeyDown, F = V.onChange, Q = V.onInput, ne = V.onBlur; + V.onChangeText; + var te = V.onClick, X = V.refKey, Z = X === void 0 ? "ref" : X, fe = V.ref, le = Sn(V, VC), Se = H === void 0 ? {} : H, de = Se.suppressRefError, me = de === void 0 ? !1 : de; + E("getInputProps", me, Z, w); + var Oe = y.current.state, Ce = function($) { + var Y = Io($); + Y && B[Y] && B[Y]($); + }, G = function($) { r({ - type: Js, - inputValue: ne.target.value + type: Mu, + inputValue: $.target.value }); - }, ye = function(ne) { - if (P != null && P.document && Te.isOpen && !O.isMouseDown) { - var re = ne.relatedTarget === null && P.document.activeElement !== P.document.body; + }, ie = function($) { + if (S != null && S.document && Oe.isOpen && !_.isMouseDown) { + var Y = $.relatedTarget === null && S.document.activeElement !== S.document.body; r({ - type: zi, - selectItem: !re + type: za, + selectItem: !Y }); } - }, ve = function() { + }, we = function() { r({ - type: $s + type: Pu }); - }, F = "onChange", W = {}; - if (!ue.disabled) { - var K; - W = (K = {}, K[F] = Nt(J, G, te), K.onKeyDown = Nt(z, Se), K.onBlur = Nt(Q, ye), K.onClick = Nt(ee, ve), K); - } - return dt((V = {}, V[q] = Jr(se, function(X) { - y.current = X; - }), V["aria-activedescendant"] = Te.isOpen && Te.highlightedIndex > -1 ? l.getItemId(Te.highlightedIndex) : "", V["aria-autocomplete"] = "list", V["aria-controls"] = l.menuId, V["aria-expanded"] = Te.isOpen, V["aria-labelledby"] = ue && ue["aria-label"] ? void 0 : l.labelId, V.autoComplete = "off", V.id = l.inputId, V.role = "combobox", V.value = Te.inputValue, V), W, ue); - }, [r, l, P, k, v, O, I]), U = ot(function() { + }, z = "onChange", J = {}; + if (!le.disabled) { + var q; + J = (q = {}, q[z] = Pt(F, Q, G), q.onKeyDown = Pt(U, Ce), q.onBlur = Pt(ne, ie), q.onClick = Pt(te, we), q); + } + return it((K = {}, K[Z] = Dn(fe, function(re) { + w.current = re; + }), K["aria-activedescendant"] = Oe.isOpen && Oe.highlightedIndex > -1 ? l.getItemId(Oe.highlightedIndex) : "", K["aria-autocomplete"] = "list", K["aria-controls"] = l.menuId, K["aria-expanded"] = Oe.isOpen, K["aria-labelledby"] = le && le["aria-label"] ? void 0 : l.labelId, K.autoComplete = "off", K.id = l.inputId, K.role = "combobox", K.value = Oe.inputValue, K), J, le); + }, [r, l, S, B, y, _, E]), k = rt(function() { r({ - type: X2 + type: c1 }); - }, [r]), S = ot(function() { + }, [r]), j = rt(function() { r({ - type: Q2 + type: l1 }); - }, [r]), T = ot(function() { + }, [r]), D = rt(function() { r({ - type: Y2 + type: u1 }); - }, [r]), E = ot(function(A) { + }, [r]), T = rt(function(P) { r({ - type: ed, - highlightedIndex: A + type: d1, + highlightedIndex: P }); - }, [r]), M = ot(function(A) { + }, [r]), L = rt(function(P) { r({ - type: qs, - selectedItem: A + type: Tu, + selectedItem: P }); - }, [r]), _ = ot(function(A) { + }, [r]), R = rt(function(P) { r({ - type: td, - inputValue: A + type: f1, + inputValue: P }); - }, [r]), w = ot(function() { + }, [r]), M = rt(function() { r({ - type: rd + type: p1 }); }, [r]); return { // prop getters. - getItemProps: N, - getLabelProps: R, - getMenuProps: L, - getInputProps: H, - getToggleButtonProps: B, + getItemProps: x, + getLabelProps: O, + getMenuProps: I, + getInputProps: N, + getToggleButtonProps: A, // actions. - toggleMenu: U, - openMenu: T, - closeMenu: S, - setHighlightedIndex: E, - setInputValue: _, - selectItem: M, - reset: w, + toggleMenu: k, + openMenu: D, + closeMenu: j, + setHighlightedIndex: T, + setInputValue: R, + selectItem: L, + reset: M, // state. highlightedIndex: i, - isOpen: a, - selectedItem: m, - inputValue: t + isOpen: o, + selectedItem: p, + inputValue: a }; } -var id = { +var m1 = { activeIndex: -1, selectedItems: [] }; -function rc(e, o) { - return On(e, o, id); +function l2(e, t) { + return Jr(e, t, m1); } -function nc(e, o) { - return on(e, o, id); +function d2(e, t) { + return Xn(e, t, m1); } -function X9(e) { - var o = rc(e, "activeIndex"), g = rc(e, "selectedItems"); +function UC(e) { + var t = l2(e, "activeIndex"), c = l2(e, "selectedItems"); return { - activeIndex: o, - selectedItems: g + activeIndex: t, + selectedItems: c }; } -function oc(e) { +function f2(e) { if (e.shiftKey || e.metaKey || e.ctrlKey || e.altKey) return !1; - var o = e.target; - return !(o instanceof HTMLInputElement && // if element is a text input - o.value !== "" && // and we have text in it + var t = e.target; + return !(t instanceof HTMLInputElement && // if element is a text input + t.value !== "" && // and we have text in it // and cursor is either not at the start or is currently highlighting text. - (o.selectionStart !== 0 || o.selectionEnd !== 0)); -} -function Y9(e, o) { - return e.selectedItems === o.selectedItems && e.activeIndex === o.activeIndex; -} -var Q9 = { - stateReducer: Ai.stateReducer, - itemToKey: Ai.itemToKey, - environment: Ai.environment, - selectedItems: Ke.array, - initialSelectedItems: Ke.array, - defaultSelectedItems: Ke.array, - getA11yStatusMessage: Ke.func, - activeIndex: Ke.number, - initialActiveIndex: Ke.number, - defaultActiveIndex: Ke.number, - onActiveIndexChange: Ke.func, - onSelectedItemsChange: Ke.func, - keyNavigationNext: Ke.string, - keyNavigationPrevious: Ke.string -}, ev = { - itemToKey: Po.itemToKey, - stateReducer: Po.stateReducer, - environment: Po.environment, + (t.selectionStart !== 0 || t.selectionEnd !== 0)); +} +function FC(e, t) { + return e.selectedItems === t.selectedItems && e.activeIndex === t.activeIndex; +} +var zC = { + stateReducer: wa.stateReducer, + itemToKey: wa.itemToKey, + environment: wa.environment, + selectedItems: We.array, + initialSelectedItems: We.array, + defaultSelectedItems: We.array, + getA11yStatusMessage: We.func, + activeIndex: We.number, + initialActiveIndex: We.number, + defaultActiveIndex: We.number, + onActiveIndexChange: We.func, + onSelectedItemsChange: We.func, + keyNavigationNext: We.string, + keyNavigationPrevious: We.string +}, KC = { + itemToKey: li.itemToKey, + stateReducer: li.stateReducer, + environment: li.environment, keyNavigationNext: "ArrowRight", keyNavigationPrevious: "ArrowLeft" -}, ad = br; -process.env.NODE_ENV !== "production" && (ad = function(o, g) { - Ke.checkPropTypes(Q9, o, "prop", g.name); +}, g1 = Cn; +process.env.NODE_ENV !== "production" && (g1 = function(t, c) { + We.checkPropTypes(zC, t, "prop", c.name); }); -var Xs = process.env.NODE_ENV !== "production" ? "__selected_item_click__" : 0, Ys = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_delete__" : 1, Qs = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_backspace__" : 2, e0 = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_next__" : 3, t0 = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_previous__" : 4, r0 = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_navigation_previous__" : 5, n0 = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_backspace__" : 6, o0 = process.env.NODE_ENV !== "production" ? "__dropdown_click__" : 7, i0 = process.env.NODE_ENV !== "production" ? "__function_add_selected_item__" : 8, a0 = process.env.NODE_ENV !== "production" ? "__function_remove_selected_item__" : 9, s0 = process.env.NODE_ENV !== "production" ? "__function_set_selected_items__" : 10, u0 = process.env.NODE_ENV !== "production" ? "__function_set_active_index__" : 11, c0 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 12, tv = /* @__PURE__ */ Object.freeze({ +var Lu = process.env.NODE_ENV !== "production" ? "__selected_item_click__" : 0, Iu = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_delete__" : 1, Nu = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_backspace__" : 2, Bu = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_next__" : 3, Ru = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_previous__" : 4, ku = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_navigation_previous__" : 5, Hu = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_backspace__" : 6, ju = process.env.NODE_ENV !== "production" ? "__dropdown_click__" : 7, Du = process.env.NODE_ENV !== "production" ? "__function_add_selected_item__" : 8, Vu = process.env.NODE_ENV !== "production" ? "__function_remove_selected_item__" : 9, Uu = process.env.NODE_ENV !== "production" ? "__function_set_selected_items__" : 10, Fu = process.env.NODE_ENV !== "production" ? "__function_set_active_index__" : 11, zu = process.env.NODE_ENV !== "production" ? "__function_reset__" : 12, WC = /* @__PURE__ */ Object.freeze({ __proto__: null, - DropdownClick: o0, - DropdownKeyDownBackspace: n0, - DropdownKeyDownNavigationPrevious: r0, - FunctionAddSelectedItem: i0, - FunctionRemoveSelectedItem: a0, - FunctionReset: c0, - FunctionSetActiveIndex: u0, - FunctionSetSelectedItems: s0, - SelectedItemClick: Xs, - SelectedItemKeyDownBackspace: Qs, - SelectedItemKeyDownDelete: Ys, - SelectedItemKeyDownNavigationNext: e0, - SelectedItemKeyDownNavigationPrevious: t0 + DropdownClick: ju, + DropdownKeyDownBackspace: Hu, + DropdownKeyDownNavigationPrevious: ku, + FunctionAddSelectedItem: Du, + FunctionRemoveSelectedItem: Vu, + FunctionReset: zu, + FunctionSetActiveIndex: Fu, + FunctionSetSelectedItems: Uu, + SelectedItemClick: Lu, + SelectedItemKeyDownBackspace: Nu, + SelectedItemKeyDownDelete: Iu, + SelectedItemKeyDownNavigationNext: Bu, + SelectedItemKeyDownNavigationPrevious: Ru }); -function rv(e, o) { - var g = o.type, C = o.index, P = o.props, x = o.selectedItem, n = e.activeIndex, c = e.selectedItems, r; - switch (g) { - case Xs: +function JC(e, t) { + var c = t.type, h = t.index, S = t.props, g = t.selectedItem, n = e.activeIndex, s = e.selectedItems, r; + switch (c) { + case Lu: r = { - activeIndex: C + activeIndex: h }; break; - case t0: + case Ru: r = { activeIndex: n - 1 < 0 ? 0 : n - 1 }; break; - case e0: + case Bu: r = { - activeIndex: n + 1 >= c.length ? -1 : n + 1 + activeIndex: n + 1 >= s.length ? -1 : n + 1 }; break; - case Qs: - case Ys: { + case Nu: + case Iu: { if (n < 0) break; - var a = n; - c.length === 1 ? a = -1 : n === c.length - 1 && (a = c.length - 2), r = dt({ - selectedItems: [].concat(c.slice(0, n), c.slice(n + 1)) + var o = n; + s.length === 1 ? o = -1 : n === s.length - 1 && (o = s.length - 2), r = it({ + selectedItems: [].concat(s.slice(0, n), s.slice(n + 1)) }, { - activeIndex: a + activeIndex: o }); break; } - case r0: + case ku: r = { - activeIndex: c.length - 1 + activeIndex: s.length - 1 }; break; - case n0: + case Hu: r = { - selectedItems: c.slice(0, c.length - 1) + selectedItems: s.slice(0, s.length - 1) }; break; - case i0: + case Du: r = { - selectedItems: [].concat(c, [x]) + selectedItems: [].concat(s, [g]) }; break; - case o0: + case ju: r = { activeIndex: -1 }; break; - case a0: { - var i = n, m = c.findIndex(function(b) { - return P.itemToKey(b) === P.itemToKey(x); + case Vu: { + var i = n, p = s.findIndex(function(C) { + return S.itemToKey(C) === S.itemToKey(g); }); - if (m < 0) + if (p < 0) break; - c.length === 1 ? i = -1 : m === c.length - 1 && (i = c.length - 2), r = { - selectedItems: [].concat(c.slice(0, m), c.slice(m + 1)), + s.length === 1 ? i = -1 : p === s.length - 1 && (i = s.length - 2), r = { + selectedItems: [].concat(s.slice(0, p), s.slice(p + 1)), activeIndex: i }; break; } - case s0: { - var t = o.selectedItems; + case Uu: { + var a = t.selectedItems; r = { - selectedItems: t + selectedItems: a }; break; } - case u0: { - var f = o.activeIndex; + case Fu: { + var f = t.activeIndex; r = { activeIndex: f }; break; } - case c0: + case zu: r = { - activeIndex: nc(P, "activeIndex"), - selectedItems: nc(P, "selectedItems") + activeIndex: d2(S, "activeIndex"), + selectedItems: d2(S, "selectedItems") }; break; default: throw new Error("Reducer called without proper action type."); } - return dt({}, e, r); + return it({}, e, r); } -var nv = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"], ov = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"]; -ua.stateChangeTypes = tv; -function ua(e) { - e === void 0 && (e = {}), ad(e, ua); - var o = dt({}, ev, e), g = o.getA11yStatusMessage, C = o.environment, P = o.keyNavigationNext, x = o.keyNavigationPrevious, n = N2(rv, o, X9, Y9), c = n[0], r = n[1], a = c.activeIndex, i = c.selectedItems, m = Go(), t = wt(null), f = wt(); +var $C = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"], GC = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"]; +fs.stateChangeTypes = WC; +function fs(e) { + e === void 0 && (e = {}), g1(e, fs); + var t = it({}, KC, e), c = t.getA11yStatusMessage, h = t.environment, S = t.keyNavigationNext, g = t.keyNavigationPrevious, n = zp(JC, t, UC, FC), s = n[0], r = n[1], o = s.activeIndex, i = s.selectedItems, p = Li(), a = Qe(null), f = Qe(); f.current = []; - var b = ia({ - state: c, - props: o + var C = us({ + state: s, + props: t }); - Es(g, c, [a, i], C), vt(function() { - m || (a === -1 && t.current ? t.current.focus() : f.current[a] && f.current[a].focus()); - }, [a]), sa({ - props: o, - state: c + au(c, s, [o, i], h), Ze(function() { + p || (o === -1 && a.current ? a.current.focus() : f.current[o] && f.current[o].focus()); + }, [o]), ds({ + props: t, + state: s }); - var y = aa("getDropdownProps"), u = In(function() { - var k; - return k = {}, k[x] = function() { + var w = ls("getDropdownProps"), m = Fn(function() { + var B; + return B = {}, B[g] = function() { r({ - type: t0 + type: Ru }); - }, k[P] = function() { + }, B[S] = function() { r({ - type: e0 + type: Bu }); - }, k.Delete = function() { + }, B.Delete = function() { r({ - type: Ys + type: Iu }); - }, k.Backspace = function() { + }, B.Backspace = function() { r({ - type: Qs + type: Nu }); - }, k; - }, [r, P, x]), d = In(function() { - var k; - return k = {}, k[x] = function(R) { - oc(R) && r({ - type: r0 + }, B; + }, [r, S, g]), v = Fn(function() { + var B; + return B = {}, B[g] = function(O) { + f2(O) && r({ + type: ku }); - }, k.Backspace = function(L) { - oc(L) && r({ - type: n0 + }, B.Backspace = function(I) { + f2(I) && r({ + type: Hu }); - }, k; - }, [r, x]), l = ot(function(k) { - var R, L = k === void 0 ? {} : k, N = L.refKey, B = N === void 0 ? "ref" : N, H = L.ref, U = L.onClick, S = L.onKeyDown, T = L.selectedItem, E = L.index, M = wr(L, nv), _ = b.current.state, w = Ms(T, E, _.selectedItems, "Pass either item or index to getSelectedItemProps!"), A = w[1], j = A > -1 && A === _.activeIndex, V = function() { + }, B; + }, [r, g]), l = rt(function(B) { + var O, I = B === void 0 ? {} : B, x = I.refKey, A = x === void 0 ? "ref" : x, N = I.ref, k = I.onClick, j = I.onKeyDown, D = I.selectedItem, T = I.index, L = Sn(I, $C), R = C.current.state, M = ou(D, T, R.selectedItems, "Pass either item or index to getSelectedItemProps!"), P = M[1], H = P > -1 && P === R.activeIndex, K = function() { r({ - type: Xs, - index: A + type: Lu, + index: P }); - }, D = function(J) { - var G = oo(J); - G && u[G] && u[G](J); + }, V = function(F) { + var Q = Io(F); + Q && m[Q] && m[Q](F); }; - return dt((R = {}, R[B] = Jr(H, function(z) { - z && f.current.push(z); - }), R.tabIndex = j ? 0 : -1, R.onClick = Nt(U, V), R.onKeyDown = Nt(S, D), R), M); - }, [r, b, u]), s = ot(function(k, R) { - var L, N = k === void 0 ? {} : k, B = N.refKey, H = B === void 0 ? "ref" : B, U = N.ref, S = N.onKeyDown, T = N.onClick, E = N.preventKeyAction, M = E === void 0 ? !1 : E, _ = wr(N, ov), w = R === void 0 ? {} : R, A = w.suppressRefError, j = A === void 0 ? !1 : A; - y("getDropdownProps", j, H, t); - var V = function(J) { - var G = oo(J); - G && d[G] && d[G](J); - }, D = function() { + return it((O = {}, O[A] = Dn(N, function(U) { + U && f.current.push(U); + }), O.tabIndex = H ? 0 : -1, O.onClick = Pt(k, K), O.onKeyDown = Pt(j, V), O), L); + }, [r, C, m]), u = rt(function(B, O) { + var I, x = B === void 0 ? {} : B, A = x.refKey, N = A === void 0 ? "ref" : A, k = x.ref, j = x.onKeyDown, D = x.onClick, T = x.preventKeyAction, L = T === void 0 ? !1 : T, R = Sn(x, GC), M = O === void 0 ? {} : O, P = M.suppressRefError, H = P === void 0 ? !1 : P; + w("getDropdownProps", H, N, a); + var K = function(F) { + var Q = Io(F); + Q && v[Q] && v[Q](F); + }, V = function() { r({ - type: o0 + type: ju }); }; - return dt((L = {}, L[H] = Jr(U, function(z) { - z && (t.current = z); - }), L), !M && { - onKeyDown: Nt(S, V), - onClick: Nt(T, D) - }, _); - }, [r, d, y]), v = ot(function(k) { + return it((I = {}, I[N] = Dn(k, function(U) { + U && (a.current = U); + }), I), !L && { + onKeyDown: Pt(j, K), + onClick: Pt(D, V) + }, R); + }, [r, v, w]), y = rt(function(B) { r({ - type: i0, - selectedItem: k + type: Du, + selectedItem: B }); - }, [r]), p = ot(function(k) { + }, [r]), d = rt(function(B) { r({ - type: a0, - selectedItem: k + type: Vu, + selectedItem: B }); - }, [r]), h = ot(function(k) { + }, [r]), b = rt(function(B) { r({ - type: s0, - selectedItems: k + type: Uu, + selectedItems: B }); - }, [r]), O = ot(function(k) { + }, [r]), _ = rt(function(B) { r({ - type: u0, - activeIndex: k + type: Fu, + activeIndex: B }); - }, [r]), I = ot(function() { + }, [r]), E = rt(function() { r({ - type: c0 + type: zu }); }, [r]); return { getSelectedItemProps: l, - getDropdownProps: s, - addSelectedItem: v, - removeSelectedItem: p, - setSelectedItems: h, - setActiveIndex: O, - reset: I, + getDropdownProps: u, + addSelectedItem: y, + removeSelectedItem: d, + setSelectedItems: b, + setActiveIndex: _, + reset: E, selectedItems: i, - activeIndex: a + activeIndex: o }; } -var Na, ic; -function iv() { - return ic || (ic = 1, Na = function e(o, g) { - if (o === g) return !0; - if (o && g && typeof o == "object" && typeof g == "object") { - if (o.constructor !== g.constructor) return !1; - var C, P, x; - if (Array.isArray(o)) { - if (C = o.length, C != g.length) return !1; - for (P = C; P-- !== 0; ) - if (!e(o[P], g[P])) return !1; +var Ks, p2; +function qC() { + return p2 || (p2 = 1, Ks = function e(t, c) { + if (t === c) return !0; + if (t && c && typeof t == "object" && typeof c == "object") { + if (t.constructor !== c.constructor) return !1; + var h, S, g; + if (Array.isArray(t)) { + if (h = t.length, h != c.length) return !1; + for (S = h; S-- !== 0; ) + if (!e(t[S], c[S])) return !1; return !0; } - if (o.constructor === RegExp) return o.source === g.source && o.flags === g.flags; - if (o.valueOf !== Object.prototype.valueOf) return o.valueOf() === g.valueOf(); - if (o.toString !== Object.prototype.toString) return o.toString() === g.toString(); - if (x = Object.keys(o), C = x.length, C !== Object.keys(g).length) return !1; - for (P = C; P-- !== 0; ) - if (!Object.prototype.hasOwnProperty.call(g, x[P])) return !1; - for (P = C; P-- !== 0; ) { - var n = x[P]; - if (!e(o[n], g[n])) return !1; + if (t.constructor === RegExp) return t.source === c.source && t.flags === c.flags; + if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === c.valueOf(); + if (t.toString !== Object.prototype.toString) return t.toString() === c.toString(); + if (g = Object.keys(t), h = g.length, h !== Object.keys(c).length) return !1; + for (S = h; S-- !== 0; ) + if (!Object.prototype.hasOwnProperty.call(c, g[S])) return !1; + for (S = h; S-- !== 0; ) { + var n = g[S]; + if (!e(t[n], c[n])) return !1; } return !0; } - return o !== o && g !== g; - }), Na; + return t !== t && c !== c; + }), Ks; } -var av = iv(); -const ac = /* @__PURE__ */ qi(av); -var l0 = /* @__PURE__ */ ((e) => (e.mouse = "mouse", e.keyboard = "keyboard", e))(l0 || {}); -const sd = () => { - const e = wt( +var ZC = qC(); +const h2 = /* @__PURE__ */ qa(ZC); +var Ku = /* @__PURE__ */ ((e) => (e.mouse = "mouse", e.keyboard = "keyboard", e))(Ku || {}); +const v1 = () => { + const e = Qe( "mouse" /* mouse */ ); - return vt(() => { - const o = (C) => { - ["Tab", "ArrowDown", "ArrowUp"].includes(C.key) && (e.current = "keyboard"); - }, g = () => { + return Ze(() => { + const t = (h) => { + ["Tab", "ArrowDown", "ArrowUp"].includes(h.key) && (e.current = "keyboard"); + }, c = () => { e.current = "mouse"; }; - return window.addEventListener("keydown", o), window.addEventListener("mousedown", g), () => { - window.removeEventListener("keydown", o), window.removeEventListener("mousedown", g); + return window.addEventListener("keydown", t), window.addEventListener("mousedown", c), () => { + window.removeEventListener("keydown", t), window.removeEventListener("mousedown", c); }; }, []), e; -}, ud = be.div.withConfig({ +}, b1 = xe.div.withConfig({ displayName: "dropdown__StyledDropdown", componentId: "sc-7mf6mk-0" })(({ theme: e, - disabled: o, - isFixedDropdown: g + disabled: t, + isFixedDropdown: c }) => ({ outline: "none", - position: g ? "relative" : "unset", - ...o && { + position: c ? "relative" : "unset", + ...t && { opacity: "0.5", pointerEvents: "none" } -})), sv = be(je).withConfig({ +})), YC = xe(je).withConfig({ displayName: "dropdown__Container", componentId: "sc-7mf6mk-1" })(({ theme: e, - isOpen: o + isOpen: t }) => ({ borderRadius: e.borderRadius.base, border: "none", @@ -38964,30 +40883,30 @@ const sd = () => { color: e.styleguideColors.fillPrimaryRed } } -})), cd = be.div.withConfig({ +})), w1 = xe.div.withConfig({ displayName: "dropdown__ItemsContainer", componentId: "sc-7mf6mk-2" })(({ theme: e, - isOpen: o, - isFixedDropdown: g + isOpen: t, + isFixedDropdown: c }) => ({ - display: o ? "inherit" : "none", + display: t ? "inherit" : "none", marginTop: 4, borderRadius: e.borderRadius.base, background: e.styleguideColors.fillSecondary, - ...g && { + ...c && { position: "absolute", top: "60px", width: "100%", zIndex: 1 } -})), ld = be(je).withConfig({ +})), C1 = xe(je).withConfig({ displayName: "dropdown__ItemContainer", componentId: "sc-7mf6mk-3" })(({ theme: e, - isHighlighted: o + isHighlighted: t }) => ({ cursor: "pointer", minHeight: 36, @@ -38996,13 +40915,13 @@ const sd = () => { background: e.styleguideColors.fillSecondaryBlueHover, fontWeight: 600 }, - ...o && { + ...t && { "&:not(:hover)": { border: `1px solid ${e.styleguideColors.contentBlue}`, borderRadius: e.borderRadius.base } } -})), uv = be(_t).withConfig({ +})), XC = xe(vt).withConfig({ displayName: "dropdown__DeleteSvgIcon", componentId: "sc-7mf6mk-4" })(({ @@ -39016,7 +40935,7 @@ const sd = () => { stroke: e.styleguideColors.fillPrimaryRed } } -})), cv = be(_t).withConfig({ +})), QC = xe(vt).withConfig({ displayName: "dropdown__ClearSvgIcon", componentId: "sc-7mf6mk-5" })(({ @@ -39025,7 +40944,7 @@ const sd = () => { path: { stroke: e.styleguideColors.contentPrimary } -})), lv = be(je).withConfig({ +})), eS = xe(je).withConfig({ displayName: "dropdown__MultiSelectContainer", componentId: "sc-7mf6mk-6" })(({ @@ -39039,14 +40958,14 @@ const sd = () => { color: e.styleguideColors.fillPrimaryRed } } -})), dv = be.span.withConfig({ +})), tS = xe.span.withConfig({ displayName: "dropdown__PlaceholderWrapper", componentId: "sc-7mf6mk-7" })(({ theme: e }) => ({ padding: "0 8px" -})), fv = be.span.withConfig({ +})), nS = xe.span.withConfig({ displayName: "dropdown__ChipItemContainer", componentId: "sc-7mf6mk-8" })(({ @@ -39057,7 +40976,7 @@ const sd = () => { padding: "2px 8px", background: e.styleguideColors.fillTertiary, color: e.styleguideColors.contentPrimary -})), hv = be.span.withConfig({ +})), rS = xe.span.withConfig({ displayName: "dropdown__OverflowWrapper", componentId: "sc-7mf6mk-9" })(({ @@ -39066,7 +40985,7 @@ const sd = () => { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" -})), pv = be(je).withConfig({ +})), oS = xe(je).withConfig({ displayName: "dropdown__DropdownIconWrapper", componentId: "sc-7mf6mk-10" })(({ @@ -39074,7 +40993,7 @@ const sd = () => { }) => ({ paddingRight: "8px", marginLeft: "8px" -})), mv = be(_t).withConfig({ +})), iS = xe(vt).withConfig({ displayName: "dropdown__CheckIcon", componentId: "sc-7mf6mk-11" })(({ @@ -39083,7 +41002,7 @@ const sd = () => { path: { fill: e.styleguideColors.contentBlue } -})), yv = be(_t).withConfig({ +})), aS = xe(vt).withConfig({ displayName: "dropdown__MultiSelectDeleteIcon", componentId: "sc-7mf6mk-12" })(({ @@ -39097,222 +41016,222 @@ const sd = () => { stroke: e.styleguideColors.contentRed } } -})), wo = (e) => ({ +})), ri = (e) => ({ target: { name: void 0, value: e } }); -function BS(e) { +function MO(e) { const { - id: o, - items: g, - placeholder: C, - label: P, - areItemsRemovable: x, + id: t, + items: c, + placeholder: h, + label: S, + areItemsRemovable: g, value: n, - style: c, + style: s, onSelect: r, - onRemove: a, + onRemove: o, noItemsMessage: i = "No Options!", - isFixedDropdown: m = !1 - } = e, t = (s) => ({ + isFixedDropdown: p = !1 + } = e, a = (u) => ({ target: { name: void 0, - value: s - } - }), f = (s, v, p) => { - v.preventDefault(), v.stopPropagation(); - const h = s && b(s); - a && a(t(h)); - }, b = (s) => s.value, y = (s) => s.label, u = (s) => { - r && r(s); - }, d = (s) => s === null ? "" : typeof s == "string" ? s : s.label, l = sd(); - return /* @__PURE__ */ $(A2, { itemToString: d, onSelect: u, selectedItem: n, selectedItemChanged: (s, v) => !ac(s, v), children: (s) => { + value: u + } + }), f = (u, y, d) => { + y.preventDefault(), y.stopPropagation(); + const b = u && C(u); + o && o(a(b)); + }, C = (u) => u.value, w = (u) => u.label, m = (u) => { + r && r(u); + }, v = (u) => u === null ? "" : typeof u == "string" ? u : u.label, l = v1(); + return /* @__PURE__ */ W(Dp, { itemToString: v, onSelect: m, selectedItem: n, selectedItemChanged: (u, y) => !h2(u, y), children: (u) => { const { - getItemProps: v, - getMenuProps: p, - isOpen: h, - selectedItem: O, - getRootProps: I, - getToggleButtonProps: k, - highlightedIndex: R - } = s, L = !(g && g.length), N = (B) => { - !h && s.openMenu(); + getItemProps: y, + getMenuProps: d, + isOpen: b, + selectedItem: _, + getRootProps: E, + getToggleButtonProps: B, + highlightedIndex: O + } = u, I = !(c && c.length), x = (A) => { + !b && u.openMenu(); }; - return /* @__PURE__ */ Pe(ud, { ...I({ + return /* @__PURE__ */ Le(b1, { ...E({ refKey: "innerRef" - }), style: c, isFixedDropdown: m, children: [ - P && /* @__PURE__ */ $(Ae, { lineHeight: "xs", size: 1, "aria-label": P, id: o, tabIndex: 0, children: P }), - /* @__PURE__ */ Pe(sv, { align: "center", justify: "space-between", ...k(), isOpen: h, itemsSpacing: 10, tabIndex: 0, children: [ - /* @__PURE__ */ $(Ae, { size: 3, lineHeight: "xs", variation: O ? "inherit" : "darkGray", style: { + }), style: s, isFixedDropdown: p, children: [ + S && /* @__PURE__ */ W(Be, { lineHeight: "xs", size: 1, "aria-label": S, id: t, tabIndex: 0, children: S }), + /* @__PURE__ */ Le(YC, { align: "center", justify: "space-between", ...B(), isOpen: b, itemsSpacing: 10, tabIndex: 0, children: [ + /* @__PURE__ */ W(Be, { size: 3, lineHeight: "xs", variation: _ ? "inherit" : "darkGray", style: { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" - }, children: y(O) || C }), - /* @__PURE__ */ $(_t, { src: h ? us : so, rotate: h, onKeyDown: (B) => { - B.key === "Enter" && N(); - }, tabIndex: 0, alt: "Arrow icon", role: "img", "aria-labelledby": o, "aria-haspopup": "listbox", "aria-expanded": h }) + }, children: w(_) || h }), + /* @__PURE__ */ W(vt, { src: b ? Mc : ko, rotate: b, onKeyDown: (A) => { + A.key === "Enter" && x(); + }, tabIndex: 0, alt: "Arrow icon", role: "img", "aria-labelledby": t, "aria-haspopup": "listbox", "aria-expanded": b }) ] }), - /* @__PURE__ */ $(cd, { ...p(), isOpen: h, isFixedDropdown: m, "aria-labelledby": o, children: h && (L ? /* @__PURE__ */ $("div", { style: { + /* @__PURE__ */ W(w1, { ...d(), isOpen: b, isFixedDropdown: p, "aria-labelledby": t, children: b && (I ? /* @__PURE__ */ W("div", { style: { padding: "8px 16px", pointerEvents: "none" - }, children: /* @__PURE__ */ $(Ae, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", children: i }) }) : g.map((B, H) => { - const U = ac(B, O), S = l.current === l0.keyboard && R !== null && R === H; - return /* @__PURE__ */ Pe(ld, { align: "center", justify: "space-between", itemsSpacing: 10, ...v({ - item: B, - index: H - }), isHighlighted: S, children: [ - /* @__PURE__ */ $(Ae, { size: U ? 1 : 3, style: { + }, children: /* @__PURE__ */ W(Be, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", children: i }) }) : c.map((A, N) => { + const k = h2(A, _), j = l.current === Ku.keyboard && O !== null && O === N; + return /* @__PURE__ */ Le(C1, { align: "center", justify: "space-between", itemsSpacing: 10, ...y({ + item: A, + index: N + }), isHighlighted: j, children: [ + /* @__PURE__ */ W(Be, { size: k ? 1 : 3, style: { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" - }, scale: "xs", lineHeight: "xs", children: y(B) }), - x && /* @__PURE__ */ $(uv, { src: Ao, onClick: (T) => f(B, T) }) - ] }, `${B}-${H}`); + }, scale: "xs", lineHeight: "xs", children: w(A) }), + g && /* @__PURE__ */ W(XC, { src: di, onClick: (D) => f(A, D) }) + ] }, `${A}-${N}`); })) }) ] }); } }); } -function HS(e) { +function PO(e) { const { - id: o, - items: g, - value: C, - label: P, - placeholder: x, + id: t, + items: c, + value: h, + label: S, + placeholder: g, disabled: n, - onSelect: c, + onSelect: s, onChange: r, - onRemove: a, + onRemove: o, onClearAllItems: i, - isFixedDropdown: m = !1 + isFixedDropdown: p = !1 } = e, { - getSelectedItemProps: t, + getSelectedItemProps: a, getDropdownProps: f, - addSelectedItem: b, - removeSelectedItem: y, - selectedItems: u, - setSelectedItems: d, + addSelectedItem: C, + removeSelectedItem: w, + selectedItems: m, + setSelectedItems: v, reset: l - } = ua({ - initialSelectedItems: C, - onSelectedItemsChange: (H) => { - c && c(wo(H.selectedItems)); + } = fs({ + initialSelectedItems: h, + onSelectedItemsChange: (N) => { + s && s(ri(N.selectedItems)); } }), { - isOpen: s, - selectedItem: v, - getToggleButtonProps: p, - getLabelProps: h, - getMenuProps: O, - getItemProps: I, - openMenu: k, - highlightedIndex: R - } = hn({ + isOpen: u, + selectedItem: y, + getToggleButtonProps: d, + getLabelProps: b, + getMenuProps: _, + getItemProps: E, + openMenu: B, + highlightedIndex: O + } = cr({ selectedItem: null, defaultHighlightedIndex: 0, // after selection, highlight the first item. - items: g, - stateReducer: (H, U) => { + items: c, + stateReducer: (N, k) => { const { - changes: S, - type: T - } = U; - switch (T) { - case hn.stateChangeTypes.ToggleButtonKeyDownEnter: - case hn.stateChangeTypes.ToggleButtonKeyDownSpaceButton: - case hn.stateChangeTypes.ItemClick: + changes: j, + type: D + } = k; + switch (D) { + case cr.stateChangeTypes.ToggleButtonKeyDownEnter: + case cr.stateChangeTypes.ToggleButtonKeyDownSpaceButton: + case cr.stateChangeTypes.ItemClick: return { - ...S, + ...j, isOpen: !0 // keep the menu open after selection. }; default: - return S; + return j; } }, onStateChange: ({ - type: H, - selectedItem: U + type: N, + selectedItem: k }) => { - switch (H) { - case hn.stateChangeTypes.ToggleButtonKeyDownEnter: - case hn.stateChangeTypes.ToggleButtonKeyDownSpaceButton: - case hn.stateChangeTypes.ItemClick: + switch (N) { + case cr.stateChangeTypes.ToggleButtonKeyDownEnter: + case cr.stateChangeTypes.ToggleButtonKeyDownSpaceButton: + case cr.stateChangeTypes.ItemClick: { - const S = u.some((T) => T.value === U?.value); - U && (S ? (d(u.filter((T) => T.value !== U.value)), a && a(wo(U))) : (b(U), r && r(wo(U)))); + const j = m.some((D) => D.value === k?.value); + k && (j ? (v(m.filter((D) => D.value !== k.value)), o && o(ri(k))) : (C(k), r && r(ri(k)))); } break; } } }); - vt(() => { - (!C || C.length < 1) && l(); - }, [C]); - const L = () => { - i && i(wo(null)), l(); - }, N = (H) => { - H.stopPropagation(), !n && !s && k(); - }, B = sd(); - return /* @__PURE__ */ $(ud, { disabled: n, isFixedDropdown: m, children: /* @__PURE__ */ Pe(Kt, { itemsSpacing: 4, children: [ - P && /* @__PURE__ */ $(Ae, { lineHeight: "xs", ...h(), size: 1, id: o, children: P }), - /* @__PURE__ */ Pe("div", { children: [ - /* @__PURE__ */ Pe(lv, { align: "center", justify: "space-between", ...p({ + Ze(() => { + (!h || h.length < 1) && l(); + }, [h]); + const I = () => { + i && i(ri(null)), l(); + }, x = (N) => { + N.stopPropagation(), !n && !u && B(); + }, A = v1(); + return /* @__PURE__ */ W(b1, { disabled: n, isFixedDropdown: p, children: /* @__PURE__ */ Le(Ht, { itemsSpacing: 4, children: [ + S && /* @__PURE__ */ W(Be, { lineHeight: "xs", ...b(), size: 1, id: t, children: S }), + /* @__PURE__ */ Le("div", { children: [ + /* @__PURE__ */ Le(eS, { align: "center", justify: "space-between", ...d({ ...f({ - preventKeyAction: s + preventKeyAction: u }), - onClick: (H) => H.stopPropagation(), - isOpen: s + onClick: (N) => N.stopPropagation(), + isOpen: u }), children: [ - /* @__PURE__ */ $("span", { children: /* @__PURE__ */ $(Ae, { lineHeight: "xs", size: 3, variation: v ? "inherit" : "darkGray", children: /* @__PURE__ */ $(hv, { children: /* @__PURE__ */ $(je, { gap: 8, wrap: "wrap", children: u.length === 0 ? /* @__PURE__ */ $(dv, { children: x }) : u.map((H, U) => /* @__PURE__ */ $(fv, { ...t({ - selectedItem: H, - index: U - }), children: /* @__PURE__ */ Pe(je, { align: "center", gap: 4, children: [ - H?.chipName && /* @__PURE__ */ $(Ae, { lineHeight: "xs", size: 1, variation: "black", children: H.chipName }), - H?.chipLabel || H?.label, - /* @__PURE__ */ $(yv, { onClick: (S) => { - S.preventDefault(), S.stopPropagation(), y(H), a && a(wo(H)); - }, size: 14, src: Ao, alt: "Cross icon to clear", role: "img" }) - ] }) }, `selected-item-${U}`)) }) }) }) }), - /* @__PURE__ */ Pe(pv, { children: [ - i && !!u.length && /* @__PURE__ */ $(cv, { src: Ao, onClick: L, marginRight: !0, role: "img", alt: "Cross icon to clear items" }), - /* @__PURE__ */ $(_t, { size: 16, src: s ? us : so, rotate: s, onKeyDown: (H) => { - H.key === "Enter" && N(H); - }, tabIndex: 0, alt: "Arrow icon", "aria-labelledby": o, "aria-haspopup": "listbox", "aria-expanded": s, role: "button" }) + /* @__PURE__ */ W("span", { children: /* @__PURE__ */ W(Be, { lineHeight: "xs", size: 3, variation: y ? "inherit" : "darkGray", children: /* @__PURE__ */ W(rS, { children: /* @__PURE__ */ W(je, { gap: 8, wrap: "wrap", children: m.length === 0 ? /* @__PURE__ */ W(tS, { children: g }) : m.map((N, k) => /* @__PURE__ */ W(nS, { ...a({ + selectedItem: N, + index: k + }), children: /* @__PURE__ */ Le(je, { align: "center", gap: 4, children: [ + N?.chipName && /* @__PURE__ */ W(Be, { lineHeight: "xs", size: 1, variation: "black", children: N.chipName }), + N?.chipLabel || N?.label, + /* @__PURE__ */ W(aS, { onClick: (j) => { + j.preventDefault(), j.stopPropagation(), w(N), o && o(ri(N)); + }, size: 14, src: di, alt: "Cross icon to clear", role: "img" }) + ] }) }, `selected-item-${k}`)) }) }) }) }), + /* @__PURE__ */ Le(oS, { children: [ + i && !!m.length && /* @__PURE__ */ W(QC, { src: di, onClick: I, marginRight: !0, role: "img", alt: "Cross icon to clear items" }), + /* @__PURE__ */ W(vt, { size: 16, src: u ? Mc : ko, rotate: u, onKeyDown: (N) => { + N.key === "Enter" && x(N); + }, tabIndex: 0, alt: "Arrow icon", "aria-labelledby": t, "aria-haspopup": "listbox", "aria-expanded": u, role: "button" }) ] }) ] }), - /* @__PURE__ */ $(cd, { ...O(), isOpen: s, isFixedDropdown: m, children: s && g.map((H, U) => { - const S = u?.some((E) => E.value === H.value), T = B.current === l0.keyboard && R !== null && R === U; - return /* @__PURE__ */ Pe(ld, { align: "center", justify: "space-between", itemsSpacing: 10, ...I({ - item: H, - index: U - }), isHighlighted: T, children: [ - /* @__PURE__ */ $(Ae, { size: S ? 1 : 3, lineHeight: "xs", scale: "xs", children: H.label }), - S && /* @__PURE__ */ $(mv, { size: 14, src: Vf }) - ] }, `${H.value}${U}`); + /* @__PURE__ */ W(w1, { ..._(), isOpen: u, isFixedDropdown: p, children: u && c.map((N, k) => { + const j = m?.some((T) => T.value === N.value), D = A.current === Ku.keyboard && O !== null && O === k; + return /* @__PURE__ */ Le(C1, { align: "center", justify: "space-between", itemsSpacing: 10, ...E({ + item: N, + index: k + }), isHighlighted: D, children: [ + /* @__PURE__ */ W(Be, { size: j ? 1 : 3, lineHeight: "xs", scale: "xs", children: N.label }), + j && /* @__PURE__ */ W(iS, { size: 14, src: zh }) + ] }, `${N.value}${k}`); }) }) ] }) ] }) }); } -var qo = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(qo || {}); -const gv = (e) => e == null ? "contentTertiary" : { +var Ii = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(Ii || {}); +const sS = (e) => e == null ? "contentTertiary" : { error: "contentRed", success: "contentGreen" -}[e], vv = be.div.withConfig({ +}[e], cS = xe.div.withConfig({ displayName: "form-field__StyledContainer", componentId: "sc-xzx4qp-0" })(({ theme: e, - disabled: o + disabled: t }) => ({ display: "flex", flexDirection: "column", - ...o && { + ...t && { opacity: 0.5 } -})), bv = be("div").withConfig({ +})), uS = xe("div").withConfig({ displayName: "form-field__LabelContainer", componentId: "sc-xzx4qp-1" })(({ @@ -39325,52 +41244,52 @@ const gv = (e) => e == null ? "contentTertiary" : { "& > *": { marginBottom: 4 } -})), wv = be("div").withConfig({ +})), lS = xe("div").withConfig({ displayName: "form-field__StatusTextContainer", componentId: "sc-xzx4qp-2" })(({ theme: e, - status: o + status: t }) => ({ position: "relative", - color: e.styleguideColors[gv(o)] -})), Cv = be(mn).withConfig({ + color: e.styleguideColors[sS(t)] +})), dS = xe(pr).withConfig({ displayName: "form-field__StatusCaptionText", componentId: "sc-xzx4qp-3" -})(["position:absolute;"]), sc = ({ +})(["position:absolute;"]), y2 = ({ labelFontSize: e, - ...o -}) => e === qo.small ? /* @__PURE__ */ $(Ae, { size: 1, lineHeight: "xs", ...o }) : /* @__PURE__ */ $($o, { size: 1, ...o }); -var d0 = /* @__PURE__ */ ((e) => (e.Error = "error", e.Success = "success", e))(d0 || {}); -function dd({ + ...t +}) => e === Ii.small ? /* @__PURE__ */ W(Be, { size: 1, lineHeight: "xs", ...t }) : /* @__PURE__ */ W(Ai, { size: 1, ...t }); +var Wu = /* @__PURE__ */ ((e) => (e.Error = "error", e.Success = "success", e))(Wu || {}); +function S1({ id: e, - label: o, - rightLabel: g, - status: C, - statusText: P, - children: x, - labelFontSize: n = qo.default, - ...c + label: t, + rightLabel: c, + status: h, + statusText: S, + children: g, + labelFontSize: n = Ii.default, + ...s }) { - return /* @__PURE__ */ Pe(vv, { ...c, children: [ - /* @__PURE__ */ Pe(bv, { children: [ - o && /* @__PURE__ */ $(sc, { labelFontSize: n, id: e, children: o }), - g && /* @__PURE__ */ $(sc, { labelFontSize: n, children: g }) + return /* @__PURE__ */ Le(cS, { ...s, children: [ + /* @__PURE__ */ Le(uS, { children: [ + t && /* @__PURE__ */ W(y2, { labelFontSize: n, id: e, children: t }), + c && /* @__PURE__ */ W(y2, { labelFontSize: n, children: c }) ] }), - x, - /* @__PURE__ */ $(wv, { status: C, role: "alert", "aria-live": "assertive", children: /* @__PURE__ */ $(Cv, { size: 2, children: P }) }) + g, + /* @__PURE__ */ W(lS, { status: h, role: "alert", "aria-live": "assertive", children: /* @__PURE__ */ W(dS, { size: 2, children: S }) }) ] }); } -const _v = be(ao).withConfig({ +const fS = xe(Ro).withConfig({ displayName: "header-text__StyledText", componentId: "sc-1ohf323-0" })(({ theme: e, - size: o = 2, - scale: g = "sm", - monotype: C = !1 + size: t = 2, + scale: c = "sm", + monotype: h = !1 }) => ({ - fontWeight: It(C ? { + fontWeight: xt(h ? { 0: e.typography.fontWeight.bold, 1: e.typography.fontWeight.bold, 1.6: e.typography.fontWeight.bold, @@ -39386,59 +41305,59 @@ const _v = be(ao).withConfig({ 3: e.typography.fontWeight.semiBold, 4: e.typography.fontWeight.semiBold, 5: e.typography.fontWeight.semiBold - }, o), - fontSize: It({ + }, t), + fontSize: xt({ "2xl": "3.25rem", xl: "2.875rem", lg: "2.5rem", md: "2rem", sm: "1.75rem", xs: "1.5rem" - }, g), - lineHeight: It({ + }, c), + lineHeight: xt({ "2xl": "4.5rem", xl: "4rem", lg: "3.5rem", md: "3rem", sm: "2.5rem", xs: "1.75rem" - }, g), + }, c), "&:where(h1, h2, h3, h4, h5, h6)": { margin: 0 } })); -function fd(e) { - return /* @__PURE__ */ $(_v, { ...e }); +function _1(e) { + return /* @__PURE__ */ W(fS, { ...e }); } -const Sv = be(fd).withConfig({ +const pS = xe(_1).withConfig({ displayName: "header-tab-menu-item__StyledHeaderTabMenuItem", componentId: "sc-1ohcb8a-0" })(({ theme: e, - active: o + active: t }) => ({ cursor: "pointer", color: e.styleguideColors.contentTertiary, ":not(:first-of-type)": { marginLeft: 40 }, - ...o && { + ...t && { color: e.styleguideColors.contentPrimary, cursor: "default" } })); -function jS(e) { - return /* @__PURE__ */ $(Sv, { ...e, size: 2 }); +function OO(e) { + return /* @__PURE__ */ W(pS, { ...e, size: 2 }); } -const Mv = (e) => e == null || !e ? "fillSecondary" : "contentRed", xv = be("div").withConfig({ +const hS = (e) => e == null || !e ? "fillSecondary" : "contentRed", yS = xe("div").withConfig({ displayName: "input__InputContainer", componentId: "sc-f6gr5t-0" })(({ theme: e, - disabled: o, - error: g, - monotype: C, - height: P = "36" + disabled: t, + error: c, + monotype: h, + height: S = "36" }) => ({ display: "flex", flexDirection: "row", @@ -39449,27 +41368,27 @@ const Mv = (e) => e == null || !e ? "fillSecondary" : "contentRed", xv = be("div color: e.styleguideColors.contentPrimary, background: e.styleguideColors.fillSecondary, caretColor: e.styleguideColors.fillPrimaryRed, - fontFamily: C ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, + fontFamily: h ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, fontSize: "0.875rem", - lineHeight: It({ + lineHeight: xt({ 36: "20px", 40: "20px" - }, P), - height: It({ + }, S), + height: xt({ 36: "36px", 40: "40px" - }, P), + }, S), path: { - fill: e.styleguideColors[Mv(g)] + fill: e.styleguideColors[hS(c)] }, - ...g && { + ...c && { border: `1px solid ${e.styleguideColors.borderRed}` }, - ...o && { + ...t && { opacity: 0.5, color: e.styleguideColors.contentTertiary } -})), Ev = be.input.withConfig({ +})), mS = xe.input.withConfig({ displayName: "input__StyledInput", componentId: "sc-f6gr5t-1" })(({ @@ -39496,7 +41415,7 @@ const Mv = (e) => e == null || !e ? "fillSecondary" : "contentRed", xv = be("div "&::placeholder": { color: e.styleguideColors.contentSecondary } -})), Pv = be("div").withConfig({ +})), gS = xe("div").withConfig({ displayName: "input__PrefixContainer", componentId: "sc-f6gr5t-2" })(({ @@ -39507,14 +41426,14 @@ const Mv = (e) => e == null || !e ? "fillSecondary" : "contentRed", xv = be("div path: { fill: e.styleguideColors.contentSecondary } -})), hd = be("div").withConfig({ +})), E1 = xe("div").withConfig({ displayName: "input__SuffixContainer", componentId: "sc-f6gr5t-3" })(({ theme: e }) => ({ marginLeft: 16 -})), Av = be(hd).withConfig({ +})), vS = xe(E1).withConfig({ displayName: "input__SuffixTextContainer", componentId: "sc-f6gr5t-4" })(({ @@ -39522,32 +41441,32 @@ const Mv = (e) => e == null || !e ? "fillSecondary" : "contentRed", xv = be("div }) => ({ color: e.styleguideColors.contentSecondary })); -var Ov = /* @__PURE__ */ ((e) => (e.PositiveInteger = "positive_int", e.CSPR = "cspr", e.email = "email", e.password = "password", e))(Ov || {}); -const Tv = St.forwardRef(function(o, g) { - return /* @__PURE__ */ $(Ev, { ...o, ref: g }); +var bS = /* @__PURE__ */ ((e) => (e.PositiveInteger = "positive_int", e.CSPR = "cspr", e.email = "email", e.password = "password", e))(bS || {}); +const wS = yt.forwardRef(function(t, c) { + return /* @__PURE__ */ W(mS, { ...t, ref: c }); }); -function pd({ +function x1({ id: e, - className: o, - style: g, - disabled: C, - monotype: P, - height: x, + className: t, + style: c, + disabled: h, + monotype: S, + height: g, label: n, - rightLabel: c, + rightLabel: s, prefixIcon: r, - suffixIcon: a, + suffixIcon: o, suffixText: i, - required: m, - error: t, + required: p, + error: a, validationType: f, - validationText: b, - onFocus: y, - name: u, - labelFontSize: d = qo.default, + validationText: C, + onFocus: w, + name: m, + labelFontSize: v = Ii.default, ...l }) { - const s = f == null ? void 0 : { + const u = f == null ? void 0 : { cspr: { type: "number", min: "0", @@ -39566,17 +41485,17 @@ function pd({ password: { type: "password" } - }[f], v = (p) => { - p.target.select(), y && y(p); + }[f], y = (d) => { + d.target.select(), w && w(d); }; - return t && (a = /* @__PURE__ */ $(_t, { src: Ji })), /* @__PURE__ */ $(dd, { id: e, className: o, style: g, label: n, rightLabel: c, status: t ? d0.Error : void 0, statusText: b, disabled: C, labelFontSize: d, children: /* @__PURE__ */ Pe(xv, { monotype: P, error: t, height: x, children: [ - r && /* @__PURE__ */ $(Pv, { children: r }), - /* @__PURE__ */ $(Tv, { title: "", disabled: C, onFocus: v, name: u, "aria-required": !!m, "aria-labelledby": e, ...s, ...l }), - a && /* @__PURE__ */ $(hd, { children: a }), - i && /* @__PURE__ */ $(Av, { children: i }) + return a && (o = /* @__PURE__ */ W(vt, { src: Ja })), /* @__PURE__ */ W(S1, { id: e, className: t, style: c, label: n, rightLabel: s, status: a ? Wu.Error : void 0, statusText: C, disabled: h, labelFontSize: v, children: /* @__PURE__ */ Le(yS, { monotype: S, error: a, height: g, children: [ + r && /* @__PURE__ */ W(gS, { children: r }), + /* @__PURE__ */ W(wS, { title: "", disabled: h, onFocus: y, name: m, "aria-required": !!p, "aria-labelledby": e, ...u, ...l }), + o && /* @__PURE__ */ W(E1, { children: o }), + i && /* @__PURE__ */ W(vS, { children: i }) ] }) }); } -const Iv = be.ul.withConfig({ +const CS = xe.ul.withConfig({ displayName: "main-menu__MenuContainer", componentId: "sc-71ac72-0" })(({ @@ -39591,37 +41510,37 @@ const Iv = be.ul.withConfig({ width: "100%", padding: ["0px"], margin: [0] -})), DS = ({ +})), TO = ({ children: e -}) => /* @__PURE__ */ $(Iv, { children: e }), Nv = be.li.withConfig({ +}) => /* @__PURE__ */ W(CS, { children: e }), SS = xe.li.withConfig({ displayName: "main-menu-item__NavItem", componentId: "sc-194vga7-0" })(({ theme: e, - selected: o + selected: t }) => e.withMedia({ display: "flex", color: e.styleguideColors.contentTertiary, padding: ["16px 32px", "16px 48px", "0 32px 0 0", "0 32px 0 0"], height: "100%", alignItems: "center", - ...o && { + ...t && { color: e.styleguideColors.contentOnFill }, "& > *:hover": { cursor: "pointer", color: e.styleguideColors.contentOnFill } -})), VS = ({ +})), AO = ({ selected: e = !1, - children: o -}) => /* @__PURE__ */ $(Nv, { selected: e, children: o }), Lv = be.a.withConfig({ + children: t +}) => /* @__PURE__ */ W(SS, { selected: e, children: t }), _S = xe.a.withConfig({ displayName: "nav-link__StyledA", componentId: "sc-14h6hn0-0" })(({ theme: e, - disabled: o, - active: g + disabled: t, + active: c }) => ({ color: e.styleguideColors.contentTertiary, textDecoration: "none", @@ -39629,20 +41548,20 @@ const Iv = be.ul.withConfig({ fontWeight: e.typography.fontWeight.semiBold, color: e.styleguideColors.contentOnFill }, - ...g && { + ...c && { fontWeight: e.typography.fontWeight.semiBold, color: e.styleguideColors.contentOnFill }, - ...o && { + ...t && { pointerEvents: "none" } -})), US = St.forwardRef((e, o) => /* @__PURE__ */ $(Lv, { ref: o, ...e })), Rv = be.div.withConfig({ +})), LO = yt.forwardRef((e, t) => /* @__PURE__ */ W(_S, { ref: t, ...e })), ES = xe.div.withConfig({ displayName: "page-tile__StyledPageTile", componentId: "sc-2b2p7u-0" })(({ theme: e, - withPadding: o, - bottomGap: g = 24 + withPadding: t, + bottomGap: c = 24 }) => e.withMedia({ height: "100%", display: "flex", @@ -39651,13 +41570,13 @@ const Iv = be.ul.withConfig({ background: e.styleguideColors.backgroundPrimary, boxShadow: e.boxShadow.block, borderRadius: e.borderRadius.base, - marginBottom: g, - padding: o ? "16px 0" : void 0 + marginBottom: c, + padding: t ? "16px 0" : void 0 })); -function md(e) { - return /* @__PURE__ */ $(Rv, { ...e }); +function M1(e) { + return /* @__PURE__ */ W(ES, { ...e }); } -const kv = be(fd).withConfig({ +const xS = xe(_1).withConfig({ displayName: "page-tile-header__StyledPageTileHeader", componentId: "sc-tvmw2e-0" })(({ @@ -39665,25 +41584,25 @@ const kv = be(fd).withConfig({ }) => e.withMedia({ padding: ["20px 20px 16px"] })); -function zS(e) { - return /* @__PURE__ */ $(kv, { ...e, size: 5 }); +function IO(e) { + return /* @__PURE__ */ W(xS, { ...e, size: 5 }); } -const Bv = be.div.withConfig({ +const MS = xe.div.withConfig({ displayName: "page-tile-tabs-header__StyledWrapper", componentId: "sc-bl3sfh-0" })(({ theme: e, - childrenCount: o + childrenCount: t }) => e.withMedia({ display: "flex", flexGrow: 1, - justifyContent: o > 2 ? ["left", "center"] : ["center"], + justifyContent: t > 2 ? ["left", "center"] : ["center"], padding: 16, overflowX: "auto" -})), FS = ({ +})), NO = ({ tabsCount: e, - children: o -}) => /* @__PURE__ */ $(Bv, { childrenCount: e, children: o }), Hv = be.div.withConfig({ + children: t +}) => /* @__PURE__ */ W(MS, { childrenCount: e, children: t }), PS = xe.div.withConfig({ displayName: "radio-button__Container", componentId: "sc-1c62lye-0" })(({ @@ -39693,66 +41612,66 @@ const Bv = be.div.withConfig({ alignItems: "center", cursor: "pointer", userSelect: "none" -})), jv = be.div.withConfig({ +})), OS = xe.div.withConfig({ displayName: "radio-button__OuterCircle", componentId: "sc-1c62lye-1" })(({ theme: e, - unselected: o, - disabled: g, - size: C, - color: P = "contentBlue" + unselected: t, + disabled: c, + size: h, + color: S = "contentBlue" }) => ({ - width: C, - height: C, - minWidth: C, - minHeight: C, - border: g || o ? `2px solid ${e.styleguideColors.contentQuaternary}` : `2px solid ${e.styleguideColors[P]}`, + width: h, + height: h, + minWidth: h, + minHeight: h, + border: c || t ? `2px solid ${e.styleguideColors.contentQuaternary}` : `2px solid ${e.styleguideColors[S]}`, borderRadius: "50%", display: "flex", justifyContent: "center", alignItems: "center", marginRight: 12 -})), Dv = be.div.withConfig({ +})), TS = xe.div.withConfig({ displayName: "radio-button__InnerCircle", componentId: "sc-1c62lye-2" })(({ theme: e, - unslected: o, - disabled: g, - color: C = "contentBlue" + unslected: t, + disabled: c, + color: h = "contentBlue" }) => ({ borderRadius: "50%", - width: o ? 0 : "70%", - height: o ? 0 : "70%", - backgroundColor: g ? e.styleguideColors.contentQuaternary : e.styleguideColors[C] -})), KS = ({ + width: t ? 0 : "70%", + height: t ? 0 : "70%", + backgroundColor: c ? e.styleguideColors.contentQuaternary : e.styleguideColors[h] +})), BO = ({ selected: e, - onChange: o, - label: g, - value: C, - disabled: P, - color: x, + onChange: t, + label: c, + value: h, + disabled: S, + color: g, size: n = 24 -}) => /* @__PURE__ */ Pe(Hv, { onClick: () => { - o && o(C); +}) => /* @__PURE__ */ Le(PS, { onClick: () => { + t && t(h); }, children: [ - /* @__PURE__ */ $(jv, { disabled: P, unselected: C !== e, color: x, size: n, children: /* @__PURE__ */ $(Dv, { unslected: C !== e, disabled: P, color: x }) }), - g -] }), Vv = { - keybase: Xf, - telegram: t1, - twitter: r1, - github: Jf, - youtube: s1, - facebook: Kf, - medium: Qf, - reddit: e1, - wechat: a1, - twitter_x: n1, - linkedin: Yf, - website: i1 -}, yi = (e) => ({ + /* @__PURE__ */ W(OS, { disabled: S, unselected: h !== e, color: g, size: n, children: /* @__PURE__ */ W(TS, { unslected: h !== e, disabled: S, color: g }) }), + c +] }), AS = { + keybase: ey, + telegram: oy, + twitter: iy, + github: qh, + youtube: ly, + facebook: $h, + medium: ny, + reddit: ry, + wechat: uy, + twitter_x: ay, + linkedin: ty, + website: cy +}, aa = (e) => ({ keybase: "#EA773A", telegram: "#0088CC", twitter: "#1DA1F2", @@ -39765,70 +41684,70 @@ const Bv = be.div.withConfig({ twitter_x: "#0f1419", linkedin: "#0a66c2", website: "#BABBBF" -})[e], Uv = (e, o) => ({ - keybase: "https://keybase.io/" + o.replace("@", ""), - telegram: "https://t.me/" + o.replace("@", ""), - twitter: "https://twitter.com/" + o.replace("@", ""), - twitter_x: "https://twitter.com/" + o.replace("@", ""), - github: "https://github.com/" + o.replace("@", ""), - youtube: "https://youtube.com/channel/" + o, - facebook: "https://facebook.com/" + o, - medium: "https://medium.com/" + o, - reddit: "https://reddit.com/" + o, - wechat: `weixin://dl/chat?${o}/`, - linkedin: "https://www.linkedin.com/company/" + o, - website: o -})[e], zv = be(fr).withConfig({ +})[e], LS = (e, t) => ({ + keybase: "https://keybase.io/" + t.replace("@", ""), + telegram: "https://t.me/" + t.replace("@", ""), + twitter: "https://twitter.com/" + t.replace("@", ""), + twitter_x: "https://twitter.com/" + t.replace("@", ""), + github: "https://github.com/" + t.replace("@", ""), + youtube: "https://youtube.com/channel/" + t, + facebook: "https://facebook.com/" + t, + medium: "https://medium.com/" + t, + reddit: "https://reddit.com/" + t, + wechat: `weixin://dl/chat?${t}/`, + linkedin: "https://www.linkedin.com/company/" + t, + website: t +})[e], IS = xe(mn).withConfig({ displayName: "svg-icon-social__Container", componentId: "sc-ng7ji9-0" })(({ theme: e, - socialMediaType: o + socialMediaType: t }) => ({ color: e.styleguideColors.contentSecondary, "svg path": { fill: e.styleguideColors.contentSecondary }, "&:hover": { - color: yi(o), + color: aa(t), "svg path": { - fill: yi(o) + fill: aa(t) } }, "&:active": { - color: yi(o), + color: aa(t), "svg path": { - fill: yi(o) + fill: aa(t) } } -})), WS = St.forwardRef(({ +})), RO = yt.forwardRef(({ socialMediaType: e, - userId: o, - rel: g, - ...C -}, P) => /* @__PURE__ */ $(zv, { ref: P, color: "inherit", socialMediaType: e, href: Uv(e, o), ...C, rel: g ?? "noopener", "aria-label": `Go to ${e}`, children: /* @__PURE__ */ $(_t, { src: Vv[e], alt: e }) })), Fv = be.div.withConfig({ + userId: t, + rel: c, + ...h +}, S) => /* @__PURE__ */ W(IS, { ref: S, color: "inherit", socialMediaType: e, href: LS(e, t), ...h, rel: c ?? "noopener", "aria-label": `Go to ${e}`, children: /* @__PURE__ */ W(vt, { src: AS[e], alt: e }) })), NS = xe.div.withConfig({ displayName: "tab-menu-container__StyledWrapper", componentId: "sc-9x52i1-0" })(({ theme: e, - childrenCount: o + childrenCount: t }) => e.withMedia({ display: "flex", flexGrow: 1, - justifyContent: o > 2 ? ["left", "center"] : ["center"], + justifyContent: t > 2 ? ["left", "center"] : ["center"], padding: 16, overflowX: "auto" -})), JS = ({ +})), kO = ({ tabsCount: e, - children: o -}) => /* @__PURE__ */ $(Fv, { childrenCount: e, children: o }), Kv = be.div.withConfig({ + children: t +}) => /* @__PURE__ */ W(NS, { childrenCount: e, children: t }), BS = xe.div.withConfig({ displayName: "tab-content__StyledTabContent", componentId: "sc-11to6ft-0" })([""]); -function $S(e) { - return /* @__PURE__ */ $(Kv, { ...e }); +function HO(e) { + return /* @__PURE__ */ W(BS, { ...e }); } -const Wv = be.div.withConfig({ +const RS = xe.div.withConfig({ displayName: "tab-menu__StyledTabMenu", componentId: "sc-16gm3gg-0" })(({ @@ -39839,31 +41758,31 @@ const Wv = be.div.withConfig({ flexFlow: "row nowrap", alignItems: "center" })); -function GS(e) { - return /* @__PURE__ */ $(Wv, { ...e }); +function jO(e) { + return /* @__PURE__ */ W(RS, { ...e }); } -const Jv = be(no).withConfig({ +const kS = xe(Lo).withConfig({ displayName: "tab-menu-item__StyledButton", componentId: "sc-1ybxd9o-0" })(({ theme: e, - active: o, - disabled: g, - lineHeight: C = "sm", - scale: P = "sm" + active: t, + disabled: c, + lineHeight: h = "sm", + scale: S = "sm" }) => e.withMedia({ minWidth: [131, 140], padding: "6px", maxWidth: "fit-content", height: 32, - fontSize: It({ + fontSize: xt({ sm: "1.3rem", xs: "0.8125rem" - }, P), - lineHeight: It({ + }, S), + lineHeight: xt({ sm: "1.5rem", xs: "1.25rem" - }, C), + }, h), fontWeight: e.typography.fontWeight.medium, cursor: "pointer", marginLeft: 2, @@ -39884,7 +41803,7 @@ const Jv = be(no).withConfig({ background: e.styleguideColors.fillSecondaryBlueClick, color: e.styleguideColors.contentBlue }, - ...o && { + ...t && { cursor: "default", background: e.styleguideColors.fillPrimaryBlue, color: e.styleguideColors.contentOnFill, @@ -39895,51 +41814,51 @@ const Jv = be(no).withConfig({ background: e.styleguideColors.fillPrimaryBlue } }, - ...g && { + ...c && { cursor: "default", pointerEvents: "none", color: e.styleguideColors.contentTertiary } })); -function qS(e) { - return /* @__PURE__ */ $(Yt, { tooltipContent: e.tooltip, limitWidth: !0, lineHeight: e.lineHeight, scale: e.scale, paddingScale: e.tooltipPaddingScale, children: /* @__PURE__ */ $(Jv, { color: "utility", ...e, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ +function DO(e) { + return /* @__PURE__ */ W(en, { tooltipContent: e.tooltip, limitWidth: !0, lineHeight: e.lineHeight, scale: e.scale, paddingScale: e.tooltipPaddingScale, children: /* @__PURE__ */ W(kS, { color: "utility", ...e, children: /* @__PURE__ */ Le(je, { gap: 3, align: "center", children: [ e.children, - e.tooltip && /* @__PURE__ */ $(_t, { width: 17, height: 16, src: Zf }) + e.tooltip && /* @__PURE__ */ W(vt, { width: 17, height: 16, src: Qh }) ] }) }) }); } -const $v = be.tbody.withConfig({ +const HS = xe.tbody.withConfig({ displayName: "table-body__StyledTableBody", componentId: "sc-5al5ed-0" })([""]); -function Gv(e) { - return /* @__PURE__ */ $($v, { ...e }); +function jS(e) { + return /* @__PURE__ */ W(HS, { ...e }); } -const qv = be.td.withConfig({ +const DS = xe.td.withConfig({ displayName: "table-data__StyledTableData", componentId: "sc-3ev5gc-0" })(({ theme: e, - align: o = "left", - fitContent: g, - indented: C + align: t = "left", + fitContent: c, + indented: h }) => ({ height: 48, padding: 8, - textAlign: o, + textAlign: t, ":first-of-type": { - paddingLeft: C ? 60 : 20 + paddingLeft: h ? 60 : 20 }, ":last-of-type": { paddingRight: 20 }, - ...g && { + ...c && { width: "1%" } })); -function Zv(e) { - return /* @__PURE__ */ $(qv, { ...e }); +function VS(e) { + return /* @__PURE__ */ W(DS, { ...e }); } -const Xv = be.thead.withConfig({ +const US = xe.thead.withConfig({ displayName: "table-head__StyledTableHead", componentId: "sc-avhi6b-0" })(({ @@ -39948,20 +41867,20 @@ const Xv = be.thead.withConfig({ background: e.styleguideColors.fillSecondary, height: 40 })); -function Yv(e) { - return /* @__PURE__ */ $(Xv, { ...e }); +function FS(e) { + return /* @__PURE__ */ W(US, { ...e }); } -var Zn = /* @__PURE__ */ ((e) => (e.TextSingleLine = "TextSingleLine", e.TextWithIcon = "TextWithIcon", e.TextWithAvatar = "TextWithAvatar", e))(Zn || {}); -const Qv = be.tr.withConfig({ +var Mo = /* @__PURE__ */ ((e) => (e.TextSingleLine = "TextSingleLine", e.TextWithIcon = "TextWithIcon", e.TextWithAvatar = "TextWithAvatar", e))(Mo || {}); +const zS = xe.tr.withConfig({ displayName: "table-row__StyledTableRow", componentId: "sc-9sq1sp-0" })(["", ""], ({ theme: e, - $loading: o, - isClickable: g + $loading: t, + isClickable: c }) => ({ ":hover, :active": { - background: o ? "" : e.styleguideColors.fillSecondary + background: t ? "" : e.styleguideColors.fillSecondary }, ":after": { content: "''", @@ -39972,28 +41891,28 @@ const Qv = be.tr.withConfig({ bottom: 0 }, position: "relative", - ...g && { + ...c && { cursor: "pointer" } })); -function e7({ +function KS({ loading: e, - ...o + ...t }) { - return /* @__PURE__ */ $(Qv, { $loading: e || !1, ...o }); + return /* @__PURE__ */ W(zS, { $loading: e || !1, ...t }); } -const t7 = be.div.withConfig({ +const WS = xe.div.withConfig({ displayName: "table__TableContainer", componentId: "sc-owkj1u-0" })(({ theme: e, - paddingBottom: o + paddingBottom: t }) => ({ overflowX: "auto", - ...o && { - paddingBottom: o + ...t && { + paddingBottom: t } -})), r7 = be.table.withConfig({ +})), JS = xe.table.withConfig({ displayName: "table__StyledTable", componentId: "sc-owkj1u-1" })(({ @@ -40002,7 +41921,7 @@ const t7 = be.div.withConfig({ width: "100%", position: "relative", borderCollapse: "collapse" -})), n7 = be.div.withConfig({ +})), $S = xe.div.withConfig({ displayName: "table__NoDataContainer", componentId: "sc-owkj1u-2" })(({ @@ -40016,36 +41935,36 @@ const t7 = be.div.withConfig({ alignItems: "center", justifyContent: "center" })); -function o7(e) { +function GS(e) { const { - renderHeader: o, - renderDataHeaders: g, - renderData: C, - renderFooter: P, - noData: x, + renderHeader: t, + renderDataHeaders: c, + renderData: h, + renderFooter: S, + noData: g, noDataMessage: n, - paddingBottom: c + paddingBottom: s } = e; - return /* @__PURE__ */ Pe(At, { children: [ - o && o(), - /* @__PURE__ */ $(t7, { paddingBottom: c, children: /* @__PURE__ */ Pe(r7, { children: [ - g && /* @__PURE__ */ $(Yv, { children: g() }), - C && /* @__PURE__ */ $(Gv, { children: C() }) + return /* @__PURE__ */ Le(pt, { children: [ + t && t(), + /* @__PURE__ */ W(WS, { paddingBottom: s, children: /* @__PURE__ */ Le(JS, { children: [ + c && /* @__PURE__ */ W(FS, { children: c() }), + h && /* @__PURE__ */ W(jS, { children: h() }) ] }) }), - P && P(), - n && x && /* @__PURE__ */ $(n7, { children: /* @__PURE__ */ $(Ae, { size: 1, children: n }) }) + S && S(), + n && g && /* @__PURE__ */ W($S, { children: /* @__PURE__ */ W(Be, { size: 1, children: n }) }) ] }); } -const i7 = be.th.withConfig({ +const qS = xe.th.withConfig({ displayName: "table-data-header__StyledTableDataHeader", componentId: "sc-114ffz5-0" })(({ theme: e, - align: o = "left", - fitContent: g, - fixedWidthRem: C + align: t = "left", + fitContent: c, + fixedWidthRem: h }) => ({ - textAlign: o, + textAlign: t, height: 20, padding: 8, ":first-of-type": { @@ -40054,14 +41973,14 @@ const i7 = be.th.withConfig({ ":last-of-type": { paddingRight: 20 }, - ...g && { + ...c && { width: "1%" }, - ...C && { - width: `${C}rem` + ...h && { + width: `${h}rem` }, textTransform: "capitalize" -})), a7 = be.div.withConfig({ +})), ZS = xe.div.withConfig({ displayName: "table-data-header__StyledHeaderGroup", componentId: "sc-114ffz5-1" })(({ @@ -40071,18 +41990,18 @@ const i7 = be.th.withConfig({ flexDirection: "row", alignItems: "center" })); -function ZS({ +function VO({ children: e, - tooltipText: o, - icon: g, - ...C + tooltipText: t, + icon: c, + ...h }) { - return /* @__PURE__ */ $(i7, { ...C, children: /* @__PURE__ */ $(a7, { children: /* @__PURE__ */ $(Yt, { tooltipContent: o, limitWidth: !0, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ - /* @__PURE__ */ $(Ae, { size: 1, scale: "xs", children: e }), - g + return /* @__PURE__ */ W(qS, { ...h, children: /* @__PURE__ */ W(ZS, { children: /* @__PURE__ */ W(en, { tooltipContent: t, limitWidth: !0, children: /* @__PURE__ */ Le(je, { gap: 3, align: "center", children: [ + /* @__PURE__ */ W(Be, { size: 1, scale: "xs", children: e }), + c ] }) }) }) }); } -const yd = be(no).withConfig({ +const P1 = xe(Lo).withConfig({ displayName: "pagination-button__StyledButton", componentId: "sc-e7xbtq-0" })(({ @@ -40092,20 +42011,20 @@ const yd = be(no).withConfig({ fontWeight: e.typography.fontWeight.medium, minHeight: 24, padding: ["2px 10px"] -})), s7 = be(yd).withConfig({ +})), YS = xe(P1).withConfig({ displayName: "pagination-button__StyledArrowsButton", componentId: "sc-e7xbtq-1" })(({ theme: e }) => e.withMedia({ padding: ["2px 4px"] -})), gi = ({ +})), sa = ({ children: e, - ...o -}) => /* @__PURE__ */ $(yd, { color: "utility", lineHeight: "xs", ...o, children: /* @__PURE__ */ $(mn, { size: 2, children: e }) }), vi = ({ + ...t +}) => /* @__PURE__ */ W(P1, { color: "utility", lineHeight: "xs", ...t, children: /* @__PURE__ */ W(pr, { size: 2, children: e }) }), ca = ({ children: e, - ...o -}) => /* @__PURE__ */ $(s7, { lineHeight: "xs", ...o, children: e }), u7 = be(ss).withConfig({ + ...t +}) => /* @__PURE__ */ W(YS, { lineHeight: "xs", ...t, children: e }), XS = xe(xc).withConfig({ displayName: "pagination-info-text__StyledContainer", componentId: "sc-r7uqsw-0" })(({ @@ -40118,24 +42037,24 @@ const yd = be(no).withConfig({ height: 20, padding: ["4px 8px", "4px 16px"], width: "100%" -})), gd = ({ +})), O1 = ({ children: e, - ...o -}) => /* @__PURE__ */ $(u7, { ...o, align: "center", justify: "center", children: /* @__PURE__ */ $(mn, { size: 2, variation: "black", noWrap: !0, children: e }) }); -function co({ + ...t +}) => /* @__PURE__ */ W(XS, { ...t, align: "center", justify: "center", children: /* @__PURE__ */ W(pr, { size: 2, variation: "black", noWrap: !0, children: e }) }); +function Uo({ eventType: e = "click", - callback: o + callback: t }) { - const g = wt(null), C = ot((P) => { - g && g.current && (g.current.contains(P.target) || o()); - }, [o, g]); - return vt(() => (document.addEventListener(e, C), () => { - document.removeEventListener(e, C, !1); - }), [C]), { - ref: g + const c = Qe(null), h = rt((S) => { + c && c.current && (c.current.contains(S.target) || t()); + }, [t, c]); + return Ze(() => (document.addEventListener(e, h), () => { + document.removeEventListener(e, h, !1); + }), [h]), { + ref: c }; } -const c7 = be.div.withConfig({ +const QS = xe.div.withConfig({ displayName: "pagination-input__PaginationInputContainer", componentId: "sc-gh1wzw-0" })(({ @@ -40145,7 +42064,7 @@ const c7 = be.div.withConfig({ "*": { boxSizing: "border-box" } -})), l7 = be("input").withConfig({ +})), e_ = xe("input").withConfig({ displayName: "pagination-input__StyledInput", componentId: "sc-gh1wzw-1" })(({ @@ -40168,7 +42087,7 @@ const c7 = be.div.withConfig({ } }, outline: "none" -})), d7 = be(gd).withConfig({ +})), t_ = xe(O1).withConfig({ displayName: "pagination-input__InputInfoText", componentId: "sc-gh1wzw-2" })(({ @@ -40181,38 +42100,38 @@ const c7 = be.div.withConfig({ background: e.styleguideColors.fillSecondaryRedHover, color: e.styleguideColors.contentRed } -})), uc = ({ +})), m2 = ({ currentPage: e, - pageCount: o, - onChange: g + pageCount: t, + onChange: c }) => { - const [C, P] = Ct(!1), [x, n] = Ct(!1), [c, r] = Ct(void 0), a = (u) => Number(u?.replace(/[,.]/g, "")) || 0, i = () => { + const [h, S] = ft(!1), [g, n] = ft(!1), [s, r] = ft(void 0), o = (m) => Number(m?.replace(/[,.]/g, "")) || 0, i = () => { n(!1), r(void 0); }, { - ref: m - } = co({ + ref: p + } = Uo({ callback: () => { i(); } }); - return /* @__PURE__ */ $(c7, { onMouseOver: () => { - P(!0); + return /* @__PURE__ */ W(QS, { onMouseOver: () => { + S(!0); }, onMouseOut: () => { - P(!1); + S(!1); }, onClick: () => { n(!0); - }, ref: m, children: /* @__PURE__ */ $(d7, { children: x ? /* @__PURE__ */ $(l7, { inputMode: "numeric", autoFocus: !0, value: c, onChange: (u) => r(u.target.value), onKeyDown: (u) => { - if (u.keyCode === 13) { - const d = a(c); - g(d > o ? o : d), i(); + }, ref: p, children: /* @__PURE__ */ W(t_, { children: g ? /* @__PURE__ */ W(e_, { inputMode: "numeric", autoFocus: !0, value: s, onChange: (m) => r(m.target.value), onKeyDown: (m) => { + if (m.keyCode === 13) { + const v = o(s); + c(v > t ? t : v), i(); } - } }) : C && !x ? /* @__PURE__ */ $(At, { children: "Enter page" }) : /* @__PURE__ */ Pe(At, { children: [ + } }) : h && !g ? /* @__PURE__ */ W(pt, { children: "Enter page" }) : /* @__PURE__ */ Le(pt, { children: [ "Page ", - Gr(e), + zn(e), " of ", - Gr(o) + zn(t) ] }) }) }); -}, cc = be.div.withConfig({ +}, g2 = xe.div.withConfig({ displayName: "pagination-container__PaginationContainer", componentId: "sc-1iulzna-0" })(({ @@ -40237,7 +42156,7 @@ const c7 = be.div.withConfig({ background: e.styleguideColors.fillSecondaryRedClick, color: e.styleguideColors.fillPrimaryRedClick } -})), f7 = be.div.withConfig({ +})), n_ = xe.div.withConfig({ displayName: "pagination-dropdown__PaginationDropdownContainer", componentId: "sc-1ea24no-0" })(({ @@ -40245,7 +42164,7 @@ const c7 = be.div.withConfig({ }) => e.withMedia({ position: "relative", minWidth: [58] -})), h7 = be.ul.withConfig({ +})), r_ = xe.ul.withConfig({ displayName: "pagination-dropdown__PaginationDropdownMenu", componentId: "sc-1ea24no-1" })(({ @@ -40273,7 +42192,7 @@ const c7 = be.div.withConfig({ borderTopLeftRadius: 0, borderTopRightRadius: 0 } -})), p7 = be.li.withConfig({ +})), o_ = xe.li.withConfig({ displayName: "pagination-dropdown__PaginationDropdownMenuItem", componentId: "sc-1ea24no-2" })(({ @@ -40285,94 +42204,94 @@ const c7 = be.div.withConfig({ "& > input": { display: "none" } -})), m7 = ({ +})), i_ = ({ value: e, - items: o, - onChange: g + items: t, + onChange: c }) => { - const [C, P] = Ct(!1), { - ref: x - } = co({ + const [h, S] = ft(!1), { + ref: g + } = Uo({ callback: () => { - P(!1); + S(!1); } }); - return /* @__PURE__ */ Pe(f7, { ref: x, onClick: () => { - P(!C); + return /* @__PURE__ */ Le(n_, { ref: g, onClick: () => { + S(!h); }, children: [ - /* @__PURE__ */ Pe(cc, { children: [ - /* @__PURE__ */ $(mn, { size: 1, children: e }), - /* @__PURE__ */ $(_t, { src: so, marginLeft: !0, rotate: C, role: "img", alt: "Arrow down icon" }) + /* @__PURE__ */ Le(g2, { children: [ + /* @__PURE__ */ W(pr, { size: 1, children: e }), + /* @__PURE__ */ W(vt, { src: ko, marginLeft: !0, rotate: h, role: "img", alt: "Arrow down icon" }) ] }), - C && /* @__PURE__ */ $(h7, { children: o.map((n) => /* @__PURE__ */ $(cc, { onClick: () => { - g(n); - }, children: /* @__PURE__ */ Pe(p7, { children: [ - /* @__PURE__ */ $("input", { type: "radio", name: "rows", id: `${n}-row`, defaultChecked: n === e, value: n }), - /* @__PURE__ */ $(mn, { size: 2, children: n }) + h && /* @__PURE__ */ W(r_, { children: t.map((n) => /* @__PURE__ */ W(g2, { onClick: () => { + c(n); + }, children: /* @__PURE__ */ Le(o_, { children: [ + /* @__PURE__ */ W("input", { type: "radio", name: "rows", id: `${n}-row`, defaultChecked: n === e, value: n }), + /* @__PURE__ */ W(pr, { size: 2, children: n }) ] }) }, n)) }) ] }); -}, lc = ({ +}, v2 = ({ value: e, - items: o, - onChange: g -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ $(gd, { children: "Show rows" }), - /* @__PURE__ */ $(m7, { value: e, items: o, onChange: g }) + items: t, + onChange: c +}) => /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ W(O1, { children: "Show rows" }), + /* @__PURE__ */ W(i_, { value: e, items: t, onChange: c }) ] }); -var y7 = function(e) { - var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = o.literal, C = o.overlap, P = g ? e : ["&"].concat(e); - function x(n) { +var a_ = function(e) { + var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, c = t.literal, h = t.overlap, S = c ? e : ["&"].concat(e); + function g(n) { if (typeof n != "object" || n == null) return []; if (Array.isArray(n)) - return n.map(x); - var c = {}, r = {}, a = {}; + return n.map(g); + var s = {}, r = {}, o = {}; return Object.keys(n).forEach(function(i) { - var m = n[i]; - if (!Array.isArray(m) && g && (m = [m]), (g || Array.isArray(m)) && i.charCodeAt(0) !== 38) { - var t = void 0; - m.forEach(function(f, b) { - if (!(C && t === f) && f != null) - if (t = f, b === 0 && !g) - a[i] = f; - else if (c[P[b]] === void 0) { - var y; - c[P[b]] = (y = {}, y[i] = f, y); + var p = n[i]; + if (!Array.isArray(p) && c && (p = [p]), (c || Array.isArray(p)) && i.charCodeAt(0) !== 38) { + var a = void 0; + p.forEach(function(f, C) { + if (!(h && a === f) && f != null) + if (a = f, C === 0 && !c) + o[i] = f; + else if (s[S[C]] === void 0) { + var w; + s[S[C]] = (w = {}, w[i] = f, w); } else - c[P[b]][i] = f; + s[S[C]][i] = f; }); - } else typeof m == "object" ? r[i] = x(m) : a[i] = m; - }), P.forEach(function(i) { - c[i] && (a[i] = c[i]); - }), Object.assign(a, r), a; + } else typeof p == "object" ? r[i] = g(p) : o[i] = p; + }), S.forEach(function(i) { + s[i] && (o[i] = s[i]); + }), Object.assign(o, r), o; } return function() { - for (var n = arguments.length, c = Array(n), r = 0; r < n; r++) - c[r] = arguments[r]; - return c.map(x); + for (var n = arguments.length, s = Array(n), r = 0; r < n; r++) + s[r] = arguments[r]; + return s.map(g); }; }; -const La = { +const Ws = { // there is NO "mobile breakpoint", because in mobile first // styles for mobile are defined by default without media tablet: 768, laptop: 1024, desktop: 1280 -}, Xn = { +}, Po = { // mobile: `(max-width:${Breakpoints['tablet'] - 1}px)`, - tablet: `(min-width:${La.tablet}px)`, - laptop: `(min-width:${La.laptop}px)`, - desktop: `(min-width:${La.desktop}px)` -}, g7 = y7([`@media ${Xn.tablet}`, `@media ${Xn.laptop}`, `@media ${Xn.desktop}`]), cn = ([e, o, g, C], P) => { - const n = [Xn.desktop, Xn.laptop, Xn.tablet].map((i) => window.matchMedia(i)), c = () => { - const i = n.findIndex((m) => m.matches); - return [C ?? g ?? o, g ?? o, o][i] ?? e; - }, [r, a] = Ct(c); - return vt(() => { - const i = () => a(c); - return i(), n.forEach((m) => m.addListener(i)), () => n.forEach((m) => m.removeListener(i)); - }, [...P]), r; -}, dc = [5, 10, 25, 50], fc = be(je).withConfig({ + tablet: `(min-width:${Ws.tablet}px)`, + laptop: `(min-width:${Ws.laptop}px)`, + desktop: `(min-width:${Ws.desktop}px)` +}, s_ = a_([`@media ${Po.tablet}`, `@media ${Po.laptop}`, `@media ${Po.desktop}`]), ir = ([e, t, c, h], S) => { + const n = [Po.desktop, Po.laptop, Po.tablet].map((i) => window.matchMedia(i)), s = () => { + const i = n.findIndex((p) => p.matches); + return [h ?? c ?? t, c ?? t, t][i] ?? e; + }, [r, o] = ft(s); + return Ze(() => { + const i = () => o(s); + return i(), n.forEach((p) => p.addListener(i)), () => n.forEach((p) => p.removeListener(i)); + }, [...S]), r; +}, b2 = [5, 10, 25, 50], w2 = xe(je).withConfig({ displayName: "pagination__Container", componentId: "sc-1muel29-0" })(({ @@ -40383,75 +42302,75 @@ const La = { justifyContent: "space-between", padding: ["12px 10px", "12px 20px"], margin: ["0 0 10px 0", "0"] -})), hc = be(_t).withConfig({ +})), C2 = xe(vt).withConfig({ displayName: "pagination__MirroredSvgIcon", componentId: "sc-1muel29-1" })(({ theme: e }) => ({ transform: "rotate(180deg)" -})), v7 = ({ +})), c_ = ({ perPage: e = 10, - itemCount: o = 0, - pageCount: g = 1, - currentPage: C = 1, - setCurrentPage: P = () => { + itemCount: t = 0, + pageCount: c = 1, + currentPage: h = 1, + setCurrentPage: S = () => { }, - setPerPage: x = () => { + setPerPage: g = () => { }, hideRowsPerPage: n = !1, - totalRowsLabel: c = "total row" + totalRowsLabel: s = "total row" }) => { - const r = C > 1, a = C > 1, i = C < g, m = g < 1, t = () => P(C - 1), f = () => P(C + 1), b = () => P(1), y = () => P(g), u = (v) => P(v), s = cn([/* @__PURE__ */ Pe(Kt, { itemsSpacing: 4, children: [ - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, children: [ - /* @__PURE__ */ $(gi, { color: "secondaryRed", disabled: !r, onClick: b, children: "First" }), - /* @__PURE__ */ $(vi, { color: "secondaryRed", disabled: !a, onClick: t, children: /* @__PURE__ */ $(hc, { src: ni }) }), - /* @__PURE__ */ $(uc, { pageCount: g, currentPage: C, onChange: u }), - /* @__PURE__ */ $(vi, { color: "secondaryRed", disabled: !i, onClick: f, children: /* @__PURE__ */ $(_t, { src: ni }) }), - /* @__PURE__ */ $(gi, { color: "secondaryRed", disabled: !i, onClick: y, children: "Last" }) + const r = h > 1, o = h > 1, i = h < c, p = c < 1, a = () => S(h - 1), f = () => S(h + 1), C = () => S(1), w = () => S(c), m = (y) => S(y), u = ir([/* @__PURE__ */ Le(Ht, { itemsSpacing: 4, children: [ + /* @__PURE__ */ Le(je, { itemsSpacing: 4, children: [ + /* @__PURE__ */ W(sa, { color: "secondaryRed", disabled: !r, onClick: C, children: "First" }), + /* @__PURE__ */ W(ca, { color: "secondaryRed", disabled: !o, onClick: a, children: /* @__PURE__ */ W(C2, { src: Fi }) }), + /* @__PURE__ */ W(m2, { pageCount: c, currentPage: h, onChange: m }), + /* @__PURE__ */ W(ca, { color: "secondaryRed", disabled: !i, onClick: f, children: /* @__PURE__ */ W(vt, { src: Fi }) }), + /* @__PURE__ */ W(sa, { color: "secondaryRed", disabled: !i, onClick: w, children: "Last" }) ] }), - !n && /* @__PURE__ */ $(lc, { value: e, items: dc, onChange: x }) - ] }), /* @__PURE__ */ Pe(je, { itemsSpacing: 40, children: [ - !n && /* @__PURE__ */ $(lc, { value: e, items: dc, onChange: x }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ $(gi, { disabled: !r, onClick: b, color: "secondaryRed", children: "First" }), - /* @__PURE__ */ $(vi, { color: "secondaryRed", disabled: !a, onClick: t, children: /* @__PURE__ */ $(hc, { src: ni }) }), - /* @__PURE__ */ $(uc, { pageCount: g, currentPage: C, onChange: u }), - /* @__PURE__ */ $(vi, { color: "secondaryRed", disabled: !i, onClick: f, children: /* @__PURE__ */ $(_t, { src: ni }) }), - /* @__PURE__ */ $(gi, { disabled: !i, onClick: y, color: "secondaryRed", children: "Last" }) + !n && /* @__PURE__ */ W(v2, { value: e, items: b2, onChange: g }) + ] }), /* @__PURE__ */ Le(je, { itemsSpacing: 40, children: [ + !n && /* @__PURE__ */ W(v2, { value: e, items: b2, onChange: g }), + /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ W(sa, { disabled: !r, onClick: C, color: "secondaryRed", children: "First" }), + /* @__PURE__ */ W(ca, { color: "secondaryRed", disabled: !o, onClick: a, children: /* @__PURE__ */ W(C2, { src: Fi }) }), + /* @__PURE__ */ W(m2, { pageCount: c, currentPage: h, onChange: m }), + /* @__PURE__ */ W(ca, { color: "secondaryRed", disabled: !i, onClick: f, children: /* @__PURE__ */ W(vt, { src: Fi }) }), + /* @__PURE__ */ W(sa, { disabled: !i, onClick: w, color: "secondaryRed", children: "Last" }) ] }) - ] })], [e, C, g]); - return m ? /* @__PURE__ */ $(fc, { children: /* @__PURE__ */ $("span", { children: " " }) }) : /* @__PURE__ */ Pe(fc, { children: [ - /* @__PURE__ */ $(je, { align: "center", children: /* @__PURE__ */ Pe(Ae, { size: 3, scale: "xs", variation: "darkGray", children: [ - Gr(o), + ] })], [e, h, c]); + return p ? /* @__PURE__ */ W(w2, { children: /* @__PURE__ */ W("span", { children: " " }) }) : /* @__PURE__ */ Le(w2, { children: [ + /* @__PURE__ */ W(je, { align: "center", children: /* @__PURE__ */ Le(Be, { size: 3, scale: "xs", variation: "darkGray", children: [ + zn(t), " ", - c, - o > 1 && "s" + s, + t > 1 && "s" ] }) }), - s + u ] }); -}, b7 = be(e7).withConfig({ +}, u_ = xe(KS).withConfig({ displayName: "table-loader__TableLoaderRow", componentId: "sc-aagv8n-0" })(({ theme: e, - type: o + type: t }) => ({ - height: It({ - [Zn.TextWithAvatar]: "56px", - [Zn.TextWithIcon]: "52px", - [Zn.TextSingleLine]: "48px" - }, o) + height: xt({ + [Mo.TextWithAvatar]: "56px", + [Mo.TextWithIcon]: "52px", + [Mo.TextSingleLine]: "48px" + }, t) })); -function w7({ +function l_({ columnsLength: e, - rowsLength: o = 10, - tableRowType: g = Zn.TextSingleLine + rowsLength: t = 10, + tableRowType: c = Mo.TextSingleLine }) { - const C = Array(o).fill(void 0), P = Array(e).fill(null); - return /* @__PURE__ */ $(At, { children: C.map((x, n) => /* @__PURE__ */ $(b7, { type: g, loading: !0, children: P.map((c, r) => /* @__PURE__ */ $(Zv, { children: /* @__PURE__ */ $(io, {}) }, "column" + r)) }, "row" + n)) }); + const h = Array(t).fill(void 0), S = Array(e).fill(null); + return /* @__PURE__ */ W(pt, { children: h.map((g, n) => /* @__PURE__ */ W(u_, { type: c, loading: !0, children: S.map((s, r) => /* @__PURE__ */ W(VS, { children: /* @__PURE__ */ W(Bo, {}) }, "column" + r)) }, "row" + n)) }); } -const C7 = be("div").withConfig({ +const d_ = xe("div").withConfig({ displayName: "table-error__FailedToFetchWrapper", componentId: "sc-1vrch0o-0" })(({ @@ -40462,7 +42381,7 @@ const C7 = be("div").withConfig({ flexDirection: "column", alignItems: "center", justifyContent: "center" -})), _7 = be(Ae).withConfig({ +})), f_ = xe(Be).withConfig({ displayName: "table-error__StyledBodyText", componentId: "sc-1vrch0o-1" })(({ @@ -40470,7 +42389,7 @@ const C7 = be("div").withConfig({ }) => ({ marginTop: 8, color: e.styleguideColors.contentSecondary -})), S7 = be(_t).withConfig({ +})), p_ = xe(vt).withConfig({ displayName: "table-error__StyledSvgIcon", componentId: "sc-1vrch0o-2" })(({ @@ -40480,34 +42399,34 @@ const C7 = be("div").withConfig({ fill: e.styleguideColors.fillPrimaryRed }, marginBottom: 20 -})), M7 = () => /* @__PURE__ */ Pe(C7, { children: [ - /* @__PURE__ */ $(S7, { src: al, size: 60 }), - /* @__PURE__ */ $(Ae, { scale: "lg", lineHeight: "sm", size: 1, children: "Failed to load data" }), - /* @__PURE__ */ $(_7, { size: 3, scale: "xs", children: "Please try again later" }) -] }), x7 = ({ +})), h_ = () => /* @__PURE__ */ Le(d_, { children: [ + /* @__PURE__ */ W(p_, { src: hd, size: 60 }), + /* @__PURE__ */ W(Be, { scale: "lg", lineHeight: "sm", size: 1, children: "Failed to load data" }), + /* @__PURE__ */ W(f_, { size: 3, scale: "xs", children: "Please try again later" }) +] }), y_ = ({ columnsLength: e -}) => /* @__PURE__ */ $("tr", { children: /* @__PURE__ */ $("td", { colSpan: e, children: /* @__PURE__ */ $(M7, {}) }) }); -var E7 = /* @__PURE__ */ ((e) => (e.ASC = "ASC", e.DESC = "DESC", e))(E7 || {}); -const XS = ({ +}) => /* @__PURE__ */ W("tr", { children: /* @__PURE__ */ W("td", { colSpan: e, children: /* @__PURE__ */ W(h_, {}) }) }); +var m_ = /* @__PURE__ */ ((e) => (e.ASC = "ASC", e.DESC = "DESC", e))(m_ || {}); +const UO = ({ data: e, - loading: o, - error: g, - renderDataHeaders: C, - renderPaginatedData: P, - tableRowType: x = Zn.TextWithAvatar, + loading: t, + error: c, + renderDataHeaders: h, + renderPaginatedData: S, + tableRowType: g = Mo.TextWithAvatar, ...n }) => { - const c = () => !g && /* @__PURE__ */ $(v7, { ...n, perPage: n.pageSize ?? 10 }); - return /* @__PURE__ */ $(o7, { renderHeader: () => c(), renderDataHeaders: () => C({ + const s = () => !c && /* @__PURE__ */ W(c_, { ...n, perPage: n.pageSize ?? 10 }); + return /* @__PURE__ */ W(GS, { renderHeader: () => s(), renderDataHeaders: () => h({ sortingProps: null - }), renderData: () => e == null && !g || o ? /* @__PURE__ */ $(w7, { columnsLength: y0.count(C({ + }), renderData: () => e == null && !c || t ? /* @__PURE__ */ W(l_, { columnsLength: n0.count(h({ sortingProps: {} - }).props.children), tableRowType: x }) : g ? /* @__PURE__ */ $(x7, { columnsLength: y0.count(C({ + }).props.children), tableRowType: g }) : c ? /* @__PURE__ */ W(y_, { columnsLength: n0.count(h({ sortingProps: {} - }).props.children) }) : e ? P(e, { + }).props.children) }) : e ? S(e, { sortingProps: {} - }) : /* @__PURE__ */ $(At, {}), renderFooter: () => c(), ...n }); -}, P7 = (e) => e ? "contentRed" : "", A7 = be.textarea.withConfig({ + }) : /* @__PURE__ */ W(pt, {}), renderFooter: () => s(), ...n }); +}, g_ = (e) => e ? "contentRed" : "", v_ = xe.textarea.withConfig({ displayName: "textarea__StyledTextarea", componentId: "sc-gghw4d-0" })(({ @@ -40526,13 +42445,13 @@ const XS = ({ color: e.styleguideColors.contentSecondary }, resize: "none" -})), O7 = be("div").withConfig({ +})), b_ = xe("div").withConfig({ displayName: "textarea__TextareaContainer", componentId: "sc-gghw4d-1" })(({ theme: e, - disabled: o, - error: g + disabled: t, + error: c }) => ({ display: "flex", flexDirection: "row", @@ -40545,16 +42464,16 @@ const XS = ({ fontFamily: e.typography.fontFamily.primary, fontSize: "0.875rem", path: { - fill: e.styleguideColors[P7(g)] + fill: e.styleguideColors[g_(c)] }, - ...g && { + ...c && { border: `1px solid ${e.styleguideColors.borderRed}` }, - ...o && { + ...t && { opacity: 0.5, color: e.styleguideColors.contentTertiary } -})), T7 = be("div").withConfig({ +})), w_ = xe("div").withConfig({ displayName: "textarea__SuffixContainer", componentId: "sc-gghw4d-2" })(({ @@ -40562,69 +42481,69 @@ const XS = ({ }) => ({ marginLeft: 16 })); -function YS({ +function FO({ id: e, - className: o, - style: g, - disabled: C, - label: P, - rightLabel: x, + className: t, + style: c, + disabled: h, + label: S, + rightLabel: g, suffixIcon: n, - prefixIcon: c, + prefixIcon: s, error: r, - validationText: a, + validationText: o, onFocus: i, - labelFontSize: m = qo.default, - ...t + labelFontSize: p = Ii.default, + ...a }) { - const f = (b) => { - b.target.select(), i && i(b); + const f = (C) => { + C.target.select(), i && i(C); }; - return r && (n = /* @__PURE__ */ $(_t, { src: Ji })), /* @__PURE__ */ $(dd, { id: e, className: o, style: g, label: P, rightLabel: x, status: r ? d0.Error : void 0, statusText: a, disabled: C, labelFontSize: m, children: /* @__PURE__ */ Pe(O7, { error: r, children: [ - /* @__PURE__ */ $(A7, { title: "", disabled: C, onFocus: f, ...t }), - n && /* @__PURE__ */ $(T7, { children: n }) + return r && (n = /* @__PURE__ */ W(vt, { src: Ja })), /* @__PURE__ */ W(S1, { id: e, className: t, style: c, label: S, rightLabel: g, status: r ? Wu.Error : void 0, statusText: o, disabled: h, labelFontSize: p, children: /* @__PURE__ */ Le(b_, { error: r, children: [ + /* @__PURE__ */ W(v_, { title: "", disabled: h, onFocus: f, ...a }), + n && /* @__PURE__ */ W(w_, { children: n }) ] }) }); } -const I7 = be(Kt).withConfig({ +const C_ = xe(Ht).withConfig({ displayName: "accordion__AccordionContainer", componentId: "sc-1d5ra64-0" })(({ isOpen: e, - backgroundColor: o = "transparent" + backgroundColor: t = "transparent" }) => ({ - background: e ? o : "transparent", + background: e ? t : "transparent", width: "100%" -})), N7 = be.div.withConfig({ +})), S_ = xe.div.withConfig({ displayName: "accordion__StyledContainer", componentId: "sc-1d5ra64-1" })(() => ({ cursor: "pointer" })); -function QS({ +function zO({ children: e, - renderContent: o, - disableClickAway: g, - ...C + renderContent: t, + disableClickAway: c, + ...h }) { - const [P, x] = Ct(C.isOpen || !1), { + const [S, g] = ft(h.isOpen || !1), { ref: n - } = co({ + } = Uo({ callback: () => { - !g && x(!1); + !c && g(!1); } - }), c = { - isOpen: P + }), s = { + isOpen: S }; - return /* @__PURE__ */ Pe(I7, { isOpen: P, ...C, children: [ - /* @__PURE__ */ $(N7, { ref: n, onClick: () => { - x(!P); + return /* @__PURE__ */ Le(C_, { isOpen: S, ...h, children: [ + /* @__PURE__ */ W(S_, { ref: n, onClick: () => { + g(!S); }, tabIndex: 0, onKeyDown: (r) => { - r.key === "Enter" && x(!P); - }, children: e(c) }), - P && o(c) + r.key === "Enter" && g(!S); + }, children: e(s) }), + S && t(s) ] }); } -const L7 = be.div.withConfig({ +const __ = xe.div.withConfig({ displayName: "wizard-tile__StyledWizardTile", componentId: "sc-1frlsks-0" })(({ @@ -40638,10 +42557,10 @@ const L7 = be.div.withConfig({ height: "100%", padding: ["80px 20px", "80px 150px", "80px 200px", "80px 300px"] })); -function eM(e) { - return /* @__PURE__ */ $(L7, { ...e }); +function KO(e) { + return /* @__PURE__ */ W(__, { ...e }); } -const R7 = be.div.withConfig({ +const E_ = xe.div.withConfig({ displayName: "containers__SettingsContainer", componentId: "sc-keh4pe-0" })(({ @@ -40651,37 +42570,37 @@ const R7 = be.div.withConfig({ height: "40px", width: "100%", display: "flex" -})), tM = ({ +})), WO = ({ children: e -}) => /* @__PURE__ */ $(R7, { children: e }), pc = be(Ae).withConfig({ +}) => /* @__PURE__ */ W(E_, { children: e }), S2 = xe(Be).withConfig({ displayName: "account__StyledBodyText", componentId: "sc-16fucbm-0" })(({ theme: e, - fontSize: o + fontSize: t }) => ({ color: e.styleguideColors.contentTertiary, - fontSize: o -})), rM = ({ + fontSize: t +})), JO = ({ name: e, - hash: o, - logo: g, - fontSize: C -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - g ? /* @__PURE__ */ $(kr, { src: g, size: "small" }) : /* @__PURE__ */ $(kr, { hash: o, size: "small" }), - e ? /* @__PURE__ */ $(pc, { size: 2, monotype: !0, fontSize: C, children: e }) : /* @__PURE__ */ $(pc, { size: 2, monotype: !0, fontSize: C, children: Vr(o) }) -] }), k7 = be(je).withConfig({ + hash: t, + logo: c, + fontSize: h +}) => /* @__PURE__ */ Le(je, { itemsSpacing: 8, align: "center", children: [ + c ? /* @__PURE__ */ W(An, { src: c, size: "small" }) : /* @__PURE__ */ W(An, { hash: t, size: "small" }), + e ? /* @__PURE__ */ W(S2, { size: 2, monotype: !0, fontSize: h, children: e }) : /* @__PURE__ */ W(S2, { size: 2, monotype: !0, fontSize: h, children: kn(t) }) +] }), x_ = xe(je).withConfig({ displayName: "base-dropdown-menu__Container", componentId: "sc-wg4h6a-0" })(({ theme: e, - isOpen: o + isOpen: t }) => ({ borderRadius: e.borderRadius.base, - ...!o && { + ...!t && { display: "none" } -})), B7 = be.div.withConfig({ +})), M_ = xe.div.withConfig({ displayName: "base-dropdown-menu__BaseMenuWrapper", componentId: "sc-wg4h6a-1" })(({ @@ -40693,59 +42612,59 @@ const R7 = be.div.withConfig({ filter: e.boxShadow.dropdown, borderTop: `5px solid ${e.styleguideColors.fillPrimaryRed}`, borderRadius: e.borderRadius.base -})), vd = ({ +})), T1 = ({ opened: e = !1, - onClose: o, - children: g, - className: C + onClose: t, + children: c, + className: h }) => { - const [P, x] = Ct(e); - vt(() => { - x(e); + const [S, g] = ft(e); + Ze(() => { + g(e); }, [e]); const { ref: n - } = co({ + } = Uo({ callback: () => { - x(!1), o && o(); + g(!1), t && t(); } }); - return /* @__PURE__ */ $(k7, { isOpen: P, ref: n, className: C, children: /* @__PURE__ */ $(B7, { children: g }) }); -}, H7 = be(Kt).withConfig({ + return /* @__PURE__ */ W(x_, { isOpen: S, ref: n, className: h, children: /* @__PURE__ */ W(M_, { children: c }) }); +}, P_ = xe(Ht).withConfig({ displayName: "dropdown-menu__StyledFlexColumn", componentId: "sc-1nekj2e-0" })(({ theme: e, - multiColumn: o, - padding: g + multiColumn: t, + padding: c }) => ({ - padding: g ?? "8px", - ...o && { + padding: c ?? "8px", + ...t && { padding: "8px", "& li:hover > *": { borderRadius: e.borderRadius.base } } -})), nM = ({ +})), $O = ({ children: e, - multiColumn: o, - padding: g, - ...C -}) => /* @__PURE__ */ $(vd, { ...C, children: /* @__PURE__ */ $(H7, { multiColumn: o, padding: g, children: e }) }), j7 = be(je).withConfig({ + multiColumn: t, + padding: c, + ...h +}) => /* @__PURE__ */ W(T1, { ...h, children: /* @__PURE__ */ W(P_, { multiColumn: t, padding: c, children: e }) }), O_ = xe(je).withConfig({ displayName: "dropdown-menu-item__ItemContainer", componentId: "sc-hjkoc1-0" })(({ theme: e, - padding: o + padding: t }) => ({ width: "100%", cursor: "pointer", - padding: o ?? "12px 16px", + padding: t ?? "12px 16px", ":hover, :active": { borderRadius: e.borderRadius.base, background: e.styleguideColors.fillSecondary } -})), D7 = be.li.withConfig({ +})), T_ = xe.li.withConfig({ displayName: "dropdown-menu-item__MenuItemWrapper", componentId: "sc-hjkoc1-1" })(({ @@ -40763,14 +42682,14 @@ const R7 = be.div.withConfig({ background: e.styleguideColors.fillSecondary } } -})), oM = St.forwardRef(function(o, g) { +})), GO = yt.forwardRef(function(t, c) { const { - padding: C, - children: P, - ...x - } = o; - return /* @__PURE__ */ $(D7, { ...x, ref: g, children: /* @__PURE__ */ $(j7, { padding: C, children: P }) }); -}), V7 = be.ul.withConfig({ + padding: h, + children: S, + ...g + } = t; + return /* @__PURE__ */ W(T_, { ...g, ref: c, children: /* @__PURE__ */ W(O_, { padding: h, children: S }) }); +}), A_ = xe.ul.withConfig({ displayName: "products-menu__ProductsMenuWrapper", componentId: "sc-n6ukm0-0" })(({ @@ -40779,23 +42698,23 @@ const R7 = be.div.withConfig({ maxWidth: "620px", padding: "8px", margin: 0 -})), iM = ({ +})), qO = ({ opened: e = !1, - children: o, - className: g + children: t, + className: c }) => { - const C = cn([Kt, Kt, je], []); - return /* @__PURE__ */ $(vd, { opened: e, children: /* @__PURE__ */ $(V7, { className: g, children: /* @__PURE__ */ $(C, { wrap: "wrap", children: o }) }) }); + const h = ir([Ht, Ht, je], []); + return /* @__PURE__ */ W(T1, { opened: e, children: /* @__PURE__ */ W(A_, { className: c, children: /* @__PURE__ */ W(h, { wrap: "wrap", children: t }) }) }); }; -var es = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(es || {}); -const U7 = be.span.withConfig({ +var vc = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(vc || {}); +const L_ = xe.span.withConfig({ displayName: "products-menu-item__ProductItemWrapper", componentId: "sc-1ns6tfd-0" })(({ theme: e, - isOpen: o, - selected: g, - disabled: C + isOpen: t, + selected: c, + disabled: h }) => e.withMedia({ display: "flex", flex: "0 1 auto", @@ -40808,18 +42727,18 @@ const U7 = be.span.withConfig({ borderRadius: e.borderRadius.base, background: e.styleguideColors.backgroundSecondary }, - ...g && { + ...c && { background: e.styleguideColors.backgroundSecondary, pointerEvents: "none" }, - ...C && { + ...h && { color: e.styleguideColors.contentSecondary, "&:hover > *": { pointerEvents: "none", color: e.styleguideColors.contentSecondary } } -})), mc = be(Ae).withConfig({ +})), _2 = xe(Be).withConfig({ displayName: "products-menu-item__StyledBodyText", componentId: "sc-1ns6tfd-1" })(({ @@ -40827,46 +42746,46 @@ const U7 = be.span.withConfig({ }) => e.withMedia({ whiteSpace: "nowrap", color: e.styleguideColors.contentPrimary -})), yc = { +})), E2 = { light: "assets/icons/ic-sand-clock-light.svg", dark: "assets/icons/ic-sand-clock-dark.svg" -}, aM = St.forwardRef(function({ - nameLabel: o, - link: g, - icon: C, - descriptionText: P, - selected: x = !1, +}, ZO = yt.forwardRef(function({ + nameLabel: t, + link: c, + icon: h, + descriptionText: S, + selected: g = !1, newBadgeLabel: n, - comingSoonBadgeLabel: c, + comingSoonBadgeLabel: s, badge: r, - ...a + ...o }, i) { - const m = jo(); - let t; - r ? t = /* @__PURE__ */ $(Eo, { ...r, lineHeight: "xxs" }) : c ? t = /* @__PURE__ */ $(Eo, { label: c, variation: "violet", lineHeight: "xxs" }) : n ? t = /* @__PURE__ */ $(Eo, { label: n, variation: "green", lineHeight: "xxs" }) : t = /* @__PURE__ */ $(mn, { size: 2, variation: "lightGray", children: P }); - const f = /* @__PURE__ */ $(je, { itemsSpacing: 8, justify: "flex-start", grow: 1, children: /* @__PURE__ */ Pe(je, { itemsSpacing: 8, grow: 1, children: [ - /* @__PURE__ */ $(_t, { src: C || yc[m.themeName], size: 32 }), - /* @__PURE__ */ Pe(Kt, { itemsSpacing: 4, children: [ - t, - /* @__PURE__ */ $(mc, { size: 1, children: o }) + const p = wi(); + let a; + r ? a = /* @__PURE__ */ W(ui, { ...r, lineHeight: "xxs" }) : s ? a = /* @__PURE__ */ W(ui, { label: s, variation: "violet", lineHeight: "xxs" }) : n ? a = /* @__PURE__ */ W(ui, { label: n, variation: "green", lineHeight: "xxs" }) : a = /* @__PURE__ */ W(pr, { size: 2, variation: "lightGray", children: S }); + const f = /* @__PURE__ */ W(je, { itemsSpacing: 8, justify: "flex-start", grow: 1, children: /* @__PURE__ */ Le(je, { itemsSpacing: 8, grow: 1, children: [ + /* @__PURE__ */ W(vt, { src: h || E2[p.themeName], size: 32 }), + /* @__PURE__ */ Le(Ht, { itemsSpacing: 4, children: [ + a, + /* @__PURE__ */ W(_2, { size: 1, children: t }) ] }) - ] }) }), b = /* @__PURE__ */ Pe(Kt, { itemsSpacing: 16, align: "center", justify: "center", grow: 1, children: [ - /* @__PURE__ */ $(_t, { src: C || yc[m.themeName], size: 48 }), - /* @__PURE__ */ Pe(Kt, { itemsSpacing: 4, align: "center", children: [ - t, - /* @__PURE__ */ $(mc, { size: 1, children: o }) + ] }) }), C = /* @__PURE__ */ Le(Ht, { itemsSpacing: 16, align: "center", justify: "center", grow: 1, children: [ + /* @__PURE__ */ W(vt, { src: h || E2[p.themeName], size: 48 }), + /* @__PURE__ */ Le(Ht, { itemsSpacing: 4, align: "center", children: [ + a, + /* @__PURE__ */ W(_2, { size: 1, children: t }) ] }) - ] }), y = cn([f, f, b], []); - return /* @__PURE__ */ $(U7, { onClick: () => !c && window.open(g, "_blank"), onKeyDown: (u) => { - c || (u.key === "Enter" || u.key === " ") && (u.preventDefault(), window.open(g, "_blank")); - }, tabIndex: c ? -1 : 0, selected: x, disabled: !!c, ...a, ref: i, children: y }); + ] }), w = ir([f, f, C], []); + return /* @__PURE__ */ W(L_, { onClick: () => !s && window.open(c, "_blank"), onKeyDown: (m) => { + s || (m.key === "Enter" || m.key === " ") && (m.preventDefault(), window.open(c, "_blank")); + }, tabIndex: s ? -1 : 0, selected: g, disabled: !!s, ...o, ref: i, children: w }); }); -var bi = { exports: {} }, bn = {}, wi = { exports: {} }, Hr = {}, Ci = { exports: {} }, gc; -function bd() { - return gc || (gc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var ua = { exports: {} }, xr = {}, la = { exports: {} }, In = {}, da = { exports: {} }, x2; +function A1() { + return x2 || (x2 = 1, function(e, t) { + Object.defineProperty(t, "__esModule", { value: !0 - }), o.default = i; + }), t.default = i; /*! * Adapted from jQuery UI core * @@ -40878,584 +42797,584 @@ function bd() { * * http://api.jqueryui.com/category/ui-core/ */ - var g = "none", C = "contents", P = /^(input|select|textarea|button|object|iframe)$/; - function x(m, t) { - return t.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow - m.scrollWidth <= 0 && m.scrollHeight <= 0; - } - function n(m) { - var t = m.offsetWidth <= 0 && m.offsetHeight <= 0; - if (t && !m.innerHTML) return !0; + var c = "none", h = "contents", S = /^(input|select|textarea|button|object|iframe)$/; + function g(p, a) { + return a.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow + p.scrollWidth <= 0 && p.scrollHeight <= 0; + } + function n(p) { + var a = p.offsetWidth <= 0 && p.offsetHeight <= 0; + if (a && !p.innerHTML) return !0; try { - var f = window.getComputedStyle(m), b = f.getPropertyValue("display"); - return t ? b !== C && x(m, f) : b === g; + var f = window.getComputedStyle(p), C = f.getPropertyValue("display"); + return a ? C !== h && g(p, f) : C === c; } catch { return console.warn("Failed to inspect element style"), !1; } } - function c(m) { - for (var t = m, f = m.getRootNode && m.getRootNode(); t && t !== document.body; ) { - if (f && t === f && (t = f.host.parentNode), n(t)) return !1; - t = t.parentNode; + function s(p) { + for (var a = p, f = p.getRootNode && p.getRootNode(); a && a !== document.body; ) { + if (f && a === f && (a = f.host.parentNode), n(a)) return !1; + a = a.parentNode; } return !0; } - function r(m, t) { - var f = m.nodeName.toLowerCase(), b = P.test(f) && !m.disabled || f === "a" && m.href || t; - return b && c(m); + function r(p, a) { + var f = p.nodeName.toLowerCase(), C = S.test(f) && !p.disabled || f === "a" && p.href || a; + return C && s(p); } - function a(m) { - var t = m.getAttribute("tabindex"); - t === null && (t = void 0); - var f = isNaN(t); - return (f || t >= 0) && r(m, !f); + function o(p) { + var a = p.getAttribute("tabindex"); + a === null && (a = void 0); + var f = isNaN(a); + return (f || a >= 0) && r(p, !f); } - function i(m) { - var t = [].slice.call(m.querySelectorAll("*"), 0).reduce(function(f, b) { - return f.concat(b.shadowRoot ? i(b.shadowRoot) : [b]); + function i(p) { + var a = [].slice.call(p.querySelectorAll("*"), 0).reduce(function(f, C) { + return f.concat(C.shadowRoot ? i(C.shadowRoot) : [C]); }, []); - return t.filter(a); + return a.filter(o); } - e.exports = o.default; - }(Ci, Ci.exports)), Ci.exports; + e.exports = t.default; + }(da, da.exports)), da.exports; } -var vc; -function z7() { - if (vc) return Hr; - vc = 1, Object.defineProperty(Hr, "__esModule", { +var M2; +function I_() { + if (M2) return In; + M2 = 1, Object.defineProperty(In, "__esModule", { value: !0 - }), Hr.resetState = n, Hr.log = c, Hr.handleBlur = r, Hr.handleFocus = a, Hr.markForFocusLater = i, Hr.returnFocus = m, Hr.popWithoutFocus = t, Hr.setupScopedFocus = f, Hr.teardownScopedFocus = b; - var e = bd(), o = g(e); - function g(y) { - return y && y.__esModule ? y : { default: y }; + }), In.resetState = n, In.log = s, In.handleBlur = r, In.handleFocus = o, In.markForFocusLater = i, In.returnFocus = p, In.popWithoutFocus = a, In.setupScopedFocus = f, In.teardownScopedFocus = C; + var e = A1(), t = c(e); + function c(w) { + return w && w.__esModule ? w : { default: w }; } - var C = [], P = null, x = !1; + var h = [], S = null, g = !1; function n() { - C = []; + h = []; } - function c() { - process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), C.forEach(function(y) { - var u = y || {}; - console.log(u.nodeName, u.className, u.id); + function s() { + process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), h.forEach(function(w) { + var m = w || {}; + console.log(m.nodeName, m.className, m.id); }), console.log("end focusManager ----------")); } function r() { - x = !0; + g = !0; } - function a() { - if (x) { - if (x = !1, !P) + function o() { + if (g) { + if (g = !1, !S) return; setTimeout(function() { - if (!P.contains(document.activeElement)) { - var y = (0, o.default)(P)[0] || P; - y.focus(); + if (!S.contains(document.activeElement)) { + var w = (0, t.default)(S)[0] || S; + w.focus(); } }, 0); } } function i() { - C.push(document.activeElement); + h.push(document.activeElement); } - function m() { - var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, u = null; + function p() { + var w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, m = null; try { - C.length !== 0 && (u = C.pop(), u.focus({ preventScroll: y })); + h.length !== 0 && (m = h.pop(), m.focus({ preventScroll: w })); return; } catch { - console.warn(["You tried to return focus to", u, "but it is not in the DOM anymore"].join(" ")); + console.warn(["You tried to return focus to", m, "but it is not in the DOM anymore"].join(" ")); } } - function t() { - C.length > 0 && C.pop(); + function a() { + h.length > 0 && h.pop(); } - function f(y) { - P = y, window.addEventListener ? (window.addEventListener("blur", r, !1), document.addEventListener("focus", a, !0)) : (window.attachEvent("onBlur", r), document.attachEvent("onFocus", a)); + function f(w) { + S = w, window.addEventListener ? (window.addEventListener("blur", r, !1), document.addEventListener("focus", o, !0)) : (window.attachEvent("onBlur", r), document.attachEvent("onFocus", o)); } - function b() { - P = null, window.addEventListener ? (window.removeEventListener("blur", r), document.removeEventListener("focus", a)) : (window.detachEvent("onBlur", r), document.detachEvent("onFocus", a)); + function C() { + S = null, window.addEventListener ? (window.removeEventListener("blur", r), document.removeEventListener("focus", o)) : (window.detachEvent("onBlur", r), document.detachEvent("onFocus", o)); } - return Hr; + return In; } -var _i = { exports: {} }, bc; -function F7() { - return bc || (bc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var fa = { exports: {} }, P2; +function N_() { + return P2 || (P2 = 1, function(e, t) { + Object.defineProperty(t, "__esModule", { value: !0 - }), o.default = n; - var g = bd(), C = P(g); - function P(c) { - return c && c.__esModule ? c : { default: c }; - } - function x() { - var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document; - return c.activeElement.shadowRoot ? x(c.activeElement.shadowRoot) : c.activeElement; - } - function n(c, r) { - var a = (0, C.default)(c); - if (!a.length) { + }), t.default = n; + var c = A1(), h = S(c); + function S(s) { + return s && s.__esModule ? s : { default: s }; + } + function g() { + var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document; + return s.activeElement.shadowRoot ? g(s.activeElement.shadowRoot) : s.activeElement; + } + function n(s, r) { + var o = (0, h.default)(s); + if (!o.length) { r.preventDefault(); return; } - var i = void 0, m = r.shiftKey, t = a[0], f = a[a.length - 1], b = x(); - if (c === b) { - if (!m) return; + var i = void 0, p = r.shiftKey, a = o[0], f = o[o.length - 1], C = g(); + if (s === C) { + if (!p) return; i = f; } - if (f === b && !m && (i = t), t === b && m && (i = f), i) { + if (f === C && !p && (i = a), a === C && p && (i = f), i) { r.preventDefault(), i.focus(); return; } - var y = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), u = y != null && y[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null; - if (u) { - var d = a.indexOf(b); - if (d > -1 && (d += m ? -1 : 1), i = a[d], typeof i > "u") { - r.preventDefault(), i = m ? f : t, i.focus(); + var w = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), m = w != null && w[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null; + if (m) { + var v = o.indexOf(C); + if (v > -1 && (v += p ? -1 : 1), i = o[v], typeof i > "u") { + r.preventDefault(), i = p ? f : a, i.focus(); return; } r.preventDefault(), i.focus(); } } - e.exports = o.default; - }(_i, _i.exports)), _i.exports; + e.exports = t.default; + }(fa, fa.exports)), fa.exports; } -var Wr = {}, Ra, wc; -function K7() { - if (wc) return Ra; - wc = 1; - var e = process.env.NODE_ENV !== "production", o = function() { +var jn = {}, Js, O2; +function B_() { + if (O2) return Js; + O2 = 1; + var e = process.env.NODE_ENV !== "production", t = function() { }; if (e) { - var g = function(P, x) { + var c = function(S, g) { var n = arguments.length; - x = new Array(n > 1 ? n - 1 : 0); - for (var c = 1; c < n; c++) - x[c - 1] = arguments[c]; - var r = 0, a = "Warning: " + P.replace(/%s/g, function() { - return x[r++]; + g = new Array(n > 1 ? n - 1 : 0); + for (var s = 1; s < n; s++) + g[s - 1] = arguments[s]; + var r = 0, o = "Warning: " + S.replace(/%s/g, function() { + return g[r++]; }); - typeof console < "u" && console.error(a); + typeof console < "u" && console.error(o); try { - throw new Error(a); + throw new Error(o); } catch { } }; - o = function(C, P, x) { + t = function(h, S, g) { var n = arguments.length; - x = new Array(n > 2 ? n - 2 : 0); - for (var c = 2; c < n; c++) - x[c - 2] = arguments[c]; - if (P === void 0) + g = new Array(n > 2 ? n - 2 : 0); + for (var s = 2; s < n; s++) + g[s - 2] = arguments[s]; + if (S === void 0) throw new Error( "`warning(condition, format, ...args)` requires a warning message argument" ); - C || g.apply(null, [P].concat(x)); + h || c.apply(null, [S].concat(g)); }; } - return Ra = o, Ra; + return Js = t, Js; } -var Xr = {}, ka = { exports: {} }; +var Wn = {}, $s = { exports: {} }; /*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */ -var Cc; -function W7() { - return Cc || (Cc = 1, function(e) { +var T2; +function R_() { + return T2 || (T2 = 1, function(e) { (function() { - var o = !!(typeof window < "u" && window.document && window.document.createElement), g = { - canUseDOM: o, + var t = !!(typeof window < "u" && window.document && window.document.createElement), c = { + canUseDOM: t, canUseWorkers: typeof Worker < "u", - canUseEventListeners: o && !!(window.addEventListener || window.attachEvent), - canUseViewport: o && !!window.screen + canUseEventListeners: t && !!(window.addEventListener || window.attachEvent), + canUseViewport: t && !!window.screen }; - e.exports ? e.exports = g : window.ExecutionEnvironment = g; + e.exports ? e.exports = c : window.ExecutionEnvironment = c; })(); - }(ka)), ka.exports; + }($s)), $s.exports; } -var _c; -function f0() { - if (_c) return Xr; - _c = 1, Object.defineProperty(Xr, "__esModule", { +var A2; +function Ju() { + if (A2) return Wn; + A2 = 1, Object.defineProperty(Wn, "__esModule", { value: !0 - }), Xr.canUseDOM = Xr.SafeNodeList = Xr.SafeHTMLCollection = void 0; - var e = W7(), o = g(e); - function g(x) { - return x && x.__esModule ? x : { default: x }; - } - var C = o.default, P = C.canUseDOM ? window.HTMLElement : {}; - return Xr.SafeHTMLCollection = C.canUseDOM ? window.HTMLCollection : {}, Xr.SafeNodeList = C.canUseDOM ? window.NodeList : {}, Xr.canUseDOM = C.canUseDOM, Xr.default = P, Xr; -} -var Sc; -function wd() { - if (Sc) return Wr; - Sc = 1, Object.defineProperty(Wr, "__esModule", { + }), Wn.canUseDOM = Wn.SafeNodeList = Wn.SafeHTMLCollection = void 0; + var e = R_(), t = c(e); + function c(g) { + return g && g.__esModule ? g : { default: g }; + } + var h = t.default, S = h.canUseDOM ? window.HTMLElement : {}; + return Wn.SafeHTMLCollection = h.canUseDOM ? window.HTMLCollection : {}, Wn.SafeNodeList = h.canUseDOM ? window.NodeList : {}, Wn.canUseDOM = h.canUseDOM, Wn.default = S, Wn; +} +var L2; +function L1() { + if (L2) return jn; + L2 = 1, Object.defineProperty(jn, "__esModule", { value: !0 - }), Wr.resetState = x, Wr.log = n, Wr.assertNodeList = c, Wr.setElement = r, Wr.validateElement = a, Wr.hide = i, Wr.show = m, Wr.documentNotReadyOrSSRTesting = t; - var e = K7(), o = C(e), g = f0(); - function C(f) { + }), jn.resetState = g, jn.log = n, jn.assertNodeList = s, jn.setElement = r, jn.validateElement = o, jn.hide = i, jn.show = p, jn.documentNotReadyOrSSRTesting = a; + var e = B_(), t = h(e), c = Ju(); + function h(f) { return f && f.__esModule ? f : { default: f }; } - var P = null; - function x() { - P && (P.removeAttribute ? P.removeAttribute("aria-hidden") : P.length != null ? P.forEach(function(f) { + var S = null; + function g() { + S && (S.removeAttribute ? S.removeAttribute("aria-hidden") : S.length != null ? S.forEach(function(f) { return f.removeAttribute("aria-hidden"); - }) : document.querySelectorAll(P).forEach(function(f) { + }) : document.querySelectorAll(S).forEach(function(f) { return f.removeAttribute("aria-hidden"); - })), P = null; + })), S = null; } function n() { if (process.env.NODE_ENV !== "production") { - var f = P || {}; + var f = S || {}; console.log("ariaAppHider ----------"), console.log(f.nodeName, f.className, f.id), console.log("end ariaAppHider ----------"); } } - function c(f, b) { + function s(f, C) { if (!f || !f.length) - throw new Error("react-modal: No elements were found for selector " + b + "."); + throw new Error("react-modal: No elements were found for selector " + C + "."); } function r(f) { - var b = f; - if (typeof b == "string" && g.canUseDOM) { - var y = document.querySelectorAll(b); - c(y, b), b = y; + var C = f; + if (typeof C == "string" && c.canUseDOM) { + var w = document.querySelectorAll(C); + s(w, C), C = w; } - return P = b || P, P; + return S = C || S, S; } - function a(f) { - var b = f || P; - return b ? Array.isArray(b) || b instanceof HTMLCollection || b instanceof NodeList ? b : [b] : ((0, o.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []); + function o(f) { + var C = f || S; + return C ? Array.isArray(C) || C instanceof HTMLCollection || C instanceof NodeList ? C : [C] : ((0, t.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []); } function i(f) { - var b = !0, y = !1, u = void 0; + var C = !0, w = !1, m = void 0; try { - for (var d = a(f)[Symbol.iterator](), l; !(b = (l = d.next()).done); b = !0) { - var s = l.value; - s.setAttribute("aria-hidden", "true"); + for (var v = o(f)[Symbol.iterator](), l; !(C = (l = v.next()).done); C = !0) { + var u = l.value; + u.setAttribute("aria-hidden", "true"); } - } catch (v) { - y = !0, u = v; + } catch (y) { + w = !0, m = y; } finally { try { - !b && d.return && d.return(); + !C && v.return && v.return(); } finally { - if (y) - throw u; + if (w) + throw m; } } } - function m(f) { - var b = !0, y = !1, u = void 0; + function p(f) { + var C = !0, w = !1, m = void 0; try { - for (var d = a(f)[Symbol.iterator](), l; !(b = (l = d.next()).done); b = !0) { - var s = l.value; - s.removeAttribute("aria-hidden"); + for (var v = o(f)[Symbol.iterator](), l; !(C = (l = v.next()).done); C = !0) { + var u = l.value; + u.removeAttribute("aria-hidden"); } - } catch (v) { - y = !0, u = v; + } catch (y) { + w = !0, m = y; } finally { try { - !b && d.return && d.return(); + !C && v.return && v.return(); } finally { - if (y) - throw u; + if (w) + throw m; } } } - function t() { - P = null; + function a() { + S = null; } - return Wr; + return jn; } -var Pn = {}, Mc; -function J7() { - if (Mc) return Pn; - Mc = 1, Object.defineProperty(Pn, "__esModule", { +var Fr = {}, I2; +function k_() { + if (I2) return Fr; + I2 = 1, Object.defineProperty(Fr, "__esModule", { value: !0 - }), Pn.resetState = C, Pn.log = P; - var e = {}, o = {}; - function g(a, i) { - a.classList.remove(i); + }), Fr.resetState = h, Fr.log = S; + var e = {}, t = {}; + function c(o, i) { + o.classList.remove(i); } - function C() { - var a = document.getElementsByTagName("html")[0]; + function h() { + var o = document.getElementsByTagName("html")[0]; for (var i in e) - g(a, e[i]); - var m = document.body; - for (var t in o) - g(m, o[t]); - e = {}, o = {}; + c(o, e[i]); + var p = document.body; + for (var a in t) + c(p, t[a]); + e = {}, t = {}; } - function P() { + function S() { if (process.env.NODE_ENV !== "production") { - var a = document.getElementsByTagName("html")[0].className, i = `Show tracked classes: + var o = document.getElementsByTagName("html")[0].className, i = `Show tracked classes: `; - i += " (" + a + `): + i += " (" + o + `): `; - for (var m in e) - i += " " + m + " " + e[m] + ` + for (var p in e) + i += " " + p + " " + e[p] + ` `; - a = document.body.className, i += ` + o = document.body.className, i += ` -doc.body (` + a + `): +doc.body (` + o + `): `; - for (var t in o) - i += " " + t + " " + o[t] + ` + for (var a in t) + i += " " + a + " " + t[a] + ` `; i += ` `, console.log(i); } } - var x = function(i, m) { - return i[m] || (i[m] = 0), i[m] += 1, m; - }, n = function(i, m) { - return i[m] && (i[m] -= 1), m; - }, c = function(i, m, t) { - t.forEach(function(f) { - x(m, f), i.add(f); + var g = function(i, p) { + return i[p] || (i[p] = 0), i[p] += 1, p; + }, n = function(i, p) { + return i[p] && (i[p] -= 1), p; + }, s = function(i, p, a) { + a.forEach(function(f) { + g(p, f), i.add(f); }); - }, r = function(i, m, t) { - t.forEach(function(f) { - n(m, f), m[f] === 0 && i.remove(f); + }, r = function(i, p, a) { + a.forEach(function(f) { + n(p, f), p[f] === 0 && i.remove(f); }); }; - return Pn.add = function(i, m) { - return c(i.classList, i.nodeName.toLowerCase() == "html" ? e : o, m.split(" ")); - }, Pn.remove = function(i, m) { - return r(i.classList, i.nodeName.toLowerCase() == "html" ? e : o, m.split(" ")); - }, Pn; -} -var Wn = {}, xc; -function Cd() { - if (xc) return Wn; - xc = 1, Object.defineProperty(Wn, "__esModule", { + return Fr.add = function(i, p) { + return s(i.classList, i.nodeName.toLowerCase() == "html" ? e : t, p.split(" ")); + }, Fr.remove = function(i, p) { + return r(i.classList, i.nodeName.toLowerCase() == "html" ? e : t, p.split(" ")); + }, Fr; +} +var So = {}, N2; +function I1() { + if (N2) return So; + N2 = 1, Object.defineProperty(So, "__esModule", { value: !0 - }), Wn.log = C, Wn.resetState = P; - function e(x, n) { - if (!(x instanceof n)) + }), So.log = h, So.resetState = S; + function e(g, n) { + if (!(g instanceof n)) throw new TypeError("Cannot call a class as a function"); } - var o = function x() { + var t = function g() { var n = this; - e(this, x), this.register = function(c) { - if (n.openInstances.indexOf(c) !== -1) { + e(this, g), this.register = function(s) { + if (n.openInstances.indexOf(s) !== -1) { process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open"); return; } - n.openInstances.push(c), n.emit("register"); - }, this.deregister = function(c) { - var r = n.openInstances.indexOf(c); + n.openInstances.push(s), n.emit("register"); + }, this.deregister = function(s) { + var r = n.openInstances.indexOf(s); if (r === -1) { - process.env.NODE_ENV !== "production" && console.warn("React-Modal: Unable to deregister " + c + " as it was never registered"); + process.env.NODE_ENV !== "production" && console.warn("React-Modal: Unable to deregister " + s + " as it was never registered"); return; } n.openInstances.splice(r, 1), n.emit("deregister"); - }, this.subscribe = function(c) { - n.subscribers.push(c); - }, this.emit = function(c) { + }, this.subscribe = function(s) { + n.subscribers.push(s); + }, this.emit = function(s) { n.subscribers.forEach(function(r) { return r( - c, + s, // shallow copy to avoid accidental mutation n.openInstances.slice() ); }); }, this.openInstances = [], this.subscribers = []; - }, g = new o(); - function C() { - console.log("portalOpenInstances ----------"), console.log(g.openInstances.length), g.openInstances.forEach(function(x) { - return console.log(x); + }, c = new t(); + function h() { + console.log("portalOpenInstances ----------"), console.log(c.openInstances.length), c.openInstances.forEach(function(g) { + return console.log(g); }), console.log("end portalOpenInstances ----------"); } - function P() { - g = new o(); + function S() { + c = new t(); } - return Wn.default = g, Wn; + return So.default = c, So; } -var Co = {}, Ec; -function $7() { - if (Ec) return Co; - Ec = 1, Object.defineProperty(Co, "__esModule", { +var oi = {}, B2; +function H_() { + if (B2) return oi; + B2 = 1, Object.defineProperty(oi, "__esModule", { value: !0 - }), Co.resetState = n, Co.log = c; - var e = Cd(), o = g(e); - function g(i) { + }), oi.resetState = n, oi.log = s; + var e = I1(), t = c(e); + function c(i) { return i && i.__esModule ? i : { default: i }; } - var C = void 0, P = void 0, x = []; + var h = void 0, S = void 0, g = []; function n() { - for (var i = [C, P], m = 0; m < i.length; m++) { - var t = i[m]; - t && t.parentNode && t.parentNode.removeChild(t); + for (var i = [h, S], p = 0; p < i.length; p++) { + var a = i[p]; + a && a.parentNode && a.parentNode.removeChild(a); } - C = P = null, x = []; + h = S = null, g = []; } - function c() { - console.log("bodyTrap ----------"), console.log(x.length); - for (var i = [C, P], m = 0; m < i.length; m++) { - var t = i[m], f = t || {}; + function s() { + console.log("bodyTrap ----------"), console.log(g.length); + for (var i = [h, S], p = 0; p < i.length; p++) { + var a = i[p], f = a || {}; console.log(f.nodeName, f.className, f.id); } console.log("edn bodyTrap ----------"); } function r() { - if (x.length === 0) { + if (g.length === 0) { process.env.NODE_ENV !== "production" && console.warn("React-Modal: Open instances > 0 expected"); return; } - x[x.length - 1].focusContent(); + g[g.length - 1].focusContent(); } - function a(i, m) { - !C && !P && (C = document.createElement("div"), C.setAttribute("data-react-modal-body-trap", ""), C.style.position = "absolute", C.style.opacity = "0", C.setAttribute("tabindex", "0"), C.addEventListener("focus", r), P = C.cloneNode(), P.addEventListener("focus", r)), x = m, x.length > 0 ? (document.body.firstChild !== C && document.body.insertBefore(C, document.body.firstChild), document.body.lastChild !== P && document.body.appendChild(P)) : (C.parentElement && C.parentElement.removeChild(C), P.parentElement && P.parentElement.removeChild(P)); + function o(i, p) { + !h && !S && (h = document.createElement("div"), h.setAttribute("data-react-modal-body-trap", ""), h.style.position = "absolute", h.style.opacity = "0", h.setAttribute("tabindex", "0"), h.addEventListener("focus", r), S = h.cloneNode(), S.addEventListener("focus", r)), g = p, g.length > 0 ? (document.body.firstChild !== h && document.body.insertBefore(h, document.body.firstChild), document.body.lastChild !== S && document.body.appendChild(S)) : (h.parentElement && h.parentElement.removeChild(h), S.parentElement && S.parentElement.removeChild(S)); } - return o.default.subscribe(a), Co; + return t.default.subscribe(o), oi; } -var Pc; -function G7() { - return Pc || (Pc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var R2; +function j_() { + return R2 || (R2 = 1, function(e, t) { + Object.defineProperty(t, "__esModule", { value: !0 }); - var g = Object.assign || function(H) { - for (var U = 1; U < arguments.length; U++) { - var S = arguments[U]; - for (var T in S) - Object.prototype.hasOwnProperty.call(S, T) && (H[T] = S[T]); + var c = Object.assign || function(N) { + for (var k = 1; k < arguments.length; k++) { + var j = arguments[k]; + for (var D in j) + Object.prototype.hasOwnProperty.call(j, D) && (N[D] = j[D]); } - return H; - }, C = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(H) { - return typeof H; - } : function(H) { - return H && typeof Symbol == "function" && H.constructor === Symbol && H !== Symbol.prototype ? "symbol" : typeof H; - }, P = /* @__PURE__ */ function() { - function H(U, S) { - for (var T = 0; T < S.length; T++) { - var E = S[T]; - E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(U, E.key, E); + return N; + }, h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(N) { + return typeof N; + } : function(N) { + return N && typeof Symbol == "function" && N.constructor === Symbol && N !== Symbol.prototype ? "symbol" : typeof N; + }, S = /* @__PURE__ */ function() { + function N(k, j) { + for (var D = 0; D < j.length; D++) { + var T = j[D]; + T.enumerable = T.enumerable || !1, T.configurable = !0, "value" in T && (T.writable = !0), Object.defineProperty(k, T.key, T); } } - return function(U, S, T) { - return S && H(U.prototype, S), T && H(U, T), U; + return function(k, j, D) { + return j && N(k.prototype, j), D && N(k, D), k; }; - }(), x = St, n = /* @__PURE__ */ _s(), c = p(n), r = z7(), a = v(r), i = F7(), m = p(i), t = wd(), f = v(t), b = J7(), y = v(b), u = f0(), d = p(u), l = Cd(), s = p(l); - $7(); - function v(H) { - if (H && H.__esModule) - return H; - var U = {}; - if (H != null) - for (var S in H) - Object.prototype.hasOwnProperty.call(H, S) && (U[S] = H[S]); - return U.default = H, U; - } - function p(H) { - return H && H.__esModule ? H : { default: H }; - } - function h(H, U) { - if (!(H instanceof U)) + }(), g = yt, n = /* @__PURE__ */ nu(), s = d(n), r = I_(), o = y(r), i = N_(), p = d(i), a = L1(), f = y(a), C = k_(), w = y(C), m = Ju(), v = d(m), l = I1(), u = d(l); + H_(); + function y(N) { + if (N && N.__esModule) + return N; + var k = {}; + if (N != null) + for (var j in N) + Object.prototype.hasOwnProperty.call(N, j) && (k[j] = N[j]); + return k.default = N, k; + } + function d(N) { + return N && N.__esModule ? N : { default: N }; + } + function b(N, k) { + if (!(N instanceof k)) throw new TypeError("Cannot call a class as a function"); } - function O(H, U) { - if (!H) + function _(N, k) { + if (!N) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return U && (typeof U == "object" || typeof U == "function") ? U : H; + return k && (typeof k == "object" || typeof k == "function") ? k : N; } - function I(H, U) { - if (typeof U != "function" && U !== null) - throw new TypeError("Super expression must either be null or a function, not " + typeof U); - H.prototype = Object.create(U && U.prototype, { constructor: { value: H, enumerable: !1, writable: !0, configurable: !0 } }), U && (Object.setPrototypeOf ? Object.setPrototypeOf(H, U) : H.__proto__ = U); + function E(N, k) { + if (typeof k != "function" && k !== null) + throw new TypeError("Super expression must either be null or a function, not " + typeof k); + N.prototype = Object.create(k && k.prototype, { constructor: { value: N, enumerable: !1, writable: !0, configurable: !0 } }), k && (Object.setPrototypeOf ? Object.setPrototypeOf(N, k) : N.__proto__ = k); } - var k = { + var B = { overlay: "ReactModal__Overlay", content: "ReactModal__Content" - }, R = function(U) { - return U.code === "Tab" || U.keyCode === 9; - }, L = function(U) { - return U.code === "Escape" || U.keyCode === 27; - }, N = 0, B = function(H) { - I(U, H); - function U(S) { - h(this, U); - var T = O(this, (U.__proto__ || Object.getPrototypeOf(U)).call(this, S)); - return T.setOverlayRef = function(E) { - T.overlay = E, T.props.overlayRef && T.props.overlayRef(E); - }, T.setContentRef = function(E) { - T.content = E, T.props.contentRef && T.props.contentRef(E); - }, T.afterClose = function() { - var E = T.props, M = E.appElement, _ = E.ariaHideApp, w = E.htmlOpenClassName, A = E.bodyOpenClassName, j = E.parentSelector, V = j && j().ownerDocument || document; - A && y.remove(V.body, A), w && y.remove(V.getElementsByTagName("html")[0], w), _ && N > 0 && (N -= 1, N === 0 && f.show(M)), T.props.shouldFocusAfterRender && (T.props.shouldReturnFocusAfterClose ? (a.returnFocus(T.props.preventScroll), a.teardownScopedFocus()) : a.popWithoutFocus()), T.props.onAfterClose && T.props.onAfterClose(), s.default.deregister(T); - }, T.open = function() { - T.beforeOpen(), T.state.afterOpen && T.state.beforeClose ? (clearTimeout(T.closeTimer), T.setState({ beforeClose: !1 })) : (T.props.shouldFocusAfterRender && (a.setupScopedFocus(T.node), a.markForFocusLater()), T.setState({ isOpen: !0 }, function() { - T.openAnimationFrame = requestAnimationFrame(function() { - T.setState({ afterOpen: !0 }), T.props.isOpen && T.props.onAfterOpen && T.props.onAfterOpen({ - overlayEl: T.overlay, - contentEl: T.content + }, O = function(k) { + return k.code === "Tab" || k.keyCode === 9; + }, I = function(k) { + return k.code === "Escape" || k.keyCode === 27; + }, x = 0, A = function(N) { + E(k, N); + function k(j) { + b(this, k); + var D = _(this, (k.__proto__ || Object.getPrototypeOf(k)).call(this, j)); + return D.setOverlayRef = function(T) { + D.overlay = T, D.props.overlayRef && D.props.overlayRef(T); + }, D.setContentRef = function(T) { + D.content = T, D.props.contentRef && D.props.contentRef(T); + }, D.afterClose = function() { + var T = D.props, L = T.appElement, R = T.ariaHideApp, M = T.htmlOpenClassName, P = T.bodyOpenClassName, H = T.parentSelector, K = H && H().ownerDocument || document; + P && w.remove(K.body, P), M && w.remove(K.getElementsByTagName("html")[0], M), R && x > 0 && (x -= 1, x === 0 && f.show(L)), D.props.shouldFocusAfterRender && (D.props.shouldReturnFocusAfterClose ? (o.returnFocus(D.props.preventScroll), o.teardownScopedFocus()) : o.popWithoutFocus()), D.props.onAfterClose && D.props.onAfterClose(), u.default.deregister(D); + }, D.open = function() { + D.beforeOpen(), D.state.afterOpen && D.state.beforeClose ? (clearTimeout(D.closeTimer), D.setState({ beforeClose: !1 })) : (D.props.shouldFocusAfterRender && (o.setupScopedFocus(D.node), o.markForFocusLater()), D.setState({ isOpen: !0 }, function() { + D.openAnimationFrame = requestAnimationFrame(function() { + D.setState({ afterOpen: !0 }), D.props.isOpen && D.props.onAfterOpen && D.props.onAfterOpen({ + overlayEl: D.overlay, + contentEl: D.content }); }); })); - }, T.close = function() { - T.props.closeTimeoutMS > 0 ? T.closeWithTimeout() : T.closeWithoutTimeout(); - }, T.focusContent = function() { - return T.content && !T.contentHasFocus() && T.content.focus({ preventScroll: !0 }); - }, T.closeWithTimeout = function() { - var E = Date.now() + T.props.closeTimeoutMS; - T.setState({ beforeClose: !0, closesAt: E }, function() { - T.closeTimer = setTimeout(T.closeWithoutTimeout, T.state.closesAt - Date.now()); + }, D.close = function() { + D.props.closeTimeoutMS > 0 ? D.closeWithTimeout() : D.closeWithoutTimeout(); + }, D.focusContent = function() { + return D.content && !D.contentHasFocus() && D.content.focus({ preventScroll: !0 }); + }, D.closeWithTimeout = function() { + var T = Date.now() + D.props.closeTimeoutMS; + D.setState({ beforeClose: !0, closesAt: T }, function() { + D.closeTimer = setTimeout(D.closeWithoutTimeout, D.state.closesAt - Date.now()); }); - }, T.closeWithoutTimeout = function() { - T.setState({ + }, D.closeWithoutTimeout = function() { + D.setState({ beforeClose: !1, isOpen: !1, afterOpen: !1, closesAt: null - }, T.afterClose); - }, T.handleKeyDown = function(E) { - R(E) && (0, m.default)(T.content, E), T.props.shouldCloseOnEsc && L(E) && (E.stopPropagation(), T.requestClose(E)); - }, T.handleOverlayOnClick = function(E) { - T.shouldClose === null && (T.shouldClose = !0), T.shouldClose && T.props.shouldCloseOnOverlayClick && (T.ownerHandlesClose() ? T.requestClose(E) : T.focusContent()), T.shouldClose = null; - }, T.handleContentOnMouseUp = function() { - T.shouldClose = !1; - }, T.handleOverlayOnMouseDown = function(E) { - !T.props.shouldCloseOnOverlayClick && E.target == T.overlay && E.preventDefault(); - }, T.handleContentOnClick = function() { - T.shouldClose = !1; - }, T.handleContentOnMouseDown = function() { - T.shouldClose = !1; - }, T.requestClose = function(E) { - return T.ownerHandlesClose() && T.props.onRequestClose(E); - }, T.ownerHandlesClose = function() { - return T.props.onRequestClose; - }, T.shouldBeClosed = function() { - return !T.state.isOpen && !T.state.beforeClose; - }, T.contentHasFocus = function() { - return document.activeElement === T.content || T.content.contains(document.activeElement); - }, T.buildClassName = function(E, M) { - var _ = (typeof M > "u" ? "undefined" : C(M)) === "object" ? M : { - base: k[E], - afterOpen: k[E] + "--after-open", - beforeClose: k[E] + "--before-close" - }, w = _.base; - return T.state.afterOpen && (w = w + " " + _.afterOpen), T.state.beforeClose && (w = w + " " + _.beforeClose), typeof M == "string" && M ? w + " " + M : w; - }, T.attributesFromObject = function(E, M) { - return Object.keys(M).reduce(function(_, w) { - return _[E + "-" + w] = M[w], _; + }, D.afterClose); + }, D.handleKeyDown = function(T) { + O(T) && (0, p.default)(D.content, T), D.props.shouldCloseOnEsc && I(T) && (T.stopPropagation(), D.requestClose(T)); + }, D.handleOverlayOnClick = function(T) { + D.shouldClose === null && (D.shouldClose = !0), D.shouldClose && D.props.shouldCloseOnOverlayClick && (D.ownerHandlesClose() ? D.requestClose(T) : D.focusContent()), D.shouldClose = null; + }, D.handleContentOnMouseUp = function() { + D.shouldClose = !1; + }, D.handleOverlayOnMouseDown = function(T) { + !D.props.shouldCloseOnOverlayClick && T.target == D.overlay && T.preventDefault(); + }, D.handleContentOnClick = function() { + D.shouldClose = !1; + }, D.handleContentOnMouseDown = function() { + D.shouldClose = !1; + }, D.requestClose = function(T) { + return D.ownerHandlesClose() && D.props.onRequestClose(T); + }, D.ownerHandlesClose = function() { + return D.props.onRequestClose; + }, D.shouldBeClosed = function() { + return !D.state.isOpen && !D.state.beforeClose; + }, D.contentHasFocus = function() { + return document.activeElement === D.content || D.content.contains(document.activeElement); + }, D.buildClassName = function(T, L) { + var R = (typeof L > "u" ? "undefined" : h(L)) === "object" ? L : { + base: B[T], + afterOpen: B[T] + "--after-open", + beforeClose: B[T] + "--before-close" + }, M = R.base; + return D.state.afterOpen && (M = M + " " + R.afterOpen), D.state.beforeClose && (M = M + " " + R.beforeClose), typeof L == "string" && L ? M + " " + L : M; + }, D.attributesFromObject = function(T, L) { + return Object.keys(L).reduce(function(R, M) { + return R[T + "-" + M] = L[M], R; }, {}); - }, T.state = { + }, D.state = { afterOpen: !1, beforeClose: !1 - }, T.shouldClose = null, T.moveFromContentToOverlay = null, T; + }, D.shouldClose = null, D.moveFromContentToOverlay = null, D; } - return P(U, [{ + return S(k, [{ key: "componentDidMount", value: function() { this.props.isOpen && this.open(); } }, { key: "componentDidUpdate", - value: function(T, E) { - process.env.NODE_ENV !== "production" && (T.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), T.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !T.isOpen ? this.open() : !this.props.isOpen && T.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !E.isOpen && this.focusContent(); + value: function(D, T) { + process.env.NODE_ENV !== "production" && (D.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), D.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !D.isOpen ? this.open() : !this.props.isOpen && D.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !T.isOpen && this.focusContent(); } }, { key: "componentWillUnmount", @@ -41465,27 +43384,27 @@ function G7() { }, { key: "beforeOpen", value: function() { - var T = this.props, E = T.appElement, M = T.ariaHideApp, _ = T.htmlOpenClassName, w = T.bodyOpenClassName, A = T.parentSelector, j = A && A().ownerDocument || document; - w && y.add(j.body, w), _ && y.add(j.getElementsByTagName("html")[0], _), M && (N += 1, f.hide(E)), s.default.register(this); + var D = this.props, T = D.appElement, L = D.ariaHideApp, R = D.htmlOpenClassName, M = D.bodyOpenClassName, P = D.parentSelector, H = P && P().ownerDocument || document; + M && w.add(H.body, M), R && w.add(H.getElementsByTagName("html")[0], R), L && (x += 1, f.hide(T)), u.default.register(this); } // Don't steal focus from inner elements }, { key: "render", value: function() { - var T = this.props, E = T.id, M = T.className, _ = T.overlayClassName, w = T.defaultStyles, A = T.children, j = M ? {} : w.content, V = _ ? {} : w.overlay; + var D = this.props, T = D.id, L = D.className, R = D.overlayClassName, M = D.defaultStyles, P = D.children, H = L ? {} : M.content, K = R ? {} : M.overlay; if (this.shouldBeClosed()) return null; - var D = { + var V = { ref: this.setOverlayRef, - className: this.buildClassName("overlay", _), - style: g({}, V, this.props.style.overlay), + className: this.buildClassName("overlay", R), + style: c({}, K, this.props.style.overlay), onClick: this.handleOverlayOnClick, onMouseDown: this.handleOverlayOnMouseDown - }, z = g({ - id: E, + }, U = c({ + id: T, ref: this.setContentRef, - style: g({}, j, this.props.style.content), - className: this.buildClassName("content", M), + style: c({}, H, this.props.style.content), + className: this.buildClassName("content", L), tabIndex: "-1", onKeyDown: this.handleKeyDown, onMouseDown: this.handleContentOnMouseDown, @@ -41493,296 +43412,296 @@ function G7() { onClick: this.handleContentOnClick, role: this.props.role, "aria-label": this.props.contentLabel - }, this.attributesFromObject("aria", g({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), { + }, this.attributesFromObject("aria", c({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), { "data-testid": this.props.testId - }), J = this.props.contentElement(z, A); - return this.props.overlayElement(D, J); + }), F = this.props.contentElement(U, P); + return this.props.overlayElement(V, F); } - }]), U; - }(x.Component); - B.defaultProps = { + }]), k; + }(g.Component); + A.defaultProps = { style: { overlay: {}, content: {} }, defaultStyles: {} - }, B.propTypes = { - isOpen: c.default.bool.isRequired, - defaultStyles: c.default.shape({ - content: c.default.object, - overlay: c.default.object + }, A.propTypes = { + isOpen: s.default.bool.isRequired, + defaultStyles: s.default.shape({ + content: s.default.object, + overlay: s.default.object }), - style: c.default.shape({ - content: c.default.object, - overlay: c.default.object + style: s.default.shape({ + content: s.default.object, + overlay: s.default.object }), - className: c.default.oneOfType([c.default.string, c.default.object]), - overlayClassName: c.default.oneOfType([c.default.string, c.default.object]), - parentSelector: c.default.func, - bodyOpenClassName: c.default.string, - htmlOpenClassName: c.default.string, - ariaHideApp: c.default.bool, - appElement: c.default.oneOfType([c.default.instanceOf(d.default), c.default.instanceOf(u.SafeHTMLCollection), c.default.instanceOf(u.SafeNodeList), c.default.arrayOf(c.default.instanceOf(d.default))]), - onAfterOpen: c.default.func, - onAfterClose: c.default.func, - onRequestClose: c.default.func, - closeTimeoutMS: c.default.number, - shouldFocusAfterRender: c.default.bool, - shouldCloseOnOverlayClick: c.default.bool, - shouldReturnFocusAfterClose: c.default.bool, - preventScroll: c.default.bool, - role: c.default.string, - contentLabel: c.default.string, - aria: c.default.object, - data: c.default.object, - children: c.default.node, - shouldCloseOnEsc: c.default.bool, - overlayRef: c.default.func, - contentRef: c.default.func, - id: c.default.string, - overlayElement: c.default.func, - contentElement: c.default.func, - testId: c.default.string - }, o.default = B, e.exports = o.default; - }(wi, wi.exports)), wi.exports; -} -function _d() { + className: s.default.oneOfType([s.default.string, s.default.object]), + overlayClassName: s.default.oneOfType([s.default.string, s.default.object]), + parentSelector: s.default.func, + bodyOpenClassName: s.default.string, + htmlOpenClassName: s.default.string, + ariaHideApp: s.default.bool, + appElement: s.default.oneOfType([s.default.instanceOf(v.default), s.default.instanceOf(m.SafeHTMLCollection), s.default.instanceOf(m.SafeNodeList), s.default.arrayOf(s.default.instanceOf(v.default))]), + onAfterOpen: s.default.func, + onAfterClose: s.default.func, + onRequestClose: s.default.func, + closeTimeoutMS: s.default.number, + shouldFocusAfterRender: s.default.bool, + shouldCloseOnOverlayClick: s.default.bool, + shouldReturnFocusAfterClose: s.default.bool, + preventScroll: s.default.bool, + role: s.default.string, + contentLabel: s.default.string, + aria: s.default.object, + data: s.default.object, + children: s.default.node, + shouldCloseOnEsc: s.default.bool, + overlayRef: s.default.func, + contentRef: s.default.func, + id: s.default.string, + overlayElement: s.default.func, + contentElement: s.default.func, + testId: s.default.string + }, t.default = A, e.exports = t.default; + }(la, la.exports)), la.exports; +} +function N1() { var e = this.constructor.getDerivedStateFromProps(this.props, this.state); e != null && this.setState(e); } -function Sd(e) { - function o(g) { - var C = this.constructor.getDerivedStateFromProps(e, g); - return C ?? null; +function B1(e) { + function t(c) { + var h = this.constructor.getDerivedStateFromProps(e, c); + return h ?? null; } - this.setState(o.bind(this)); + this.setState(t.bind(this)); } -function Md(e, o) { +function R1(e, t) { try { - var g = this.props, C = this.state; - this.props = e, this.state = o, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate( - g, - C + var c = this.props, h = this.state; + this.props = e, this.state = t, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate( + c, + h ); } finally { - this.props = g, this.state = C; + this.props = c, this.state = h; } } -_d.__suppressDeprecationWarning = !0; -Sd.__suppressDeprecationWarning = !0; -Md.__suppressDeprecationWarning = !0; -function q7(e) { - var o = e.prototype; - if (!o || !o.isReactComponent) +N1.__suppressDeprecationWarning = !0; +B1.__suppressDeprecationWarning = !0; +R1.__suppressDeprecationWarning = !0; +function D_(e) { + var t = e.prototype; + if (!t || !t.isReactComponent) throw new Error("Can only polyfill class components"); - if (typeof e.getDerivedStateFromProps != "function" && typeof o.getSnapshotBeforeUpdate != "function") + if (typeof e.getDerivedStateFromProps != "function" && typeof t.getSnapshotBeforeUpdate != "function") return e; - var g = null, C = null, P = null; - if (typeof o.componentWillMount == "function" ? g = "componentWillMount" : typeof o.UNSAFE_componentWillMount == "function" && (g = "UNSAFE_componentWillMount"), typeof o.componentWillReceiveProps == "function" ? C = "componentWillReceiveProps" : typeof o.UNSAFE_componentWillReceiveProps == "function" && (C = "UNSAFE_componentWillReceiveProps"), typeof o.componentWillUpdate == "function" ? P = "componentWillUpdate" : typeof o.UNSAFE_componentWillUpdate == "function" && (P = "UNSAFE_componentWillUpdate"), g !== null || C !== null || P !== null) { - var x = e.displayName || e.name, n = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()"; + var c = null, h = null, S = null; + if (typeof t.componentWillMount == "function" ? c = "componentWillMount" : typeof t.UNSAFE_componentWillMount == "function" && (c = "UNSAFE_componentWillMount"), typeof t.componentWillReceiveProps == "function" ? h = "componentWillReceiveProps" : typeof t.UNSAFE_componentWillReceiveProps == "function" && (h = "UNSAFE_componentWillReceiveProps"), typeof t.componentWillUpdate == "function" ? S = "componentWillUpdate" : typeof t.UNSAFE_componentWillUpdate == "function" && (S = "UNSAFE_componentWillUpdate"), c !== null || h !== null || S !== null) { + var g = e.displayName || e.name, n = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()"; throw Error( `Unsafe legacy lifecycles will not be called for components using new component APIs. -` + x + " uses " + n + " but also contains the following legacy lifecycles:" + (g !== null ? ` - ` + g : "") + (C !== null ? ` - ` + C : "") + (P !== null ? ` - ` + P : "") + ` +` + g + " uses " + n + " but also contains the following legacy lifecycles:" + (c !== null ? ` + ` + c : "") + (h !== null ? ` + ` + h : "") + (S !== null ? ` + ` + S : "") + ` The above lifecycles should be removed. Learn more about this warning here: https://fb.me/react-async-component-lifecycle-hooks` ); } - if (typeof e.getDerivedStateFromProps == "function" && (o.componentWillMount = _d, o.componentWillReceiveProps = Sd), typeof o.getSnapshotBeforeUpdate == "function") { - if (typeof o.componentDidUpdate != "function") + if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = N1, t.componentWillReceiveProps = B1), typeof t.getSnapshotBeforeUpdate == "function") { + if (typeof t.componentDidUpdate != "function") throw new Error( "Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype" ); - o.componentWillUpdate = Md; - var c = o.componentDidUpdate; - o.componentDidUpdate = function(a, i, m) { - var t = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : m; - c.call(this, a, i, t); + t.componentWillUpdate = R1; + var s = t.componentDidUpdate; + t.componentDidUpdate = function(o, i, p) { + var a = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : p; + s.call(this, o, i, a); }; } return e; } -const Z7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const V_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - polyfill: q7 -}, Symbol.toStringTag, { value: "Module" })), X7 = /* @__PURE__ */ S1(Z7); -var Ac; -function Y7() { - if (Ac) return bn; - Ac = 1, Object.defineProperty(bn, "__esModule", { + polyfill: D_ +}, Symbol.toStringTag, { value: "Module" })), U_ = /* @__PURE__ */ My(V_); +var k2; +function F_() { + if (k2) return xr; + k2 = 1, Object.defineProperty(xr, "__esModule", { value: !0 - }), bn.bodyOpenClassName = bn.portalClassName = void 0; - var e = Object.assign || function(L) { - for (var N = 1; N < arguments.length; N++) { - var B = arguments[N]; - for (var H in B) - Object.prototype.hasOwnProperty.call(B, H) && (L[H] = B[H]); - } - return L; - }, o = /* @__PURE__ */ function() { - function L(N, B) { - for (var H = 0; H < B.length; H++) { - var U = B[H]; - U.enumerable = U.enumerable || !1, U.configurable = !0, "value" in U && (U.writable = !0), Object.defineProperty(N, U.key, U); + }), xr.bodyOpenClassName = xr.portalClassName = void 0; + var e = Object.assign || function(I) { + for (var x = 1; x < arguments.length; x++) { + var A = arguments[x]; + for (var N in A) + Object.prototype.hasOwnProperty.call(A, N) && (I[N] = A[N]); + } + return I; + }, t = /* @__PURE__ */ function() { + function I(x, A) { + for (var N = 0; N < A.length; N++) { + var k = A[N]; + k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(x, k.key, k); } } - return function(N, B, H) { - return B && L(N.prototype, B), H && L(N, H), N; + return function(x, A, N) { + return A && I(x.prototype, A), N && I(x, N), x; }; - }(), g = St, C = u(g), P = sf, x = u(P), n = /* @__PURE__ */ _s(), c = u(n), r = G7(), a = u(r), i = wd(), m = y(i), t = f0(), f = u(t), b = X7; - function y(L) { - if (L && L.__esModule) - return L; - var N = {}; - if (L != null) - for (var B in L) - Object.prototype.hasOwnProperty.call(L, B) && (N[B] = L[B]); - return N.default = L, N; - } - function u(L) { - return L && L.__esModule ? L : { default: L }; - } - function d(L, N) { - if (!(L instanceof N)) + }(), c = yt, h = m(c), S = dh, g = m(S), n = /* @__PURE__ */ nu(), s = m(n), r = j_(), o = m(r), i = L1(), p = w(i), a = Ju(), f = m(a), C = U_; + function w(I) { + if (I && I.__esModule) + return I; + var x = {}; + if (I != null) + for (var A in I) + Object.prototype.hasOwnProperty.call(I, A) && (x[A] = I[A]); + return x.default = I, x; + } + function m(I) { + return I && I.__esModule ? I : { default: I }; + } + function v(I, x) { + if (!(I instanceof x)) throw new TypeError("Cannot call a class as a function"); } - function l(L, N) { - if (!L) + function l(I, x) { + if (!I) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return N && (typeof N == "object" || typeof N == "function") ? N : L; + return x && (typeof x == "object" || typeof x == "function") ? x : I; } - function s(L, N) { - if (typeof N != "function" && N !== null) - throw new TypeError("Super expression must either be null or a function, not " + typeof N); - L.prototype = Object.create(N && N.prototype, { constructor: { value: L, enumerable: !1, writable: !0, configurable: !0 } }), N && (Object.setPrototypeOf ? Object.setPrototypeOf(L, N) : L.__proto__ = N); + function u(I, x) { + if (typeof x != "function" && x !== null) + throw new TypeError("Super expression must either be null or a function, not " + typeof x); + I.prototype = Object.create(x && x.prototype, { constructor: { value: I, enumerable: !1, writable: !0, configurable: !0 } }), x && (Object.setPrototypeOf ? Object.setPrototypeOf(I, x) : I.__proto__ = x); } - var v = bn.portalClassName = "ReactModalPortal", p = bn.bodyOpenClassName = "ReactModal__Body--open", h = t.canUseDOM && x.default.createPortal !== void 0, O = function(N) { - return document.createElement(N); - }, I = function() { - return h ? x.default.createPortal : x.default.unstable_renderSubtreeIntoContainer; + var y = xr.portalClassName = "ReactModalPortal", d = xr.bodyOpenClassName = "ReactModal__Body--open", b = a.canUseDOM && g.default.createPortal !== void 0, _ = function(x) { + return document.createElement(x); + }, E = function() { + return b ? g.default.createPortal : g.default.unstable_renderSubtreeIntoContainer; }; - function k(L) { - return L(); - } - var R = function(L) { - s(N, L); - function N() { - var B, H, U, S; - d(this, N); - for (var T = arguments.length, E = Array(T), M = 0; M < T; M++) - E[M] = arguments[M]; - return S = (H = (U = l(this, (B = N.__proto__ || Object.getPrototypeOf(N)).call.apply(B, [this].concat(E))), U), U.removePortal = function() { - !h && x.default.unmountComponentAtNode(U.node); - var _ = k(U.props.parentSelector); - _ && _.contains(U.node) ? _.removeChild(U.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.'); - }, U.portalRef = function(_) { - U.portal = _; - }, U.renderPortal = function(_) { - var w = I(), A = w(U, C.default.createElement(a.default, e({ defaultStyles: N.defaultStyles }, _)), U.node); - U.portalRef(A); - }, H), l(U, S); - } - return o(N, [{ + function B(I) { + return I(); + } + var O = function(I) { + u(x, I); + function x() { + var A, N, k, j; + v(this, x); + for (var D = arguments.length, T = Array(D), L = 0; L < D; L++) + T[L] = arguments[L]; + return j = (N = (k = l(this, (A = x.__proto__ || Object.getPrototypeOf(x)).call.apply(A, [this].concat(T))), k), k.removePortal = function() { + !b && g.default.unmountComponentAtNode(k.node); + var R = B(k.props.parentSelector); + R && R.contains(k.node) ? R.removeChild(k.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.'); + }, k.portalRef = function(R) { + k.portal = R; + }, k.renderPortal = function(R) { + var M = E(), P = M(k, h.default.createElement(o.default, e({ defaultStyles: x.defaultStyles }, R)), k.node); + k.portalRef(P); + }, N), l(k, j); + } + return t(x, [{ key: "componentDidMount", value: function() { - if (t.canUseDOM) { - h || (this.node = O("div")), this.node.className = this.props.portalClassName; - var H = k(this.props.parentSelector); - H.appendChild(this.node), !h && this.renderPortal(this.props); + if (a.canUseDOM) { + b || (this.node = _("div")), this.node.className = this.props.portalClassName; + var N = B(this.props.parentSelector); + N.appendChild(this.node), !b && this.renderPortal(this.props); } } }, { key: "getSnapshotBeforeUpdate", - value: function(H) { - var U = k(H.parentSelector), S = k(this.props.parentSelector); - return { prevParent: U, nextParent: S }; + value: function(N) { + var k = B(N.parentSelector), j = B(this.props.parentSelector); + return { prevParent: k, nextParent: j }; } }, { key: "componentDidUpdate", - value: function(H, U, S) { - if (t.canUseDOM) { - var T = this.props, E = T.isOpen, M = T.portalClassName; - H.portalClassName !== M && (this.node.className = M); - var _ = S.prevParent, w = S.nextParent; - w !== _ && (_.removeChild(this.node), w.appendChild(this.node)), !(!H.isOpen && !E) && !h && this.renderPortal(this.props); + value: function(N, k, j) { + if (a.canUseDOM) { + var D = this.props, T = D.isOpen, L = D.portalClassName; + N.portalClassName !== L && (this.node.className = L); + var R = j.prevParent, M = j.nextParent; + M !== R && (R.removeChild(this.node), M.appendChild(this.node)), !(!N.isOpen && !T) && !b && this.renderPortal(this.props); } } }, { key: "componentWillUnmount", value: function() { - if (!(!t.canUseDOM || !this.node || !this.portal)) { - var H = this.portal.state, U = Date.now(), S = H.isOpen && this.props.closeTimeoutMS && (H.closesAt || U + this.props.closeTimeoutMS); - S ? (H.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, S - U)) : this.removePortal(); + if (!(!a.canUseDOM || !this.node || !this.portal)) { + var N = this.portal.state, k = Date.now(), j = N.isOpen && this.props.closeTimeoutMS && (N.closesAt || k + this.props.closeTimeoutMS); + j ? (N.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, j - k)) : this.removePortal(); } } }, { key: "render", value: function() { - if (!t.canUseDOM || !h) + if (!a.canUseDOM || !b) return null; - !this.node && h && (this.node = O("div")); - var H = I(); - return H(C.default.createElement(a.default, e({ + !this.node && b && (this.node = _("div")); + var N = E(); + return N(h.default.createElement(o.default, e({ ref: this.portalRef, - defaultStyles: N.defaultStyles + defaultStyles: x.defaultStyles }, this.props)), this.node); } }], [{ key: "setAppElement", - value: function(H) { - m.setElement(H); + value: function(N) { + p.setElement(N); } /* eslint-disable react/no-unused-prop-types */ /* eslint-enable react/no-unused-prop-types */ - }]), N; - }(g.Component); - return R.propTypes = { - isOpen: c.default.bool.isRequired, - style: c.default.shape({ - content: c.default.object, - overlay: c.default.object + }]), x; + }(c.Component); + return O.propTypes = { + isOpen: s.default.bool.isRequired, + style: s.default.shape({ + content: s.default.object, + overlay: s.default.object }), - portalClassName: c.default.string, - bodyOpenClassName: c.default.string, - htmlOpenClassName: c.default.string, - className: c.default.oneOfType([c.default.string, c.default.shape({ - base: c.default.string.isRequired, - afterOpen: c.default.string.isRequired, - beforeClose: c.default.string.isRequired + portalClassName: s.default.string, + bodyOpenClassName: s.default.string, + htmlOpenClassName: s.default.string, + className: s.default.oneOfType([s.default.string, s.default.shape({ + base: s.default.string.isRequired, + afterOpen: s.default.string.isRequired, + beforeClose: s.default.string.isRequired })]), - overlayClassName: c.default.oneOfType([c.default.string, c.default.shape({ - base: c.default.string.isRequired, - afterOpen: c.default.string.isRequired, - beforeClose: c.default.string.isRequired + overlayClassName: s.default.oneOfType([s.default.string, s.default.shape({ + base: s.default.string.isRequired, + afterOpen: s.default.string.isRequired, + beforeClose: s.default.string.isRequired })]), - appElement: c.default.oneOfType([c.default.instanceOf(f.default), c.default.instanceOf(t.SafeHTMLCollection), c.default.instanceOf(t.SafeNodeList), c.default.arrayOf(c.default.instanceOf(f.default))]), - onAfterOpen: c.default.func, - onRequestClose: c.default.func, - closeTimeoutMS: c.default.number, - ariaHideApp: c.default.bool, - shouldFocusAfterRender: c.default.bool, - shouldCloseOnOverlayClick: c.default.bool, - shouldReturnFocusAfterClose: c.default.bool, - preventScroll: c.default.bool, - parentSelector: c.default.func, - aria: c.default.object, - data: c.default.object, - role: c.default.string, - contentLabel: c.default.string, - shouldCloseOnEsc: c.default.bool, - overlayRef: c.default.func, - contentRef: c.default.func, - id: c.default.string, - overlayElement: c.default.func, - contentElement: c.default.func - }, R.defaultProps = { + appElement: s.default.oneOfType([s.default.instanceOf(f.default), s.default.instanceOf(a.SafeHTMLCollection), s.default.instanceOf(a.SafeNodeList), s.default.arrayOf(s.default.instanceOf(f.default))]), + onAfterOpen: s.default.func, + onRequestClose: s.default.func, + closeTimeoutMS: s.default.number, + ariaHideApp: s.default.bool, + shouldFocusAfterRender: s.default.bool, + shouldCloseOnOverlayClick: s.default.bool, + shouldReturnFocusAfterClose: s.default.bool, + preventScroll: s.default.bool, + parentSelector: s.default.func, + aria: s.default.object, + data: s.default.object, + role: s.default.string, + contentLabel: s.default.string, + shouldCloseOnEsc: s.default.bool, + overlayRef: s.default.func, + contentRef: s.default.func, + id: s.default.string, + overlayElement: s.default.func, + contentElement: s.default.func + }, O.defaultProps = { isOpen: !1, - portalClassName: v, - bodyOpenClassName: p, + portalClassName: y, + bodyOpenClassName: d, role: "dialog", ariaHideApp: !0, closeTimeoutMS: 0, @@ -41794,21 +43713,21 @@ function Y7() { parentSelector: function() { return document.body; }, - overlayElement: function(N, B) { - return C.default.createElement( + overlayElement: function(x, A) { + return h.default.createElement( "div", - N, - B + x, + A ); }, - contentElement: function(N, B) { - return C.default.createElement( + contentElement: function(x, A) { + return h.default.createElement( "div", - N, - B + x, + A ); } - }, R.defaultStyles = { + }, O.defaultStyles = { overlay: { position: "fixed", top: 0, @@ -41831,39 +43750,39 @@ function Y7() { outline: "none", padding: "20px" } - }, (0, b.polyfill)(R), process.env.NODE_ENV !== "production" && (R.setCreateHTMLElement = function(L) { - return O = L; - }), bn.default = R, bn; + }, (0, C.polyfill)(O), process.env.NODE_ENV !== "production" && (O.setCreateHTMLElement = function(I) { + return _ = I; + }), xr.default = O, xr; } -var Oc; -function Q7() { - return Oc || (Oc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var H2; +function z_() { + return H2 || (H2 = 1, function(e, t) { + Object.defineProperty(t, "__esModule", { value: !0 }); - var g = Y7(), C = P(g); - function P(x) { - return x && x.__esModule ? x : { default: x }; + var c = F_(), h = S(c); + function S(g) { + return g && g.__esModule ? g : { default: g }; } - o.default = C.default, e.exports = o.default; - }(bi, bi.exports)), bi.exports; + t.default = h.default, e.exports = t.default; + }(ua, ua.exports)), ua.exports; } -var eb = Q7(); -const xd = /* @__PURE__ */ qi(eb), tb = be(je).withConfig({ +var K_ = z_(); +const k1 = /* @__PURE__ */ qa(K_), W_ = xe(je).withConfig({ displayName: "modal-header__ModalHeaderContainer", componentId: "sc-1rinwdo-0" })(({ theme: e, - marginBottom: o + marginBottom: t }) => e.withMedia({ - marginBottom: o || "40px" -})), rb = be.div.withConfig({ + marginBottom: t || "40px" +})), J_ = xe.div.withConfig({ displayName: "modal-header__CloseButton", componentId: "sc-1rinwdo-1" })(() => ({ cursor: "pointer", padding: "0 10px" -})), nb = be(_t).withConfig({ +})), $_ = xe(vt).withConfig({ displayName: "modal-header__StyledSvgIcon", componentId: "sc-1rinwdo-2" })(({ @@ -41872,18 +43791,18 @@ const xd = /* @__PURE__ */ qi(eb), tb = be(je).withConfig({ path: { stroke: e.styleguideColors.contentBlue } -})), Ed = ({ +})), H1 = ({ onClose: e, - headerLogo: o, - marginBottom: g -}) => /* @__PURE__ */ Pe(tb, { justify: o ? "space-between" : "end", align: "center", marginBottom: g, children: [ - o && o, - e && /* @__PURE__ */ $(rb, { onClick: e, tabIndex: 0, onKeyDown: (C) => { - C.key === "Enter" && e && e(); - }, children: /* @__PURE__ */ $(nb, { src: Uf, size: 20 }) }) + headerLogo: t, + marginBottom: c +}) => /* @__PURE__ */ Le(W_, { justify: t ? "space-between" : "end", align: "center", marginBottom: c, children: [ + t && t, + e && /* @__PURE__ */ W(J_, { onClick: e, tabIndex: 0, onKeyDown: (h) => { + h.key === "Enter" && e && e(); + }, children: /* @__PURE__ */ W($_, { src: Kh, size: 20 }) }) ] }); -var Zo = /* @__PURE__ */ ((e) => (e.TopRight = "topRight", e.Center = "center", e))(Zo || {}); -const ob = { +var Ni = /* @__PURE__ */ ((e) => (e.TopRight = "topRight", e.Center = "center", e))(Ni || {}); +const G_ = { left: "50%", right: "auto", bottom: "auto", @@ -41892,7 +43811,7 @@ const ob = { padding: "32px 24px 24px 24px", top: "50%", transform: "translate(-50%, -50%)" -}, ib = { +}, q_ = { top: "40px", left: "auto", right: "40px", @@ -41900,33 +43819,33 @@ const ob = { bottom: "auto", borderRadius: "12px", padding: "16px 24px 24px 24px" -}, ab = be(Kt).withConfig({ +}, Z_ = xe(Ht).withConfig({ displayName: "confirmation-window__ModalContainer", componentId: "sc-6fbghq-0" })(({ theme: e, - position: o + position: t }) => e.withMedia({ - width: o === "topRight" ? ["300px", "350px", "350px"] : ["300px", "400px", "446px"], + width: t === "topRight" ? ["300px", "350px", "350px"] : ["300px", "400px", "446px"], background: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary -})), sb = be(je).withConfig({ +})), Y_ = xe(je).withConfig({ displayName: "confirmation-window__ImageWrapper", componentId: "sc-6fbghq-1" })(({ theme: e }) => e.withMedia({ margin: "15px 0 35px 0" -})), ub = be.div.withConfig({ +})), X_ = xe.div.withConfig({ displayName: "confirmation-window__StyledCaption", componentId: "sc-6fbghq-2" })(({ theme: e, - position: o + position: t }) => e.withMedia({ - textAlign: o === "topRight" ? "left" : "center", + textAlign: t === "topRight" ? "left" : "center", marginBottom: "16px" -})), cb = be($o).withConfig({ +})), Q_ = xe(Ai).withConfig({ displayName: "confirmation-window__StyledCaptionText", componentId: "sc-6fbghq-3" })(({ @@ -41935,25 +43854,25 @@ const ob = { fontWeight: [600, 600, 700], fontSize: ["20px", "24px", "24px"], color: e.styleguideColors.contentPrimary -})), lb = be(Ae).withConfig({ +})), eE = xe(Be).withConfig({ displayName: "confirmation-window__InformationText", componentId: "sc-6fbghq-4" })(({ theme: e, - position: o + position: t }) => e.withMedia({ - textAlign: o === "topRight" ? "left" : "center", + textAlign: t === "topRight" ? "left" : "center", color: e.styleguideColors.contentSecondary -})), db = be(je).withConfig({ +})), tE = xe(je).withConfig({ displayName: "confirmation-window__ButtonsContainer", componentId: "sc-6fbghq-5" })(({ theme: e, - position: o + position: t }) => e.withMedia({ - marginTop: o === "topRight" ? "40px" : ["32px", "32px", "56px"], + marginTop: t === "topRight" ? "40px" : ["32px", "32px", "56px"], flexDirection: ["column", "row", "row"] -})), fb = be(no).withConfig({ +})), nE = xe(Lo).withConfig({ displayName: "confirmation-window__StyledConfirmButton", componentId: "sc-6fbghq-6" })(({ @@ -41966,7 +43885,7 @@ const ob = { ":active": { background: e.styleguideColors.fillPrimaryBlueClick } -})), hb = be(no).withConfig({ +})), rE = xe(Lo).withConfig({ displayName: "confirmation-window__StyledDismissButton", componentId: "sc-6fbghq-7" })(({ @@ -41979,367 +43898,367 @@ const ob = { ":active": { background: e.styleguideColors.fillSecondaryBlueClick } -})), sM = ({ +})), YO = ({ isOpen: e, - position: o, - title: g, - withHeader: C, - headerLogo: P, - bodyImg: x, + position: t, + title: c, + withHeader: h, + headerLogo: S, + bodyImg: g, information: n, - confirmLabel: c, + confirmLabel: s, confirmColor: r, - onConfirm: a, + onConfirm: o, dismissLabel: i, - onDismiss: m, - themeMode: t, + onDismiss: p, + themeMode: a, portalClass: f = "portal" }) => { - const b = jo(), y = { + const C = wi(), w = { overlay: { - backgroundColor: b.styleguideColors.backgroundOverlay, + backgroundColor: C.styleguideColors.backgroundOverlay, zIndex: 20 }, - content: o === "topRight" ? { - ...ib, - backgroundColor: b.styleguideColors.backgroundPrimary, - borderColor: b.styleguideColors.backgroundPrimary, - boxShadow: t === es.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" + content: t === "topRight" ? { + ...q_, + backgroundColor: C.styleguideColors.backgroundPrimary, + borderColor: C.styleguideColors.backgroundPrimary, + boxShadow: a === vc.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" } : { - ...ob, - backgroundColor: b.styleguideColors.backgroundPrimary, - borderColor: b.styleguideColors.backgroundPrimary, - boxShadow: t === es.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" + ...G_, + backgroundColor: C.styleguideColors.backgroundPrimary, + borderColor: C.styleguideColors.backgroundPrimary, + boxShadow: a === vc.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" } }; - return /* @__PURE__ */ $(At, { children: e && /* @__PURE__ */ $(xd, { isOpen: e, style: y, onRequestClose: m, shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: f, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Pe(ab, { position: o, children: [ - C && /* @__PURE__ */ $(Ed, { themeMode: t, headerLogo: P, onClose: m }), - x && /* @__PURE__ */ $(sb, { justify: "center", children: x }), - /* @__PURE__ */ $(ub, { position: o, children: /* @__PURE__ */ $(cb, { size: 1, scale: "lg", children: g }) }), - /* @__PURE__ */ $(je, { justify: "center", children: /* @__PURE__ */ $(lb, { position: o, size: 3, scale: "sm", children: n }) }), - /* @__PURE__ */ Pe(db, { position: o, gap: "16px", justify: "space-between", children: [ - i && /* @__PURE__ */ $(hb, { color: "utility", hasOutline: !0, onClick: m, tabIndex: 0, onKeyDown: (u) => { - u.key === "Enter" && m(); + return /* @__PURE__ */ W(pt, { children: e && /* @__PURE__ */ W(k1, { isOpen: e, style: w, onRequestClose: p, shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: f, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Le(Z_, { position: t, children: [ + h && /* @__PURE__ */ W(H1, { themeMode: a, headerLogo: S, onClose: p }), + g && /* @__PURE__ */ W(Y_, { justify: "center", children: g }), + /* @__PURE__ */ W(X_, { position: t, children: /* @__PURE__ */ W(Q_, { size: 1, scale: "lg", children: c }) }), + /* @__PURE__ */ W(je, { justify: "center", children: /* @__PURE__ */ W(eE, { position: t, size: 3, scale: "sm", children: n }) }), + /* @__PURE__ */ Le(tE, { position: t, gap: "16px", justify: "space-between", children: [ + i && /* @__PURE__ */ W(rE, { color: "utility", hasOutline: !0, onClick: p, tabIndex: 0, onKeyDown: (m) => { + m.key === "Enter" && p(); }, children: i }), - /* @__PURE__ */ $(fb, { onClick: a, hasOutline: !0, tabIndex: 0, onKeyDown: (u) => { - u.key === "Enter" && a(); - }, children: c }) + /* @__PURE__ */ W(nE, { onClick: o, hasOutline: !0, tabIndex: 0, onKeyDown: (m) => { + m.key === "Enter" && o(); + }, children: s }) ] }) ] }) }) }); }; -var pb = 20, mb = 1, Bn = 1e6, Tc = 1e6, yb = -7, gb = 21, vb = !1, Xo = "[big.js] ", Vn = Xo + "Invalid ", ca = Vn + "decimal places", bb = Vn + "rounding mode", Pd = Xo + "Division by zero", zt = {}, an = void 0, wb = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i; -function Ad() { - function e(o) { - var g = this; - if (!(g instanceof e)) - return o === an && arguments.length === 0 ? Ad() : new e(o); - if (o instanceof e) - g.s = o.s, g.e = o.e, g.c = o.c.slice(); +var oE = 20, iE = 1, eo = 1e6, j2 = 1e6, aE = -7, sE = 21, cE = !1, Bi = "[big.js] ", io = Bi + "Invalid ", ps = io + "decimal places", uE = io + "rounding mode", j1 = Bi + "Division by zero", Rt = {}, Qn = void 0, lE = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i; +function D1() { + function e(t) { + var c = this; + if (!(c instanceof e)) + return t === Qn && arguments.length === 0 ? D1() : new e(t); + if (t instanceof e) + c.s = t.s, c.e = t.e, c.c = t.c.slice(); else { - if (typeof o != "string") { - if (e.strict === !0 && typeof o != "bigint") - throw TypeError(Vn + "value"); - o = o === 0 && 1 / o < 0 ? "-0" : String(o); + if (typeof t != "string") { + if (e.strict === !0 && typeof t != "bigint") + throw TypeError(io + "value"); + t = t === 0 && 1 / t < 0 ? "-0" : String(t); } - Cb(g, o); + dE(c, t); } - g.constructor = e; + c.constructor = e; } - return e.prototype = zt, e.DP = pb, e.RM = mb, e.NE = yb, e.PE = gb, e.strict = vb, e.roundDown = 0, e.roundHalfUp = 1, e.roundHalfEven = 2, e.roundUp = 3, e; + return e.prototype = Rt, e.DP = oE, e.RM = iE, e.NE = aE, e.PE = sE, e.strict = cE, e.roundDown = 0, e.roundHalfUp = 1, e.roundHalfEven = 2, e.roundUp = 3, e; } -function Cb(e, o) { - var g, C, P; - if (!wb.test(o)) - throw Error(Vn + "number"); - for (e.s = o.charAt(0) == "-" ? (o = o.slice(1), -1) : 1, (g = o.indexOf(".")) > -1 && (o = o.replace(".", "")), (C = o.search(/e/i)) > 0 ? (g < 0 && (g = C), g += +o.slice(C + 1), o = o.substring(0, C)) : g < 0 && (g = o.length), P = o.length, C = 0; C < P && o.charAt(C) == "0"; ) ++C; - if (C == P) +function dE(e, t) { + var c, h, S; + if (!lE.test(t)) + throw Error(io + "number"); + for (e.s = t.charAt(0) == "-" ? (t = t.slice(1), -1) : 1, (c = t.indexOf(".")) > -1 && (t = t.replace(".", "")), (h = t.search(/e/i)) > 0 ? (c < 0 && (c = h), c += +t.slice(h + 1), t = t.substring(0, h)) : c < 0 && (c = t.length), S = t.length, h = 0; h < S && t.charAt(h) == "0"; ) ++h; + if (h == S) e.c = [e.e = 0]; else { - for (; P > 0 && o.charAt(--P) == "0"; ) ; - for (e.e = g - C - 1, e.c = [], g = 0; C <= P; ) e.c[g++] = +o.charAt(C++); + for (; S > 0 && t.charAt(--S) == "0"; ) ; + for (e.e = c - h - 1, e.c = [], c = 0; h <= S; ) e.c[c++] = +t.charAt(h++); } return e; } -function Un(e, o, g, C) { - var P = e.c; - if (g === an && (g = e.constructor.RM), g !== 0 && g !== 1 && g !== 2 && g !== 3) - throw Error(bb); - if (o < 1) - C = g === 3 && (C || !!P[0]) || o === 0 && (g === 1 && P[0] >= 5 || g === 2 && (P[0] > 5 || P[0] === 5 && (C || P[1] !== an))), P.length = 1, C ? (e.e = e.e - o + 1, P[0] = 1) : P[0] = e.e = 0; - else if (o < P.length) { - if (C = g === 1 && P[o] >= 5 || g === 2 && (P[o] > 5 || P[o] === 5 && (C || P[o + 1] !== an || P[o - 1] & 1)) || g === 3 && (C || !!P[0]), P.length = o, C) { - for (; ++P[--o] > 9; ) - if (P[o] = 0, o === 0) { - ++e.e, P.unshift(1); +function ao(e, t, c, h) { + var S = e.c; + if (c === Qn && (c = e.constructor.RM), c !== 0 && c !== 1 && c !== 2 && c !== 3) + throw Error(uE); + if (t < 1) + h = c === 3 && (h || !!S[0]) || t === 0 && (c === 1 && S[0] >= 5 || c === 2 && (S[0] > 5 || S[0] === 5 && (h || S[1] !== Qn))), S.length = 1, h ? (e.e = e.e - t + 1, S[0] = 1) : S[0] = e.e = 0; + else if (t < S.length) { + if (h = c === 1 && S[t] >= 5 || c === 2 && (S[t] > 5 || S[t] === 5 && (h || S[t + 1] !== Qn || S[t - 1] & 1)) || c === 3 && (h || !!S[0]), S.length = t, h) { + for (; ++S[--t] > 9; ) + if (S[t] = 0, t === 0) { + ++e.e, S.unshift(1); break; } } - for (o = P.length; !P[--o]; ) P.pop(); + for (t = S.length; !S[--t]; ) S.pop(); } return e; } -function zn(e, o, g) { - var C = e.e, P = e.c.join(""), x = P.length; - if (o) - P = P.charAt(0) + (x > 1 ? "." + P.slice(1) : "") + (C < 0 ? "e" : "e+") + C; - else if (C < 0) { - for (; ++C; ) P = "0" + P; - P = "0." + P; - } else if (C > 0) - if (++C > x) - for (C -= x; C--; ) P += "0"; - else C < x && (P = P.slice(0, C) + "." + P.slice(C)); - else x > 1 && (P = P.charAt(0) + "." + P.slice(1)); - return e.s < 0 && g ? "-" + P : P; -} -zt.abs = function() { +function so(e, t, c) { + var h = e.e, S = e.c.join(""), g = S.length; + if (t) + S = S.charAt(0) + (g > 1 ? "." + S.slice(1) : "") + (h < 0 ? "e" : "e+") + h; + else if (h < 0) { + for (; ++h; ) S = "0" + S; + S = "0." + S; + } else if (h > 0) + if (++h > g) + for (h -= g; h--; ) S += "0"; + else h < g && (S = S.slice(0, h) + "." + S.slice(h)); + else g > 1 && (S = S.charAt(0) + "." + S.slice(1)); + return e.s < 0 && c ? "-" + S : S; +} +Rt.abs = function() { var e = new this.constructor(this); return e.s = 1, e; }; -zt.cmp = function(e) { - var o, g = this, C = g.c, P = (e = new g.constructor(e)).c, x = g.s, n = e.s, c = g.e, r = e.e; - if (!C[0] || !P[0]) return C[0] ? x : P[0] ? -n : 0; - if (x != n) return x; - if (o = x < 0, c != r) return c > r ^ o ? 1 : -1; - for (n = (c = C.length) < (r = P.length) ? c : r, x = -1; ++x < n; ) - if (C[x] != P[x]) return C[x] > P[x] ^ o ? 1 : -1; - return c == r ? 0 : c > r ^ o ? 1 : -1; +Rt.cmp = function(e) { + var t, c = this, h = c.c, S = (e = new c.constructor(e)).c, g = c.s, n = e.s, s = c.e, r = e.e; + if (!h[0] || !S[0]) return h[0] ? g : S[0] ? -n : 0; + if (g != n) return g; + if (t = g < 0, s != r) return s > r ^ t ? 1 : -1; + for (n = (s = h.length) < (r = S.length) ? s : r, g = -1; ++g < n; ) + if (h[g] != S[g]) return h[g] > S[g] ^ t ? 1 : -1; + return s == r ? 0 : s > r ^ t ? 1 : -1; }; -zt.div = function(e) { - var o = this, g = o.constructor, C = o.c, P = (e = new g(e)).c, x = o.s == e.s ? 1 : -1, n = g.DP; - if (n !== ~~n || n < 0 || n > Bn) - throw Error(ca); - if (!P[0]) - throw Error(Pd); - if (!C[0]) - return e.s = x, e.c = [e.e = 0], e; - var c, r, a, i, m, t = P.slice(), f = c = P.length, b = C.length, y = C.slice(0, c), u = y.length, d = e, l = d.c = [], s = 0, v = n + (d.e = o.e - e.e) + 1; - for (d.s = x, x = v < 0 ? 0 : v, t.unshift(0); u++ < c; ) y.push(0); +Rt.div = function(e) { + var t = this, c = t.constructor, h = t.c, S = (e = new c(e)).c, g = t.s == e.s ? 1 : -1, n = c.DP; + if (n !== ~~n || n < 0 || n > eo) + throw Error(ps); + if (!S[0]) + throw Error(j1); + if (!h[0]) + return e.s = g, e.c = [e.e = 0], e; + var s, r, o, i, p, a = S.slice(), f = s = S.length, C = h.length, w = h.slice(0, s), m = w.length, v = e, l = v.c = [], u = 0, y = n + (v.e = t.e - e.e) + 1; + for (v.s = g, g = y < 0 ? 0 : y, a.unshift(0); m++ < s; ) w.push(0); do { - for (a = 0; a < 10; a++) { - if (c != (u = y.length)) - i = c > u ? 1 : -1; + for (o = 0; o < 10; o++) { + if (s != (m = w.length)) + i = s > m ? 1 : -1; else - for (m = -1, i = 0; ++m < c; ) - if (P[m] != y[m]) { - i = P[m] > y[m] ? 1 : -1; + for (p = -1, i = 0; ++p < s; ) + if (S[p] != w[p]) { + i = S[p] > w[p] ? 1 : -1; break; } if (i < 0) { - for (r = u == c ? P : t; u; ) { - if (y[--u] < r[u]) { - for (m = u; m && !y[--m]; ) y[m] = 9; - --y[m], y[u] += 10; + for (r = m == s ? S : a; m; ) { + if (w[--m] < r[m]) { + for (p = m; p && !w[--p]; ) w[p] = 9; + --w[p], w[m] += 10; } - y[u] -= r[u]; + w[m] -= r[m]; } - for (; !y[0]; ) y.shift(); + for (; !w[0]; ) w.shift(); } else break; } - l[s++] = i ? a : ++a, y[0] && i ? y[u] = C[f] || 0 : y = [C[f]]; - } while ((f++ < b || y[0] !== an) && x--); - return !l[0] && s != 1 && (l.shift(), d.e--, v--), s > v && Un(d, v, g.RM, y[0] !== an), d; + l[u++] = i ? o : ++o, w[0] && i ? w[m] = h[f] || 0 : w = [h[f]]; + } while ((f++ < C || w[0] !== Qn) && g--); + return !l[0] && u != 1 && (l.shift(), v.e--, y--), u > y && ao(v, y, c.RM, w[0] !== Qn), v; }; -zt.eq = function(e) { +Rt.eq = function(e) { return this.cmp(e) === 0; }; -zt.gt = function(e) { +Rt.gt = function(e) { return this.cmp(e) > 0; }; -zt.gte = function(e) { +Rt.gte = function(e) { return this.cmp(e) > -1; }; -zt.lt = function(e) { +Rt.lt = function(e) { return this.cmp(e) < 0; }; -zt.lte = function(e) { +Rt.lte = function(e) { return this.cmp(e) < 1; }; -zt.minus = zt.sub = function(e) { - var o, g, C, P, x = this, n = x.constructor, c = x.s, r = (e = new n(e)).s; - if (c != r) - return e.s = -r, x.plus(e); - var a = x.c.slice(), i = x.e, m = e.c, t = e.e; - if (!a[0] || !m[0]) - return m[0] ? e.s = -r : a[0] ? e = new n(x) : e.s = 1, e; - if (c = i - t) { - for ((P = c < 0) ? (c = -c, C = a) : (t = i, C = m), C.reverse(), r = c; r--; ) C.push(0); - C.reverse(); +Rt.minus = Rt.sub = function(e) { + var t, c, h, S, g = this, n = g.constructor, s = g.s, r = (e = new n(e)).s; + if (s != r) + return e.s = -r, g.plus(e); + var o = g.c.slice(), i = g.e, p = e.c, a = e.e; + if (!o[0] || !p[0]) + return p[0] ? e.s = -r : o[0] ? e = new n(g) : e.s = 1, e; + if (s = i - a) { + for ((S = s < 0) ? (s = -s, h = o) : (a = i, h = p), h.reverse(), r = s; r--; ) h.push(0); + h.reverse(); } else - for (g = ((P = a.length < m.length) ? a : m).length, c = r = 0; r < g; r++) - if (a[r] != m[r]) { - P = a[r] < m[r]; + for (c = ((S = o.length < p.length) ? o : p).length, s = r = 0; r < c; r++) + if (o[r] != p[r]) { + S = o[r] < p[r]; break; } - if (P && (C = a, a = m, m = C, e.s = -e.s), (r = (g = m.length) - (o = a.length)) > 0) for (; r--; ) a[o++] = 0; - for (r = o; g > c; ) { - if (a[--g] < m[g]) { - for (o = g; o && !a[--o]; ) a[o] = 9; - --a[o], a[g] += 10; - } - a[g] -= m[g]; - } - for (; a[--r] === 0; ) a.pop(); - for (; a[0] === 0; ) - a.shift(), --t; - return a[0] || (e.s = 1, a = [t = 0]), e.c = a, e.e = t, e; + if (S && (h = o, o = p, p = h, e.s = -e.s), (r = (c = p.length) - (t = o.length)) > 0) for (; r--; ) o[t++] = 0; + for (r = t; c > s; ) { + if (o[--c] < p[c]) { + for (t = c; t && !o[--t]; ) o[t] = 9; + --o[t], o[c] += 10; + } + o[c] -= p[c]; + } + for (; o[--r] === 0; ) o.pop(); + for (; o[0] === 0; ) + o.shift(), --a; + return o[0] || (e.s = 1, o = [a = 0]), e.c = o, e.e = a, e; }; -zt.mod = function(e) { - var o, g = this, C = g.constructor, P = g.s, x = (e = new C(e)).s; +Rt.mod = function(e) { + var t, c = this, h = c.constructor, S = c.s, g = (e = new h(e)).s; if (!e.c[0]) - throw Error(Pd); - return g.s = e.s = 1, o = e.cmp(g) == 1, g.s = P, e.s = x, o ? new C(g) : (P = C.DP, x = C.RM, C.DP = C.RM = 0, g = g.div(e), C.DP = P, C.RM = x, this.minus(g.times(e))); + throw Error(j1); + return c.s = e.s = 1, t = e.cmp(c) == 1, c.s = S, e.s = g, t ? new h(c) : (S = h.DP, g = h.RM, h.DP = h.RM = 0, c = c.div(e), h.DP = S, h.RM = g, this.minus(c.times(e))); }; -zt.neg = function() { +Rt.neg = function() { var e = new this.constructor(this); return e.s = -e.s, e; }; -zt.plus = zt.add = function(e) { - var o, g, C, P = this, x = P.constructor; - if (e = new x(e), P.s != e.s) - return e.s = -e.s, P.minus(e); - var n = P.e, c = P.c, r = e.e, a = e.c; - if (!c[0] || !a[0]) - return a[0] || (c[0] ? e = new x(P) : e.s = P.s), e; - if (c = c.slice(), o = n - r) { - for (o > 0 ? (r = n, C = a) : (o = -o, C = c), C.reverse(); o--; ) C.push(0); - C.reverse(); - } - for (c.length - a.length < 0 && (C = a, a = c, c = C), o = a.length, g = 0; o; c[o] %= 10) g = (c[--o] = c[o] + a[o] + g) / 10 | 0; - for (g && (c.unshift(g), ++r), o = c.length; c[--o] === 0; ) c.pop(); - return e.c = c, e.e = r, e; +Rt.plus = Rt.add = function(e) { + var t, c, h, S = this, g = S.constructor; + if (e = new g(e), S.s != e.s) + return e.s = -e.s, S.minus(e); + var n = S.e, s = S.c, r = e.e, o = e.c; + if (!s[0] || !o[0]) + return o[0] || (s[0] ? e = new g(S) : e.s = S.s), e; + if (s = s.slice(), t = n - r) { + for (t > 0 ? (r = n, h = o) : (t = -t, h = s), h.reverse(); t--; ) h.push(0); + h.reverse(); + } + for (s.length - o.length < 0 && (h = o, o = s, s = h), t = o.length, c = 0; t; s[t] %= 10) c = (s[--t] = s[t] + o[t] + c) / 10 | 0; + for (c && (s.unshift(c), ++r), t = s.length; s[--t] === 0; ) s.pop(); + return e.c = s, e.e = r, e; }; -zt.pow = function(e) { - var o = this, g = new o.constructor("1"), C = g, P = e < 0; - if (e !== ~~e || e < -Tc || e > Tc) - throw Error(Vn + "exponent"); - for (P && (e = -e); e & 1 && (C = C.times(o)), e >>= 1, !!e; ) - o = o.times(o); - return P ? g.div(C) : C; +Rt.pow = function(e) { + var t = this, c = new t.constructor("1"), h = c, S = e < 0; + if (e !== ~~e || e < -j2 || e > j2) + throw Error(io + "exponent"); + for (S && (e = -e); e & 1 && (h = h.times(t)), e >>= 1, !!e; ) + t = t.times(t); + return S ? c.div(h) : h; }; -zt.prec = function(e, o) { - if (e !== ~~e || e < 1 || e > Bn) - throw Error(Vn + "precision"); - return Un(new this.constructor(this), e, o); +Rt.prec = function(e, t) { + if (e !== ~~e || e < 1 || e > eo) + throw Error(io + "precision"); + return ao(new this.constructor(this), e, t); }; -zt.round = function(e, o) { - if (e === an) e = 0; - else if (e !== ~~e || e < -Bn || e > Bn) - throw Error(ca); - return Un(new this.constructor(this), e + this.e + 1, o); +Rt.round = function(e, t) { + if (e === Qn) e = 0; + else if (e !== ~~e || e < -eo || e > eo) + throw Error(ps); + return ao(new this.constructor(this), e + this.e + 1, t); }; -zt.sqrt = function() { - var e, o, g, C = this, P = C.constructor, x = C.s, n = C.e, c = new P("0.5"); - if (!C.c[0]) return new P(C); - if (x < 0) - throw Error(Xo + "No square root"); - x = Math.sqrt(+zn(C, !0, !0)), x === 0 || x === 1 / 0 ? (o = C.c.join(""), o.length + n & 1 || (o += "0"), x = Math.sqrt(o), n = ((n + 1) / 2 | 0) - (n < 0 || n & 1), e = new P((x == 1 / 0 ? "5e" : (x = x.toExponential()).slice(0, x.indexOf("e") + 1)) + n)) : e = new P(x + ""), n = e.e + (P.DP += 4); +Rt.sqrt = function() { + var e, t, c, h = this, S = h.constructor, g = h.s, n = h.e, s = new S("0.5"); + if (!h.c[0]) return new S(h); + if (g < 0) + throw Error(Bi + "No square root"); + g = Math.sqrt(+so(h, !0, !0)), g === 0 || g === 1 / 0 ? (t = h.c.join(""), t.length + n & 1 || (t += "0"), g = Math.sqrt(t), n = ((n + 1) / 2 | 0) - (n < 0 || n & 1), e = new S((g == 1 / 0 ? "5e" : (g = g.toExponential()).slice(0, g.indexOf("e") + 1)) + n)) : e = new S(g + ""), n = e.e + (S.DP += 4); do - g = e, e = c.times(g.plus(C.div(g))); - while (g.c.slice(0, n).join("") !== e.c.slice(0, n).join("")); - return Un(e, (P.DP -= 4) + e.e + 1, P.RM); + c = e, e = s.times(c.plus(h.div(c))); + while (c.c.slice(0, n).join("") !== e.c.slice(0, n).join("")); + return ao(e, (S.DP -= 4) + e.e + 1, S.RM); }; -zt.times = zt.mul = function(e) { - var o, g = this, C = g.constructor, P = g.c, x = (e = new C(e)).c, n = P.length, c = x.length, r = g.e, a = e.e; - if (e.s = g.s == e.s ? 1 : -1, !P[0] || !x[0]) +Rt.times = Rt.mul = function(e) { + var t, c = this, h = c.constructor, S = c.c, g = (e = new h(e)).c, n = S.length, s = g.length, r = c.e, o = e.e; + if (e.s = c.s == e.s ? 1 : -1, !S[0] || !g[0]) return e.c = [e.e = 0], e; - for (e.e = r + a, n < c && (o = P, P = x, x = o, a = n, n = c, c = a), o = new Array(a = n + c); a--; ) o[a] = 0; - for (r = c; r--; ) { - for (c = 0, a = n + r; a > r; ) - c = o[a] + x[r] * P[a - r - 1] + c, o[a--] = c % 10, c = c / 10 | 0; - o[a] = c; - } - for (c ? ++e.e : o.shift(), r = o.length; !o[--r]; ) o.pop(); - return e.c = o, e; + for (e.e = r + o, n < s && (t = S, S = g, g = t, o = n, n = s, s = o), t = new Array(o = n + s); o--; ) t[o] = 0; + for (r = s; r--; ) { + for (s = 0, o = n + r; o > r; ) + s = t[o] + g[r] * S[o - r - 1] + s, t[o--] = s % 10, s = s / 10 | 0; + t[o] = s; + } + for (s ? ++e.e : t.shift(), r = t.length; !t[--r]; ) t.pop(); + return e.c = t, e; }; -zt.toExponential = function(e, o) { - var g = this, C = g.c[0]; - if (e !== an) { - if (e !== ~~e || e < 0 || e > Bn) - throw Error(ca); - for (g = Un(new g.constructor(g), ++e, o); g.c.length < e; ) g.c.push(0); - } - return zn(g, !0, !!C); +Rt.toExponential = function(e, t) { + var c = this, h = c.c[0]; + if (e !== Qn) { + if (e !== ~~e || e < 0 || e > eo) + throw Error(ps); + for (c = ao(new c.constructor(c), ++e, t); c.c.length < e; ) c.c.push(0); + } + return so(c, !0, !!h); }; -zt.toFixed = function(e, o) { - var g = this, C = g.c[0]; - if (e !== an) { - if (e !== ~~e || e < 0 || e > Bn) - throw Error(ca); - for (g = Un(new g.constructor(g), e + g.e + 1, o), e = e + g.e + 1; g.c.length < e; ) g.c.push(0); - } - return zn(g, !1, !!C); +Rt.toFixed = function(e, t) { + var c = this, h = c.c[0]; + if (e !== Qn) { + if (e !== ~~e || e < 0 || e > eo) + throw Error(ps); + for (c = ao(new c.constructor(c), e + c.e + 1, t), e = e + c.e + 1; c.c.length < e; ) c.c.push(0); + } + return so(c, !1, !!h); }; -zt.toJSON = zt.toString = function() { - var e = this, o = e.constructor; - return zn(e, e.e <= o.NE || e.e >= o.PE, !!e.c[0]); +Rt.toJSON = Rt.toString = function() { + var e = this, t = e.constructor; + return so(e, e.e <= t.NE || e.e >= t.PE, !!e.c[0]); }; -typeof Symbol < "u" && (zt[Symbol.for("nodejs.util.inspect.custom")] = zt.toJSON); -zt.toNumber = function() { - var e = +zn(this, !0, !0); +typeof Symbol < "u" && (Rt[Symbol.for("nodejs.util.inspect.custom")] = Rt.toJSON); +Rt.toNumber = function() { + var e = +so(this, !0, !0); if (this.constructor.strict === !0 && !this.eq(e.toString())) - throw Error(Xo + "Imprecise conversion"); + throw Error(Bi + "Imprecise conversion"); return e; }; -zt.toPrecision = function(e, o) { - var g = this, C = g.constructor, P = g.c[0]; - if (e !== an) { - if (e !== ~~e || e < 1 || e > Bn) - throw Error(Vn + "precision"); - for (g = Un(new C(g), e, o); g.c.length < e; ) g.c.push(0); - } - return zn(g, e <= g.e || g.e <= C.NE || g.e >= C.PE, !!P); +Rt.toPrecision = function(e, t) { + var c = this, h = c.constructor, S = c.c[0]; + if (e !== Qn) { + if (e !== ~~e || e < 1 || e > eo) + throw Error(io + "precision"); + for (c = ao(new h(c), e, t); c.c.length < e; ) c.c.push(0); + } + return so(c, e <= c.e || c.e <= h.NE || c.e >= h.PE, !!S); }; -zt.valueOf = function() { - var e = this, o = e.constructor; - if (o.strict === !0) - throw Error(Xo + "valueOf disallowed"); - return zn(e, e.e <= o.NE || e.e >= o.PE, !0); +Rt.valueOf = function() { + var e = this, t = e.constructor; + if (t.strict === !0) + throw Error(Bi + "valueOf disallowed"); + return so(e, e.e <= t.NE || e.e >= t.PE, !0); }; -var gn = Ad(), Hn = /* @__PURE__ */ ((e) => (e.none = "none", e.small = "small", e.deployCost = "deployCost", e.full = "full", e))(Hn || {}); -const _b = 9, Sb = "1000000000", h0 = (e) => { +var yr = D1(), to = /* @__PURE__ */ ((e) => (e.none = "none", e.small = "small", e.deployCost = "deployCost", e.full = "full", e))(to || {}); +const fE = 9, pE = "1000000000", $u = (e) => { switch (e) { case "small": - return Hl; + return Wd; case "deployCost": - return No; + return yi; case "full": - return _6; + return x8; case "none": return 0; default: return 0; } -}, Od = (e) => gn(e).div(Sb).toString(), Mb = (e, o) => gn(e).div(gn(10).pow(o)).toString(); -function xb({ +}, V1 = (e) => yr(e).div(pE).toString(), hE = (e, t) => yr(e).div(yr(10).pow(t)).toString(); +function yE({ motes: e, - precisionCase: o, - hideCsprCurrency: g + precisionCase: t, + hideCsprCurrency: c }) { - const C = h0(o); + const h = $u(t); if (e == null) - return /* @__PURE__ */ $(At, { children: "N/A" }); - const P = Od(e), x = Gr(P, { - precision: C - }), n = x + " CSPR"; - return /* @__PURE__ */ $(At, { children: g ? x : n }); + return /* @__PURE__ */ W(pt, { children: "N/A" }); + const S = V1(e), g = zn(S, { + precision: h + }), n = g + " CSPR"; + return /* @__PURE__ */ W(pt, { children: c ? g : n }); } -function Eb({ +function mE({ motes: e, - precision: o, - decimals: g, - ticker: C, - hideCurrency: P + precision: t, + decimals: c, + ticker: h, + hideCurrency: S }) { if (e == null) - return /* @__PURE__ */ $(At, { children: "N/A" }); - const x = Mb(e, g), n = Gr(x, { - precision: o - }), c = n + " " + C; - return /* @__PURE__ */ $(At, { children: P ? n : c }); + return /* @__PURE__ */ W(pt, { children: "N/A" }); + const g = hE(e, c), n = zn(g, { + precision: t + }), s = n + " " + h; + return /* @__PURE__ */ W(pt, { children: S ? n : s }); } -const Pb = be(je).withConfig({ +const gE = xe(je).withConfig({ displayName: "account-info-row__ValuesRow", componentId: "sc-15hsjvb-0" })(({ @@ -42350,7 +44269,7 @@ const Pb = be(je).withConfig({ padding: "8px 16px", backgroundColor: e.styleguideColors.backgroundPrimary, border: e.border.base -})), Ab = be(Kt).withConfig({ +})), vE = xe(Ht).withConfig({ displayName: "account-info-row__StyledFlexColumn", componentId: "sc-15hsjvb-1" })(({ @@ -42359,59 +44278,59 @@ const Pb = be(je).withConfig({ ...e && { opacity: 0.5 } -})), Ob = be(Ae).withConfig({ +})), bE = xe(Be).withConfig({ displayName: "account-info-row__BalanceText", componentId: "sc-15hsjvb-2" })(({}) => ({ textAlign: "right" -})), Tb = be.span.withConfig({ +})), wE = xe.span.withConfig({ displayName: "account-info-row__StyledIconContainer", componentId: "sc-15hsjvb-3" -})(["margin-left:10px;"]), Ic = ({ +})(["margin-left:10px;"]), D2 = ({ ticker: e, - cep18Config: o, - ...g -}) => e === "CSPR" ? /* @__PURE__ */ $(xb, { ...g }) : /* @__PURE__ */ $(Eb, { ticker: e, motes: g.motes, decimals: o?.decimals || No, precision: o?.precision || No }), Ib = ({ + cep18Config: t, + ...c +}) => e === "CSPR" ? /* @__PURE__ */ W(yE, { ...c }) : /* @__PURE__ */ W(mE, { ticker: e, motes: c.motes, decimals: t?.decimals || yi, precision: t?.precision || yi }), CE = ({ accountBalance: e, - emptyBalance: o, - loading: g, - error: C, - cep18Config: P, - ticker: x = "CSPR" -}) => /* @__PURE__ */ $(Ob, { size: 3, variation: "black", monotype: !0, children: o ? /* @__PURE__ */ $(Ic, { ticker: x, motes: "0", precisionCase: Hn.deployCost, cep18Config: P }) : g ? "Loading..." : C ?? /* @__PURE__ */ $(Ic, { ticker: x, motes: e, precisionCase: Hn.deployCost, cep18Config: P }) }); -function uM(e) { + emptyBalance: t, + loading: c, + error: h, + cep18Config: S, + ticker: g = "CSPR" +}) => /* @__PURE__ */ W(bE, { size: 3, variation: "black", monotype: !0, children: t ? /* @__PURE__ */ W(D2, { ticker: g, motes: "0", precisionCase: to.deployCost, cep18Config: S }) : c ? "Loading..." : h ?? /* @__PURE__ */ W(D2, { ticker: g, motes: e, precisionCase: to.deployCost, cep18Config: S }) }); +function XO(e) { const { - publicKey: o, - label: g, - rightLabel: C = "Balance", - accountEmpty: P, - accountBalance: x, + publicKey: t, + label: c, + rightLabel: h = "Balance", + accountEmpty: S, + accountBalance: g, loading: n, - error: c, + error: s, ticker: r = "CSPR", - cep18Config: a - } = e, i = cn([Vt.TINY, Vt.SMALL, Vt.SMALL, Vt.SMALL], []), m = P || !n && x != null && gn(x).lte("0"); - return /* @__PURE__ */ Pe(Ab, { disabled: e.disabled, gap: 4, children: [ - /* @__PURE__ */ Pe(je, { justify: "space-between", children: [ - /* @__PURE__ */ $(Ae, { size: 1, variation: "black", children: g }), - /* @__PURE__ */ $(Ae, { size: 1, variation: "black", children: C }) + cep18Config: o + } = e, i = ir([Nt.TINY, Nt.SMALL, Nt.SMALL, Nt.SMALL], []), p = S || !n && g != null && yr(g).lte("0"); + return /* @__PURE__ */ Le(vE, { disabled: e.disabled, gap: 4, children: [ + /* @__PURE__ */ Le(je, { justify: "space-between", children: [ + /* @__PURE__ */ W(Be, { size: 1, variation: "black", children: c }), + /* @__PURE__ */ W(Be, { size: 1, variation: "black", children: h }) ] }), - /* @__PURE__ */ $(Pb, { justify: "space-between", align: "center", children: o && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(Yt, { tooltipContent: o, children: /* @__PURE__ */ $(Ae, { size: 3, variation: "black", monotype: !0, children: Vr(o, i) }) }), - /* @__PURE__ */ $(Tb, { children: /* @__PURE__ */ $(o2, { value: o, minified: !0, variation: "gray" }) }) + /* @__PURE__ */ W(gE, { justify: "space-between", align: "center", children: t && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ Le(je, { align: "center", children: [ + /* @__PURE__ */ W(en, { tooltipContent: t, children: /* @__PURE__ */ W(Be, { size: 3, variation: "black", monotype: !0, children: kn(t, i) }) }), + /* @__PURE__ */ W(wE, { children: /* @__PURE__ */ W(yp, { value: t, minified: !0, variation: "gray" }) }) ] }), - /* @__PURE__ */ $(Ib, { accountBalance: x, emptyBalance: m, error: c, loading: n, ticker: r, cep18Config: a }) + /* @__PURE__ */ W(CE, { accountBalance: g, emptyBalance: p, error: s, loading: n, ticker: r, cep18Config: o }) ] }) }) ] }); } -const Nb = be("div").withConfig({ +const SE = xe("div").withConfig({ displayName: "text-row__StyledWrapper", componentId: "sc-gez63i-0" })(({}) => ({ display: "flex", flexDirection: "column" -})), Lb = be("div").withConfig({ +})), _E = xe("div").withConfig({ displayName: "text-row__LabelContainer", componentId: "sc-gez63i-1" })(({}) => ({ @@ -42420,7 +44339,7 @@ const Nb = be("div").withConfig({ alignItems: "center", justifyContent: "space-between", marginBottom: 4 -})), Rb = be("div").withConfig({ +})), EE = xe("div").withConfig({ displayName: "text-row__InputContainer", componentId: "sc-gez63i-2" })(({ @@ -42435,95 +44354,95 @@ const Nb = be("div").withConfig({ backgroundColor: e.styleguideColors.backgroundPrimary, border: e.border.base, borderRadius: e.borderRadius.base -})), Td = be("div").withConfig({ +})), U1 = xe("div").withConfig({ displayName: "text-row__SuffixContainer", componentId: "sc-gez63i-3" })(({}) => ({ marginLeft: 16 -})), kb = be(Td).withConfig({ +})), xE = xe(U1).withConfig({ displayName: "text-row__SuffixTextContainer", componentId: "sc-gez63i-4" })(({ theme: e }) => ({ color: e.styleguideColors.contentSecondary -})), Bb = be("div").withConfig({ +})), ME = xe("div").withConfig({ displayName: "text-row__PrefixContainer", componentId: "sc-gez63i-5" })(({}) => ({ marginRight: 16 })); -var Hb = /* @__PURE__ */ ((e) => (e.Text = "text", e.Hash = "hash", e.Number = "number", e))(Hb || {}); -function cM(e) { +var PE = /* @__PURE__ */ ((e) => (e.Text = "text", e.Hash = "hash", e.Number = "number", e))(PE || {}); +function QO(e) { const { - label: o, - rightLabel: g, - text: C, - prefixIcon: P, - suffixText: x, + label: t, + rightLabel: c, + text: h, + prefixIcon: S, + suffixText: g, suffixIcon: n, - type: c, + type: s, labelIcon: r, - labelTooltipText: a - } = e, i = cn([Vt.SMALL, Vt.MEDIUM, Vt.LARGE], []), m = cn([2, 3, 4, 5], []); - return /* @__PURE__ */ Pe(Nb, { children: [ - /* @__PURE__ */ Pe(Lb, { children: [ - o && /* @__PURE__ */ $(Yt, { tooltipContent: a, limitWidth: !0, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ - /* @__PURE__ */ $(Ae, { size: 1, children: o }), + labelTooltipText: o + } = e, i = ir([Nt.SMALL, Nt.MEDIUM, Nt.LARGE], []), p = ir([2, 3, 4, 5], []); + return /* @__PURE__ */ Le(SE, { children: [ + /* @__PURE__ */ Le(_E, { children: [ + t && /* @__PURE__ */ W(en, { tooltipContent: o, limitWidth: !0, children: /* @__PURE__ */ Le(je, { gap: 3, align: "center", children: [ + /* @__PURE__ */ W(Be, { size: 1, children: t }), r ] }) }), - g && /* @__PURE__ */ $(Ae, { size: 1, children: g }) + c && /* @__PURE__ */ W(Be, { size: 1, children: c }) ] }), - /* @__PURE__ */ Pe(Rb, { children: [ - P && /* @__PURE__ */ $(Bb, { children: P }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, children: [ - c === "hash" ? /* @__PURE__ */ $(Yt, { tooltipContent: C, children: /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, scale: "xs", children: Vr(C || "", i) }) }) : /* @__PURE__ */ $(Yi, { size: m, children: /* @__PURE__ */ $(Yt, { tooltipContent: C, children: /* @__PURE__ */ $(Ae, { size: 3, monotype: c === "number", children: C }) }) }), - /* @__PURE__ */ $(o2, { value: C || "", minified: !0, variation: "gray" }) + /* @__PURE__ */ Le(EE, { children: [ + S && /* @__PURE__ */ W(ME, { children: S }), + /* @__PURE__ */ Le(je, { itemsSpacing: 4, children: [ + s === "hash" ? /* @__PURE__ */ W(en, { tooltipContent: h, children: /* @__PURE__ */ W(Be, { size: 3, monotype: !0, scale: "xs", children: kn(h || "", i) }) }) : /* @__PURE__ */ W(Xa, { size: p, children: /* @__PURE__ */ W(en, { tooltipContent: h, children: /* @__PURE__ */ W(Be, { size: 3, monotype: s === "number", children: h }) }) }), + /* @__PURE__ */ W(yp, { value: h || "", minified: !0, variation: "gray" }) ] }), - n && /* @__PURE__ */ $(Td, { children: n }), - x && /* @__PURE__ */ $(kb, { children: /* @__PURE__ */ $(Ae, { size: 3, children: x }) }) + n && /* @__PURE__ */ W(U1, { children: n }), + g && /* @__PURE__ */ W(xE, { children: /* @__PURE__ */ W(Be, { size: 3, children: g }) }) ] }) ] }); } -const jb = be(Kt).withConfig({ +const OE = xe(Ht).withConfig({ displayName: "progress-line__StepWrapper", componentId: "sc-1nvheuv-0" })(({}) => ({ position: "relative" -})), Db = be(mn).withConfig({ +})), TE = xe(pr).withConfig({ displayName: "progress-line__StepText", componentId: "sc-1nvheuv-1" })(({ theme: e, - disabled: o, - isFirstStep: g, - isLastStep: C, - isCheckedStep: P + disabled: t, + isFirstStep: c, + isLastStep: h, + isCheckedStep: S }) => e.withMedia({ - color: o ? e.styleguideColors.contentTertiary : e.styleguideColors.contentBlue, + color: t ? e.styleguideColors.contentTertiary : e.styleguideColors.contentBlue, position: "absolute", bottom: 30, whiteSpace: ["inherit", "nowrap", "nowrap"], - ...P && !C && { + ...S && !h && { color: e.styleguideColors.contentTertiary }, - ...g && { + ...c && { left: 0 }, - ...C && { + ...h && { right: 0 } -})), Vb = be(je).withConfig({ +})), AE = xe(je).withConfig({ displayName: "progress-line__StepContainer", componentId: "sc-1nvheuv-2" })(({ theme: e, - disabled: o, - checked: g + disabled: t, + checked: c }) => ({ borderRadius: "50%", - border: `2px solid ${o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue}`, - background: g ? o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue : e.styleguideColors.backgroundPrimary, + border: `2px solid ${t ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue}`, + background: c ? t ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue : e.styleguideColors.backgroundPrimary, width: 24, height: 24, "& svg": { @@ -42531,57 +44450,57 @@ const jb = be(Kt).withConfig({ fill: e.styleguideColors.backgroundPrimary } } -})), Ub = be.div.withConfig({ +})), LE = xe.div.withConfig({ displayName: "progress-line__Circle", componentId: "sc-1nvheuv-3" })(({ theme: e, - disabled: o + disabled: t }) => ({ borderRadius: "50%", - background: o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, + background: t ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, width: 12, height: 12 -})), Nc = be.div.withConfig({ +})), V2 = xe.div.withConfig({ displayName: "progress-line__Line", componentId: "sc-1nvheuv-4" })(({ theme: e, - disabled: o + disabled: t }) => ({ height: 2, - background: o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, + background: t ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, width: "100%" -})), zb = (e, o, g, C) => { - const P = o === g, x = o === 0, n = o === C - 1, c = o < g, r = !c && !P, a = c || n; - return /* @__PURE__ */ Pe(St.Fragment, { children: [ - !x && /* @__PURE__ */ $(Nc, { disabled: r }), - /* @__PURE__ */ Pe(jb, { align: "center", children: [ - /* @__PURE__ */ $(Db, { disabled: r, size: 1, isFirstStep: x, isLastStep: n, isCheckedStep: a, children: e }), - /* @__PURE__ */ $(Vb, { disabled: r, checked: a, align: "center", justify: "center", children: a ? /* @__PURE__ */ $(_t, { height: 7, width: 10, src: Bf }) : /* @__PURE__ */ $(Ub, { disabled: r }) }) +})), IE = (e, t, c, h) => { + const S = t === c, g = t === 0, n = t === h - 1, s = t < c, r = !s && !S, o = s || n; + return /* @__PURE__ */ Le(yt.Fragment, { children: [ + !g && /* @__PURE__ */ W(V2, { disabled: r }), + /* @__PURE__ */ Le(OE, { align: "center", children: [ + /* @__PURE__ */ W(TE, { disabled: r, size: 1, isFirstStep: g, isLastStep: n, isCheckedStep: o, children: e }), + /* @__PURE__ */ W(AE, { disabled: r, checked: o, align: "center", justify: "center", children: o ? /* @__PURE__ */ W(vt, { height: 7, width: 10, src: Dh }) : /* @__PURE__ */ W(LE, { disabled: r }) }) ] }), - !n && /* @__PURE__ */ $(Nc, { disabled: !x && !c }) - ] }, `${o}-${e}`); + !n && /* @__PURE__ */ W(V2, { disabled: !g && !s }) + ] }, `${t}-${e}`); }; -function lM({ +function eT({ steps: e, - currentIdx: o + currentIdx: t }) { - return /* @__PURE__ */ $(je, { align: "center", children: e.map((g, C) => zb(g, C, o, e.length)) }); + return /* @__PURE__ */ W(je, { align: "center", children: e.map((c, h) => IE(c, h, t, e.length)) }); } -const Fb = "Escape", Lc = "keyup", Kb = (e) => { - const o = ot((g) => { - g.key === Fb && e(); +const NE = "Escape", U2 = "keyup", BE = (e) => { + const t = rt((c) => { + c.key === NE && e(); }, [e]); - vt(() => (document.addEventListener(Lc, o, !1), () => { - document.removeEventListener(Lc, o, !1); - }), [o]); -}, Wb = be.div.withConfig({ + Ze(() => (document.addEventListener(U2, t, !1), () => { + document.removeEventListener(U2, t, !1); + }), [t]); +}, RE = xe.div.withConfig({ displayName: "warning-message__StyledWarningMessage", componentId: "sc-pntxqz-0" })(({ theme: e, - margin: o + margin: t }) => e.withMedia({ padding: ["10px", "16px", "16px"], alignItems: "center", @@ -42589,15 +44508,15 @@ const Fb = "Escape", Lc = "keyup", Kb = (e) => { alignSelf: "stretch", backgroundColor: e.styleguideColors.fillSecondary, borderRadius: "4px", - margin: o || "0 0 24px 0" -})), Jb = be(je).withConfig({ + margin: t || "0 0 24px 0" +})), kE = xe(je).withConfig({ displayName: "warning-message__StyledHeaderRow", componentId: "sc-pntxqz-1" })(({ theme: e }) => e.withMedia({ marginBottom: "8px" -})), $b = be(Ae).withConfig({ +})), HE = xe(Be).withConfig({ displayName: "warning-message__StyledHeaderText", componentId: "sc-pntxqz-2" })(({ @@ -42605,20 +44524,20 @@ const Fb = "Escape", Lc = "keyup", Kb = (e) => { }) => e.withMedia({ marginLeft: "8px", lineHeight: ["18px", "1.5rem", "1.5rem"] -})), Gb = ({ +})), jE = ({ iconSrc: e, - title: o, - message: g, - margin: C -}) => /* @__PURE__ */ Pe(Wb, { margin: C, children: [ - /* @__PURE__ */ Pe(Jb, { justify: "flex-start", align: "center", children: [ - e && /* @__PURE__ */ $(_t, { src: e }), - /* @__PURE__ */ $($b, { size: 1, scale: "xs", variation: "black", margin: e ? "8px" : "0", children: o }) + title: t, + message: c, + margin: h +}) => /* @__PURE__ */ Le(RE, { margin: h, children: [ + /* @__PURE__ */ Le(kE, { justify: "flex-start", align: "center", children: [ + e && /* @__PURE__ */ W(vt, { src: e }), + /* @__PURE__ */ W(HE, { size: 1, scale: "xs", variation: "black", margin: e ? "8px" : "0", children: t }) ] }), - /* @__PURE__ */ $(Ae, { size: 3, scale: "xs", variation: "black", children: g }) + /* @__PURE__ */ W(Be, { size: 3, scale: "xs", variation: "black", children: c }) ] }); -var qb = /* @__PURE__ */ ((e) => (e[e.HeaderCloseButton = 0] = "HeaderCloseButton", e[e.DismissButton = 1] = "DismissButton", e[e.Overlay = 2] = "Overlay", e[e.ESC = 3] = "ESC", e))(qb || {}); -const Zb = { +var DE = /* @__PURE__ */ ((e) => (e[e.HeaderCloseButton = 0] = "HeaderCloseButton", e[e.DismissButton = 1] = "DismissButton", e[e.Overlay = 2] = "Overlay", e[e.ESC = 3] = "ESC", e))(DE || {}); +const VE = { left: "50%", right: "auto", bottom: "auto", @@ -42627,7 +44546,7 @@ const Zb = { padding: "32px 24px 24px 24px", top: "50%", transform: "translate(-50%, -50%)" -}, Xb = { +}, UE = { top: "40px", left: "auto", right: "40px", @@ -42635,33 +44554,33 @@ const Zb = { bottom: "auto", borderRadius: "12px", padding: "16px 24px 24px 24px" -}, Yb = be(Kt).withConfig({ +}, FE = xe(Ht).withConfig({ displayName: "user-input-window__ModalContainer", componentId: "sc-biy5na-0" })(({ theme: e, - position: o + position: t }) => e.withMedia({ - width: o === Zo.TopRight ? ["300px", "350px", "350px"] : ["300px", "440px", "496px"], + width: t === Ni.TopRight ? ["300px", "350px", "350px"] : ["300px", "440px", "496px"], background: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary -})), Qb = be(je).withConfig({ +})), zE = xe(je).withConfig({ displayName: "user-input-window__ImageWrapper", componentId: "sc-biy5na-1" })(({ theme: e }) => e.withMedia({ margin: "15px 0 24px 0" -})), ew = be.div.withConfig({ +})), KE = xe.div.withConfig({ displayName: "user-input-window__StyledCaption", componentId: "sc-biy5na-2" })(({ theme: e, - position: o + position: t }) => e.withMedia({ textAlign: "left", marginBottom: "16px" -})), tw = be($o).withConfig({ +})), WE = xe(Ai).withConfig({ displayName: "user-input-window__StyledCaptionText", componentId: "sc-biy5na-3" })(({ @@ -42670,144 +44589,144 @@ const Zb = { fontWeight: [600, 600, 700], fontSize: ["20px", "24px", "24px"], color: e.styleguideColors.contentPrimary -})), rw = be(Ae).withConfig({ +})), JE = xe(Be).withConfig({ displayName: "user-input-window__StyledInformationText", componentId: "sc-biy5na-4" })(({ theme: e, - position: o + position: t }) => e.withMedia({ color: e.styleguideColors.contentSecondary -})), nw = be(je).withConfig({ +})), $E = xe(je).withConfig({ displayName: "user-input-window__ButtonsContainer", componentId: "sc-biy5na-5" })(({ theme: e, - position: o + position: t }) => e.withMedia({ - marginTop: o === Zo.TopRight ? "40px" : ["32px", "32px", "56px"], + marginTop: t === Ni.TopRight ? "40px" : ["32px", "32px", "56px"], flexDirection: ["column", "row", "row"] -})), Rc = be(pd).withConfig({ +})), F2 = xe(x1).withConfig({ displayName: "user-input-window__StyledInput", componentId: "sc-biy5na-6" })(({ theme: e, - margin: o + margin: t }) => e.withMedia({ width: "100%", - margin: o, + margin: t, ":focus": { outline: "none" } -})), ow = be.div.withConfig({ +})), GE = xe.div.withConfig({ displayName: "user-input-window__CheckBoxContainer", componentId: "sc-biy5na-7" })(({ theme: e, - position: o + position: t }) => e.withMedia({ - margin: o === Zo.TopRight ? "40px 0 -20px 0" : ["40px 0 -20px 0", "40px 0 -20px 0", "72px 0 -40px 0"] -})), iw = (e, o) => ({ + margin: t === Ni.TopRight ? "40px 0 -20px 0" : ["40px 0 -20px 0", "40px 0 -20px 0", "72px 0 -40px 0"] +})), qE = (e, t) => ({ overlay: { backgroundColor: e.styleguideColors.backgroundOverlay, zIndex: 15 }, - content: o === Zo.TopRight ? { - ...Xb, + content: t === Ni.TopRight ? { + ...UE, backgroundColor: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary } : { - ...Zb, + ...VE, backgroundColor: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary } -}), dM = ({ +}), tT = ({ isOpen: e, - position: o, - title: g, - withHeader: C, - headerLogo: P, - bodyImg: x, + position: t, + title: c, + withHeader: h, + headerLogo: S, + bodyImg: g, information: n, - confirmLabel: c, + confirmLabel: s, confirmDisabled: r, - confirmColor: a, + confirmColor: o, onConfirm: i, - dismissLabel: m, - dismissDisabled: t, + dismissLabel: p, + dismissDisabled: a, shouldCloseOnEsc: f, - shouldCloseOnOverlayClick: b, - onDismiss: y, - themeMode: u, - inputType: d, + shouldCloseOnOverlayClick: C, + onDismiss: w, + themeMode: m, + inputType: v, placeholder: l, - required: s = !1, - inputLabel: v, - checkboxLabel: p, - validationSetting: h, - repeatInput: O, - warningMessage: I, - informationOnlyMode: k, - isMandatoryCheckBox: R, - hideXButton: L, - resetForm: N, - portalClass: B = "portal" + required: u = !1, + inputLabel: y, + checkboxLabel: d, + validationSetting: b, + repeatInput: _, + warningMessage: E, + informationOnlyMode: B, + isMandatoryCheckBox: O, + hideXButton: I, + resetForm: x, + portalClass: A = "portal" }) => { - const H = jo(), [U, S] = Ct(""), [T, E] = Ct(""), [M, _] = Ct(!1), [w, A] = Ct(null), [j, V] = Ct(null), [D, z] = Ct(e); - Kb(() => { - f && (z(!1), y && y( + const N = wi(), [k, j] = ft(""), [D, T] = ft(""), [L, R] = ft(!1), [M, P] = ft(null), [H, K] = ft(null), [V, U] = ft(e); + BE(() => { + f && (U(!1), w && w( 3 /* ESC */ )); - }), vt(() => { - N && S(""); - }, [N]); + }), Ze(() => { + x && j(""); + }, [x]); const { - ref: J - } = co({ + ref: F + } = Uo({ callback: () => { - b && (z(!1), y && y( + C && (U(!1), w && w( 2 /* Overlay */ )); } - }), G = (ie) => !!ie && h?.regexpPattern.test(ie), Q = (ie, fe) => ie && fe && ie === fe, ee = (ie) => { - let fe = ie.target.value; - if (fe && !w) - ie.key === "Enter" && i(fe, M); + }), Q = (de) => !!de && b?.regexpPattern.test(de), ne = (de, me) => de && me && de === me, te = (de) => { + let me = de.target.value; + if (me && !M) + de.key === "Enter" && i(me, L); else return; - }, Z = () => { - i(U, M); - }, q = (ie) => { - let fe = ie.target.value; - O && T && E(""), h?.regexpPattern && h?.validationMessage && (fe && G(fe) ? A(null) : A(`${h?.validationMessage}`)), S(fe); - }, se = (ie) => { - let fe = ie.target.value; - O?.validationMessage && (fe && Q(U, fe) ? V(null) : V(`${O?.validationMessage}`)), E(fe); - }, ue = () => r || R && !M ? !0 : k ? !1 : O ? T ? !!j : !0 : U ? !!w : !0, ce = () => { - _(!M); + }, X = () => { + i(k, L); + }, Z = (de) => { + let me = de.target.value; + _ && D && T(""), b?.regexpPattern && b?.validationMessage && (me && Q(me) ? P(null) : P(`${b?.validationMessage}`)), j(me); + }, fe = (de) => { + let me = de.target.value; + _?.validationMessage && (me && ne(k, me) ? K(null) : K(`${_?.validationMessage}`)), T(me); + }, le = () => r || O && !L ? !0 : B ? !1 : _ ? D ? !!H : !0 : k ? !!M : !0, Se = () => { + R(!L); }; - return /* @__PURE__ */ $(At, { children: D && /* @__PURE__ */ $(xd, { isOpen: D, style: iw(H, o), shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: B, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Pe(Yb, { position: o, ref: J, children: [ - C && /* @__PURE__ */ $(Ed, { themeMode: u, headerLogo: P, onClose: L ? void 0 : () => y && y( + return /* @__PURE__ */ W(pt, { children: V && /* @__PURE__ */ W(k1, { isOpen: V, style: qE(N, t), shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: A, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Le(FE, { position: t, ref: F, children: [ + h && /* @__PURE__ */ W(H1, { themeMode: m, headerLogo: S, onClose: I ? void 0 : () => w && w( 0 /* HeaderCloseButton */ ) }), - x && /* @__PURE__ */ $(Qb, { children: x }), - /* @__PURE__ */ $(ew, { position: o, children: /* @__PURE__ */ $(tw, { size: 1, scale: "lg", children: g }) }), - /* @__PURE__ */ $(je, { justify: "left", children: /* @__PURE__ */ $(rw, { position: o, size: 3, scale: "sm", children: n }) }), - !k && /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(Rc, { required: s, value: U, onChange: q, onKeyDown: ee, label: /* @__PURE__ */ $(Ae, { size: 2, children: v }), placeholder: l, margin: "16px 0", error: !!w, validationType: d, validationText: w }) }), - !k && O && /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(Rc, { required: s, value: T, onChange: se, onKeyDown: ee, label: /* @__PURE__ */ $(Ae, { size: 2, children: O?.label }), placeholder: O?.placeholder, error: !!j, validationType: d, validationText: j }) }), - I && /* @__PURE__ */ $(Gb, { title: I.title, message: I.message, margin: I.margin, iconSrc: I.iconSrc }), - p && /* @__PURE__ */ $(ow, { position: o, children: /* @__PURE__ */ $(Z8, { checked: M, label: p, onChange: ce, checkboxFontSize: i2.small }) }), - /* @__PURE__ */ Pe(nw, { position: o, gap: "16px", justify: "space-between", children: [ - m && /* @__PURE__ */ $(no, { color: "secondaryBlue", onClick: () => y && y( + g && /* @__PURE__ */ W(zE, { children: g }), + /* @__PURE__ */ W(KE, { position: t, children: /* @__PURE__ */ W(WE, { size: 1, scale: "lg", children: c }) }), + /* @__PURE__ */ W(je, { justify: "left", children: /* @__PURE__ */ W(JE, { position: t, size: 3, scale: "sm", children: n }) }), + !B && /* @__PURE__ */ W(je, { children: /* @__PURE__ */ W(F2, { required: u, value: k, onChange: Z, onKeyDown: te, label: /* @__PURE__ */ W(Be, { size: 2, children: y }), placeholder: l, margin: "16px 0", error: !!M, validationType: v, validationText: M }) }), + !B && _ && /* @__PURE__ */ W(je, { children: /* @__PURE__ */ W(F2, { required: u, value: D, onChange: fe, onKeyDown: te, label: /* @__PURE__ */ W(Be, { size: 2, children: _?.label }), placeholder: _?.placeholder, error: !!H, validationType: v, validationText: H }) }), + E && /* @__PURE__ */ W(jE, { title: E.title, message: E.message, margin: E.margin, iconSrc: E.iconSrc }), + d && /* @__PURE__ */ W(GE, { position: t, children: /* @__PURE__ */ W(Vw, { checked: L, label: d, onChange: Se, checkboxFontSize: mp.small }) }), + /* @__PURE__ */ Le($E, { position: t, gap: "16px", justify: "space-between", children: [ + p && /* @__PURE__ */ W(Lo, { color: "secondaryBlue", onClick: () => w && w( 1 /* DismissButton */ - ), disabled: !!t, children: m }), - /* @__PURE__ */ $(no, { color: a === "red" ? "primaryRed" : "primaryBlue", onClick: Z, disabled: ue(), children: c }) + ), disabled: !!a, children: p }), + /* @__PURE__ */ W(Lo, { color: o === "red" ? "primaryRed" : "primaryBlue", onClick: X, disabled: le(), children: s }) ] }) ] }) }) }); -}, aw = be("div").withConfig({ +}, ZE = xe("div").withConfig({ displayName: "multiline-text-row__StyledWrapper", componentId: "sc-ulv7c-0" })(({ @@ -42815,7 +44734,7 @@ const Zb = { }) => e.withMedia({ display: "flex", flexDirection: "column" -})), sw = be("div").withConfig({ +})), YE = xe("div").withConfig({ displayName: "multiline-text-row__LabelContainer", componentId: "sc-ulv7c-1" })(({ @@ -42826,39 +44745,39 @@ const Zb = { alignItems: "center", justifyContent: "space-between", marginBottom: 4 -})), uw = be("div").withConfig({ +})), XE = xe("div").withConfig({ displayName: "multiline-text-row__InputContainer", componentId: "sc-ulv7c-2" })(({ theme: e, - height: o, - width: g + height: t, + width: c }) => e.withMedia({ display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", padding: "10px 16px", - height: o, - width: g, + height: t, + width: c, backgroundColor: e.styleguideColors.backgroundPrimary, border: e.border.base, borderRadius: e.borderRadius.base -})), Id = be("div").withConfig({ +})), F1 = xe("div").withConfig({ displayName: "multiline-text-row__SuffixContainer", componentId: "sc-ulv7c-3" })(({ theme: e }) => e.withMedia({ marginLeft: 16 -})), cw = be(Id).withConfig({ +})), QE = xe(F1).withConfig({ displayName: "multiline-text-row__SuffixTextContainer", componentId: "sc-ulv7c-4" })(({ theme: e }) => e.withMedia({ color: e.styleguideColors.contentSecondary -})), lw = be("div").withConfig({ +})), ex = xe("div").withConfig({ displayName: "multiline-text-row__PrefixContainer", componentId: "sc-ulv7c-5" })(({ @@ -42866,63 +44785,63 @@ const Zb = { }) => e.withMedia({ marginRight: 16 })); -function fM(e) { +function nT(e) { const { - label: o, - rightLabel: g, - height: C = "auto", - width: P, - text: x, + label: t, + rightLabel: c, + height: h = "auto", + width: S, + text: g, prefixIcon: n, - suffixText: c, + suffixText: s, suffixIcon: r, - labelIcon: a, + labelIcon: o, labelTooltipText: i } = e; - return /* @__PURE__ */ Pe(aw, { children: [ - /* @__PURE__ */ Pe(sw, { children: [ - o && /* @__PURE__ */ $(Yt, { tooltipContent: i, limitWidth: !0, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ - /* @__PURE__ */ $(Ae, { size: 1, children: o }), - a + return /* @__PURE__ */ Le(ZE, { children: [ + /* @__PURE__ */ Le(YE, { children: [ + t && /* @__PURE__ */ W(en, { tooltipContent: i, limitWidth: !0, children: /* @__PURE__ */ Le(je, { gap: 3, align: "center", children: [ + /* @__PURE__ */ W(Be, { size: 1, children: t }), + o ] }) }), - g && /* @__PURE__ */ $(Ae, { size: 1, children: g }) + c && /* @__PURE__ */ W(Be, { size: 1, children: c }) ] }), - /* @__PURE__ */ Pe(uw, { height: C, width: P, children: [ - n && /* @__PURE__ */ $(lw, { children: n }), - /* @__PURE__ */ $(je, { itemsSpacing: 4, children: /* @__PURE__ */ $(Yt, { tooltipContent: typeof x == "string" ? x : null, children: /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, scale: "xs", children: x }) }) }), - r && /* @__PURE__ */ $(Id, { children: r }), - c && /* @__PURE__ */ $(cw, { children: /* @__PURE__ */ $(Ae, { size: 3, children: c }) }) + /* @__PURE__ */ Le(XE, { height: h, width: S, children: [ + n && /* @__PURE__ */ W(ex, { children: n }), + /* @__PURE__ */ W(je, { itemsSpacing: 4, children: /* @__PURE__ */ W(en, { tooltipContent: typeof g == "string" ? g : null, children: /* @__PURE__ */ W(Be, { size: 3, monotype: !0, scale: "xs", children: g }) }) }), + r && /* @__PURE__ */ W(F1, { children: r }), + s && /* @__PURE__ */ W(QE, { children: /* @__PURE__ */ W(Be, { size: 3, children: s }) }) ] }) ] }); } -function dw({ +function tx({ callback: e }) { - const o = wt(null); - return vt(() => { - const g = (C) => { - o.current && !o.current.contains(C.target) && e(C); + const t = Qe(null); + return Ze(() => { + const c = (h) => { + t.current && !t.current.contains(h.target) && e(h); }; - return document.addEventListener("mousedown", g), document.addEventListener("touchstart", g), () => { - document.removeEventListener("mousedown", g), document.removeEventListener("touchstart", g); + return document.addEventListener("mousedown", c), document.addEventListener("touchstart", c), () => { + document.removeEventListener("mousedown", c), document.removeEventListener("touchstart", c); }; - }, [o, e]), { - ref: o + }, [t, e]), { + ref: t }; } -const fw = be.div.withConfig({ +const nx = xe.div.withConfig({ displayName: "multiselect-dropdown__DropdownContainer", componentId: "sc-zjn4oc-0" })(({ theme: e, - disabled: o + disabled: t }) => ({ outline: "none", - ...o && { + ...t && { opacity: "0.5", pointerEvents: "none" } -})), hw = be(je).withConfig({ +})), rx = xe(je).withConfig({ displayName: "multiselect-dropdown__MultiSelectContainer", componentId: "sc-zjn4oc-1" })(({ @@ -42936,14 +44855,14 @@ const fw = be.div.withConfig({ color: e.styleguideColors.fillPrimaryRed } } -})), pw = be(je).withConfig({ +})), ox = xe(je).withConfig({ displayName: "multiselect-dropdown__InputContainer", componentId: "sc-zjn4oc-2" })(({ theme: e }) => ({ width: "100%" -})), mw = be(pd).withConfig({ +})), ix = xe(x1).withConfig({ displayName: "multiselect-dropdown__StyledInput", componentId: "sc-zjn4oc-3" })(() => ({ @@ -42953,7 +44872,7 @@ const fw = be.div.withConfig({ "> div": { padding: "0 8px" } -})), yw = be(je).withConfig({ +})), ax = xe(je).withConfig({ displayName: "multiselect-dropdown__DropdownIconWrapper", componentId: "sc-zjn4oc-4" })(({ @@ -42961,7 +44880,7 @@ const fw = be.div.withConfig({ }) => ({ paddingRight: "8px", marginLeft: "8px" -})), gw = be(_t).withConfig({ +})), sx = xe(vt).withConfig({ displayName: "multiselect-dropdown__ArrowSvgIcon", componentId: "sc-zjn4oc-5" })(({ @@ -42970,7 +44889,7 @@ const fw = be.div.withConfig({ path: { fill: e.styleguideColors.contentPrimary } -})), vw = be(_t).withConfig({ +})), cx = xe(vt).withConfig({ displayName: "multiselect-dropdown__ClearSvgIcon", componentId: "sc-zjn4oc-6" })(({ @@ -42979,7 +44898,7 @@ const fw = be.div.withConfig({ path: { stroke: e.styleguideColors.contentPrimary } -})), bw = be.span.withConfig({ +})), ux = xe.span.withConfig({ displayName: "multiselect-dropdown__ChipItemContainer", componentId: "sc-zjn4oc-7" })(({ @@ -42991,20 +44910,20 @@ const fw = be.div.withConfig({ background: e.styleguideColors.fillTertiary, color: e.styleguideColors.contentPrimary, wordBreak: "break-word" -})), ww = be.div.withConfig({ +})), lx = xe.div.withConfig({ displayName: "multiselect-dropdown__ItemsContainer", componentId: "sc-zjn4oc-8" })(({ theme: e, - isOpen: o + isOpen: t }) => ({ - display: o ? "inherit" : "none", + display: t ? "inherit" : "none", marginTop: 4, borderRadius: e.borderRadius.base, background: e.styleguideColors.fillSecondary, maxHeight: "250px", overflowY: "scroll" -})), Cw = be(je).withConfig({ +})), dx = xe(je).withConfig({ displayName: "multiselect-dropdown__ItemsContainerEmpty", componentId: "sc-zjn4oc-9" })(({ @@ -43013,7 +44932,7 @@ const fw = be.div.withConfig({ padding: "32px 16px", pointerEvents: "none", justifyContent: "center" -})), _w = be(je).withConfig({ +})), fx = xe(je).withConfig({ displayName: "multiselect-dropdown__ItemContainer", componentId: "sc-zjn4oc-10" })(({ @@ -43027,7 +44946,7 @@ const fw = be.div.withConfig({ background: e.styleguideColors.fillSecondaryBlueHover, fontWeight: 600 } -})), Sw = be(_t).withConfig({ +})), px = xe(vt).withConfig({ displayName: "multiselect-dropdown__MultiSelectDeleteIcon", componentId: "sc-zjn4oc-11" })(({ @@ -43041,174 +44960,174 @@ const fw = be.div.withConfig({ stroke: e.styleguideColors.contentRed } } -})), Si = (e) => ({ +})), pa = (e) => ({ target: { name: void 0, value: e } }); -function hM(e) { +function rT(e) { const { - items: o, - value: g, - label: C, - placeholder: P, - disabled: x = !1, + items: t, + value: c, + label: h, + placeholder: S, + disabled: g = !1, onSelectItem: n, - onAddItem: c, + onAddItem: s, onRemoveItem: r, - onChangeInput: a - } = e, [i, m] = Ct(""), { - getSelectedItemProps: t, + onChangeInput: o + } = e, [i, p] = ft(""), { + getSelectedItemProps: a, getDropdownProps: f, - addSelectedItem: b, - removeSelectedItem: y, - selectedItems: u, - setSelectedItems: d, + addSelectedItem: C, + removeSelectedItem: w, + selectedItems: m, + setSelectedItems: v, reset: l - } = ua({ - initialSelectedItems: g, - onSelectedItemsChange: (S) => { - n && n(Si(S.selectedItems)); + } = fs({ + initialSelectedItems: c, + onSelectedItemsChange: (j) => { + n && n(pa(j.selectedItems)); } - }), v = [...i?.length >= 3 ? [{ + }), y = [...i?.length >= 3 ? [{ id: i, label: i, value: i, chipLabel: i - }] : [], ...o], { - isOpen: p, - getToggleButtonProps: h, - getLabelProps: O, - getMenuProps: I, - getInputProps: k, - getItemProps: R, - openMenu: L - } = Yr({ + }] : [], ...t], { + isOpen: d, + getToggleButtonProps: b, + getLabelProps: _, + getMenuProps: E, + getInputProps: B, + getItemProps: O, + openMenu: I + } = Jn({ inputValue: i, - items: v, + items: y, onStateChange: ({ - inputValue: S, - type: T, - selectedItem: E + inputValue: j, + type: D, + selectedItem: T }) => { - switch (T) { - case Yr.stateChangeTypes.InputChange: - m(S || ""), a && a(S || ""); + switch (D) { + case Jn.stateChangeTypes.InputChange: + p(j || ""), o && o(j || ""); break; - case Yr.stateChangeTypes.InputKeyDownEnter: - case Yr.stateChangeTypes.ItemClick: - case Yr.stateChangeTypes.InputBlur: - const M = u.some((_) => _.value === E?.value); - E && (M ? (d(u.filter((_) => _.value !== E.value)), r && r(Si(E))) : (b(E), c && c(Si(E)))); + case Jn.stateChangeTypes.InputKeyDownEnter: + case Jn.stateChangeTypes.ItemClick: + case Jn.stateChangeTypes.InputBlur: + const L = m.some((R) => R.value === T?.value); + T && (L ? (v(m.filter((R) => R.value !== T.value)), r && r(pa(T))) : (C(T), s && s(pa(T)))); break; - case Yr.stateChangeTypes.FunctionCloseMenu: - B(); + case Jn.stateChangeTypes.FunctionCloseMenu: + A(); break; } }, - stateReducer: (S, T) => { + stateReducer: (j, D) => { const { - changes: E, - type: M - } = T; - switch (M) { - case Yr.stateChangeTypes.InputKeyDownEnter: - case Yr.stateChangeTypes.ItemClick: + changes: T, + type: L + } = D; + switch (L) { + case Jn.stateChangeTypes.InputKeyDownEnter: + case Jn.stateChangeTypes.ItemClick: return { - ...E, - isOpen: S.isOpen + ...T, + isOpen: j.isOpen // keep the menu open after selection. }; default: - return E; + return T; } } }), { - ref: N - } = dw({ + ref: x + } = tx({ callback: () => { - p && B(); + d && A(); } }); - vt(() => { - (!g || g.length < 1) && l(); - }, [g]); - const B = () => { - m(""), a && a(""); - }, H = () => { - B(), n && n(Si(null)), l(); - }, U = p || u.length === 0; - return /* @__PURE__ */ $(fw, { disabled: x, ref: N, children: /* @__PURE__ */ Pe(Kt, { itemsSpacing: 4, children: [ - C && /* @__PURE__ */ $(Ae, { lineHeight: "xs", ...O(), size: 1, children: C }), - /* @__PURE__ */ Pe("div", { children: [ - /* @__PURE__ */ Pe(hw, { isOpen: p, align: "center", justify: "space-between", ...h(f({ - preventKeyAction: p + Ze(() => { + (!c || c.length < 1) && l(); + }, [c]); + const A = () => { + p(""), o && o(""); + }, N = () => { + A(), n && n(pa(null)), l(); + }, k = d || m.length === 0; + return /* @__PURE__ */ W(nx, { disabled: g, ref: x, children: /* @__PURE__ */ Le(Ht, { itemsSpacing: 4, children: [ + h && /* @__PURE__ */ W(Be, { lineHeight: "xs", ..._(), size: 1, children: h }), + /* @__PURE__ */ Le("div", { children: [ + /* @__PURE__ */ Le(rx, { isOpen: d, align: "center", justify: "space-between", ...b(f({ + preventKeyAction: d })), children: [ - /* @__PURE__ */ Pe(pw, { gap: 8, wrap: "wrap", children: [ - u.map((S, T) => /* @__PURE__ */ $(bw, { ...t({ - selectedItem: S, - index: T - }), children: /* @__PURE__ */ $(Ae, { lineHeight: "xs", size: 3, variation: S ? "inherit" : "darkGray", children: /* @__PURE__ */ Pe(je, { align: "center", gap: 4, children: [ - S?.chipLabel || S?.label, - /* @__PURE__ */ $(Sw, { onClick: (E) => { - E.preventDefault(), E.stopPropagation(), y(S); - }, size: 14, src: Ao }) - ] }) }) }, `selected-item-${T}`)), - U ? /* @__PURE__ */ $(mw, { ...k({ - placeholder: P, + /* @__PURE__ */ Le(ox, { gap: 8, wrap: "wrap", children: [ + m.map((j, D) => /* @__PURE__ */ W(ux, { ...a({ + selectedItem: j, + index: D + }), children: /* @__PURE__ */ W(Be, { lineHeight: "xs", size: 3, variation: j ? "inherit" : "darkGray", children: /* @__PURE__ */ Le(je, { align: "center", gap: 4, children: [ + j?.chipLabel || j?.label, + /* @__PURE__ */ W(px, { onClick: (T) => { + T.preventDefault(), T.stopPropagation(), w(j); + }, size: 14, src: di }) + ] }) }) }, `selected-item-${D}`)), + k ? /* @__PURE__ */ W(ix, { ...B({ + placeholder: S, value: i || "", - disabled: x, + disabled: g, onFocus() { - L(); + I(); } }, { suppressRefError: !0 - }), prefixIcon: /* @__PURE__ */ $(_t, { src: al }) }) : null + }), prefixIcon: /* @__PURE__ */ W(vt, { src: hd }) }) : null ] }), - /* @__PURE__ */ Pe(yw, { children: [ - !!u.length && /* @__PURE__ */ $(vw, { src: Ao, onClick: H, marginRight: !0 }), - /* @__PURE__ */ $(gw, { src: so, rotate: p }) + /* @__PURE__ */ Le(ax, { children: [ + !!m.length && /* @__PURE__ */ W(cx, { src: di, onClick: N, marginRight: !0 }), + /* @__PURE__ */ W(sx, { src: ko, rotate: d }) ] }) ] }), - /* @__PURE__ */ $(ww, { ...I(), isOpen: p, children: p && (v && v.length ? v.map((S, T) => /* @__PURE__ */ $(_w, { align: "center", justify: "space-between", itemsSpacing: 10, ...R({ - item: S, - index: T, - "aria-selected": u.includes(S) - }), children: /* @__PURE__ */ $(Ae, { size: 3, lineHeight: "xs", scale: "xs", children: S.label }) }, `${S.value}${T}`)) : /* @__PURE__ */ $(Cw, { children: /* @__PURE__ */ $(Ae, { size: 3, lineHeight: "xs", scale: "xs", children: "No items found" }) })) }) + /* @__PURE__ */ W(lx, { ...E(), isOpen: d, children: d && (y && y.length ? y.map((j, D) => /* @__PURE__ */ W(fx, { align: "center", justify: "space-between", itemsSpacing: 10, ...O({ + item: j, + index: D, + "aria-selected": m.includes(j) + }), children: /* @__PURE__ */ W(Be, { size: 3, lineHeight: "xs", scale: "xs", children: j.label }) }, `${j.value}${D}`)) : /* @__PURE__ */ W(dx, { children: /* @__PURE__ */ W(Be, { size: 3, lineHeight: "xs", scale: "xs", children: "No items found" }) })) }) ] }) ] }) }); } -const Mw = be(Kt).withConfig({ +const hx = xe(Ht).withConfig({ displayName: "modal-content-header__HeaderContainer", componentId: "sc-fyacs1-0" })(({ theme: e, - margin: o + margin: t }) => e.withMedia({ - margin: o || "16px 0 16px 0" -})), pM = ({ + margin: t || "16px 0 16px 0" +})), oT = ({ title: e, - subtitle: o, - appName: g, - margin: C -}) => /* @__PURE__ */ Pe(Mw, { align: "center", itemsSpacing: 4, margin: C, children: [ - /* @__PURE__ */ $($o, { scale: "lg", size: 1, variation: "black", children: e }), - (o || g) && /* @__PURE__ */ Pe(Ae, { scale: "md", size: 3, variation: "darkGray", children: [ - `${o && o} `, - g && /* @__PURE__ */ $(Ae, { scale: "md", size: 3, variation: "black", children: g }) + subtitle: t, + appName: c, + margin: h +}) => /* @__PURE__ */ Le(hx, { align: "center", itemsSpacing: 4, margin: h, children: [ + /* @__PURE__ */ W(Ai, { scale: "lg", size: 1, variation: "black", children: e }), + (t || c) && /* @__PURE__ */ Le(Be, { scale: "md", size: 3, variation: "darkGray", children: [ + `${t && t} `, + c && /* @__PURE__ */ W(Be, { scale: "md", size: 3, variation: "black", children: c }) ] }) -] }), xw = be.div.withConfig({ +] }), yx = xe.div.withConfig({ displayName: "searchable-dropdown__StyledDropdown", componentId: "sc-14ny1jx-0" })(({ theme: e, - disabled: o + disabled: t }) => ({ outline: "none", position: "relative", borderRadius: e.borderRadius.base, - ...o && { + ...t && { opacity: "0.5", pointerEvents: "none" }, @@ -43221,29 +45140,29 @@ const Mw = be(Kt).withConfig({ } } } -})), Ew = be(je).withConfig({ +})), mx = xe(je).withConfig({ displayName: "searchable-dropdown__StyledContentRow", componentId: "sc-14ny1jx-1" })(({ theme: e, - error: o + error: t }) => e.withMedia({ width: "100%", - border: o ? `1px solid ${e.styleguideColors.contentRed}` : "none" -})), Pw = be.input.withConfig({ + border: t ? `1px solid ${e.styleguideColors.contentRed}` : "none" +})), gx = xe.input.withConfig({ displayName: "searchable-dropdown__StyledInput", componentId: "sc-14ny1jx-2" })(({ theme: e, - fontSize: o, - icon: g + fontSize: t, + icon: c }) => ({ lineHeight: "1.5", - fontSize: o, + fontSize: t, height: "36px", borderRadius: e.borderRadius.base, outline: "none", - padding: g ? "0 12px" : "0 16px", + padding: c ? "0 12px" : "0 16px", transition: "all 200ms ease", width: "100%", color: e.styleguideColors.contentPrimary, @@ -43252,36 +45171,36 @@ const Mw = be(Kt).withConfig({ ":hover": { cursor: "pointer" } -})), Aw = be.div.withConfig({ +})), vx = xe.div.withConfig({ displayName: "searchable-dropdown__ItemContainer", componentId: "sc-14ny1jx-3" })(({ theme: e, - isOpen: o, - height: g, - fontSize: C, - maxHeight: P + isOpen: t, + height: c, + fontSize: h, + maxHeight: S }) => ({ - display: o ? "block" : "none", + display: t ? "block" : "none", borderRadius: e.borderRadius.base, - fontSize: C, + fontSize: h, paddingLeft: "6px", background: e.styleguideColors.fillSecondary, boxShadow: "0 1px 0 rgba(0, 0, 0, 0.06)", marginTop: "4px", - height: g, - maxHeight: P, + height: c, + maxHeight: S, overflowY: "auto", position: "absolute", top: "100%", width: "100%", zIndex: "1000" -})), Ow = be.div.withConfig({ +})), bx = xe.div.withConfig({ displayName: "searchable-dropdown__Item", componentId: "sc-14ny1jx-4" })(({ theme: e, - selected: o + selected: t }) => ({ display: "block", cursor: "pointer", @@ -43290,8 +45209,8 @@ const Mw = be(Kt).withConfig({ ":hover, :active": { background: e.styleguideColors.fillSecondaryBlueHover }, - fontWeight: o ? 600 : 400 -})), Tw = be(_t).withConfig({ + fontWeight: t ? 600 : 400 +})), wx = xe(vt).withConfig({ displayName: "searchable-dropdown__ArrowSvg", componentId: "sc-14ny1jx-5" })(({ @@ -43301,7 +45220,7 @@ const Mw = be(Kt).withConfig({ path: { fill: e.styleguideColors.contentPrimary } -})), kc = be.div.withConfig({ +})), z2 = xe.div.withConfig({ displayName: "searchable-dropdown__CustomIcon", componentId: "sc-14ny1jx-6" })(({ @@ -43311,49 +45230,49 @@ const Mw = be(Kt).withConfig({ display: "inline", position: "relative", bottom: e ? "0" : "1px" -})), mM = ({ +})), iT = ({ items: e, - value: o, - height: g, - isError: C, - fontSize: P, - maxHeight: x, + value: t, + height: c, + isError: h, + fontSize: S, + maxHeight: g, onSelect: n, - placeholder: c + placeholder: s }) => { - const [r, a] = Ct(""), [i, m] = Ct(!1), [t, f] = Ct(!1), [b, y] = Ct(null), u = wt(null), { - ref: d - } = co({ + const [r, o] = ft(""), [i, p] = ft(!1), [a, f] = ft(!1), [C, w] = ft(null), m = Qe(null), { + ref: v + } = Uo({ callback: () => { - m(!1); + p(!1); } }); - vt(() => { - o.icon && y(o.icon); - }, [o]), vt(() => { - i !== t && f(i); + Ze(() => { + t.icon && w(t.icon); + }, [t]), Ze(() => { + i !== a && f(i); }, [i]); - const l = (O) => { - a(""), n(O), m((I) => !I), m(!i), y(O.icon); - }, s = (O) => { - m(!0); - }, v = () => r || (o ? o.label : ""), h = ((O, I) => O.filter((k) => k.label.toLowerCase().indexOf(I.toLowerCase()) > -1))(e, r); - return /* @__PURE__ */ Pe(xw, { ref: d, children: [ - /* @__PURE__ */ $(je, { align: "center", justify: "space-between", onClick: s, children: /* @__PURE__ */ Pe(Ew, { justify: "space-around", align: "center", error: C, children: [ - b && /* @__PURE__ */ $(kc, { children: b }), - /* @__PURE__ */ $(Pw, { ref: u, placeholder: c, value: v(), onChange: (O) => { - a(O.target.value), n({}); - }, fontSize: P, icon: !!b }), - /* @__PURE__ */ $(Tw, { src: t ? us : so }) + const l = (_) => { + o(""), n(_), p((E) => !E), p(!i), w(_.icon); + }, u = (_) => { + p(!0); + }, y = () => r || (t ? t.label : ""), b = ((_, E) => _.filter((B) => B.label.toLowerCase().indexOf(E.toLowerCase()) > -1))(e, r); + return /* @__PURE__ */ Le(yx, { ref: v, children: [ + /* @__PURE__ */ W(je, { align: "center", justify: "space-between", onClick: u, children: /* @__PURE__ */ Le(mx, { justify: "space-around", align: "center", error: h, children: [ + C && /* @__PURE__ */ W(z2, { children: C }), + /* @__PURE__ */ W(gx, { ref: m, placeholder: s, value: y(), onChange: (_) => { + o(_.target.value), n({}); + }, fontSize: S, icon: !!C }), + /* @__PURE__ */ W(wx, { src: a ? Mc : ko }) ] }) }), - /* @__PURE__ */ $(Aw, { isOpen: i, height: g, fontSize: P, maxHeight: x, children: h.map((O, I) => /* @__PURE__ */ Pe(Ow, { onClick: () => l(O), selected: O.value === o.value, children: [ - O.icon && /* @__PURE__ */ $(kc, { inLoop: !0, children: O.icon }), - O.label - ] }, I)) }) + /* @__PURE__ */ W(vx, { isOpen: i, height: c, fontSize: S, maxHeight: g, children: b.map((_, E) => /* @__PURE__ */ Le(bx, { onClick: () => l(_), selected: _.value === t.value, children: [ + _.icon && /* @__PURE__ */ W(z2, { inLoop: !0, children: _.icon }), + _.label + ] }, E)) }) ] }); }; -var Ti = /* @__PURE__ */ ((e) => (e.V1 = "1", e.V2 = "2", e))(Ti || {}), Pt = /* @__PURE__ */ ((e) => (e[e.System = 1] = "System", e[e.Cep18 = 2] = "Cep18", e[e.CustomCep18 = 3] = "CustomCep18", e[e.CEP47Nft = 4] = "CEP47Nft", e[e.CustomCEP47Nft = 5] = "CustomCEP47Nft", e[e.DeFi = 6] = "DeFi", e[e.CEP78Nft = 7] = "CEP78Nft", e[e.CustomCEP78Nft = 8] = "CustomCEP78Nft", e[e.NFTMarketplace = 9] = "NFTMarketplace", e[e.CEP95Nft = 10] = "CEP95Nft", e))(Pt || {}), Iw = /* @__PURE__ */ ((e) => (e.accountHash = "account-hash", e.hash = "hash", e))(Iw || {}), jr = /* @__PURE__ */ ((e) => (e[e.account = 0] = "account", e[e.hash = 1] = "hash", e))(jr || {}); -const Nw = 1, Lw = 7, Rw = { +var Sa = /* @__PURE__ */ ((e) => (e.V1 = "1", e.V2 = "2", e))(Sa || {}), St = /* @__PURE__ */ ((e) => (e[e.System = 1] = "System", e[e.Cep18 = 2] = "Cep18", e[e.CustomCep18 = 3] = "CustomCep18", e[e.CEP47Nft = 4] = "CEP47Nft", e[e.CustomCEP47Nft = 5] = "CustomCEP47Nft", e[e.DeFi = 6] = "DeFi", e[e.CEP78Nft = 7] = "CEP78Nft", e[e.CustomCEP78Nft = 8] = "CustomCEP78Nft", e[e.NFTMarketplace = 9] = "NFTMarketplace", e[e.CEP95Nft = 10] = "CEP95Nft", e))(St || {}), Cx = /* @__PURE__ */ ((e) => (e.accountHash = "account-hash", e.hash = "hash", e))(Cx || {}), Nn = /* @__PURE__ */ ((e) => (e[e.account = 0] = "account", e[e.hash = 1] = "hash", e))(Nn || {}); +const Sx = 1, _x = 7, Ex = { 1: "WASM", //"ModuleBytes" 2: "Contract call", @@ -43367,521 +45286,521 @@ const Nw = 1, Lw = 7, Rw = { 6: "Native", 7: "WASM" }; -var kw = /* @__PURE__ */ ((e) => (e.TRANSFER = "transfer", e))(kw || {}); -const Nd = (e, o, g) => e === g && o === "transfer", Bw = (e) => e === Nw, Fi = (e) => e === Lw, yM = (e) => !!(Fi(e.executionTypeId) && e.args?.amount && e.args?.attached_value), Hw = (e) => e?.latest_version_contract_type_id === Pt.CustomCep18 || e?.latest_version_contract_type_id === Pt.Cep18, jw = (e) => gn(10).pow(Number(e || 0)), Dw = (e, o) => gn(e?.toString() || 0).div(jw(Number(o || 0))).toString(), Vw = (e, o, g) => { - const C = e ? Gr(e, { - precision: o ?? Bl +var xx = /* @__PURE__ */ ((e) => (e.TRANSFER = "transfer", e))(xx || {}); +const z1 = (e, t, c) => e === c && t === "transfer", Mx = (e) => e === Sx, Ka = (e) => e === _x, aT = (e) => !!(Ka(e.executionTypeId) && e.args?.amount && e.args?.attached_value), Px = (e) => e?.latest_version_contract_type_id === St.CustomCep18 || e?.latest_version_contract_type_id === St.Cep18, Ox = (e) => yr(10).pow(Number(e || 0)), Tx = (e, t) => yr(e?.toString() || 0).div(Ox(Number(t || 0))).toString(), Ax = (e, t, c) => { + const h = e ? zn(e, { + precision: t ?? Kd }) : "-"; - return C.length > 7 && g ? E6(e) : C; + return h.length > 7 && c ? T8(e) : h; }; -function Ld({ +function K1({ amount: e, - decimals: o, - symbol: g = "", - precision: C = No, - shouldShortenAmount: P = !1 + decimals: t, + symbol: c = "", + precision: h = yi, + shouldShortenAmount: S = !1 }) { if (e == null) - return /* @__PURE__ */ $(At, { children: "N/A" }); - const x = o ? Dw(e, o) : gn(e.toString() || "0").toString(), c = Vw(x, C, P) + ` ${g}`; - return /* @__PURE__ */ $(At, { children: c }); + return /* @__PURE__ */ W(pt, { children: "N/A" }); + const g = t ? Tx(e, t) : yr(e.toString() || "0").toString(), s = Ax(g, h, S) + ` ${c}`; + return /* @__PURE__ */ W(pt, { children: s }); } -function ts({ +function bc({ motes: e, - precisionCase: o, - hideCsprCurrency: g + precisionCase: t, + hideCsprCurrency: c }) { - const C = h0(o); - return /* @__PURE__ */ $(Ld, { decimals: _b, amount: e != null ? String(e) : null, symbol: g ? "" : "CSPR", precision: C }); + const h = $u(t); + return /* @__PURE__ */ W(K1, { decimals: fE, amount: e != null ? String(e) : null, symbol: c ? "" : "CSPR", precision: h }); } -const Yo = ({ +const Ri = ({ amount: e, - rate: o + rate: t }) => { - const g = e ? Od(e) : 0, C = o && g ? gn(g).mul(o).toString() : null; - return /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(ts, { motes: e, precisionCase: Hn.small }) }), - /* @__PURE__ */ Pe(Ae, { size: 3, monotype: !0, variation: "darkGray", children: [ + const c = e ? V1(e) : 0, h = t && c ? yr(c).mul(t).toString() : null; + return /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ W(bc, { motes: e, precisionCase: to.small }) }), + /* @__PURE__ */ Le(Be, { size: 3, monotype: !0, variation: "darkGray", children: [ "(", - P6(C ?? "0", "USD", { - precision: Hl + A8(h ?? "0", "USD", { + precision: Wd }), ")" ] }) ] }); -}, Rd = Wi({ +}, W1 = Ir({ getAccountInfo: () => null, getPublicKeyAccountHash: () => null, getContractInfoByHash: () => null, getContractPackageInfoByHash: () => null, csprLiveDomainPath: "" }), { - Provider: Uw -} = Rd, hr = () => Do(Rd), kd = (e) => { + Provider: Lx +} = W1, gn = () => No(W1), J1 = (e) => { const { - getAccountInfo: o, - csprLiveDomainPath: g, - children: C - } = e, P = ot((c) => { - const r = o(c)?.public_key; + getAccountInfo: t, + csprLiveDomainPath: c, + children: h + } = e, S = rt((s) => { + const r = t(s)?.public_key; return r || null; - }, [o]); - return /* @__PURE__ */ $(Uw, { value: { - getAccountInfo: o, - getPublicKeyAccountHash: P, - getContractInfoByHash: (c) => e.getContractInfoByHash ? e.getContractInfoByHash(c) : null, - getContractPackageInfoByHash: (c) => e.getContractPackageInfoByHash ? e.getContractPackageInfoByHash(c) : null, - csprLiveDomainPath: g - }, children: C }); -}, zw = (e) => e == null || Object.keys(e).length === 0, Fw = (e) => { - const o = () => { - let x; + }, [t]); + return /* @__PURE__ */ W(Lx, { value: { + getAccountInfo: t, + getPublicKeyAccountHash: S, + getContractInfoByHash: (s) => e.getContractInfoByHash ? e.getContractInfoByHash(s) : null, + getContractPackageInfoByHash: (s) => e.getContractPackageInfoByHash ? e.getContractPackageInfoByHash(s) : null, + csprLiveDomainPath: c + }, children: h }); +}, Ix = (e) => e == null || Object.keys(e).length === 0, Nx = (e) => { + const t = () => { + let g; if ("publicKeyHex" in e) - x = Ft.PublicKey.fromHex(e.publicKeyHex); + g = kt.PublicKey.fromHex(e.publicKeyHex); else if (!("base64" in e)) throw Error("missing account key"); - return x; + return g; }; return { - getPublicKey: () => o().toHex(), - getAccountHash: () => Ft.Conversions.encodeBase16(o().accountHash().toBytes()), - getBase64AccountHash: () => Ft.Conversions.encodeBase64(o().accountHash().toBytes()) + getPublicKey: () => t().toHex(), + getAccountHash: () => kt.Conversions.encodeBase16(t().accountHash().toBytes()), + getBase64AccountHash: () => kt.Conversions.encodeBase64(t().accountHash().toBytes()) }; -}, Kw = (e) => { +}, Bx = (e) => { if (!e) return null; - const o = e.info?.owner?.branding?.logo; - return o?.svg ? o?.svg : o?.png_256 ? o?.png_256 : null; -}, Ww = (e) => { + const t = e.info?.owner?.branding?.logo; + return t?.svg ? t?.svg : t?.png_256 ? t?.png_256 : null; +}, Rx = (e) => { if (!e) return null; - const o = e.avatar_url; - return o || null; -}, lo = (e) => e == null ? null : zw(e?.info) ? { + const t = e.avatar_url; + return t || null; +}, Fo = (e) => e == null ? null : Ix(e?.info) ? { name: e?.name, - logo: Ww(e) + logo: Rx(e) } : { name: e?.info?.owner?.name, - logo: Kw(e) -}, Jw = new RegExp("(?:(entity-)?contract(?:-package)?|account-hash|dictionary|withdraw|balance|deploy|uref|hash|era|bid)-(?=[0-9a-fA-F])", "gi"), jn = (e) => { - const o = e.match(Jw), g = o ? o[0] : "", C = g ? e.slice(g.length) : e; + logo: Bx(e) +}, kx = new RegExp("(?:(entity-)?contract(?:-package)?|account-hash|dictionary|withdraw|balance|deploy|uref|hash|era|bid)-(?=[0-9a-fA-F])", "gi"), no = (e) => { + const t = e.match(kx), c = t ? t[0] : "", h = c ? e.slice(c.length) : e; return { - prefix: g, - hash: C + prefix: c, + hash: h }; -}, $w = ({ +}, Hx = ({ namedKey: e, - noPrefix: o, - hashLength: g, - csprLiveDomainPath: C + noPrefix: t, + hashLength: c, + csprLiveDomainPath: h }) => { const { - prefix: P, - hash: x - } = jn(e), n = cn([Vt.TINY, Vt.MEDIUM, Vt.FULL, Vt.FULL], [g]), c = g ?? n, r = `${C}/search/${e}`, a = Vr(x, c); - return /* @__PURE__ */ $(je, { children: /* @__PURE__ */ Pe(fr, { color: "hash", href: r, children: [ - !o && P, - a + prefix: S, + hash: g + } = no(e), n = ir([Nt.TINY, Nt.MEDIUM, Nt.FULL, Nt.FULL], [c]), s = c ?? n, r = `${h}/search/${e}`, o = kn(g, s); + return /* @__PURE__ */ W(je, { children: /* @__PURE__ */ Le(mn, { color: "hash", href: r, children: [ + !t && S, + o ] }) }); -}, Gw = ({ +}, jx = ({ purse: e, - fontSize: o = "xs", - hashLength: g = Vt.TINY, - csprLiveDomainPath: C -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 4, children: [ - /* @__PURE__ */ $(Yt, { scale: "xs", lineHeight: "xs", tooltipContent: e, children: /* @__PURE__ */ $(Ae, { lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, scale: o, children: /* @__PURE__ */ $($w, { namedKey: e, hashLength: g, csprLiveDomainPath: C }) }) }), - /* @__PURE__ */ $(Zi, { value: e, minified: !0 }) -] }), Bc = ({ + fontSize: t = "xs", + hashLength: c = Nt.TINY, + csprLiveDomainPath: h +}) => /* @__PURE__ */ Le(je, { itemsSpacing: 4, children: [ + /* @__PURE__ */ W(en, { scale: "xs", lineHeight: "xs", tooltipContent: e, children: /* @__PURE__ */ W(Be, { lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, scale: t, children: /* @__PURE__ */ W(Hx, { namedKey: e, hashLength: c, csprLiveDomainPath: h }) }) }), + /* @__PURE__ */ W(Za, { value: e, minified: !0 }) +] }), K2 = ({ publicKey: e, - accountHash: o, - loading: g, - purse: C, - renderAsResultAction: P, - actionPoolAccountHash: x, + accountHash: t, + loading: c, + purse: h, + renderAsResultAction: S, + actionPoolAccountHash: g, purseAccountInfoFromTransfer: n }) => { const { - getAccountInfo: c, + getAccountInfo: s, csprLiveDomainPath: r - } = hr(), a = c(e || o || ""), i = lo(a?.account_info || a?.centralized_account_info || n), m = i && i?.logo, t = i?.name, f = a?.cspr_name; - return o === x && P ? /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - /* @__PURE__ */ $(kr, { size: "small", path: nl, loading: g, alt: "Auction contract logo" }), - /* @__PURE__ */ $(Yt, { tooltipContent: x, caption: "Account Hash", children: /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, children: /* @__PURE__ */ $(fr, { href: `${r}/account/${x}`, color: "hash", "aria-description": "Link to account details", children: "Auction Pool" }) }) }) - ] }) : e || o ? /* @__PURE__ */ $(Dn, { logo: m, name: t, hash: e || o, csprName: f ?? void 0, loading: g, navigateToPath: `${r}/account/${e || o}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) : /* @__PURE__ */ $(Gw, { purse: C, fontSize: "sm", csprLiveDomainPath: r }); -}, Bd = ({ + } = gn(), o = s(e || t || ""), i = Fo(o?.account_info || o?.centralized_account_info || n), p = i && i?.logo, a = i?.name, f = o?.cspr_name; + return t === g && S ? /* @__PURE__ */ Le(je, { itemsSpacing: 8, align: "center", children: [ + /* @__PURE__ */ W(An, { size: "small", path: dd, loading: c, alt: "Auction contract logo" }), + /* @__PURE__ */ W(en, { tooltipContent: g, caption: "Account Hash", children: /* @__PURE__ */ W(Be, { size: 3, monotype: !0, children: /* @__PURE__ */ W(mn, { href: `${r}/account/${g}`, color: "hash", "aria-description": "Link to account details", children: "Auction Pool" }) }) }) + ] }) : e || t ? /* @__PURE__ */ W(oo, { logo: p, name: a, hash: e || t, csprName: f ?? void 0, loading: c, navigateToPath: `${r}/account/${e || t}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) : /* @__PURE__ */ W(jx, { purse: h, fontSize: "sm", csprLiveDomainPath: r }); +}, $1 = ({ timeTransactionCurrencyRate: e, - transfer: o, - loading: g, - actionPoolAccountHash: C, - renderAsResultAction: P = !1 + transfer: t, + loading: c, + actionPoolAccountHash: h, + renderAsResultAction: S = !1 }) => { - const x = o.from_purse_public_key ? Fw({ - publicKeyHex: o.from_purse_public_key + const g = t.from_purse_public_key ? Nx({ + publicKeyHex: t.from_purse_public_key }).getAccountHash() : ""; - return g ? /* @__PURE__ */ $(Ae, { size: 3, children: /* @__PURE__ */ $(io, {}) }) : /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, wrap: "nowrap", children: [ - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: P ? "Transferred" : "Transfer" }), + return c ? /* @__PURE__ */ W(Be, { size: 3, children: /* @__PURE__ */ W(Bo, {}) }) : /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, wrap: "nowrap", children: [ + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: S ? "Transferred" : "Transfer" }), " ", - /* @__PURE__ */ $(Yo, { amount: o.amount, rate: e }), - P && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "from" }), - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(Bc, { publicKey: o.from_purse_public_key, accountHash: o.from_purse_public_key ? x : null, purse: o.from_purse, purseAccountInfoFromTransfer: o.from_purse_account_info || o.from_purse_centralized_account_info, loading: g, renderAsResultAction: P, actionPoolAccountHash: C }) }) + /* @__PURE__ */ W(Ri, { amount: t.amount, rate: e }), + S && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "from" }), + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ W(K2, { publicKey: t.from_purse_public_key, accountHash: t.from_purse_public_key ? g : null, purse: t.from_purse, purseAccountInfoFromTransfer: t.from_purse_account_info || t.from_purse_centralized_account_info, loading: c, renderAsResultAction: S, actionPoolAccountHash: h }) }) ] }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(Bc, { publicKey: o.to_purse_public_key, accountHash: o.to_account_hash, purse: o.to_purse, purseAccountInfoFromTransfer: o.to_purse_account_info || o.to_purse_centralized_account_info, loading: g, renderAsResultAction: P, actionPoolAccountHash: C }) }) + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "to" }), + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ W(K2, { publicKey: t.to_purse_public_key, accountHash: t.to_account_hash, purse: t.to_purse, purseAccountInfoFromTransfer: t.to_purse_account_info || t.to_purse_centralized_account_info, loading: c, renderAsResultAction: S, actionPoolAccountHash: h }) }) ] }); -}, qw = { - [Pt.Cep18]: _0, - [Pt.CustomCep18]: _0, - [Pt.CEP47Nft]: po, - [Pt.CustomCEP47Nft]: po, - [Pt.CEP78Nft]: po, - [Pt.CustomCEP78Nft]: po, - [Pt.CEP95Nft]: po, - [Pt.DeFi]: Ff -}, Zw = Wf, Qo = ({ +}, Dx = { + [St.Cep18]: u0, + [St.CustomCep18]: u0, + [St.CEP47Nft]: Yo, + [St.CustomCEP47Nft]: Yo, + [St.CEP78Nft]: Yo, + [St.CustomCEP78Nft]: Yo, + [St.CEP95Nft]: Yo, + [St.DeFi]: Jh +}, Vx = Gh, ki = ({ src: e, - size: o = "default", - loading: g, - contractTypeId: C + size: t = "default", + loading: c, + contractTypeId: h }) => { - const x = (C ? qw[C] : null) || Zw; - return e ? /* @__PURE__ */ $(kr, { size: o, src: e, loading: g, alt: "Contract logo" }) : /* @__PURE__ */ $(kr, { size: o, path: x, loading: g }); -}, rs = 20, Hd = (e, o) => e && e.length > o ? e.substring(0, o - 1) + "..." : e, Xw = ({ + const g = (h ? Dx[h] : null) || Vx; + return e ? /* @__PURE__ */ W(An, { size: t, src: e, loading: c, alt: "Contract logo" }) : /* @__PURE__ */ W(An, { size: t, path: g, loading: c }); +}, wc = 20, G1 = (e, t) => e && e.length > t ? e.substring(0, t - 1) + "..." : e, Ux = ({ hash: e, - contractPackage: o, - avatarSize: g = "default", - hashLength: C = Vt.TINY, - loading: P, - path: x + contractPackage: t, + avatarSize: c = "default", + hashLength: h = Nt.TINY, + loading: S, + path: g }) => { const { latest_version_contract_type_id: n, - icon_url: c, + icon_url: s, name: r, - contract_name: a - } = o, i = r || a, m = i && C === Vt.TINY ? Hd(i, rs) : i; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 12, children: [ - /* @__PURE__ */ $(Qo, { src: c, size: g, contractTypeId: n, loading: P }), - /* @__PURE__ */ $(Wo, { extendedLine: { + contract_name: o + } = t, i = r || o, p = i && h === Nt.TINY ? G1(i, wc) : i; + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 12, children: [ + /* @__PURE__ */ W(ki, { src: s, size: c, contractTypeId: n, loading: S }), + /* @__PURE__ */ W(Oi, { extendedLine: { title: i ?? void 0, caption: "Contract package name" - }, tooltipCaption: "Contract package hash", hash: e, children: /* @__PURE__ */ $(Kt, { children: m ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ $(Ja, { hash: e, href: x, hashLength: C }) }), - /* @__PURE__ */ $(Yi, { size: 2, children: /* @__PURE__ */ $(Ae, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", noWrap: !0, children: m }) }) - ] }) : /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ $(Ja, { href: x, hash: e, hashLength: C }) }) }) }) + }, tooltipCaption: "Contract package hash", hash: e, children: /* @__PURE__ */ W(Ht, { children: p ? /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ W(oc, { hash: e, href: g, hashLength: h }) }), + /* @__PURE__ */ W(Xa, { size: 2, children: /* @__PURE__ */ W(Be, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", noWrap: !0, children: p }) }) + ] }) : /* @__PURE__ */ W(Be, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ W(oc, { href: g, hash: e, hashLength: h }) }) }) }) ] }); -}, jd = { - [Pt.System]: "System Contract", - [Pt.Cep18]: "CEP-18 Token", - [Pt.CustomCep18]: "CEP-18 Token", - [Pt.CEP47Nft]: "CEP-47 NFT", - [Pt.CustomCEP47Nft]: "CEP-47 NFT", - [Pt.DeFi]: "DeFi", - [Pt.CEP78Nft]: "CEP-78 NFT", - [Pt.CustomCEP78Nft]: "CEP-78 NFT", - [Pt.NFTMarketplace]: "NFT Marketplace", - [Pt.CEP95Nft]: "CEP-95 NFT" -}, Yw = ({ +}, q1 = { + [St.System]: "System Contract", + [St.Cep18]: "CEP-18 Token", + [St.CustomCep18]: "CEP-18 Token", + [St.CEP47Nft]: "CEP-47 NFT", + [St.CustomCEP47Nft]: "CEP-47 NFT", + [St.DeFi]: "DeFi", + [St.CEP78Nft]: "CEP-78 NFT", + [St.CustomCEP78Nft]: "CEP-78 NFT", + [St.NFTMarketplace]: "NFT Marketplace", + [St.CEP95Nft]: "CEP-95 NFT" +}, Fx = ({ contractTypeId: e -}) => /* @__PURE__ */ $(At, { children: e ? jd[e] : null }), Qw = ({ +}) => /* @__PURE__ */ W(pt, { children: e ? q1[e] : null }), zx = ({ hash: e, - iconSize: o = "small", - hashFontSize: g = "sm", - hashLength: C, - path: P + iconSize: t = "small", + hashFontSize: c = "sm", + hashLength: h, + path: S }) => { - const x = o === "default" ? 12 : 4; - return e ? /* @__PURE__ */ Pe(je, { itemsSpacing: x, align: "center", children: [ - /* @__PURE__ */ $(Qo, { size: o, contractTypeId: null }), - /* @__PURE__ */ $(Yt, { tooltipContent: e, caption: "Contract Package Hash", children: /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", noWrap: !0, scale: g, monotype: !0, lineHeight: "xs", children: /* @__PURE__ */ $(fr, { href: P, "aria-description": "Link to contract package details", color: "hash", children: Vr(e, C) }) }) }), - /* @__PURE__ */ $(Zi, { value: e, minified: !0 }) + const g = t === "default" ? 12 : 4; + return e ? /* @__PURE__ */ Le(je, { itemsSpacing: g, align: "center", children: [ + /* @__PURE__ */ W(ki, { size: t, contractTypeId: null }), + /* @__PURE__ */ W(en, { tooltipContent: e, caption: "Contract Package Hash", children: /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", noWrap: !0, scale: c, monotype: !0, lineHeight: "xs", children: /* @__PURE__ */ W(mn, { href: S, "aria-description": "Link to contract package details", color: "hash", children: kn(e, h) }) }) }), + /* @__PURE__ */ W(Za, { value: e, minified: !0 }) ] }) : null; -}, eC = ({ +}, Kx = ({ hash: e, - contractPackage: o, - hideContractType: g = !1, - hashLength: C = Vt.TINY, - avatarSize: P = "tiny", - hashFontSize: x = "xs", + contractPackage: t, + hideContractType: c = !1, + hashLength: h = Nt.TINY, + avatarSize: S = "tiny", + hashFontSize: g = "xs", loading: n, - path: c + path: s }) => { const { latest_version_contract_type_id: r, - icon_url: a, + icon_url: o, name: i, - contract_name: m - } = o ?? {}, t = Hd(i || m, rs), f = r ? jd[r] : "", b = i ? t : Vr(e, C), y = !g && b.length + f.length < rs; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ Pe(je, { itemsSpacing: P === "default" ? 12 : 4, align: "center", children: [ - /* @__PURE__ */ $(Qo, { size: P, contractTypeId: r, src: a, loading: n }), - /* @__PURE__ */ $(Wo, { hash: e, tooltipCaption: "Contract Package Hash", extendedLine: { - title: i || m || void 0, + contract_name: p + } = t ?? {}, a = G1(i || p, wc), f = r ? q1[r] : "", C = i ? a : kn(e, h), w = !c && C.length + f.length < wc; + return /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ Le(je, { itemsSpacing: S === "default" ? 12 : 4, align: "center", children: [ + /* @__PURE__ */ W(ki, { size: S, contractTypeId: r, src: o, loading: n }), + /* @__PURE__ */ W(Oi, { hash: e, tooltipCaption: "Contract Package Hash", extendedLine: { + title: i || p || void 0, caption: "Contract name" - }, children: /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", noWrap: !0, scale: x, monotype: !0, children: /* @__PURE__ */ $(fr, { href: c, "aria-description": "Link to contract package details", color: "hash", children: b }) }) }) + }, children: /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", noWrap: !0, scale: g, monotype: !0, children: /* @__PURE__ */ W(mn, { href: s, "aria-description": "Link to contract package details", color: "hash", children: C }) }) }) ] }), - y && /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", noWrap: !0, scale: x, children: /* @__PURE__ */ $(Yw, { contractTypeId: r }) }) + w && /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", noWrap: !0, scale: g, children: /* @__PURE__ */ W(Fx, { contractTypeId: r }) }) ] }); -}, fo = ({ +}, zo = ({ withName: e = !1, - ...o -}) => o.contractPackage ? e ? /* @__PURE__ */ $(Xw, { ...o, contractPackage: o.contractPackage }) : /* @__PURE__ */ $(eC, { ...o }) : /* @__PURE__ */ $(Qw, { hash: o.hash, iconSize: o.avatarSize, hashFontSize: o.hashFontSize, hashLength: o.hashLength, path: o.path }), ei = (e) => e != null, tC = (e) => { + ...t +}) => t.contractPackage ? e ? /* @__PURE__ */ W(Ux, { ...t, contractPackage: t.contractPackage }) : /* @__PURE__ */ W(Kx, { ...t }) : /* @__PURE__ */ W(zx, { hash: t.hash, iconSize: t.avatarSize, hashFontSize: t.hashFontSize, hashLength: t.hashLength, path: t.path }), Hi = (e) => e != null, Wx = (e) => { if (e === void 0) return []; - const o = /* @__PURE__ */ new Set(), g = []; - for (const C of e) - o.has(C) || (o.add(C), g.push(C)); - return g; + const t = /* @__PURE__ */ new Set(), c = []; + for (const h of e) + t.has(h) || (t.add(h), c.push(h)); + return c; }; -function gM(e, o) { - const g = e, C = o, P = {}; - for (const x of g) { - const n = C(x); - P[n] = x; +function sT(e, t) { + const c = e, h = t, S = {}; + for (const g of c) { + const n = h(g); + S[n] = g; } - return P; + return S; } -function Dd(e) { +function Z1(e) { return typeof e == "object" && e !== null; } -const rC = ({ +const Jx = ({ deploy: e }) => { - const o = Dd(e.args.token_to_trade_contract_hash_key.parsed) ? e.args.token_to_trade_contract_hash_key.parsed?.Hash : e.args.token_to_trade_contract_hash_key.parsed, { - hash: g - } = jn(o || ""), { - getContractInfoByHash: C, - csprLiveDomainPath: P - } = hr(), x = C(g), n = x?.contract_package; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "CSPR.fun trade" }), - n ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(je, { align: "center", itemsSpacing: 2, children: /* @__PURE__ */ $(fo, { hash: x?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: n, hideContractType: !1, path: `${P}/contract-package/${x?.contract_package_hash}` }) }) + const t = Z1(e.args.token_to_trade_contract_hash_key.parsed) ? e.args.token_to_trade_contract_hash_key.parsed?.Hash : e.args.token_to_trade_contract_hash_key.parsed, { + hash: c + } = no(t || ""), { + getContractInfoByHash: h, + csprLiveDomainPath: S + } = gn(), g = h(c), n = g?.contract_package; + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "CSPR.fun trade" }), + n ? /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: "with" }), + /* @__PURE__ */ W(je, { align: "center", itemsSpacing: 2, children: /* @__PURE__ */ W(zo, { hash: g?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: n, hideContractType: !1, path: `${S}/contract-package/${g?.contract_package_hash}` }) }) ] }) : null ] }); -}, Vd = { - [Ft.AuctionManagerEntryPoint.addBid]: "Add", - [Ft.AuctionManagerEntryPoint.withdrawBid]: "Withdraw", - [Ft.AuctionManagerEntryPoint.activateBid]: "Activate", - [Ft.AuctionManagerEntryPoint.delegate]: "Delegate", - [Ft.AuctionManagerEntryPoint.undelegate]: "Undelegate", - [Ft.AuctionManagerEntryPoint.redelegate]: "Redelegate" -}, Ud = ({ +}, Y1 = { + [kt.AuctionManagerEntryPoint.addBid]: "Add", + [kt.AuctionManagerEntryPoint.withdrawBid]: "Withdraw", + [kt.AuctionManagerEntryPoint.activateBid]: "Activate", + [kt.AuctionManagerEntryPoint.delegate]: "Delegate", + [kt.AuctionManagerEntryPoint.undelegate]: "Undelegate", + [kt.AuctionManagerEntryPoint.redelegate]: "Redelegate" +}, X1 = ({ identifier: e, - contract_package_hash: o + contract_package_hash: t }) => { const { - csprLiveDomainPath: g - } = hr(); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(kr, { path: nl, size: "small", alt: "Auction contract logo" }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "blue", monotype: !0, children: /* @__PURE__ */ $(fr, { href: `${g}/contract-package/${o}`, "aria-description": "Link to contract package details", color: "primaryBlue", children: e }) }) + csprLiveDomainPath: c + } = gn(); + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(An, { path: dd, size: "small", alt: "Auction contract logo" }), + /* @__PURE__ */ W(Be, { size: 3, variation: "blue", monotype: !0, children: /* @__PURE__ */ W(mn, { href: `${c}/contract-package/${t}`, "aria-description": "Link to contract package details", color: "primaryBlue", children: e }) }) ] }); -}, Hc = ({ +}, W2 = ({ publicKey: e, - prefix: o, - avatarSize: g + prefix: t, + avatarSize: c }) => { const { - getAccountInfo: C, - csprLiveDomainPath: P - } = hr(), x = g ?? cn(["small", "default"], []), n = C(e), c = lo(n?.account_info || n?.centralized_account_info), r = c?.name; - return e ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: o }), - /* @__PURE__ */ $(Dn, { logo: c?.logo, name: r, hash: e, loading: !e, navigateToPath: `${P}/account/${e}`, avatarSize: x, hashFontSize: "sm", minifiedCopyNotification: !0 }) + getAccountInfo: h, + csprLiveDomainPath: S + } = gn(), g = c ?? ir(["small", "default"], []), n = h(e), s = Fo(n?.account_info || n?.centralized_account_info), r = s?.name; + return e ? /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: t }), + /* @__PURE__ */ W(oo, { logo: s?.logo, name: r, hash: e, loading: !e, navigateToPath: `${S}/account/${e}`, avatarSize: g, hashFontSize: "sm", minifiedCopyNotification: !0 }) ] }) : null; -}, nC = ({ +}, $x = ({ deploy: e -}) => /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: e.entryPoint?.name }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(Ud, { identifier: "Auction System Contract", contract_package_hash: e.contractPackage?.contract_package_hash }) -] }), oC = ({ +}) => /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: e.entryPoint?.name }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "with" }), + /* @__PURE__ */ W(X1, { identifier: "Auction System Contract", contract_package_hash: e.contractPackage?.contract_package_hash }) +] }), Gx = ({ deploy: e }) => { const { - args: o, - timeTransactionCurrencyRate: g, - contractPackage: C, - entryPoint: P - } = e, x = o.amount?.parsed; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: Vd[P?.name || ""] }), - /* @__PURE__ */ $(Ud, { identifier: "Auction", contract_package_hash: C?.contract_package_hash }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "black", monotype: !0, children: "bid" }), - x && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "of" }), - /* @__PURE__ */ $(Yo, { amount: x, rate: g }) + args: t, + timeTransactionCurrencyRate: c, + contractPackage: h, + entryPoint: S + } = e, g = t.amount?.parsed; + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: Y1[S?.name || ""] }), + /* @__PURE__ */ W(X1, { identifier: "Auction", contract_package_hash: h?.contract_package_hash }), + /* @__PURE__ */ W(Be, { size: 3, variation: "black", monotype: !0, children: "bid" }), + g && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "of" }), + /* @__PURE__ */ W(Ri, { amount: g, rate: c }) ] }) ] }); -}, iC = ({ +}, qx = ({ deploy: e }) => { const { - timeTransactionCurrencyRate: o, - entryPoint: g, - args: C - } = e, P = C.amount?.parsed, x = g?.name === Ft.AuctionManagerEntryPoint.delegate ? "to" : "from"; - return /* @__PURE__ */ Pe(je, { align: "center", gap: 8, children: [ - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: Vd[g?.name || ""] }), - P && /* @__PURE__ */ $(Yo, { amount: P, rate: o }), - /* @__PURE__ */ $(Hc, { publicKey: C.validator?.parsed, prefix: x, avatarSize: "small" }), - /* @__PURE__ */ $(Hc, { publicKey: C.new_validator?.parsed, prefix: "to", avatarSize: "small" }) + timeTransactionCurrencyRate: t, + entryPoint: c, + args: h + } = e, S = h.amount?.parsed, g = c?.name === kt.AuctionManagerEntryPoint.delegate ? "to" : "from"; + return /* @__PURE__ */ Le(je, { align: "center", gap: 8, children: [ + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: Y1[c?.name || ""] }), + S && /* @__PURE__ */ W(Ri, { amount: S, rate: t }), + /* @__PURE__ */ W(W2, { publicKey: h.validator?.parsed, prefix: g, avatarSize: "small" }), + /* @__PURE__ */ W(W2, { publicKey: h.new_validator?.parsed, prefix: "to", avatarSize: "small" }) ] }); -}, aC = ({ +}, Zx = ({ deploy: e }) => { const { - entryPoint: o - } = e, g = o?.name || "", C = g === Ft.AuctionManagerEntryPoint.activateBid || g === Ft.AuctionManagerEntryPoint.withdrawBid || g === Ft.AuctionManagerEntryPoint.addBid; - return g === Ft.AuctionManagerEntryPoint.delegate || g === Ft.AuctionManagerEntryPoint.undelegate || g === Ft.AuctionManagerEntryPoint.redelegate ? /* @__PURE__ */ $(iC, { deploy: e }) : C ? /* @__PURE__ */ $(oC, { deploy: e }) : /* @__PURE__ */ $(nC, { deploy: e }); + entryPoint: t + } = e, c = t?.name || "", h = c === kt.AuctionManagerEntryPoint.activateBid || c === kt.AuctionManagerEntryPoint.withdrawBid || c === kt.AuctionManagerEntryPoint.addBid; + return c === kt.AuctionManagerEntryPoint.delegate || c === kt.AuctionManagerEntryPoint.undelegate || c === kt.AuctionManagerEntryPoint.redelegate ? /* @__PURE__ */ W(qx, { deploy: e }) : h ? /* @__PURE__ */ W(Gx, { deploy: e }) : /* @__PURE__ */ W($x, { deploy: e }); }; -var sC = /* @__PURE__ */ ((e) => (e.Bool = "Bool", e.I32 = "I32", e.I64 = "I64", e.U8 = "U8", e.U32 = "U32", e.U64 = "U64", e.U128 = "U128", e.U256 = "U256", e.U512 = "U512", e.Unit = "Unit", e.String = "String", e.Key = "Key", e.URef = "URef", e.Option = "Option", e.List = "List", e.ByteArray = "ByteArray", e.Result = "Result", e.Map = "Map", e.Tuple1 = "Tuple1", e.Tuple2 = "Tuple2", e.Tuple3 = "Tuple3", e.Any = "Any", e.PublicKey = "PublicKey", e))(sC || {}); -const uC = (e) => e ? [...e.args.keys()].reduce((g, C) => ({ - ...g, - [C]: e.getByName(C)?.toJSON() -}), {}) : {}, cC = (e) => { +var Yx = /* @__PURE__ */ ((e) => (e.Bool = "Bool", e.I32 = "I32", e.I64 = "I64", e.U8 = "U8", e.U32 = "U32", e.U64 = "U64", e.U128 = "U128", e.U256 = "U256", e.U512 = "U512", e.Unit = "Unit", e.String = "String", e.Key = "Key", e.URef = "URef", e.Option = "Option", e.List = "List", e.ByteArray = "ByteArray", e.Result = "Result", e.Map = "Map", e.Tuple1 = "Tuple1", e.Tuple2 = "Tuple2", e.Tuple3 = "Tuple3", e.Any = "Any", e.PublicKey = "PublicKey", e))(Yx || {}); +const Xx = (e) => e ? [...e.args.keys()].reduce((c, h) => ({ + ...c, + [h]: e.getByName(h)?.toJSON() +}), {}) : {}, Qx = (e) => { if (!e) return null; - if (((e.api_version && e.api_version.startsWith("1") ? Ti.V1 : Ti.V2) || Ti.V2) === "1") { - const C = Ft.InfoGetDeployResultV1Compatible.fromJSON(e); - return C?.executionResults && C?.executionResults[0] ? Ft.ExecutionResult.fromV1(C.executionResults?.[0].result) : null; - } - const g = Ft.InfoGetTransactionResultV1Compatible.fromJSON(e); - return g?.executionInfo ? g.executionInfo.executionResult : null; -}, lC = (e) => { - const C = (cC(e)?.effects ?? []).filter((x) => x.kind.isWriteAccount()); - return (C?.length > 0 ? C[0] : null)?.kind?.parseAsWriteAccount().toPrefixedString(); + if (((e.api_version && e.api_version.startsWith("1") ? Sa.V1 : Sa.V2) || Sa.V2) === "1") { + const h = kt.InfoGetDeployResultV1Compatible.fromJSON(e); + return h?.executionResults && h?.executionResults[0] ? kt.ExecutionResult.fromV1(h.executionResults?.[0].result) : null; + } + const c = kt.InfoGetTransactionResultV1Compatible.fromJSON(e); + return c?.executionInfo ? c.executionInfo.executionResult : null; +}, eM = (e) => { + const h = (Qx(e)?.effects ?? []).filter((g) => g.kind.isWriteAccount()); + return (h?.length > 0 ? h[0] : null)?.kind?.parseAsWriteAccount().toPrefixedString(); }; -function dC(e) { - const o = Ft.CLValueParser.toJSON(e); - return uC(Ft.Args.fromBytes(Ft.Conversions.decodeBase16(o.bytes.substring(8)))); +function tM(e) { + const t = kt.CLValueParser.toJSON(e); + return Xx(kt.Args.fromBytes(kt.Conversions.decodeBase16(t.bytes.substring(8)))); } -function fC(e) { - const o = e.args.args.get("args"); - if (!o) return null; +function nM(e) { + const t = e.args.args.get("args"); + if (!t) return null; try { - return dC(o); - } catch (g) { - return console.error("getWasmProxyArgumentsFromRawData", g), null; - } -} -const vM = (e, o) => { - const g = []; - return e ? (e.forEach((C) => { - o.forEach((P) => { - if (P in C && C[P] !== null && C[P] !== void 0) { - const x = C[P]; - if (x) { + return tM(t); + } catch (c) { + return console.error("getWasmProxyArgumentsFromRawData", c), null; + } +} +const cT = (e, t) => { + const c = []; + return e ? (e.forEach((h) => { + t.forEach((S) => { + if (S in h && h[S] !== null && h[S] !== void 0) { + const g = h[S]; + if (g) { const { hash: n - } = jn(x); - g.push(n); + } = no(g); + c.push(n); } } }); - }), g.length > 0 ? g.filter(ei) : null) : null; -}, bM = (e, o) => { - const g = []; + }), c.length > 0 ? c.filter(Hi) : null) : null; +}, uT = (e, t) => { + const c = []; if (!e) return null; - const C = tC(o); - return e.forEach((P) => { - C.forEach((x) => { - if (x in P.args && P.args[x] !== null && P.args[x] !== void 0) { - if (Array.isArray(P.args[x].parsed)) + const h = Wx(t); + return e.forEach((S) => { + h.forEach((g) => { + if (g in S.args && S.args[g] !== null && S.args[g] !== void 0) { + if (Array.isArray(S.args[g].parsed)) return; - const n = Dd(P.args[x].parsed) ? Object.values(P.args[x].parsed)[0] : P.args[x].parsed; + const n = Z1(S.args[g].parsed) ? Object.values(S.args[g].parsed)[0] : S.args[g].parsed; if (n) { const { - hash: c - } = jn(n); - g.push(c); + hash: s + } = no(n); + c.push(s); } } }); - }), g.length > 0 ? g.filter(ei) : null; -}, hC = ({ + }), c.length > 0 ? c.filter(Hi) : null; +}, rM = ({ deploy_hash: e, - block_hash: o, - caller_public_key: g, - contract_hash: C, - contract_package_hash: P, - error_message: x, + block_hash: t, + caller_public_key: c, + contract_hash: h, + contract_package_hash: S, + error_message: g, payment_amount: n, - contract_entrypoint: c, + contract_entrypoint: s, contract_package: r, - execution_type_id: a, + execution_type_id: o, nft_token_actions: i, - ft_token_actions: m, - account_info: t, + ft_token_actions: p, + account_info: a, centralized_account_info: f, - rate: b, - caller_cspr_name: y, - caller_hash: u, - consumed_gas: d, + rate: C, + caller_cspr_name: w, + caller_hash: m, + consumed_gas: v, refund_amount: l, - block_height: s, - ...v + block_height: u, + ...y }) => ({ - ...v, - accountInfo: t, - blockHash: o, - blockHeight: s, - callerCsprName: y, - callerHash: u, - callerPublicKey: g, + ...y, + accountInfo: a, + blockHash: t, + blockHeight: u, + callerCsprName: w, + callerHash: m, + callerPublicKey: c, centralizedAccountInfo: f, - consumedGas: d, - contractHash: C, + consumedGas: v, + contractHash: h, contractPackage: r, - contractPackageHash: P, + contractPackageHash: S, deployHash: e, - entryPoint: c, - errorMessage: x, - executionTypeId: a, - ftActions: m, + entryPoint: s, + errorMessage: g, + executionTypeId: o, + ftActions: p, nftActions: i, paymentAmount: n, refundAmount: l, - timeTransactionCurrencyRate: b -}), wM = ({ + timeTransactionCurrencyRate: C +}), lT = ({ data: e, - ...o + ...t }) => ({ - ...o, - data: e ? e.map(hC) : [] -}), zd = ({ + ...t, + data: e ? e.map(rM) : [] +}), Q1 = ({ deploy: e, - deployRawData: o, - renderAsResultAction: g = !1 + deployRawData: t, + renderAsResultAction: c = !1 }) => { const { - contractPackage: C - } = e, P = lC(o?.data), { - hash: x - } = jn(P || ""), { + contractPackage: h + } = e, S = eM(t?.data), { + hash: g + } = no(S || ""), { getAccountInfo: n, - getPublicKeyAccountHash: c, + getPublicKeyAccountHash: s, csprLiveDomainPath: r - } = hr(), a = c(x), i = n(x), m = lo(i?.account_info || i?.centralized_account_info), t = m?.logo, f = m?.name, b = i?.cspr_name; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: g ? "Updated account" : "Update account" }), + } = gn(), o = s(g), i = n(g), p = Fo(i?.account_info || i?.centralized_account_info), a = p?.logo, f = p?.name, C = i?.cspr_name; + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: c ? "Updated account" : "Update account" }), " ", - (a || !!x) && /* @__PURE__ */ $(Dn, { logo: t, name: f, hash: a || x, csprName: b ?? void 0, loading: !x, navigateToPath: `${r}/account/${a || x}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), - !g && /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(fo, { hash: C.contract_package_hash, contractPackage: C, hashFontSize: "sm", avatarSize: "small", path: `${r}/contract-package/${C.contract_package_hash}` }) + (o || !!g) && /* @__PURE__ */ W(oo, { logo: a, name: f, hash: o || g, csprName: C ?? void 0, loading: !g, navigateToPath: `${r}/account/${o || g}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), + !c && /* @__PURE__ */ Le(je, { itemsSpacing: 8, align: "center", children: [ + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "with" }), + /* @__PURE__ */ W(zo, { hash: h.contract_package_hash, contractPackage: h, hashFontSize: "sm", avatarSize: "small", path: `${r}/contract-package/${h.contract_package_hash}` }) ] }) ] }); -}, ho = ({ +}, Ko = ({ path: e, - contractPackage: o -}) => o ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Qo, { size: "small", contractTypeId: o?.latest_version_contract_type_id, src: o.icon_url }), - /* @__PURE__ */ $(Wo, { hash: o.contract_package_hash, tooltipCaption: "Contract Package Hash", extendedLine: { - title: o?.name, + contractPackage: t +}) => t ? /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(ki, { size: "small", contractTypeId: t?.latest_version_contract_type_id, src: t.icon_url }), + /* @__PURE__ */ W(Oi, { hash: t.contract_package_hash, tooltipCaption: "Contract Package Hash", extendedLine: { + title: t?.name, caption: "Contract name" - }, children: /* @__PURE__ */ $(Ae, { size: 3, variation: "black", monotype: !0, children: /* @__PURE__ */ $(fr, { href: e, "aria-description": "Link to contract package details", color: "primaryBlue", children: o.name }) }) }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "NFT(s)" }) -] }) : null, pC = be.div.withConfig({ + }, children: /* @__PURE__ */ W(Be, { size: 3, variation: "black", monotype: !0, children: /* @__PURE__ */ W(mn, { href: e, "aria-description": "Link to contract package details", color: "primaryBlue", children: t.name }) }) }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "NFT(s)" }) +] }) : null, oM = xe.div.withConfig({ displayName: "NftTokenIds__TokenWrapper", componentId: "sc-3y9nqg-0" })(({ @@ -43890,24 +45809,24 @@ const vM = (e, o) => { padding: "2px 8px", borderRadius: "4px", backgroundColor: e.styleguideColors.fillSecondary -})), mC = Vt.TINY * 2 + 3, yC = ({ +})), iM = Nt.TINY * 2 + 3, aM = ({ token_id: e, - path: o + path: t }) => { - const g = /* @__PURE__ */ $(pC, { children: /* @__PURE__ */ $(Ae, { size: 3, children: /* @__PURE__ */ $(fr, { color: "primaryBlue", href: o, "aria-description": "Link to nft token details", children: Vr(e.toString(), Vt.LITTLE) }) }) }, `token-${e}`); - return e.length > mC ? /* @__PURE__ */ $(Yt, { tooltipContent: e, scale: "xs", lineHeight: "xs", caption: "Token ID", children: g }) : g; -}, ti = ({ + const c = /* @__PURE__ */ W(oM, { children: /* @__PURE__ */ W(Be, { size: 3, children: /* @__PURE__ */ W(mn, { color: "primaryBlue", href: t, "aria-description": "Link to nft token details", children: kn(e.toString(), Nt.LITTLE) }) }) }, `token-${e}`); + return e.length > iM ? /* @__PURE__ */ W(en, { tooltipContent: e, scale: "xs", lineHeight: "xs", caption: "Token ID", children: c }) : c; +}, ji = ({ nftTokenIds: e, - collectionHash: o, - csprLiveDomainPath: g -}) => /* @__PURE__ */ $(At, { children: e ? e.map((C) => /* @__PURE__ */ $(yC, { token_id: C, path: `${g}/contracts/${o}/nfts/${C}` }, C)) : null }); -var gC = /* @__PURE__ */ ((e) => (e[e.CEP47 = 1] = "CEP47", e[e.CEP78 = 2] = "CEP78", e))(gC || {}); -const CM = { + collectionHash: t, + csprLiveDomainPath: c +}) => /* @__PURE__ */ W(pt, { children: e ? e.map((h) => /* @__PURE__ */ W(aM, { token_id: h, path: `${c}/contracts/${t}/nfts/${h}` }, h)) : null }); +var sM = /* @__PURE__ */ ((e) => (e[e.CEP47 = 1] = "CEP47", e[e.CEP78 = 2] = "CEP78", e))(sM || {}); +const dT = { 1: "CEP47", 2: "CEP78" }; -var Dr = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Burn = 2] = "Burn", e[e.Approve = 3] = "Approve", e[e.Transfer = 4] = "Transfer", e[e.Metadata = 5] = "Metadata", e[e.Revoke = 6] = "Revoke", e))(Dr || {}); -const _M = { +var Rn = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Burn = 2] = "Burn", e[e.Approve = 3] = "Approve", e[e.Transfer = 4] = "Transfer", e[e.Metadata = 5] = "Metadata", e[e.Revoke = 6] = "Revoke", e))(Rn || {}); +const fT = { 1: "Mint", 2: "Burn", 3: "Approve", @@ -43915,8 +45834,8 @@ const _M = { 5: "Metadata update", 6: "Revoke" }; -var Xt = /* @__PURE__ */ ((e) => (e.approve = "approve", e.burn = "burn", e.mint = "mint", e.transfer = "transfer", e.transfer_from = "transfer_from", e.update_token_meta = "update_token_meta", e.set_approval_for_all = "set_approval_for_all", e))(Xt || {}); -const vC = { +var Qt = /* @__PURE__ */ ((e) => (e.approve = "approve", e.burn = "burn", e.mint = "mint", e.transfer = "transfer", e.transfer_from = "transfer_from", e.update_token_meta = "update_token_meta", e.set_approval_for_all = "set_approval_for_all", e))(Qt || {}); +const cM = { 1: "mint", 2: "burn", 3: "approve", @@ -43924,188 +45843,188 @@ const vC = { 5: "update_token_meta" /* update_token_meta */ }; -var Or = /* @__PURE__ */ ((e) => (e.delist_token = "delist_token", e.list_token = "list_token", e.accept_offer = "accept_offer", e.cancel_offer = "cancel_offer", e.make_offer = "make_offer", e.buy_token = "buy_token", e))(Or || {}); -function SM(e) { +var En = /* @__PURE__ */ ((e) => (e.delist_token = "delist_token", e.list_token = "list_token", e.accept_offer = "accept_offer", e.cancel_offer = "cancel_offer", e.make_offer = "make_offer", e.buy_token = "buy_token", e))(En || {}); +function pT(e) { return e; } -const bC = (e) => e ? Object.entries(e).map((o) => ({ - key: o[0], - value: o[1] -})) : [], wC = (e) => { - const o = Array.isArray(e?.metadata) ? e?.metadata : bC(e?.metadata); +const uM = (e) => e ? Object.entries(e).map((t) => ({ + key: t[0], + value: t[1] +})) : [], lM = (e) => { + const t = Array.isArray(e?.metadata) ? e?.metadata : uM(e?.metadata); return { ...e, - metadata: o + metadata: t }; -}, MM = (e) => { - const o = e.data.map(wC); +}, hT = (e) => { + const t = e.data.map(lM); return { ...e, - data: o + data: t }; -}, CC = (e) => { - const o = e.token_metas?.parsed || e.token_id?.parsed || e.token_ids?.parsed, g = (C) => C?.parsed ? C?.parsed.map((P) => typeof P == "string" ? P : P.key) : []; - if (o) { - const P = [...[...g(e.token_ids), ...g(e.token_metas)], e.token_id?.parsed].filter(ei); - return [...new Set(P)]; +}, dM = (e) => { + const t = e.token_metas?.parsed || e.token_id?.parsed || e.token_ids?.parsed, c = (h) => h?.parsed ? h?.parsed.map((S) => typeof S == "string" ? S : S.key) : []; + if (t) { + const S = [...[...c(e.token_ids), ...c(e.token_metas)], e.token_id?.parsed].filter(Hi); + return [...new Set(S)]; } return null; -}, Qt = (e, o) => { +}, tn = (e, t) => { if (e && e.parsed) { - if (e.parsed[o]) - return jn(e.parsed[o]); + if (e.parsed[t]) + return no(e.parsed[t]); if (typeof e.parsed != "object") - return jn(e.parsed); + return no(e.parsed); } return null; -}, p0 = { - [Or.delist_token]: "Delist", - [Or.list_token]: "List", - [Or.accept_offer]: "Accept offer", - [Or.cancel_offer]: "Cancel offer", - [Or.make_offer]: "Make offer", - [Or.buy_token]: "Buy token" -}, jc = (e) => { +}, Gu = { + [En.delist_token]: "Delist", + [En.list_token]: "List", + [En.accept_offer]: "Accept offer", + [En.cancel_offer]: "Cancel offer", + [En.make_offer]: "Make offer", + [En.buy_token]: "Buy token" +}, J2 = (e) => { if (!Array.isArray(e)) return e; try { const { - result: o - } = Ft.CLValueParser.fromBytesByType(Uint8Array.from(e), Ft.CLTypeUInt256); - return o.toString(); - } catch (o) { - return console.error("Failed to parse UInt256 bytes. Parsing failed and this likely indicates an invalid token key value", o), null; - } -}, _C = (e) => { - const o = e.tokens?.parsed, g = e.token_id?.parsed; - if (!o && !g) + result: t + } = kt.CLValueParser.fromBytesByType(Uint8Array.from(e), kt.CLTypeUInt256); + return t.toString(); + } catch (t) { + return console.error("Failed to parse UInt256 bytes. Parsing failed and this likely indicates an invalid token key value", t), null; + } +}, fM = (e) => { + const t = e.tokens?.parsed, c = e.token_id?.parsed; + if (!t && !c) return null; - const C = (c) => typeof c == "string" ? c : Array.isArray(c?.key) ? jc(c.key) : c?.key, P = Array.isArray(o) ? o.map(C) : [], x = jc(g), n = [...P, x].filter(ei); + const h = (s) => typeof s == "string" ? s : Array.isArray(s?.key) ? J2(s.key) : s?.key, S = Array.isArray(t) ? t.map(h) : [], g = J2(c), n = [...S, g].filter(Hi); return [...new Set(n)]; -}, la = ({ +}, hs = ({ contractPackage: e, - path: o + path: t }) => { const { - latest_version_contract_type_id: g, - icon_url: C, - contract_package_hash: P, - name: x + latest_version_contract_type_id: c, + icon_url: h, + contract_package_hash: S, + name: g } = e; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ $(Qo, { contractTypeId: g, src: C, loading: !e, size: "small" }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", noWrap: !0, scale: "sm", children: P && /* @__PURE__ */ $(fr, { href: o, "aria-description": "Link to contract package details", color: "primaryBlue", children: x }) }) + return /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ W(ki, { contractTypeId: c, src: h, loading: !e, size: "small" }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", noWrap: !0, scale: "sm", children: S && /* @__PURE__ */ W(mn, { href: t, "aria-description": "Link to contract package details", color: "primaryBlue", children: g }) }) ] }); -}, SC = ({ +}, pM = ({ deploy: e, - collectionHash: o, - nftTokenIds: g + collectionHash: t, + nftTokenIds: c }) => { const { - amount: C, - entryPoint: P, - args: x, + amount: h, + entryPoint: S, + args: g, timeTransactionCurrencyRate: n, - contractPackage: c - } = e, r = Qt(x.offerer, "Account"), { - getAccountInfo: a, + contractPackage: s + } = e, r = tn(g.offerer, "Account"), { + getAccountInfo: o, getPublicKeyAccountHash: i, - getContractPackageInfoByHash: m, - csprLiveDomainPath: t - } = hr(), f = r && a(r?.hash), b = r && i(r?.hash), y = lo(f?.account_info || f?.centralized_account_info), u = y && y.logo, d = y?.name, l = f?.cspr_name; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: p0[P?.name || ""] }), - C && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "of" }), - /* @__PURE__ */ $(Yo, { amount: C, rate: n }) + getContractPackageInfoByHash: p, + csprLiveDomainPath: a + } = gn(), f = r && o(r?.hash), C = r && i(r?.hash), w = Fo(f?.account_info || f?.centralized_account_info), m = w && w.logo, v = w?.name, l = f?.cspr_name; + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: Gu[S?.name || ""] }), + h && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "of" }), + /* @__PURE__ */ W(Ri, { amount: h, rate: n }) ] }), - o && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "for" }), - /* @__PURE__ */ $(ho, { path: `${t}/contract-package/${o}`, contractPackage: m(o) }) + t && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "for" }), + /* @__PURE__ */ W(Ko, { path: `${a}/contract-package/${t}`, contractPackage: p(t) }) ] }), - /* @__PURE__ */ $(ti, { nftTokenIds: g, collectionHash: o, csprLiveDomainPath: t }), - r && /* @__PURE__ */ Pe(je, { itemsSpacing: 6, align: "center", children: [ - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "from" }), - /* @__PURE__ */ $(Dn, { logo: u, name: d, hash: b || r.hash, csprName: l ?? void 0, loading: !r, navigateToPath: `${t}/account/${b || r.hash}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) + /* @__PURE__ */ W(ji, { nftTokenIds: c, collectionHash: t, csprLiveDomainPath: a }), + r && /* @__PURE__ */ Le(je, { itemsSpacing: 6, align: "center", children: [ + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "from" }), + /* @__PURE__ */ W(oo, { logo: m, name: v, hash: C || r.hash, csprName: l ?? void 0, loading: !r, navigateToPath: `${a}/account/${C || r.hash}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) ] }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "on" }), - /* @__PURE__ */ $(la, { contractPackage: c, path: `${t}/contract-package/${c.contract_package_hash}` }) + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "on" }), + /* @__PURE__ */ W(hs, { contractPackage: s, path: `${a}/contract-package/${s.contract_package_hash}` }) ] }); -}, MC = ({ +}, hM = ({ deploy: e, - collectionHash: o, - nftTokenIds: g + collectionHash: t, + nftTokenIds: c }) => { const { - entryPoint: C, - contractPackage: P + entryPoint: h, + contractPackage: S } = e, { - csprLiveDomainPath: x, + csprLiveDomainPath: g, getContractPackageInfoByHash: n - } = hr(), c = C?.name === Or.delist_token ? "from" : "on"; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: p0[C?.name || ""] }), - o && /* @__PURE__ */ $(ho, { path: `${x}/contract-package/${o}`, contractPackage: n(o) }), - /* @__PURE__ */ $(ti, { nftTokenIds: g, collectionHash: o, csprLiveDomainPath: x }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: c }), - /* @__PURE__ */ $(la, { contractPackage: P, path: `${x}/contract-package/${P.contract_package_hash}` }) + } = gn(), s = h?.name === En.delist_token ? "from" : "on"; + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: Gu[h?.name || ""] }), + t && /* @__PURE__ */ W(Ko, { path: `${g}/contract-package/${t}`, contractPackage: n(t) }), + /* @__PURE__ */ W(ji, { nftTokenIds: c, collectionHash: t, csprLiveDomainPath: g }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: s }), + /* @__PURE__ */ W(hs, { contractPackage: S, path: `${g}/contract-package/${S.contract_package_hash}` }) ] }); -}, xC = ({ +}, yM = ({ deploy: e, - collectionHash: o, - nftTokenIds: g + collectionHash: t, + nftTokenIds: c }) => { const { - entryPoint: C, - contractPackage: P, - args: x, + entryPoint: h, + contractPackage: S, + args: g, timeTransactionCurrencyRate: n } = e, { - csprLiveDomainPath: c, + csprLiveDomainPath: s, getContractPackageInfoByHash: r - } = hr(), a = x?.amount?.parsed || x?.amount; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: p0[C?.name || ""] }), - o && /* @__PURE__ */ $(ho, { contractPackage: r(o), path: `${c}/contract-package/${o}` }), - /* @__PURE__ */ $(ti, { nftTokenIds: g, collectionHash: o, csprLiveDomainPath: c }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "for" }), - a && /* @__PURE__ */ $(Yo, { amount: a.toString(), rate: n }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "on" }), - /* @__PURE__ */ $(la, { contractPackage: P, path: `${c}/contract-package/${P.contract_package_hash}` }) + } = gn(), o = g?.amount?.parsed || g?.amount; + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: Gu[h?.name || ""] }), + t && /* @__PURE__ */ W(Ko, { contractPackage: r(t), path: `${s}/contract-package/${t}` }), + /* @__PURE__ */ W(ji, { nftTokenIds: c, collectionHash: t, csprLiveDomainPath: s }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "for" }), + o && /* @__PURE__ */ W(Ri, { amount: o.toString(), rate: n }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "on" }), + /* @__PURE__ */ W(hs, { contractPackage: S, path: `${s}/contract-package/${S.contract_package_hash}` }) ] }); -}, EC = ({ +}, mM = ({ deploy: e }) => { const { - entryPoint: o, - contractPackage: g + entryPoint: t, + contractPackage: c } = e, { - csprLiveDomainPath: C - } = hr(); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: o?.name }), - /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(la, { contractPackage: g, path: `${C}/contract-package/${g.contract_package_hash}` }) + csprLiveDomainPath: h + } = gn(); + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: t?.name }), + /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", children: "with" }), + /* @__PURE__ */ W(hs, { contractPackage: c, path: `${h}/contract-package/${c.contract_package_hash}` }) ] }); -}, PC = ({ +}, gM = ({ deploy: e }) => { const { - entryPoint: o, - args: g - } = e, C = o?.name || "", P = g.collection?.parsed ? Qt(g.collection, "Hash")?.hash : g.collection, x = C === Or.accept_offer || C === Or.make_offer || C === Or.cancel_offer, n = C === Or.delist_token || C === Or.list_token, c = C === Or.buy_token, r = _C(e.args); - return x && P ? /* @__PURE__ */ $(SC, { deploy: e, collectionHash: P, nftTokenIds: r }) : n && P ? /* @__PURE__ */ $(MC, { deploy: e, collectionHash: P, nftTokenIds: r }) : c && P ? /* @__PURE__ */ $(xC, { deploy: e, collectionHash: P, nftTokenIds: r }) : /* @__PURE__ */ $(EC, { deploy: e }); -}, m0 = ({ + entryPoint: t, + args: c + } = e, h = t?.name || "", S = c.collection?.parsed ? tn(c.collection, "Hash")?.hash : c.collection, g = h === En.accept_offer || h === En.make_offer || h === En.cancel_offer, n = h === En.delist_token || h === En.list_token, s = h === En.buy_token, r = fM(e.args); + return g && S ? /* @__PURE__ */ W(pM, { deploy: e, collectionHash: S, nftTokenIds: r }) : n && S ? /* @__PURE__ */ W(hM, { deploy: e, collectionHash: S, nftTokenIds: r }) : s && S ? /* @__PURE__ */ W(yM, { deploy: e, collectionHash: S, nftTokenIds: r }) : /* @__PURE__ */ W(mM, { deploy: e }); +}, qu = ({ deploy: e }) => { const { - csprLiveDomainPath: o - } = hr(), g = cn([Vt.TINY, Vt.TINY, Vt.FULL, Vt.FULL], []); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, variation: "black", children: e.entryPoint?.name }), - /* @__PURE__ */ $(Ae, { variation: "darkGray", size: 3, children: "with" }), - /* @__PURE__ */ $(fo, { hash: e.contractPackage.contract_package_hash, contractPackage: e.contractPackage, avatarSize: "small", hashFontSize: "sm", hashLength: g, path: `${o}/contract-package/${e.contractPackage.contract_package_hash}` }) + csprLiveDomainPath: t + } = gn(), c = ir([Nt.TINY, Nt.TINY, Nt.FULL, Nt.FULL], []); + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, variation: "black", children: e.entryPoint?.name }), + /* @__PURE__ */ W(Be, { variation: "darkGray", size: 3, children: "with" }), + /* @__PURE__ */ W(zo, { hash: e.contractPackage.contract_package_hash, contractPackage: e.contractPackage, avatarSize: "small", hashFontSize: "sm", hashLength: c, path: `${t}/contract-package/${e.contractPackage.contract_package_hash}` }) ] }); -}, AC = (e) => { +}, vM = (e) => { if (!e) return { price: null, @@ -44113,13 +46032,13 @@ const bC = (e) => e ? Object.entries(e).map((o) => ({ iconPath: null, website: null }; - const o = e?.coingecko_data, g = e?.friendlymarket_data; - return o ? { - ...o, + const t = e?.coingecko_data, c = e?.friendlymarket_data; + return t ? { + ...t, iconPath: "assets/icons/logos/coingecko_logo.png", website: e?.coingecko_id ? `https://www.coingecko.com/en/coins/${e.coingecko_id}` : null - } : g ? { - ...g, + } : c ? { + ...c, iconPath: "assets/icons/logos/fm_logo.png", website: e?.latest_version_contract_hash ? `https://www.friendly.market/swap/CSPR/${e.latest_version_contract_hash}` : null } : { @@ -44128,551 +46047,551 @@ const bC = (e) => e ? Object.entries(e).map((o) => ({ iconPath: null, website: null }; -}, OC = (e) => { - const o = AC(e?.contractPackageInfo); +}, bM = (e) => { + const t = vM(e?.contractPackageInfo); if (e?.isShiboo) return { symbol: "SHIBOO", decimals: 18, - ...o + ...t }; if (!e?.contractPackageInfo) return { symbol: null, decimals: null, - ...o + ...t }; const { - metadata: g + metadata: c } = e.contractPackageInfo; return { - symbol: g?.symbol ?? null, - decimals: g?.decimals != null ? g?.decimals : null, - ...o + symbol: c?.symbol ?? null, + decimals: c?.decimals != null ? c?.decimals : null, + ...t }; }; -function TC({ +function wM({ amount: e, - symbol: o, - contractPackage: g, - precisionCase: C + symbol: t, + contractPackage: c, + precisionCase: h }) { if (!e) - return /* @__PURE__ */ $(At, { children: "-" }); - const P = OC(g ? { - contractPackageInfo: g + return /* @__PURE__ */ W(pt, { children: "-" }); + const S = bM(c ? { + contractPackageInfo: c } : null); - return /* @__PURE__ */ $(je, { itemsSpacing: 4, children: /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(Ld, { amount: e, symbol: P.symbol || o, decimals: P.decimals ?? void 0, precision: C ? h0(C) : Bl, shouldShortenAmount: !0 }) }) }); + return /* @__PURE__ */ W(je, { itemsSpacing: 4, children: /* @__PURE__ */ W(je, { children: /* @__PURE__ */ W(K1, { amount: e, symbol: S.symbol || t, decimals: S.decimals ?? void 0, precision: h ? $u(h) : Kd, shouldShortenAmount: !0 }) }) }); } -const Ki = ({ +const Wa = ({ type: e, - accountInfo: o, - contractPackage: g, - publicKey: C, - hash: P, - csprName: x, + accountInfo: t, + contractPackage: c, + publicKey: h, + hash: S, + csprName: g, loading: n, - hashLength: c, + hashLength: s, hashFontSize: r = "xs", - minifiedCopyNotification: a = !0, + minifiedCopyNotification: o = !0, avatarSize: i = "default", - withName: m = !1, - csprLiveDomainPath: t + withName: p = !1, + csprLiveDomainPath: a }) => { - const f = lo(o); - return e && e === jr.hash ? /* @__PURE__ */ $(fo, { hash: P || "", hashLength: c, hashFontSize: r, avatarSize: i, loading: n, hideContractType: !0, withName: m, path: `${t}/contract-package/${P}`, contractPackage: g ?? void 0 }) : /* @__PURE__ */ $(Dn, { logo: f && f?.logo, name: f?.name, hash: C || P, csprName: x || void 0, loading: n, hashLength: c, navigateToPath: `${t}/account/${C || P}`, avatarSize: i, hashFontSize: r, minifiedCopyNotification: a }); -}, Fd = ({ + const f = Fo(t); + return e && e === Nn.hash ? /* @__PURE__ */ W(zo, { hash: S || "", hashLength: s, hashFontSize: r, avatarSize: i, loading: n, hideContractType: !0, withName: p, path: `${a}/contract-package/${S}`, contractPackage: c ?? void 0 }) : /* @__PURE__ */ W(oo, { logo: f && f?.logo, name: f?.name, hash: h || S, csprName: g || void 0, loading: n, hashLength: s, navigateToPath: `${a}/account/${h || S}`, avatarSize: i, hashFontSize: r, minifiedCopyNotification: o }); +}, eh = ({ amount: e, - contractPackage: o, - from_public_key: g, - from_hash: C, - from_type: P, - to_hash: x, + contractPackage: t, + from_public_key: c, + from_hash: h, + from_type: S, + to_hash: g, to_type: n, - to_public_key: c, + to_public_key: s, actionName: r, - prefix: a, + prefix: o, senderPrefix: i, - to_account_info: m, - from_account_info: t, + to_account_info: p, + from_account_info: a, to_centralized_account_info: f, - from_centralized_account_info: b + from_centralized_account_info: C }) => { const { - getAccountInfo: y, - getContractPackageInfoByHash: u, - csprLiveDomainPath: d - } = hr(), l = y(g || C || ""), s = y(c || x || ""); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: r }), - a && /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: a }), - e && /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(TC, { amount: e, precisionCase: Hn.deployCost, contractPackage: o }) }), - /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 2, children: [ - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: "(" }), - /* @__PURE__ */ $(fo, { hash: o?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: o, path: `${d}/contract-package/${o?.contract_package_hash}`, hideContractType: !0 }), - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: ") token(s)" }) + getAccountInfo: w, + getContractPackageInfoByHash: m, + csprLiveDomainPath: v + } = gn(), l = w(c || h || ""), u = w(s || g || ""); + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: r }), + o && /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: o }), + e && /* @__PURE__ */ W(Be, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ W(wM, { amount: e, precisionCase: to.deployCost, contractPackage: t }) }), + /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 2, children: [ + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: "(" }), + /* @__PURE__ */ W(zo, { hash: t?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: t, path: `${v}/contract-package/${t?.contract_package_hash}`, hideContractType: !0 }), + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: ") token(s)" }) ] }), - C && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: i }), - /* @__PURE__ */ $(Ki, { type: P, accountInfo: l?.account_info || l?.centralized_account_info || b || t || void 0, contractPackage: u(C) ?? void 0, csprName: l?.cspr_name, publicKey: g, hashFontSize: "sm", avatarSize: "small", hash: C, loading: !1, csprLiveDomainPath: d }) + h && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: i }), + /* @__PURE__ */ W(Wa, { type: S, accountInfo: l?.account_info || l?.centralized_account_info || C || a || void 0, contractPackage: m(h) ?? void 0, csprName: l?.cspr_name, publicKey: c, hashFontSize: "sm", avatarSize: "small", hash: h, loading: !1, csprLiveDomainPath: v }) ] }), - x && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(Ki, { type: n, accountInfo: s?.account_info || s?.centralized_account_info || f || m || void 0, contractPackage: u(x) ?? void 0, csprName: s?.cspr_name, publicKey: c, hashFontSize: "sm", avatarSize: "small", hash: x, loading: !1, csprLiveDomainPath: d }) + g && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), + /* @__PURE__ */ W(Wa, { type: n, accountInfo: u?.account_info || u?.centralized_account_info || f || p || void 0, contractPackage: m(g) ?? void 0, csprName: u?.cspr_name, publicKey: s, hashFontSize: "sm", avatarSize: "small", hash: g, loading: !1, csprLiveDomainPath: v }) ] }) ] }); }; -var rn = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Transfer = 2] = "Transfer", e[e.Approve = 3] = "Approve", e[e.Burn = 4] = "Burn", e))(rn || {}); -const IC = { +var Yn = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Transfer = 2] = "Transfer", e[e.Approve = 3] = "Approve", e[e.Burn = 4] = "Burn", e))(Yn || {}); +const CM = { 1: "Mint", 2: "Transfer", 3: "Approve", 4: "Burn" }; -var dr = /* @__PURE__ */ ((e) => (e.approve = "approve", e.mint = "mint", e.burn = "burn", e.transfer = "transfer", e.transfer_with_authorization = "transfer_with_authorization", e))(dr || {}); -function xM(e) { +var yn = /* @__PURE__ */ ((e) => (e.approve = "approve", e.mint = "mint", e.burn = "burn", e.transfer = "transfer", e.transfer_with_authorization = "transfer_with_authorization", e))(yn || {}); +function yT(e) { return e; } -var da = /* @__PURE__ */ ((e) => (e.HASH = "hash-", e.CONTRACT = "contract-", e.UREF = "uref-", e.DEPLOY = "deploy-", e.ERA_INFO_PREFIX = "era-", e.BALANCE_PREFIX = "balance-", e.BID_PREFIX = "bid-", e.WITHDRAW_PREFIX = "withdraw-", e.DICTIONARY_PREFIX = "dictionary-", e.ACCOUNT_HASH = "account-hash-", e.CONTRACT_PACKAGE = "contract-package-", e))(da || {}); -const Dc = new RegExp(/^(?:(entity-)?contract(?:-package)?|account-hash|dictionary|withdraw|balance|deploy|uref|hash|era|bid)-[0-9a-f]{64}(?:-\d{3})?$/gi), EM = new RegExp(`(${Object.values(da).join("|")})(?=[0-9a-fA-F])`, "i"), NC = (e) => typeof e == "string" && Object.values(da).some((o) => (e || "").includes(o)), PM = (e) => NC(e) && e.match(Dc) ? e.match(Dc)[0] : "", LC = (e) => { - const o = Qt(e.recipient, "Hash"), g = Qt(e.recipient, "Account"), C = Qt(e.owner, "Account"), P = Qt(e.spender, "Hash"), x = Qt(e.to, "Account"); +var ys = /* @__PURE__ */ ((e) => (e.HASH = "hash-", e.CONTRACT = "contract-", e.UREF = "uref-", e.DEPLOY = "deploy-", e.ERA_INFO_PREFIX = "era-", e.BALANCE_PREFIX = "balance-", e.BID_PREFIX = "bid-", e.WITHDRAW_PREFIX = "withdraw-", e.DICTIONARY_PREFIX = "dictionary-", e.ACCOUNT_HASH = "account-hash-", e.CONTRACT_PACKAGE = "contract-package-", e))(ys || {}); +const $2 = new RegExp(/^(?:(entity-)?contract(?:-package)?|account-hash|dictionary|withdraw|balance|deploy|uref|hash|era|bid)-[0-9a-f]{64}(?:-\d{3})?$/gi), mT = new RegExp(`(${Object.values(ys).join("|")})(?=[0-9a-fA-F])`, "i"), SM = (e) => typeof e == "string" && Object.values(ys).some((t) => (e || "").includes(t)), gT = (e) => SM(e) && e.match($2) ? e.match($2)[0] : "", _M = (e) => { + const t = tn(e.recipient, "Hash"), c = tn(e.recipient, "Account"), h = tn(e.owner, "Account"), S = tn(e.spender, "Hash"), g = tn(e.to, "Account"); return { - recipientHash: o, - recipientAccountHash: g, - ownerHash: C, - spenderHash: P, - toAccountHash: x + recipientHash: t, + recipientAccountHash: c, + ownerHash: h, + spenderHash: S, + toAccountHash: g }; -}, RC = (e, o) => { +}, EM = (e, t) => { const { - entryPoint: g, - args: C, - contractPackage: P - } = e, x = g?.name || "", n = e.args.amount?.parsed, c = { - [dr.transfer]: "Transfer", - [dr.approve]: "Approve transfer rights", - [dr.burn]: "Burn", - [dr.mint]: "Mint", - [dr.transfer_with_authorization]: "Authorized transfer" + entryPoint: c, + args: h, + contractPackage: S + } = e, g = c?.name || "", n = e.args.amount?.parsed, s = { + [yn.transfer]: "Transfer", + [yn.approve]: "Approve transfer rights", + [yn.burn]: "Burn", + [yn.mint]: "Mint", + [yn.transfer_with_authorization]: "Authorized transfer" }, r = { - [dr.transfer]: "of", - [dr.transfer_with_authorization]: "of", - [dr.burn]: "of", - [dr.mint]: "of", - [dr.approve]: "for" - }, a = { - [dr.transfer]: "from", - [dr.transfer_with_authorization]: "from", - [dr.burn]: "owned by", - [dr.mint]: "to", - [dr.approve]: "to" + [yn.transfer]: "of", + [yn.transfer_with_authorization]: "of", + [yn.burn]: "of", + [yn.mint]: "of", + [yn.approve]: "for" + }, o = { + [yn.transfer]: "from", + [yn.transfer_with_authorization]: "from", + [yn.burn]: "owned by", + [yn.mint]: "to", + [yn.approve]: "to" }, { recipientHash: i, - recipientAccountHash: m, - ownerHash: t, + recipientAccountHash: p, + ownerHash: a, spenderHash: f, - toAccountHash: b - } = LC(C), y = i || m || t || f || b; - if (c[x] === void 0 || !n || !y) + toAccountHash: C + } = _M(h), w = i || p || a || f || C; + if (s[g] === void 0 || !n || !w) return null; - const u = P.metadata?.symbol, d = a[x], l = r[x], s = (p) => p?.prefix === da.ACCOUNT_HASH, v = { + const m = S.metadata?.symbol, v = o[g], l = r[g], u = (d) => d?.prefix === ys.ACCOUNT_HASH, y = { amount: n, - ...u && { - symbol: u + ...m && { + symbol: m }, ...l && { contractPrefix: l }, - ...t?.hash && { - prefix1: d, + ...a?.hash && { + prefix1: v, account1: { - hash: t?.hash, - publicKey: t?.hash && o(t.hash), - hashType: jr.account + hash: a?.hash, + publicKey: a?.hash && t(a.hash), + hashType: Nn.account } }, - ...b?.hash && { + ...C?.hash && { prefix2: "to", account2: { - hash: b?.hash, - publicKey: b?.hash && o(b.hash), - hashType: jr.account + hash: C?.hash, + publicKey: C?.hash && t(C.hash), + hashType: Nn.account } }, ...f?.hash && { - prefix1: d, + prefix1: v, account1: { hash: f?.hash, - publicKey: s(f) ? f?.hash && o(f.hash) : null, - hashType: s(f) ? jr.account : jr.hash + publicKey: u(f) ? f?.hash && t(f.hash) : null, + hashType: u(f) ? Nn.account : Nn.hash } }, // here could be a case when recipientAccountHash and recipientHash are both present // so, we need to avoid overwriting recipientAccountHash with recipientHash - ...m?.hash ? { + ...p?.hash ? { prefix2: "to", account2: { - hash: m?.hash, - publicKey: m?.hash && o(m.hash), - hashType: jr.account + hash: p?.hash, + publicKey: p?.hash && t(p.hash), + hashType: Nn.account } } : { prefix2: "to", account2: { hash: i?.hash, - hashType: jr.hash + hashType: Nn.hash } } }; return { - entryPointName: x, - actionName: c[x] || x, - ...v + entryPointName: g, + actionName: s[g] || g, + ...y }; -}, kC = (e) => { - const o = Qt(e.token_owner, "Account"), g = Qt(e.owner, "Account"), C = Qt(e.from, "Account"), P = Qt(e.source_key, "Account"), x = Qt(e.target_key, "Account"), n = Qt(e.recipient, "Account"), c = Qt(e.spender, "Account"), r = Qt(e.spender, "Hash"), a = Qt(e.operator, "Hash"), i = Qt(e.to, "Account"); +}, xM = (e) => { + const t = tn(e.token_owner, "Account"), c = tn(e.owner, "Account"), h = tn(e.from, "Account"), S = tn(e.source_key, "Account"), g = tn(e.target_key, "Account"), n = tn(e.recipient, "Account"), s = tn(e.spender, "Account"), r = tn(e.spender, "Hash"), o = tn(e.operator, "Hash"), i = tn(e.to, "Account"); return { - tokenOwner: o, - owner: g, - sourceKey: P, - targetKey: x, + tokenOwner: t, + owner: c, + sourceKey: S, + targetKey: g, recipientHash: n, contractSpenderHash: r, - operatorHash: a, - accountSpenderHash: c, - from: C, + operatorHash: o, + accountSpenderHash: s, + from: h, to: i }; -}, BC = (e, o) => { +}, MM = (e, t) => { const { - entryPoint: g, - args: C - } = e, P = g?.name || "", x = { - [Xt.transfer]: "Transfer", - [Xt.transfer_from]: "Transfer", - [Xt.approve]: "Approve transfer rights", - [Xt.burn]: "Burn", - [Xt.mint]: "Mint", - [Xt.update_token_meta]: "Update metadata", - [Xt.set_approval_for_all]: "Approve transfer rights" + entryPoint: c, + args: h + } = e, S = c?.name || "", g = { + [Qt.transfer]: "Transfer", + [Qt.transfer_from]: "Transfer", + [Qt.approve]: "Approve transfer rights", + [Qt.burn]: "Burn", + [Qt.mint]: "Mint", + [Qt.update_token_meta]: "Update metadata", + [Qt.set_approval_for_all]: "Approve transfer rights" }, n = { - [Xt.approve]: "for", - [Xt.update_token_meta]: "for", - [Xt.mint]: "of", - [Xt.set_approval_for_all]: "of" - }, c = { - [Xt.transfer]: "from", - [Xt.transfer_from]: "from", - [Xt.burn]: "owned by", - [Xt.approve]: "to", - [Xt.mint]: "to" + [Qt.approve]: "for", + [Qt.update_token_meta]: "for", + [Qt.mint]: "of", + [Qt.set_approval_for_all]: "of" + }, s = { + [Qt.transfer]: "from", + [Qt.transfer_from]: "from", + [Qt.burn]: "owned by", + [Qt.approve]: "to", + [Qt.mint]: "to" }; - if (x[P] === void 0) + if (g[S] === void 0) return null; - const r = CC(C), { - recipientHash: a, + const r = dM(h), { + recipientHash: o, tokenOwner: i, - contractSpenderHash: m, - operatorHash: t, + contractSpenderHash: p, + operatorHash: a, sourceKey: f, - owner: b, - targetKey: y, - accountSpenderHash: u, - from: d, + owner: C, + targetKey: w, + accountSpenderHash: m, + from: v, to: l - } = kC(C), s = i?.hash || f?.hash || b?.hash || u?.hash || d?.hash, v = a?.hash || y?.hash || l?.hash, p = n[P], h = c[P], O = { + } = xM(h), u = i?.hash || f?.hash || C?.hash || m?.hash || v?.hash, y = o?.hash || w?.hash || l?.hash, d = n[S], b = s[S], _ = { nftTokenIds: r, - contractPrefix: p, - ...s && { - prefix1: h, + contractPrefix: d, + ...u && { + prefix1: b, account1: { - hash: s, - publicKey: s && o(s), - hashType: jr.account + hash: u, + publicKey: u && t(u), + hashType: Nn.account } }, - ...m?.hash && { - prefix1: h, + ...p?.hash && { + prefix1: b, account1: { - hash: m?.hash, - hashType: jr.hash + hash: p?.hash, + hashType: Nn.hash } }, - ...v && { + ...y && { account2: { - hash: v, - publicKey: v && o(v), - hashType: jr.account + hash: y, + publicKey: y && t(y), + hashType: Nn.account } }, - ...t?.hash && { + ...a?.hash && { account2: { - hash: t?.hash, - hashType: jr.hash + hash: a?.hash, + hashType: Nn.hash } } }; return { - entryPointName: P, - actionName: x[P] || P, - ...O + entryPointName: S, + actionName: g[S] || S, + ..._ }; -}, HC = ({ +}, PM = ({ deploy: e }) => { const { - getPublicKeyAccountHash: o - } = hr(), g = RC(e, o); - if (!g) - return /* @__PURE__ */ $(m0, { deploy: e }); + getPublicKeyAccountHash: t + } = gn(), c = EM(e, t); + if (!c) + return /* @__PURE__ */ W(qu, { deploy: e }); const { - amount: C, - actionName: P, - contractPrefix: x, + amount: h, + actionName: S, + contractPrefix: g, account1: n, - prefix1: c, + prefix1: s, account2: r - } = g; - return /* @__PURE__ */ $(Fd, { amount: C, contractPackage: e.contractPackage, actionName: P, prefix: x, senderPrefix: c, to_hash: r?.hash, to_public_key: r?.publicKey, to_type: r?.hashType, from_type: n?.hashType, from_hash: n?.hash, from_public_key: n?.publicKey }); -}, Kd = ({ + } = c; + return /* @__PURE__ */ W(eh, { amount: h, contractPackage: e.contractPackage, actionName: S, prefix: g, senderPrefix: s, to_hash: r?.hash, to_public_key: r?.publicKey, to_type: r?.hashType, from_type: n?.hashType, from_hash: n?.hash, from_public_key: n?.publicKey }); +}, th = ({ actionName: e, - nftTokenIds: o, - contractPackage: g + nftTokenIds: t, + contractPackage: c }) => { const { - csprLiveDomainPath: C - } = hr(); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: "for" }), - /* @__PURE__ */ $(ho, { contractPackage: g, path: `${C}/contract-package/${g.contract_package_hash}` }), - /* @__PURE__ */ $(ti, { nftTokenIds: o, collectionHash: g.contract_package_hash, csprLiveDomainPath: C }) + csprLiveDomainPath: h + } = gn(); + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: "for" }), + /* @__PURE__ */ W(Ko, { contractPackage: c, path: `${h}/contract-package/${c.contract_package_hash}` }), + /* @__PURE__ */ W(ji, { nftTokenIds: t, collectionHash: c.contract_package_hash, csprLiveDomainPath: h }) ] }); -}, Wd = ({ +}, nh = ({ actionName: e, - contractPrefix: o, - senderPrefix: g, - nftTokenIds: C, - contract_package: P, - from_public_key: x, + contractPrefix: t, + senderPrefix: c, + nftTokenIds: h, + contract_package: S, + from_public_key: g, from_hash: n, - from_type: c, + from_type: s, to_hash: r, - to_public_key: a, + to_public_key: o, to_type: i }) => { const { - getAccountInfo: m, - getContractPackageInfoByHash: t, + getAccountInfo: p, + getContractPackageInfoByHash: a, csprLiveDomainPath: f - } = hr(), b = m(x || n || ""), y = m(a || r || ""); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), - o && /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: o }), - /* @__PURE__ */ $(ho, { contractPackage: P, path: `${f}/contract-package/${P.contract_package_hash}` }), - /* @__PURE__ */ $(ti, { nftTokenIds: C, collectionHash: P?.contract_package_hash, csprLiveDomainPath: f }), - n && /* @__PURE__ */ Pe(At, { children: [ - g && /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: g }), - /* @__PURE__ */ $(Ki, { type: c, accountInfo: b?.account_info || b?.centralized_account_info || void 0, contractPackage: t(n) ?? void 0, csprName: b?.cspr_name, loading: !n, publicKey: x, hashFontSize: "sm", avatarSize: "small", hash: n, csprLiveDomainPath: f }) + } = gn(), C = p(g || n || ""), w = p(o || r || ""); + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), + t && /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: t }), + /* @__PURE__ */ W(Ko, { contractPackage: S, path: `${f}/contract-package/${S.contract_package_hash}` }), + /* @__PURE__ */ W(ji, { nftTokenIds: h, collectionHash: S?.contract_package_hash, csprLiveDomainPath: f }), + n && /* @__PURE__ */ Le(pt, { children: [ + c && /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: c }), + /* @__PURE__ */ W(Wa, { type: s, accountInfo: C?.account_info || C?.centralized_account_info || void 0, contractPackage: a(n) ?? void 0, csprName: C?.cspr_name, loading: !n, publicKey: g, hashFontSize: "sm", avatarSize: "small", hash: n, csprLiveDomainPath: f }) ] }), - r && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(Ki, { type: i, accountInfo: y?.account_info || y?.centralized_account_info || void 0, contractPackage: t(r) ?? void 0, loading: !r, csprName: y?.cspr_name, publicKey: a, hashFontSize: "sm", avatarSize: "small", hash: r, csprLiveDomainPath: f }) + r && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), + /* @__PURE__ */ W(Wa, { type: i, accountInfo: w?.account_info || w?.centralized_account_info || void 0, contractPackage: a(r) ?? void 0, loading: !r, csprName: w?.cspr_name, publicKey: o, hashFontSize: "sm", avatarSize: "small", hash: r, csprLiveDomainPath: f }) ] }) ] }); -}, jC = ({ +}, OM = ({ deploy: e }) => { const { - contractPackage: o, - args: g + contractPackage: t, + args: c } = e, { - csprLiveDomainPath: C, - getContractPackageInfoByHash: P - } = hr(), x = g.operator && Qt(g.operator, "Hash"); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "Approve transfer rights" }), - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: "of" }), - /* @__PURE__ */ $(Ae, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "all" }), - /* @__PURE__ */ $(ho, { path: `${C}/contract-package/${o.contract_package_hash}`, contractPackage: o }), - x && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Ae, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(fo, { hash: x.hash, avatarSize: "small", hashFontSize: "sm", path: `${C}/contract-package/${x.hash}`, contractPackage: P(x.hash) ?? void 0 }) + csprLiveDomainPath: h, + getContractPackageInfoByHash: S + } = gn(), g = c.operator && tn(c.operator, "Hash"); + return /* @__PURE__ */ Le(je, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "Approve transfer rights" }), + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: "of" }), + /* @__PURE__ */ W(Be, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "all" }), + /* @__PURE__ */ W(Ko, { path: `${h}/contract-package/${t.contract_package_hash}`, contractPackage: t }), + g && /* @__PURE__ */ Le(pt, { children: [ + /* @__PURE__ */ W(Be, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), + /* @__PURE__ */ W(zo, { hash: g.hash, avatarSize: "small", hashFontSize: "sm", path: `${h}/contract-package/${g.hash}`, contractPackage: S(g.hash) ?? void 0 }) ] }) ] }); -}, DC = ({ +}, TM = ({ deploy: e }) => { const { - getPublicKeyAccountHash: o - } = hr(), g = BC(e, o); - if (!g) - return /* @__PURE__ */ $(m0, { deploy: e }); + getPublicKeyAccountHash: t + } = gn(), c = MM(e, t); + if (!c) + return /* @__PURE__ */ W(qu, { deploy: e }); const { - entryPointName: C, - actionName: P, - nftTokenIds: x, + entryPointName: h, + actionName: S, + nftTokenIds: g, contractPrefix: n, - account1: c, + account1: s, account2: r, - prefix1: a - } = g; - return C === Xt.set_approval_for_all ? /* @__PURE__ */ $(jC, { deploy: e }) : C === Xt.update_token_meta ? /* @__PURE__ */ $(Kd, { actionName: P, contractPackage: e.contractPackage, nftTokenIds: x }) : /* @__PURE__ */ $(Wd, { actionName: P, senderPrefix: a, contractPrefix: n, nftTokenIds: x, contract_package: e.contractPackage, from_public_key: c?.publicKey, from_hash: c?.hash, from_type: c?.hashType, to_type: r?.hashType, to_public_key: r?.publicKey, to_hash: r?.hash }); -}, VC = ({ + prefix1: o + } = c; + return h === Qt.set_approval_for_all ? /* @__PURE__ */ W(OM, { deploy: e }) : h === Qt.update_token_meta ? /* @__PURE__ */ W(th, { actionName: S, contractPackage: e.contractPackage, nftTokenIds: g }) : /* @__PURE__ */ W(nh, { actionName: S, senderPrefix: o, contractPrefix: n, nftTokenIds: g, contract_package: e.contractPackage, from_public_key: s?.publicKey, from_hash: s?.hash, from_type: s?.hashType, to_type: r?.hashType, to_public_key: r?.publicKey, to_hash: r?.hash }); +}, AM = ({ deploy: e, - deployRawData: o, - loading: g, - actionIdentificationHashes: C + deployRawData: t, + loading: c, + actionIdentificationHashes: h }) => { const { - executionTypeId: P, - entryPoint: x, + executionTypeId: S, + entryPoint: g, contractPackage: n, - contractHash: c, + contractHash: s, contractPackageHash: r - } = e, i = Fi(P) && o?.data ? fC(Ft.Transaction.fromJSON(o?.data)) : null, m = { + } = e, i = Ka(S) && t?.data ? nM(kt.Transaction.fromJSON(t?.data)) : null, p = { ...e, args: { ...e.args, ...i || null } - }, t = Rw[P], f = Nd(c, x?.name, C?.native_transfer_contract_hash || ""), b = Bw(P), y = m.args?.csprfun_contract_hash_key && m?.args?.token_to_trade_contract_hash_key; - if (g) - return /* @__PURE__ */ $(Ae, { size: 3, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ $(io, {}) }); - if (f && m.transfers) - return /* @__PURE__ */ $(Bd, { loading: g, timeTransactionCurrencyRate: m.timeTransactionCurrencyRate, transfer: m.transfers[0], actionPoolAccountHash: C.auction_pool_account_hash }); - if (b && !y) - return /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: t }); - if (y) - return /* @__PURE__ */ $(rC, { deploy: m }); + }, a = Ex[S], f = z1(s, g?.name, h?.native_transfer_contract_hash || ""), C = Mx(S), w = p.args?.csprfun_contract_hash_key && p?.args?.token_to_trade_contract_hash_key; + if (c) + return /* @__PURE__ */ W(Be, { size: 3, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ W(Bo, {}) }); + if (f && p.transfers) + return /* @__PURE__ */ W($1, { loading: c, timeTransactionCurrencyRate: p.timeTransactionCurrencyRate, transfer: p.transfers[0], actionPoolAccountHash: h.auction_pool_account_hash }); + if (C && !w) + return /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: a }); + if (w) + return /* @__PURE__ */ W(Jx, { deploy: p }); if (!n) - return /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: "N/A" }); - const u = n.latest_version_contract_type_id || n.contract_type_id; - return c === C.auction_manager_contract_hash ? /* @__PURE__ */ $(aC, { deploy: m }) : c === C.associated_keys_contract_hash ? /* @__PURE__ */ $(zd, { deploy: m, deployRawData: o }) : r === C.cspr_market_v1_contract_package_hash || r === C.cspr_market_contract_package_hash ? /* @__PURE__ */ $(PC, { deploy: m }) : u === Pt.CustomCep18 || u === Pt.Cep18 ? /* @__PURE__ */ $(HC, { deploy: m }) : u === Pt.CEP78Nft || u === Pt.CEP47Nft || u === Pt.CustomCEP78Nft || u === Pt.CustomCEP47Nft || u === Pt.CEP95Nft ? /* @__PURE__ */ $(DC, { deploy: m }) : /* @__PURE__ */ $(m0, { deploy: m }); -}, Vc = (e) => { + return /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: "N/A" }); + const m = n.latest_version_contract_type_id || n.contract_type_id; + return s === h.auction_manager_contract_hash ? /* @__PURE__ */ W(Zx, { deploy: p }) : s === h.associated_keys_contract_hash ? /* @__PURE__ */ W(Q1, { deploy: p, deployRawData: t }) : r === h.cspr_market_v1_contract_package_hash || r === h.cspr_market_contract_package_hash ? /* @__PURE__ */ W(gM, { deploy: p }) : m === St.CustomCep18 || m === St.Cep18 ? /* @__PURE__ */ W(PM, { deploy: p }) : m === St.CEP78Nft || m === St.CEP47Nft || m === St.CustomCEP78Nft || m === St.CustomCEP47Nft || m === St.CEP95Nft ? /* @__PURE__ */ W(TM, { deploy: p }) : /* @__PURE__ */ W(qu, { deploy: p }); +}, G2 = (e) => { const { - getAccountInfo: o, - getContractPackageInfoByHash: g, - getContractInfoByHash: C, - deployRawData: P, - loading: x, + getAccountInfo: t, + getContractPackageInfoByHash: c, + getContractInfoByHash: h, + deployRawData: S, + loading: g, deploy: n, - actionIdentificationHashes: c, + actionIdentificationHashes: s, csprLiveDomainPath: r } = e; - return /* @__PURE__ */ $(kd, { getAccountInfo: o, getContractPackageInfoByHash: g, getContractInfoByHash: C, csprLiveDomainPath: r, children: /* @__PURE__ */ $(VC, { deploy: n, deployRawData: P, loading: x, actionIdentificationHashes: c }) }); -}, UC = { - [Dr.Approve]: "Granted transfer rights", - [Dr.Burn]: "Burned", - [Dr.Mint]: "Minted", - [Dr.Transfer]: "Transferred", - [Dr.Metadata]: "Updated metadata" -}, zC = { - [Dr.Transfer]: "from", - [Dr.Burn]: "owned by" -}, FC = ({ + return /* @__PURE__ */ W(J1, { getAccountInfo: t, getContractPackageInfoByHash: c, getContractInfoByHash: h, csprLiveDomainPath: r, children: /* @__PURE__ */ W(AM, { deploy: n, deployRawData: S, loading: g, actionIdentificationHashes: s }) }); +}, LM = { + [Rn.Approve]: "Granted transfer rights", + [Rn.Burn]: "Burned", + [Rn.Mint]: "Minted", + [Rn.Transfer]: "Transferred", + [Rn.Metadata]: "Updated metadata" +}, IM = { + [Rn.Transfer]: "from", + [Rn.Burn]: "owned by" +}, NM = ({ nftAction: e }) => { const { - token_id: o, - nft_action_id: g, - from_hash: C, - contract_package: P - } = e, x = UC[g], n = g === Dr.Approve ? "for" : null, c = zC[g]; - if (!P) return null; - if (g === Dr.Metadata) - return /* @__PURE__ */ $(Kd, { nftTokenIds: [o], actionName: x, contractPackage: P }); - const r = g === Dr.Transfer || g === Dr.Burn ? C : null; - return /* @__PURE__ */ $(Wd, { ...e, actionName: x, contractPrefix: n, senderPrefix: c, nftTokenIds: [o], from_hash: r }); -}, KC = { - [rn.Approve]: "Granted transfer rights", - [rn.Transfer]: "Transferred", - [rn.Burn]: "Burned", - [rn.Mint]: "Minted" -}, WC = { - [rn.Transfer]: "from", - [rn.Approve]: "to", - [rn.Burn]: "owned by" -}, JC = ({ + token_id: t, + nft_action_id: c, + from_hash: h, + contract_package: S + } = e, g = LM[c], n = c === Rn.Approve ? "for" : null, s = IM[c]; + if (!S) return null; + if (c === Rn.Metadata) + return /* @__PURE__ */ W(th, { nftTokenIds: [t], actionName: g, contractPackage: S }); + const r = c === Rn.Transfer || c === Rn.Burn ? h : null; + return /* @__PURE__ */ W(nh, { ...e, actionName: g, contractPrefix: n, senderPrefix: s, nftTokenIds: [t], from_hash: r }); +}, BM = { + [Yn.Approve]: "Granted transfer rights", + [Yn.Transfer]: "Transferred", + [Yn.Burn]: "Burned", + [Yn.Mint]: "Minted" +}, RM = { + [Yn.Transfer]: "from", + [Yn.Approve]: "to", + [Yn.Burn]: "owned by" +}, kM = ({ ftAction: e }) => { - const o = KC[e.ft_action_type_id], g = e.ft_action_type_id === rn.Approve ? "for" : null, C = WC[e.ft_action_type_id]; - return /* @__PURE__ */ $(Fd, { ...e, contractPackage: e.contract_package, actionName: o, prefix: g, senderPrefix: C, from_hash: e.ft_action_type_id === rn.Approve ? null : e.from_hash }); -}, $C = be(je).withConfig({ + const t = BM[e.ft_action_type_id], c = e.ft_action_type_id === Yn.Approve ? "for" : null, h = RM[e.ft_action_type_id]; + return /* @__PURE__ */ W(eh, { ...e, contractPackage: e.contract_package, actionName: t, prefix: c, senderPrefix: h, from_hash: e.ft_action_type_id === Yn.Approve ? null : e.from_hash }); +}, HM = xe(je).withConfig({ displayName: "expand-collapsed-button__CollapsedRow", componentId: "sc-q2dzqr-0" })(({ theme: e, - hasTopMargin: o + hasTopMargin: t }) => ({ - marginTop: o ? "8px" : "unset", + marginTop: t ? "8px" : "unset", "&:hover": { span: { color: e.styleguideColors.contentRed }, - [`${_t}`]: { + [`${vt}`]: { path: { fill: e.styleguideColors.contentRed } } } -})), Jd = ({ +})), rh = ({ expandedLabel: e, - collapsedLabel: o, - showArrow: g = !0, - hasTopMargin: C = !0, - onExpand: P + collapsedLabel: t, + showArrow: c = !0, + hasTopMargin: h = !0, + onExpand: S }) => { - const [x, n] = Ct(!0); - return /* @__PURE__ */ $($C, { align: "center", onClick: () => { - n(!x), P && P(!x); - }, hasTopMargin: C, children: /* @__PURE__ */ Pe(Ae, { scale: "xs", lineHeight: "xs", size: 3, variation: "blue", children: [ - x ? o : e, - g && /* @__PURE__ */ $(_t, { src: so, alt: "Arrow icon", marginLeft: !0, rotate: !x }) + const [g, n] = ft(!0); + return /* @__PURE__ */ W(HM, { align: "center", onClick: () => { + n(!g), S && S(!g); + }, hasTopMargin: h, children: /* @__PURE__ */ Le(Be, { scale: "xs", lineHeight: "xs", size: 3, variation: "blue", children: [ + g ? t : e, + c && /* @__PURE__ */ W(vt, { src: ko, alt: "Arrow icon", marginLeft: !0, rotate: !g }) ] }) }); }; -Jd.displayName = "ExpandCollapsedButton"; -var ns = /* @__PURE__ */ ((e) => (e[e.Small = 14] = "Small", e[e.Medium = 16] = "Medium", e))(ns || {}), $d = /* @__PURE__ */ ((e) => (e.Success = "success", e.Processed = "processed", e.Error = "error", e.Executed = "executed", e.Pending = "pending", e.Expired = "expired", e))($d || {}); -const Uc = { - success: $i, - pending: ol, - error: Ji, - expired: zf -}, GC = { +rh.displayName = "ExpandCollapsedButton"; +var Cc = /* @__PURE__ */ ((e) => (e[e.Small = 14] = "Small", e[e.Medium = 16] = "Medium", e))(Cc || {}), oh = /* @__PURE__ */ ((e) => (e.Success = "success", e.Processed = "processed", e.Error = "error", e.Executed = "executed", e.Pending = "pending", e.Expired = "expired", e))(oh || {}); +const q2 = { + success: $a, + pending: fd, + error: Ja, + expired: Wh +}, jM = { success: "contentGreen", pending: "contentLightBlue", error: "contentRed", expired: "contentTertiary" -}, zc = be.span.withConfig({ +}, Z2 = xe.span.withConfig({ displayName: "deploy-status__SvgIconWrapper", componentId: "sc-xiowcz-0" })(({ theme: e, - status: o + status: t }) => ({ - color: e.styleguideColors[GC[o]], + color: e.styleguideColors[jM[t]], marginRight: 8, display: "flex", alignItems: "center" -})), Gd = (e) => e && e?.status && e?.status !== "processed" && e?.status !== "executed" ? e?.status : e?.errorMessage ? "error" : "success", Fc = ({ +})), ih = (e) => e && e?.status && e?.status !== "processed" && e?.status !== "executed" ? e?.status : e?.errorMessage ? "error" : "success", Y2 = ({ deployResult: e, - iconWithText: o, - size: g = 16 + iconWithText: t, + size: c = 16 /* Medium */ }) => { - const C = { + const h = { success: "Success", processed: "Processed", error: "Error", executed: "Executed", pending: "Pending", expired: "Expired" - }, P = Gd(e), x = e?.errorMessage || C[P]; - return o ? /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(zc, { status: P, children: /* @__PURE__ */ $(_t, { src: Uc[P], size: g, role: "img", alt: `Transaction status: ${P} icon` }) }), - /* @__PURE__ */ $(Ae, { size: 3, children: x }) - ] }) : /* @__PURE__ */ $(Yt, { scale: "xs", lineHeight: "xs", tooltipContent: x.toString(), children: /* @__PURE__ */ $(zc, { status: P, children: /* @__PURE__ */ $(_t, { src: Uc[P], size: g, role: "img", alt: `Transaction status: ${P} icon` }) }) }); -}, qC = be(je).withConfig({ + }, S = ih(e), g = e?.errorMessage || h[S]; + return t ? /* @__PURE__ */ Le(je, { align: "center", children: [ + /* @__PURE__ */ W(Z2, { status: S, children: /* @__PURE__ */ W(vt, { src: q2[S], size: c, role: "img", alt: `Transaction status: ${S} icon` }) }), + /* @__PURE__ */ W(Be, { size: 3, children: g }) + ] }) : /* @__PURE__ */ W(en, { scale: "xs", lineHeight: "xs", tooltipContent: g.toString(), children: /* @__PURE__ */ W(Z2, { status: S, children: /* @__PURE__ */ W(vt, { src: q2[S], size: c, role: "img", alt: `Transaction status: ${S} icon` }) }) }); +}, DM = xe(je).withConfig({ displayName: "deploy-result-row__DefaultResultItem", componentId: "sc-1kjjx0n-0" })(({ @@ -44688,7 +46607,7 @@ const Uc = { borderBottom: e.border.tableRowSeparator }, position: "relative" -})), ZC = be(je).withConfig({ +})), VM = xe(je).withConfig({ displayName: "deploy-result-row__GrayResultItem", componentId: "sc-1kjjx0n-1" })(({ @@ -44707,113 +46626,113 @@ const Uc = { ":not(:first-child)": { marginTop: "8px" } -})), qd = ({ +})), ah = ({ variation: e, - ...o -}) => e === "default" ? /* @__PURE__ */ $(qC, { ...o }) : /* @__PURE__ */ $(ZC, { ...o }), XC = 3; -var os = /* @__PURE__ */ ((e) => (e.default = "default", e.gray = "gray", e))(os || {}); -const YC = (e) => { - const o = (e.nftActions || []).map((x) => ({ - ...x, + ...t +}) => e === "default" ? /* @__PURE__ */ W(DM, { ...t }) : /* @__PURE__ */ W(VM, { ...t }), UM = 3; +var Sc = /* @__PURE__ */ ((e) => (e.default = "default", e.gray = "gray", e))(Sc || {}); +const FM = (e) => { + const t = (e.nftActions || []).map((g) => ({ + ...g, type: 1 /* NFT */ - })), g = (e.ftActions || []).map((x) => ({ - ...x, + })), c = (e.ftActions || []).map((g) => ({ + ...g, type: 2 /* FT */ - })), C = (e.transfers || []).sort((x, n) => (x.transfer_index ?? 0) - (n.transfer_index ?? 0)).map((x) => ({ - ...x, + })), h = (e.transfers || []).sort((g, n) => (g.transfer_index ?? 0) - (n.transfer_index ?? 0)).map((g) => ({ + ...g, type: 5 /* NT */ - })), P = [...o, ...g].sort((x, n) => (x.transform_idx ?? 0) - (n.transform_idx ?? 0)); - return [...C, ...P]; -}, QC = ({ + })), S = [...t, ...c].sort((g, n) => (g.transform_idx ?? 0) - (n.transform_idx ?? 0)); + return [...h, ...S]; +}, zM = ({ deploy: e, - deployRawData: o, - actionIdentificationHashes: g, - actionComponents: C + deployRawData: t, + actionIdentificationHashes: c, + actionComponents: h }) => { - const P = YC(e), x = (r) => { + const S = FM(e), g = (r) => { switch (r.type) { case 1: - return /* @__PURE__ */ $(FC, { nftAction: r }, r.transform_idx); + return /* @__PURE__ */ W(NM, { nftAction: r }, r.transform_idx); case 2: - return /* @__PURE__ */ $(JC, { ftAction: r }, r.transform_idx); + return /* @__PURE__ */ W(kM, { ftAction: r }, r.transform_idx); case 5: - return /* @__PURE__ */ $(Bd, { loading: !1, timeTransactionCurrencyRate: e.timeTransactionCurrencyRate, transfer: r, actionPoolAccountHash: g.auction_pool_account_hash, renderAsResultAction: !0 }, r.transfer_index); + return /* @__PURE__ */ W($1, { loading: !1, timeTransactionCurrencyRate: e.timeTransactionCurrencyRate, transfer: r, actionPoolAccountHash: c.auction_pool_account_hash, renderAsResultAction: !0 }, r.transfer_index); default: return null; } - }, n = e.contractHash === g.associated_keys_contract_hash ? /* @__PURE__ */ $(zd, { deploy: e, deployRawData: o, renderAsResultAction: !0 }) : null, c = P.map((r) => x(r)); - return [n, ...c, ...C || []].filter(ei); -}, e_ = ({ + }, n = e.contractHash === c.associated_keys_contract_hash ? /* @__PURE__ */ W(Q1, { deploy: e, deployRawData: t, renderAsResultAction: !0 }) : null, s = S.map((r) => g(r)); + return [n, ...s, ...h || []].filter(Hi); +}, KM = ({ deploy: e, - actionIdentificationHashes: o, - actionsArray: g, - shouldCollapse: C + actionIdentificationHashes: t, + actionsArray: c, + shouldCollapse: h }) => { - if (!C || g.length > 1) return !1; - const P = e.contractPackage?.latest_version_contract_type_id || e.contractPackage?.contract_type_id; - if (P === Pt.CustomCep18 || P === Pt.Cep18) { - const a = e?.entryPoint?.name.toLowerCase() || "", i = e.ftActions && e.ftActions[0] ? IC[e.ftActions[0].ft_action_type_id].toLowerCase() : null; - return a === i; - } - if (P === Pt.CEP78Nft || P === Pt.CEP47Nft || P === Pt.CustomCEP78Nft || P === Pt.CustomCEP47Nft || P === Pt.CEP95Nft) { - const a = e?.entryPoint?.name || "", i = e.nftActions && e.nftActions[0] ? vC[e.nftActions[0].nft_action_id] : null; - return a === i; - } - const c = Nd(e.contractHash, e.entryPoint?.name, o?.native_transfer_contract_hash || ""), r = e.contractHash === o.associated_keys_contract_hash; - return c || r; -}, t_ = (e) => { + if (!h || c.length > 1) return !1; + const S = e.contractPackage?.latest_version_contract_type_id || e.contractPackage?.contract_type_id; + if (S === St.CustomCep18 || S === St.Cep18) { + const o = e?.entryPoint?.name.toLowerCase() || "", i = e.ftActions && e.ftActions[0] ? CM[e.ftActions[0].ft_action_type_id].toLowerCase() : null; + return o === i; + } + if (S === St.CEP78Nft || S === St.CEP47Nft || S === St.CustomCEP78Nft || S === St.CustomCEP47Nft || S === St.CEP95Nft) { + const o = e?.entryPoint?.name || "", i = e.nftActions && e.nftActions[0] ? cM[e.nftActions[0].nft_action_id] : null; + return o === i; + } + const s = z1(e.contractHash, e.entryPoint?.name, t?.native_transfer_contract_hash || ""), r = e.contractHash === t.associated_keys_contract_hash; + return s || r; +}, WM = (e) => { const { - deploy: o, - actionIdentificationHashes: g, - deployRawData: C, - variation: P = "default", - shouldCollapse: x = !1, + deploy: t, + actionIdentificationHashes: c, + deployRawData: h, + variation: S = "default", + shouldCollapse: g = !1, actionComponents: n - } = e, c = QC({ - deploy: o, - deployRawData: C, + } = e, s = zM({ + deploy: t, + deployRawData: h, actionComponents: n, - actionIdentificationHashes: g - }), [r, a] = Ct(x), i = () => { - a(!r); - }, m = e_({ - deploy: o, - actionIdentificationHashes: g, - actionsArray: c, - shouldCollapse: x + actionIdentificationHashes: c + }), [r, o] = ft(g), i = () => { + o(!r); + }, p = KM({ + deploy: t, + actionIdentificationHashes: c, + actionsArray: s, + shouldCollapse: g }); - vt(() => { - m && a(!0); - }, [m]); - const t = m ? 0 : XC, f = c?.length <= 1 ? `View ${c?.length} result` : `View all ${c?.length} results`, b = c?.length <= 1 ? "Collapse result" : "Collapse results", y = (x || m) && c?.length > t; - return /* @__PURE__ */ Pe(Kt, { children: [ - c?.length ? c.filter((u, d) => r ? d < t : !0).map((u, d) => /* @__PURE__ */ $(qd, { variation: P, children: u }, `actions-${d}`)) : null, - y ? /* @__PURE__ */ $(Jd, { collapsedLabel: f, expandedLabel: b, onExpand: i, hasTopMargin: !1 }) : null + Ze(() => { + p && o(!0); + }, [p]); + const a = p ? 0 : UM, f = s?.length <= 1 ? `View ${s?.length} result` : `View all ${s?.length} results`, C = s?.length <= 1 ? "Collapse result" : "Collapse results", w = (g || p) && s?.length > a; + return /* @__PURE__ */ Le(Ht, { children: [ + s?.length ? s.filter((m, v) => r ? v < a : !0).map((m, v) => /* @__PURE__ */ W(ah, { variation: S, children: m }, `actions-${v}`)) : null, + w ? /* @__PURE__ */ W(rh, { collapsedLabel: f, expandedLabel: C, onExpand: i, hasTopMargin: !1 }) : null ] }); -}, Kc = (e) => { +}, X2 = (e) => { const { - getAccountInfo: o, - getContractPackageInfoByHash: g, - getContractInfoByHash: C, - csprLiveDomainPath: P, - ...x + getAccountInfo: t, + getContractPackageInfoByHash: c, + getContractInfoByHash: h, + csprLiveDomainPath: S, + ...g } = e; - return Gd(e.deploy) === $d.Error ? null : e.loading ? /* @__PURE__ */ $(qd, { variation: e.variation, children: /* @__PURE__ */ $(Ae, { size: 3, children: /* @__PURE__ */ $(io, {}) }) }) : e.deploy.transfers || e.deploy.nftActions || e.deploy.ftActions || e.deploy.contractHash === e.actionIdentificationHashes.associated_keys_contract_hash ? /* @__PURE__ */ $(kd, { getAccountInfo: o, getContractPackageInfoByHash: g, getContractInfoByHash: C, csprLiveDomainPath: P, children: /* @__PURE__ */ $(t_, { ...x }) }) : null; -}, Wc = ({ + return ih(e.deploy) === oh.Error ? null : e.loading ? /* @__PURE__ */ W(ah, { variation: e.variation, children: /* @__PURE__ */ W(Be, { size: 3, children: /* @__PURE__ */ W(Bo, {}) }) }) : e.deploy.transfers || e.deploy.nftActions || e.deploy.ftActions || e.deploy.contractHash === e.actionIdentificationHashes.associated_keys_contract_hash ? /* @__PURE__ */ W(J1, { getAccountInfo: t, getContractPackageInfoByHash: c, getContractInfoByHash: h, csprLiveDomainPath: S, children: /* @__PURE__ */ W(WM, { ...g }) }) : null; +}, Q2 = ({ lineHeight: e }) => { - const o = jo(); - return /* @__PURE__ */ $(Yt, { tooltipContent: "This WASM transaction ran the code from the identified smart contract.", children: /* @__PURE__ */ $(je, { gap: 3, align: "center", children: /* @__PURE__ */ $(Eo, { lineHeight: e, label: "WASM", variation: o.styleguideColors.contentLightBlue }) }) }); -}, r_ = be(md).withConfig({ + const t = wi(); + return /* @__PURE__ */ W(en, { tooltipContent: "This WASM transaction ran the code from the identified smart contract.", children: /* @__PURE__ */ W(je, { gap: 3, align: "center", children: /* @__PURE__ */ W(ui, { lineHeight: e, label: "WASM", variation: t.styleguideColors.contentLightBlue }) }) }); +}, JM = xe(M1).withConfig({ displayName: "activity-feed-item__StyledPageTile", componentId: "sc-y1jlk1-0" })(() => ({ marginBottom: 8, height: "auto" -})), Zd = be(Kt).withConfig({ +})), sh = xe(Ht).withConfig({ displayName: "activity-feed-item__DesktopFeedItemContainer", componentId: "sc-y1jlk1-1" })(({ @@ -44825,7 +46744,7 @@ const YC = (e) => { "> * + *": { width: "100%" } -})), n_ = be(Zd).withConfig({ +})), $M = xe(sh).withConfig({ displayName: "activity-feed-item__MobileFeedItemContainer", componentId: "sc-y1jlk1-2" })(({ @@ -44848,7 +46767,7 @@ const YC = (e) => { top: 0, borderBottom: e.border.tableRowSeparator } -})), o_ = be(je).withConfig({ +})), GM = xe(je).withConfig({ displayName: "activity-feed-item__CommonDataContainer", componentId: "sc-y1jlk1-3" })(({ @@ -44866,7 +46785,7 @@ const YC = (e) => { bottom: 0, borderBottom: e.border.tableRowSeparator } -})), Jc = be(je).withConfig({ +})), ed = xe(je).withConfig({ displayName: "activity-feed-item__WrappedContainer", componentId: "sc-y1jlk1-4" })(({ @@ -44876,105 +46795,105 @@ const YC = (e) => { flexWrap: "wrap" }, flexWrap: "wrap" -})), i_ = be(Kt).withConfig({ +})), qM = xe(Ht).withConfig({ displayName: "activity-feed-item__StyledFlexColumn", componentId: "sc-y1jlk1-5" })(({ theme: e }) => e.withMedia({ width: "100%" -})), $c = () => { - const e = jo(); - return /* @__PURE__ */ $(Yt, { tooltipContent: "Account that submitted and paid for this transaction. Account that authorized this transaction can be checked on Transaction Details page.", children: /* @__PURE__ */ $(je, { gap: 3, align: "center", children: /* @__PURE__ */ $(Eo, { lineHeight: "xxs", label: "FACILITATOR", variation: e.styleguideColors.contentLightBlue }) }) }); -}, a_ = ({ +})), td = () => { + const e = wi(); + return /* @__PURE__ */ W(en, { tooltipContent: "Account that submitted and paid for this transaction. Account that authorized this transaction can be checked on Transaction Details page.", children: /* @__PURE__ */ W(je, { gap: 3, align: "center", children: /* @__PURE__ */ W(ui, { lineHeight: "xxs", label: "FACILITATOR", variation: e.styleguideColors.contentLightBlue }) }) }); +}, ZM = ({ deploy: e, - path: o -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ $(fr, { href: o, "aria-description": "Link to block details", color: "primaryBlue", children: Gr(e.blockHeight ?? 0) }) }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: jl(e.timestamp) }) -] }), AM = ({ + path: t +}) => /* @__PURE__ */ Le(je, { itemsSpacing: 8, align: "center", children: [ + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ W(mn, { href: t, "aria-description": "Link to block details", color: "primaryBlue", children: zn(e.blockHeight ?? 0) }) }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: Jd(e.timestamp) }) +] }), vT = ({ deploy: e, - loading: o, - actionIdentificationHashes: g, - getAccountInfo: C, - getContractPackageInfoByHash: P, - getContractInfoByHash: x, + loading: t, + actionIdentificationHashes: c, + getAccountInfo: h, + getContractPackageInfoByHash: S, + getContractInfoByHash: g, csprLiveDomainPath: n }) => { const { - callerHash: c, + callerHash: s, deployHash: r, - paymentAmount: a, + paymentAmount: o, refundAmount: i, - callerCsprName: m, - entryPoint: t, + callerCsprName: p, + entryPoint: a, contractPackage: f - } = e, b = e.callerPublicKey || e.callerHash, y = C(b || c), u = lo(y?.account_info || y?.centralized_account_info), d = u && u?.logo, l = u?.name, s = y?.cspr_name || e.callerCsprName, v = Ft.isValidPublicKey(b) ? "Public Key" : "Account hash", p = gn(a || "0").minus(i || "0").toString(), O = Hw(f) && t?.name === "transfer_with_authorization", I = /* @__PURE__ */ Pe(Zd, { itemsSpacing: 12, children: [ - /* @__PURE__ */ Pe(o_, { children: [ - /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(Fc, { deployResult: e, size: ns.Small }), - /* @__PURE__ */ $(Yt, { scale: "xs", lineHeight: "xs", tooltipContent: r, caption: "Transaction Hash", children: /* @__PURE__ */ $(Ae, { size: 3, scale: "sm", monotype: !0, children: /* @__PURE__ */ $(fr, { href: `${n}/transaction/${e.deployHash}`, "aria-description": "Link to deploy details", color: "primaryBlue", children: Vr(r, Vt.TINY) }) }) }) + } = e, C = e.callerPublicKey || e.callerHash, w = h(C || s), m = Fo(w?.account_info || w?.centralized_account_info), v = m && m?.logo, l = m?.name, u = w?.cspr_name || e.callerCsprName, y = kt.isValidPublicKey(C) ? "Public Key" : "Account hash", d = yr(o || "0").minus(i || "0").toString(), _ = Px(f) && a?.name === "transfer_with_authorization", E = /* @__PURE__ */ Le(sh, { itemsSpacing: 12, children: [ + /* @__PURE__ */ Le(GM, { children: [ + /* @__PURE__ */ Le(je, { align: "center", children: [ + /* @__PURE__ */ W(Y2, { deployResult: e, size: Cc.Small }), + /* @__PURE__ */ W(en, { scale: "xs", lineHeight: "xs", tooltipContent: r, caption: "Transaction Hash", children: /* @__PURE__ */ W(Be, { size: 3, scale: "sm", monotype: !0, children: /* @__PURE__ */ W(mn, { href: `${n}/transaction/${e.deployHash}`, "aria-description": "Link to deploy details", color: "primaryBlue", children: kn(r, Nt.TINY) }) }) }) ] }), - /* @__PURE__ */ Pe(je, { justify: "flex-end", itemsSpacing: 8, align: "baseline", children: [ - /* @__PURE__ */ $(Yt, { tooltipContent: A6(e.timestamp), children: /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: jl(e.timestamp) }) }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), - /* @__PURE__ */ $(Ae, { size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ $(fr, { href: `${n}/block/${e.blockHash}`, "aria-description": "Link to block details", color: "primaryBlue", children: Gr(e.blockHeight ?? 0) }) }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "baseline", children: [ - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ $(ts, { motes: p, precisionCase: Hn.deployCost }) }) + /* @__PURE__ */ Le(je, { justify: "flex-end", itemsSpacing: 8, align: "baseline", children: [ + /* @__PURE__ */ W(en, { tooltipContent: L8(e.timestamp), children: /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: Jd(e.timestamp) }) }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), + /* @__PURE__ */ W(Be, { size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ W(mn, { href: `${n}/block/${e.blockHash}`, "aria-description": "Link to block details", color: "primaryBlue", children: zn(e.blockHeight ?? 0) }) }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), + /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: "baseline", children: [ + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ W(bc, { motes: d, precisionCase: to.deployCost }) }) ] }) ] }) ] }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 12, children: [ - d ? /* @__PURE__ */ $(kr, { src: d, loading: o, alt: "Account logo" }) : /* @__PURE__ */ $(kr, { hash: b || c, loading: o }), - /* @__PURE__ */ Pe(i_, { itemsSpacing: 12, children: [ - /* @__PURE__ */ $(je, { justify: "space-between", children: /* @__PURE__ */ Pe(je, { itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Wo, { extendedLine: { - title: s ?? void 0, + /* @__PURE__ */ Le(je, { itemsSpacing: 12, children: [ + v ? /* @__PURE__ */ W(An, { src: v, loading: t, alt: "Account logo" }) : /* @__PURE__ */ W(An, { hash: C || s, loading: t }), + /* @__PURE__ */ Le(qM, { itemsSpacing: 12, children: [ + /* @__PURE__ */ W(je, { justify: "space-between", children: /* @__PURE__ */ Le(je, { itemsSpacing: 8, children: [ + /* @__PURE__ */ W(Oi, { extendedLine: { + title: u ?? void 0, caption: "CSPR.name" - }, tooltipCaption: v, hash: b || c, children: /* @__PURE__ */ $(Kt, { children: /* @__PURE__ */ $(Ae, { lineHeight: "xs", size: 3, scale: "sm", monotype: !s, children: /* @__PURE__ */ $(fr, { href: `${n}/account/${b}`, "aria-description": "Link to Account page", color: "primaryBlue", children: s || Vr(b, Vt.TINY) }) }) }) }), - l ? /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(Yi, { size: 5, children: /* @__PURE__ */ $(Ae, { size: 3, variation: "darkGray", noWrap: !0, children: l }) }) }) : null, - O ? /* @__PURE__ */ $($c, {}) : null + }, tooltipCaption: y, hash: C || s, children: /* @__PURE__ */ W(Ht, { children: /* @__PURE__ */ W(Be, { lineHeight: "xs", size: 3, scale: "sm", monotype: !u, children: /* @__PURE__ */ W(mn, { href: `${n}/account/${C}`, "aria-description": "Link to Account page", color: "primaryBlue", children: u || kn(C, Nt.TINY) }) }) }) }), + l ? /* @__PURE__ */ W(je, { children: /* @__PURE__ */ W(Xa, { size: 5, children: /* @__PURE__ */ W(Be, { size: 3, variation: "darkGray", noWrap: !0, children: l }) }) }) : null, + _ ? /* @__PURE__ */ W(td, {}) : null ] }) }), - /* @__PURE__ */ $(je, { children: /* @__PURE__ */ Pe(je, { itemsSpacing: 8, children: [ - Fi(e.executionTypeId) && /* @__PURE__ */ $(Wc, { lineHeight: "xxs" }), - /* @__PURE__ */ $(Ae, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ $(Jc, { children: /* @__PURE__ */ $(Vc, { deploy: e, loading: o, actionIdentificationHashes: g, getAccountInfo: C, getContractInfoByHash: x, getContractPackageInfoByHash: P, csprLiveDomainPath: n }) }) }) + /* @__PURE__ */ W(je, { children: /* @__PURE__ */ Le(je, { itemsSpacing: 8, children: [ + Ka(e.executionTypeId) && /* @__PURE__ */ W(Q2, { lineHeight: "xxs" }), + /* @__PURE__ */ W(Be, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ W(ed, { children: /* @__PURE__ */ W(G2, { deploy: e, loading: t, actionIdentificationHashes: c, getAccountInfo: h, getContractInfoByHash: g, getContractPackageInfoByHash: S, csprLiveDomainPath: n }) }) }) ] }) }), - /* @__PURE__ */ $(Kc, { deploy: e, loading: o, actionIdentificationHashes: g, variation: os.gray, getAccountInfo: C, getContractPackageInfoByHash: P, csprLiveDomainPath: n, shouldCollapse: !0 }) + /* @__PURE__ */ W(X2, { deploy: e, loading: t, actionIdentificationHashes: c, variation: Sc.gray, getAccountInfo: h, getContractPackageInfoByHash: S, csprLiveDomainPath: n, shouldCollapse: !0 }) ] }) ] }) - ] }), k = /* @__PURE__ */ Pe(n_, { children: [ - /* @__PURE__ */ Pe(je, { justify: "space-between", children: [ - /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(Fc, { deployResult: e, size: ns.Small }), - /* @__PURE__ */ $(Yt, { tooltipContent: r, scale: "xs", lineHeight: "xs", caption: "Transaction Hash", children: /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: /* @__PURE__ */ $(fr, { href: `${n}/transaction/${e.deployHash}`, "aria-description": "Link to deploy details", color: "primaryBlue", children: Vr(r, Vt.TINY) }) }) }) + ] }), B = /* @__PURE__ */ Le($M, { children: [ + /* @__PURE__ */ Le(je, { justify: "space-between", children: [ + /* @__PURE__ */ Le(je, { align: "center", children: [ + /* @__PURE__ */ W(Y2, { deployResult: e, size: Cc.Small }), + /* @__PURE__ */ W(en, { tooltipContent: r, scale: "xs", lineHeight: "xs", caption: "Transaction Hash", children: /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: /* @__PURE__ */ W(mn, { href: `${n}/transaction/${e.deployHash}`, "aria-description": "Link to deploy details", color: "primaryBlue", children: kn(r, Nt.TINY) }) }) }) ] }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "baseline", children: [ - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), - /* @__PURE__ */ $(Ae, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ $(ts, { motes: p, precisionCase: Hn.deployCost }) }) + /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: "baseline", children: [ + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), + /* @__PURE__ */ W(Be, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ W(bc, { motes: d, precisionCase: to.deployCost }) }) ] }) ] }), - /* @__PURE__ */ Pe(Kt, { itemsSpacing: 12, children: [ - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", wrap: "wrap", children: [ - /* @__PURE__ */ $(Dn, { logo: d, name: l, hash: b || c, csprName: m || s || void 0, loading: o, navigateToPath: `${n}/account/${b || c}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), - O ? /* @__PURE__ */ $($c, {}) : null + /* @__PURE__ */ Le(Ht, { itemsSpacing: 12, children: [ + /* @__PURE__ */ Le(je, { itemsSpacing: 4, align: "center", wrap: "wrap", children: [ + /* @__PURE__ */ W(oo, { logo: v, name: l, hash: C || s, csprName: p || u || void 0, loading: t, navigateToPath: `${n}/account/${C || s}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), + _ ? /* @__PURE__ */ W(td, {}) : null ] }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 8, children: [ - Fi(e.executionTypeId) && /* @__PURE__ */ $(Wc, { lineHeight: "xxs" }), - /* @__PURE__ */ $(Ae, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ $(Jc, { children: /* @__PURE__ */ $(Vc, { deploy: e, loading: o, actionIdentificationHashes: g, getAccountInfo: C, getContractInfoByHash: x, getContractPackageInfoByHash: P, csprLiveDomainPath: n }) }) }) + /* @__PURE__ */ Le(je, { itemsSpacing: 8, children: [ + Ka(e.executionTypeId) && /* @__PURE__ */ W(Q2, { lineHeight: "xxs" }), + /* @__PURE__ */ W(Be, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ W(ed, { children: /* @__PURE__ */ W(G2, { deploy: e, loading: t, actionIdentificationHashes: c, getAccountInfo: h, getContractInfoByHash: g, getContractPackageInfoByHash: S, csprLiveDomainPath: n }) }) }) ] }) ] }), - /* @__PURE__ */ Pe(Kt, { itemsSpacing: 16, children: [ - /* @__PURE__ */ $(a_, { deploy: e, path: `${n}/block/${e.blockHash}` }), - /* @__PURE__ */ $(Kc, { deploy: e, loading: o, variation: os.gray, actionIdentificationHashes: g, getAccountInfo: C, getContractPackageInfoByHash: P, csprLiveDomainPath: n, shouldCollapse: !0 }) + /* @__PURE__ */ Le(Ht, { itemsSpacing: 16, children: [ + /* @__PURE__ */ W(ZM, { deploy: e, path: `${n}/block/${e.blockHash}` }), + /* @__PURE__ */ W(X2, { deploy: e, loading: t, variation: Sc.gray, actionIdentificationHashes: c, getAccountInfo: h, getContractPackageInfoByHash: S, csprLiveDomainPath: n, shouldCollapse: !0 }) ] }) - ] }), R = cn([k, I, I, I], [e, y]); - return /* @__PURE__ */ $(r_, { children: R }); -}, s_ = be(md).withConfig({ + ] }), O = ir([B, E, E, E], [e, w]); + return /* @__PURE__ */ W(JM, { children: O }); +}, YM = xe(M1).withConfig({ displayName: "event-notification-banner__StyledPageTile", componentId: "sc-ezkqbd-0" })(({ @@ -44983,28 +46902,28 @@ const YC = (e) => { margin: "24px 0 0", padding: 0, maxWidth: e.maxWidth -})), u_ = be(je).withConfig({ +})), XM = xe(je).withConfig({ displayName: "event-notification-banner__EventNotificationContainer", componentId: "sc-ezkqbd-1" })(({ theme: e, - withPageTile: o + withPageTile: t }) => e.withMedia({ width: "100%", maxWidth: e.maxWidth, backgroundColor: `${e.styleguideColors.contentYellow}1F`, borderRadius: "4px", padding: ["16px 24px", "10px 0"], - color: o ? e.styleguideColors.contentPrimary : e.styleguideColors.contentYellow, + color: t ? e.styleguideColors.contentPrimary : e.styleguideColors.contentYellow, alignItems: ["baseline", "center"] -})), c_ = be(je).withConfig({ +})), QM = xe(je).withConfig({ displayName: "event-notification-banner__TextContainer", componentId: "sc-ezkqbd-2" })(({ theme: e }) => e.withMedia({ flexWrap: "wrap" -})), l_ = be(_t).withConfig({ +})), eP = xe(vt).withConfig({ displayName: "event-notification-banner__StyledSvgIcon", componentId: "sc-ezkqbd-3" })(({ @@ -45013,37 +46932,37 @@ const YC = (e) => { path: { fill: e.styleguideColors.contentYellow } -})), d_ = be(fr).withConfig({ +})), tP = xe(mn).withConfig({ displayName: "event-notification-banner__StyledLink", componentId: "sc-ezkqbd-4" })(({ theme: e, - $withPageTile: o + $withPageTile: t }) => ({ - color: o ? e.styleguideColors.contentBlue : "#8FA6FF" -})), OM = ({ + color: t ? e.styleguideColors.contentBlue : "#8FA6FF" +})), bT = ({ text: e, - linkText: o, - linkSource: g, - withPageTile: C + linkText: t, + linkSource: c, + withPageTile: h }) => { if (!e) return null; - const P = /* @__PURE__ */ Pe(u_, { justify: "center", itemsSpacing: 8, withPageTile: C, children: [ - /* @__PURE__ */ $(l_, { src: Gf, alt: "Event notification icon" }), - /* @__PURE__ */ $(c_, { children: /* @__PURE__ */ Pe(Ae, { size: 3, children: [ + const S = /* @__PURE__ */ Le(XM, { justify: "center", itemsSpacing: 8, withPageTile: h, children: [ + /* @__PURE__ */ W(eP, { src: Yh, alt: "Event notification icon" }), + /* @__PURE__ */ W(QM, { children: /* @__PURE__ */ Le(Be, { size: 3, children: [ e, - o && g && /* @__PURE__ */ Pe(At, { children: [ + t && c && /* @__PURE__ */ Le(pt, { children: [ " ", - /* @__PURE__ */ $(d_, { href: g, target: "_blank", rel: "noopener noreferrer", color: "inherit", $withPageTile: C, children: o }) + /* @__PURE__ */ W(tP, { href: c, target: "_blank", rel: "noopener noreferrer", color: "inherit", $withPageTile: h, children: t }) ] }) ] }) }) ] }); - return C ? /* @__PURE__ */ $(s_, { children: P }) : P; -}, f_ = 320, h_ = 1176, Gc = { - minWidth: f_, - maxWidth: h_, - withMedia: g7, + return h ? /* @__PURE__ */ W(YM, { children: S }) : S; +}, nP = 320, rP = 1176, nd = { + minWidth: nP, + maxWidth: rP, + withMedia: s_, zIndex: { dropdown: 10, modal: 15, @@ -45074,11 +46993,11 @@ const YC = (e) => { 2: "2em" }, animations: { - fadeIn: qc(["0%{opacity:0;}100%{opacity:1;}"]) + fadeIn: rd(["0%{opacity:0;}100%{opacity:1;}"]) } -}, TM = { +}, wT = { dark: { - ...Gc, + ...nd, colorSpecialCase: { blueBanner: "#294ACC", blueBanner2: "#2A5DB2" @@ -45138,7 +47057,7 @@ const YC = (e) => { themeName: "dark" }, light: { - ...Gc, + ...nd, colorSpecialCase: { blueBanner: "#294ACC", blueBanner2: "#2A5DB2" @@ -45198,314 +47117,314 @@ const YC = (e) => { } }; export { - QS as Accordion, - rM as Account, - uM as AccountInfoRow, - Fw as AccountModel, - AM as ActivityFeedItem, - Dn as Address, - MS as Alert, - u1 as AlertStatus, - so as ArrowDownIcon, - v_ as ArrowLeftIcon, - ni as ArrowRightIcon, - us as ArrowUpIcon, - b_ as ArrowWithTailIcon, - nl as AuctionContractIcon, - kr as Avatar, - ma as BackgroundWrapper, - Eo as Badge, - w_ as BidContractIcon, - Ae as BodyText, - La as Breakpoints, - no as Button, - Eb as CEP18Token, - sC as CLType, - xb as CSPR, - _b as CSPR_DECIMALS, - mn as CaptionText, - Bf as CheckIcon, - Z8 as Checkbox, - jf as CheckboxCheckedIcon, - Hf as CheckboxCheckedInactiveIcon, - i2 as CheckboxFontSize, - Df as CheckboxIcon, - Vf as CheckmarkIcon, - kS as CircularIndicator, - X8 as CircularIndicatorTextSize, - Y8 as CircularIndicatorTextVariation, - ol as ClockIcon, - Uf as CloseIcon, - sM as ConfirmationWindow, - fc as Container, - Qo as ContractIcon, - fo as ContractIdentifier, - Pt as ContractTypeId, - Zi as Copy, - o2 as CopyHash, - il as CopyIcon, - zf as CrossIcon, - ts as CsprAmount, - mS as CsprClickIcon, - pS as CsprClickLogoDarkIcon, - yS as CsprCloudIcon, - gS as CsprLiveFullIcon, - vS as CsprLiveIcon, - Or as CsprMarketEntryPoint, - bS as CsprMarketIcon, - wS as CsprNameIcon, - CS as CsprNftStudioIcon, - _S as CsprWalletIcon, - C_ as CurrencyIcon, - Bl as DEFAULT_AMOUNT_PRECISION, - No as DEFAULT_PRECISION, - __ as DarkModeIcon, - Ff as DefiContractIcon, - Ao as DeleteIcon, - Vc as DeployActionRow, - VC as DeployActionRowComponent, - kw as DeployEntryPointName, - Kc as DeployResultRow, - t_ as DeployResultRowComponent, - Fc as DeployStatus, - ns as DeployStatusSize, - S_ as DisconnectLinkIcon, - M_ as DiscordIcon, - qb as DismissOrigin, - x_ as DocumentIcon, - BS as Dropdown, - nM as DropdownMenu, - oM as DropdownMenuItem, - E_ as EmptyImageIcon, - P_ as Erc20AvatarIcon, - Ji as ErrorIcon, - OM as EventNotificationBanner, - Rw as ExecutionTypesMap, - IC as FTActionType, - rn as FTActionTypeEnum, - dr as FTEntryPointType, - xM as FTToken, - _6 as FULL_PRECISION, - Kf as FacebookIcon, - M7 as FailedToFetch, - A_ as FileIcon, - iS as FlagAzIcon, - aS as FlagEnIcon, - sS as FlagEsIcon, - uS as FlagFrIcon, - cS as FlagNlIcon, - lS as FlagPlIcon, - dS as FlagRuIcon, - fS as FlagUaIcon, - hS as FlagVtIcon, - ss as FlexBox, - Kt as FlexColumn, + zO as Accordion, + JO as Account, + XO as AccountInfoRow, + Nx as AccountModel, + vT as ActivityFeedItem, + oo as Address, + hO as Alert, + dy as AlertStatus, + ko as ArrowDownIcon, + cP as ArrowLeftIcon, + Fi as ArrowRightIcon, + Mc as ArrowUpIcon, + uP as ArrowWithTailIcon, + dd as AuctionContractIcon, + An as Avatar, + ws as BackgroundWrapper, + ui as Badge, + lP as BidContractIcon, + Be as BodyText, + Ws as Breakpoints, + Lo as Button, + mE as CEP18Token, + Yx as CLType, + yE as CSPR, + fE as CSPR_DECIMALS, + pr as CaptionText, + Dh as CheckIcon, + Vw as Checkbox, + Uh as CheckboxCheckedIcon, + Vh as CheckboxCheckedInactiveIcon, + mp as CheckboxFontSize, + Fh as CheckboxIcon, + zh as CheckmarkIcon, + xO as CircularIndicator, + Uw as CircularIndicatorTextSize, + Fw as CircularIndicatorTextVariation, + fd as ClockIcon, + Kh as CloseIcon, + YO as ConfirmationWindow, + w2 as Container, + ki as ContractIcon, + zo as ContractIdentifier, + St as ContractTypeId, + Za as Copy, + yp as CopyHash, + pd as CopyIcon, + Wh as CrossIcon, + bc as CsprAmount, + iO as CsprClickIcon, + oO as CsprClickLogoDarkIcon, + aO as CsprCloudIcon, + sO as CsprLiveFullIcon, + cO as CsprLiveIcon, + En as CsprMarketEntryPoint, + uO as CsprMarketIcon, + lO as CsprNameIcon, + dO as CsprNftStudioIcon, + fO as CsprWalletIcon, + dP as CurrencyIcon, + Kd as DEFAULT_AMOUNT_PRECISION, + yi as DEFAULT_PRECISION, + fP as DarkModeIcon, + Jh as DefiContractIcon, + di as DeleteIcon, + G2 as DeployActionRow, + AM as DeployActionRowComponent, + xx as DeployEntryPointName, + X2 as DeployResultRow, + WM as DeployResultRowComponent, + Y2 as DeployStatus, + Cc as DeployStatusSize, + pP as DisconnectLinkIcon, + hP as DiscordIcon, + DE as DismissOrigin, + yP as DocumentIcon, + MO as Dropdown, + $O as DropdownMenu, + GO as DropdownMenuItem, + mP as EmptyImageIcon, + gP as Erc20AvatarIcon, + Ja as ErrorIcon, + bT as EventNotificationBanner, + Ex as ExecutionTypesMap, + CM as FTActionType, + Yn as FTActionTypeEnum, + yn as FTEntryPointType, + yT as FTToken, + x8 as FULL_PRECISION, + $h as FacebookIcon, + h_ as FailedToFetch, + vP as FileIcon, + qP as FlagAzIcon, + ZP as FlagEnIcon, + YP as FlagEsIcon, + XP as FlagFrIcon, + QP as FlagNlIcon, + eO as FlagPlIcon, + tO as FlagRuIcon, + nO as FlagUaIcon, + rO as FlagVtIcon, + xc as FlexBox, + Ht as FlexColumn, je as FlexRow, - dd as FormField, - d0 as FormFieldStatus, - Wf as GenericContractIcon, - Jf as GithubIcon, - O_ as GlobeIcon, - I6 as HashFontSize, - $f as HashIcon, - Vt as HashLength, - Ja as HashLink, - Iw as HashType, - T_ as HeaderMenuIcon, - jS as HeaderTabMenuItem, - fd as HeaderText, - I_ as HeartIcon, - b1 as Identicon, - Gf as InfoColourIcon, - Zf as InfoIcon, - qf as InfoImportantIcon, - pd as Input, - l0 as InputInteractionType, - Tv as InputRef, - Ov as InputValidationType, - N_ as KeyIcon, - Xf as KeybaseIcon, - U8 as Label, - qo as LabelFontSize, - L_ as LightModeIcon, - fr as Link, - R_ as LinkIcon, - Yf as LinkedinIcon, - H_ as LockIcon, - B_ as LockImageIcon, - k_ as LockImageSimpleIcon, - j_ as LockedIcon, - ES as MINIMUM_SHOWING_BALANCE, - Sb as MOTES_PER_CSPR_RATE, - DS as MainMenu, - VS as MainMenuItem, - SS as MakeFullIcon, - hC as MapDeploy, - wM as MapPaginatedDeploys, - wC as MapTokenMetadataAsList, - MM as MapTokensMetadataAsList, - D_ as MediaPlaceholderIcon, - Xn as MediaQueries, - Qf as MediumIcon, - V_ as MenuIcon, - pM as ModalContentHeader, - Ed as ModalHeader, - Zo as ModalPosition, - HS as MultiSelectDropdown, - fM as MultilineTextRow, - hM as MultiselectDropdown, - _M as NFTActivityType, - SM as NFTToken, - CM as NFTTokenStandard, - da as NamedKeyPrefix, - US as NavLink, - tM as NavigationSettingsContainer, - U_ as NetworkIcon, - Ti as NetworkMajorVersion, - Dr as NftActivityTypeEnum, - po as NftContractIcon, - Xt as NftTokenEntryPoint, - vC as NftTypeToEntryPointMap, - E7 as OrderDirection, - md as PageTile, - zS as PageTileHeader, - FS as PageTileTabsHeader, - XS as PaginatedTable, - v7 as Pagination, - uc as PaginationInput, - c7 as PaginationInputContainer, - z_ as PlusIcon, - Hn as PrecisionCase, - U7 as ProductItemWrapper, - iM as ProductsMenu, - aM as ProductsMenuItem, - ci as ProgressColorsRange, - lM as ProgressLine, - KS as RadioButton, - e1 as RedditIcon, - F_ as RefreshIcon, - os as ResultRowVariation, - Hl as SMALL_PRECISION, - K_ as SandClockDarkIcon, - W_ as SandClockLightIcon, - al as SearchIcon, - mM as SearchableDropdown, - J_ as SettingsIcon, - $_ as SortingDownIcon, - G_ as SortingUpIcon, - $d as Status, - mc as StyledBodyText, - Qv as StyledTableRow, - $o as SubtitleText, - $i as SuccessIcon, - _t as SvgIcon, - WS as SvgIconSocial, - $S as TabContent, - GS as TabMenu, - JS as TabMenuContainer, - qS as TabMenuItem, - o7 as Table, - Gv as TableBody, - t7 as TableContainer, - Zv as TableData, - ZS as TableDataHeader, - x7 as TableError, - Yv as TableHead, - w7 as TableLoader, - e7 as TableRow, - Zn as TableRowType, - t1 as TelegramIcon, - ao as Text, - cM as TextRow, - Hb as TextRowType, - YS as Textarea, - es as ThemeModeType, - Ld as TokenAmount, - _0 as TokenContractIcon, - gC as TokenStandardEnum, - Yt as Tooltip, - jr as TransactorHashType, - Yi as TruncateBox, - r1 as TwitterIcon, - n1 as Twitter_xIcon, - q_ as UaHeartIcon, - Z_ as UnlockedIcon, - X_ as UserIcon, - dM as UserInputWindow, - Y_ as ValidatorStatusActiveIcon, - Q_ as ValidatorStatusInactiveBidIcon, - eS as ValidatorStatusTriesIcon, - tS as ValidatorStatusWasIcon, - rS as ValidatorStatusWillBeIcon, - Pb as ValuesRow, - nS as VerifiedIcon, - Nw as WASM_DEPLOY, - Lw as WASM_PROXY_DEPLOY, - o1 as WarningIcon, - Gb as WarningMessage, - Wc as WasmProxyBadge, - i1 as WebsiteIcon, - oS as WebsiteLinkIcon, - a1 as WechatIcon, - eM as WizardTile, - s1 as YoutubeIcon, - h0 as currencyPrecisionByCase, - lo as deriveAccountInfo, - bM as deriveHashListByKeysFromDeployArgsObject, - vM as deriveHashListByKeysFromObject, - jn as deriveSplitDataFromNamedKeyValue, - lC as deriveUpdatedAssociatedKey, - E6 as formatBigNumbers, - P6 as formatCurrency, - AS as formatDate, - TS as formatDateShort, - IS as formatDateWithMonthAndYear, - OS as formatDateWithWeekday, - LS as formatDeploysCount, - Vr as formatHash, - NS as formatISODateOnly, - Gr as formatNumber, - PS as formatPercentage, - RS as formatRatesToCurrency, - A6 as formatTimestamp, - jl as formatTimestampAge, - Kw as getAccountInfoLogo, - Ww as getCentralizedAccountInfoLogo, - Gd as getDeployStatus, - cC as getExecutionResultsFromDeployRawData, - PM as getNamedKeyPrefix, - dC as getWasmProxyArguments, - fC as getWasmProxyArgumentsFromRawData, - NC as hasNamedKeyPrefix, - EM as hashPrefixRegEx, - Dc as hashPrefixRegExpV2, - gM as indexBy, - C6 as isBrowserSupportRelativeDateFormat, - Hw as isContractTypeCep18, - ei as isNonNullable, - yM as isODRAWasmProxyTransaction, - Dd as isObject, - xS as isSafariBrowser, - Nd as isTransferDeploy, - w1 as isValidAccountHash, - Fi as isWASMProxyTransaction, - Bw as isWASMTransaction, - It as matchSize, - sl as md5, - Mb as motesToCEP18Token, - Od as motesToCSPR, - Jw as prefixOnlyRegExp, - RC as prepareFtActionMessageDataForDeployDetails, - BC as prepareNftActionMessageDataForDeployDetails, - Wa as shortenCsprName, - N6 as shortenString, - TM as themeConfig, - Dl as truncateCSPRName, - tC as uniq, - dw as useClickAndTouchAway, - co as useClickAway, - Kb as useEscapeKey, - sd as useGetInputInteractionType, - cn as useMatchMedia, - g7 as withMedia + S1 as FormField, + Wu as FormFieldStatus, + Gh as GenericContractIcon, + qh as GithubIcon, + bP as GlobeIcon, + B8 as HashFontSize, + Zh as HashIcon, + Nt as HashLength, + oc as HashLink, + Cx as HashType, + wP as HeaderMenuIcon, + OO as HeaderTabMenuItem, + _1 as HeaderText, + CP as HeartIcon, + Sy as Identicon, + Yh as InfoColourIcon, + Qh as InfoIcon, + Xh as InfoImportantIcon, + x1 as Input, + Ku as InputInteractionType, + wS as InputRef, + bS as InputValidationType, + SP as KeyIcon, + ey as KeybaseIcon, + Lw as Label, + Ii as LabelFontSize, + _P as LightModeIcon, + mn as Link, + EP as LinkIcon, + ty as LinkedinIcon, + PP as LockIcon, + MP as LockImageIcon, + xP as LockImageSimpleIcon, + OP as LockedIcon, + mO as MINIMUM_SHOWING_BALANCE, + pE as MOTES_PER_CSPR_RATE, + TO as MainMenu, + AO as MainMenuItem, + pO as MakeFullIcon, + rM as MapDeploy, + lT as MapPaginatedDeploys, + lM as MapTokenMetadataAsList, + hT as MapTokensMetadataAsList, + TP as MediaPlaceholderIcon, + Po as MediaQueries, + ny as MediumIcon, + AP as MenuIcon, + oT as ModalContentHeader, + H1 as ModalHeader, + Ni as ModalPosition, + PO as MultiSelectDropdown, + nT as MultilineTextRow, + rT as MultiselectDropdown, + fT as NFTActivityType, + pT as NFTToken, + dT as NFTTokenStandard, + ys as NamedKeyPrefix, + LO as NavLink, + WO as NavigationSettingsContainer, + LP as NetworkIcon, + Sa as NetworkMajorVersion, + Rn as NftActivityTypeEnum, + Yo as NftContractIcon, + Qt as NftTokenEntryPoint, + cM as NftTypeToEntryPointMap, + m_ as OrderDirection, + M1 as PageTile, + IO as PageTileHeader, + NO as PageTileTabsHeader, + UO as PaginatedTable, + c_ as Pagination, + m2 as PaginationInput, + QS as PaginationInputContainer, + IP as PlusIcon, + to as PrecisionCase, + L_ as ProductItemWrapper, + qO as ProductsMenu, + ZO as ProductsMenuItem, + Qi as ProgressColorsRange, + eT as ProgressLine, + BO as RadioButton, + ry as RedditIcon, + NP as RefreshIcon, + Sc as ResultRowVariation, + Wd as SMALL_PRECISION, + BP as SandClockDarkIcon, + RP as SandClockLightIcon, + hd as SearchIcon, + iT as SearchableDropdown, + kP as SettingsIcon, + HP as SortingDownIcon, + jP as SortingUpIcon, + oh as Status, + _2 as StyledBodyText, + zS as StyledTableRow, + Ai as SubtitleText, + $a as SuccessIcon, + vt as SvgIcon, + RO as SvgIconSocial, + HO as TabContent, + jO as TabMenu, + kO as TabMenuContainer, + DO as TabMenuItem, + GS as Table, + jS as TableBody, + WS as TableContainer, + VS as TableData, + VO as TableDataHeader, + y_ as TableError, + FS as TableHead, + l_ as TableLoader, + KS as TableRow, + Mo as TableRowType, + oy as TelegramIcon, + Ro as Text, + QO as TextRow, + PE as TextRowType, + FO as Textarea, + vc as ThemeModeType, + K1 as TokenAmount, + u0 as TokenContractIcon, + sM as TokenStandardEnum, + en as Tooltip, + Nn as TransactorHashType, + Xa as TruncateBox, + iy as TwitterIcon, + ay as Twitter_xIcon, + DP as UaHeartIcon, + VP as UnlockedIcon, + UP as UserIcon, + tT as UserInputWindow, + FP as ValidatorStatusActiveIcon, + zP as ValidatorStatusInactiveBidIcon, + KP as ValidatorStatusTriesIcon, + WP as ValidatorStatusWasIcon, + JP as ValidatorStatusWillBeIcon, + gE as ValuesRow, + $P as VerifiedIcon, + Sx as WASM_DEPLOY, + _x as WASM_PROXY_DEPLOY, + sy as WarningIcon, + jE as WarningMessage, + Q2 as WasmProxyBadge, + cy as WebsiteIcon, + GP as WebsiteLinkIcon, + uy as WechatIcon, + KO as WizardTile, + ly as YoutubeIcon, + $u as currencyPrecisionByCase, + Fo as deriveAccountInfo, + uT as deriveHashListByKeysFromDeployArgsObject, + cT as deriveHashListByKeysFromObject, + no as deriveSplitDataFromNamedKeyValue, + eM as deriveUpdatedAssociatedKey, + T8 as formatBigNumbers, + A8 as formatCurrency, + vO as formatDate, + wO as formatDateShort, + CO as formatDateWithMonthAndYear, + bO as formatDateWithWeekday, + _O as formatDeploysCount, + kn as formatHash, + SO as formatISODateOnly, + zn as formatNumber, + gO as formatPercentage, + EO as formatRatesToCurrency, + L8 as formatTimestamp, + Jd as formatTimestampAge, + Bx as getAccountInfoLogo, + Rx as getCentralizedAccountInfoLogo, + ih as getDeployStatus, + Qx as getExecutionResultsFromDeployRawData, + gT as getNamedKeyPrefix, + tM as getWasmProxyArguments, + nM as getWasmProxyArgumentsFromRawData, + SM as hasNamedKeyPrefix, + mT as hashPrefixRegEx, + $2 as hashPrefixRegExpV2, + sT as indexBy, + E8 as isBrowserSupportRelativeDateFormat, + Px as isContractTypeCep18, + Hi as isNonNullable, + aT as isODRAWasmProxyTransaction, + Z1 as isObject, + yO as isSafariBrowser, + z1 as isTransferDeploy, + _y as isValidAccountHash, + Ka as isWASMProxyTransaction, + Mx as isWASMTransaction, + xt as matchSize, + yd as md5, + hE as motesToCEP18Token, + V1 as motesToCSPR, + kx as prefixOnlyRegExp, + EM as prepareFtActionMessageDataForDeployDetails, + MM as prepareNftActionMessageDataForDeployDetails, + rc as shortenCsprName, + R8 as shortenString, + wT as themeConfig, + $d as truncateCSPRName, + Wx as uniq, + tx as useClickAndTouchAway, + Uo as useClickAway, + BE as useEscapeKey, + v1 as useGetInputInteractionType, + ir as useMatchMedia, + s_ as withMedia }; diff --git a/dist/cspr-design.umd.js b/dist/cspr-design.umd.js index f3f97a39..8d140135 100644 --- a/dist/cspr-design.umd.js +++ b/dist/cspr-design.umd.js @@ -1,72 +1,105 @@ -(function(ae,z){typeof exports=="object"&&typeof module<"u"?z(exports,require("react/jsx-runtime"),require("styled-components"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","styled-components","react","react-dom"],z):(ae=typeof globalThis<"u"?globalThis:ae||self,z((ae.CSPR=ae.CSPR||{},ae.CSPR["Design UI Library"]={}),ae.jsxRuntime,ae.styled,ae.React,ae.ReactDOM))})(this,function(ae,z,un,be,R0){"use strict";const V0=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function P1(e){if(e&&typeof e=="object"&&"default"in e)return e;const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const g in e)if(g!=="default"){const C=Object.getOwnPropertyDescriptor(e,g);Object.defineProperty(o,g,C.get?C:{enumerable:!0,get:()=>e[g]})}}return o.default=e,Object.freeze(o)}const Ce=V0(un),wt=P1(be),A1=V0(R0),xt=(e,o)=>{const g=e[o];if(g==null)throw Error(`Missing size declaration: ${o}`);return g},O1=wt.default.createContext({}),U0=!0;function T1({baseColor:e,highlightColor:o,width:g,height:C,borderRadius:P,circle:E,direction:n,duration:c,enableAnimation:r=U0,customHighlightBackground:a}){const i={};return n==="rtl"&&(i["--animation-direction"]="reverse"),typeof c=="number"&&(i["--animation-duration"]=`${c}s`),r||(i["--pseudo-element-display"]="none"),(typeof g=="string"||typeof g=="number")&&(i.width=g),(typeof C=="string"||typeof C=="number")&&(i.height=C),(typeof P=="string"||typeof P=="number")&&(i.borderRadius=P),E&&(i.borderRadius="50%"),typeof e<"u"&&(i["--base-color"]=e),typeof o<"u"&&(i["--highlight-color"]=o),typeof a=="string"&&(i["--custom-highlight-background"]=a),i}function $n({count:e=1,wrapper:o,className:g,containerClassName:C,containerTestId:P,circle:E=!1,style:n,...c}){var r,a,i;const y=wt.default.useContext(O1),t={...c};for(const[s,v]of Object.entries(c))typeof v>"u"&&delete t[s];const d={...y,...t,circle:E},b={...n,...T1(d)};let m="react-loading-skeleton";g&&(m+=` ${g}`);const u=(r=d.inline)!==null&&r!==void 0?r:!1,f=[],l=Math.ceil(e);for(let s=0;se&&s===l-1){const h=(a=v.width)!==null&&a!==void 0?a:"100%",O=e%1,I=typeof h=="number"?h*O:`calc(${h} * ${O})`;v={...v,width:I}}const p=wt.default.createElement("span",{className:m,style:v,key:s},"");u?f.push(p):f.push(wt.default.createElement(wt.default.Fragment,{key:s},p,wt.default.createElement("br",null)))}return wt.default.createElement("span",{className:C,"data-testid":P,"aria-live":"polite","aria-busy":(i=d.enableAnimation)!==null&&i!==void 0?i:U0},o?f.map((s,v)=>wt.default.createElement(o,{key:v},s)):f)}const F0=Ce.default("span").withConfig({shouldForwardProp:(e,o)=>!["loading"].includes(e)&&o(e),displayName:"text__StyledText",componentId:"sc-1vbqbb2-0"})(({theme:e,loading:o,variation:g="inherit",monotype:C=!1,noWrap:P=!1,uppercase:E=!1,capitalize:n=!1,capitalizeFirstLetter:c=!1,wordBreak:r=!1})=>({fontFamily:C?e.typography.fontFamily.mono:e.typography.fontFamily.primary,fontWeight:C?e.typography.fontWeight.regular:e.typography.fontWeight.medium,color:{inherit:"inherit",lightGray:e.styleguideColors.contentTertiary,contentViolet:e.styleguideColors.contentViolet,gray:e.styleguideColors.contentTertiary,darkGray:e.styleguideColors.contentSecondary,black:e.styleguideColors.contentPrimary,white:e.styleguideColors.contentOnFill,blue:e.styleguideColors.contentBlue,red:e.styleguideColors.contentRed,green:e.styleguideColors.contentGreen}[g],whiteSpace:P?"nowrap":"initial",...o&&{display:"inline-block",width:"100%"},...E&&{textTransform:"uppercase"},...n&&{textTransform:"capitalize"},...c&&{"&:first-letter":{textTransform:"capitalize"}},...r&&{wordBreak:"break-word"},"-webkit-text-size-adjust":"100%"})),En=wt.default.forwardRef(function({tag:o="span",...g},C){const P=["h1","h2","h3","h4","h5","h6","span"].includes(o)?o:"span";return g.loading?z.jsx(F0,{ref:C,...g,as:P,children:z.jsx($n,{})}):z.jsx(F0,{ref:C,...g,as:P})}),I1=Ce.default(En).withConfig({displayName:"body-text__StyledText",componentId:"sc-2827zm-0"})(({theme:e,size:o=3,scale:g="sm",lineHeight:C="sm"})=>({fontWeight:xt({1:e.typography.fontWeight.semiBold,2:e.typography.fontWeight.medium,3:e.typography.fontWeight.regular,4:e.typography.fontWeight.light},o),fontSize:xt({xl:"1.25rem",lg:"1.125rem",md:"1rem",sm:"0.875rem",xs:"0.813rem"},g),lineHeight:xt({sm:"1.5rem",xs:"1.25rem"},C),"&:where(h1, h2, h3, h4, h5, h6)":{margin:0}})),Oe=wt.default.forwardRef(function(o,g){return z.jsx(I1,{ref:g,...o})}),N1=Ce.default("div").withConfig({displayName:"flex-box__StyledFlexBox",componentId:"sc-9weptk-0"})(({itemsSpacing:e,direction:o,justify:g,wrap:C,align:P,grow:E,shrink:n,basis:c="auto",gap:r,onClick:a})=>({display:"flex",gap:r,flexDirection:o,flexWrap:C,justifyContent:g,alignItems:P,flexGrow:E,flexShrink:n,flexBasis:c,...e!=null&&{"> * + *":{[o==="row"?"marginLeft":"marginTop"]:e},"> * + *:where(h1, h2, h3, h4, h5, h6)":{[o==="row"?"marginLeft":"marginTop"]:`${e}px !important`}},...a&&{cursor:"pointer"}})),ii=wt.default.forwardRef((e,o)=>{const{tag:g="div"}=e,C=["div","span"].includes(g)?g:"div";return z.jsx(N1,{ref:o,...e,as:C})}),De=wt.default.forwardRef((e,o)=>z.jsx(ii,{ref:o,direction:"row",...e})),Rt=wt.default.forwardRef((e,o)=>z.jsx(ii,{ref:o,direction:"column",...e}));var L1=e=>typeof e!="string"?{}:e.split(/ ?; ?/).reduce((o,g)=>{const[C,P]=g.split(/ ?: ?/).map((E,n)=>n===0?E.replace(/\s+/g,""):E.trim());if(C&&P){const E=C.replace(/(\w)-(\w)/g,(c,r,a)=>`${r}${a.toUpperCase()}`);let n=P.trim();Number.isNaN(Number(P))||(n=Number(P)),o[C.startsWith("-")?C:E]=n}return o},{});function k1(e=6){const o="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let g="";for(let C=e;C>0;--C)g+=o[Math.round(Math.random()*(o.length-1))];return g}var B1=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],z0={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function H1(e,o){const{key:g,level:C,...P}=o;switch(e.nodeType){case 1:return wt.createElement(D1(e.nodeName),j1(e,g),K0(e.childNodes,C,P));case 3:{const E=e.nodeValue?.toString()??"";if(!P.allowWhiteSpaces&&/^\s+$/.test(E)&&!/[\u00A0\u202F]/.test(E))return null;if(!e.parentNode)return E;const n=e.parentNode.nodeName.toLowerCase();return B1.includes(n)?(/\S/.test(E)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${E}" will be ignored`),null):E}case 8:return null;case 11:return K0(e.childNodes,C,o);default:return null}}function j1(e,o){const g={key:o};if(e instanceof Element){const C=e.getAttribute("class");C&&(g.className=C),[...e.attributes].forEach(P=>{switch(P.name){case"class":break;case"style":g[P.name]=L1(P.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":g[z0[P.name]||P.name]=!0;break;default:g[z0[P.name]||P.name]=P.value}})}return g}function K0(e,o,g){const C=[...e].map((P,E)=>ai(P,{...g,index:E,level:o+1})).filter(Boolean);return C.length?C:null}function D1(e){return/[a-z]+[A-Z]+[a-z]+/.test(e)?e:e.toLowerCase()}function W0(e,o={}){return typeof e=="string"?R1(e,o):e instanceof Node?ai(e,o):null}function ai(e,o={}){if(!e||!(e instanceof Node))return null;const{actions:g=[],index:C=0,level:P=0,randomKey:E}=o;let n=e,c=`${P}-${C}`;const r=[];return E&&P===0&&(c=`${k1()}-${c}`),Array.isArray(g)&&g.forEach(a=>{a.condition(n,c,P)&&(typeof a.pre=="function"&&(n=a.pre(n,c,P),n instanceof Node||(n=e,process.env.NODE_ENV!=="production"&&console.warn("The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)"))),typeof a.post=="function"&&r.push(a.post(n,c,P)))}),r.length?r:H1(n,{key:c,level:P,...o})}function R1(e,o={}){if(!e||typeof e!="string")return null;const{includeAllNodes:g=!1,nodeOnly:C=!1,selector:P="body > *",type:E="text/html"}=o;try{const c=new DOMParser().parseFromString(e,E);if(g){const{childNodes:a}=c.body;return C?a:[...a].map(i=>ai(i,o))}const r=c.querySelector(P)||c.body.childNodes[0];if(!(r instanceof Node))throw new TypeError("Error parsing input");return C?r:ai(r,o)}catch(n){process.env.NODE_ENV!=="production"&&console.error(n)}return null}var V1=Object.defineProperty,U1=(e,o,g)=>o in e?V1(e,o,{enumerable:!0,configurable:!0,writable:!0,value:g}):e[o]=g,si=(e,o,g)=>U1(e,typeof o!="symbol"?o+"":o,g),J0="react-inlinesvg",F1=10,Tt={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function z1(e){return e[Math.floor(Math.random()*e.length)]}function bo(){return!!(typeof window<"u"&&window.document?.createElement)}function K1(){return G1()&&typeof window<"u"&&window!==null}function W1(e,...o){const g={};for(const C in e)({}).hasOwnProperty.call(e,C)&&(o.includes(C)||(g[C]=e[C]));return g}function J1(e){const o="abcdefghijklmnopqrstuvwxyz",C=`${o}${o.toUpperCase()}1234567890`;let P="";for(let E=0;E299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(E=>P.includes(E)))throw new Error(`Content type isn't valid: ${P}`);return g.text()}function $1(e=1){return new Promise(o=>{setTimeout(o,e*1e3)})}function G1(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="";const o=e.firstChild;return!!o&&o.namespaceURI==="http://www.w3.org/2000/svg"}var q1=class{constructor(){si(this,"cacheApi"),si(this,"cacheStore"),si(this,"subscribers",[]),si(this,"isReady",!1),this.cacheStore=new Map;let e=J0,o=!1;bo()&&(e=window.REACT_INLINESVG_CACHE_NAME??J0,o=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),o?caches.open(e).then(g=>{this.cacheApi=g}).catch(g=>{console.error(`Failed to open cache: ${g.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const g=[...this.subscribers];this.subscribers.length=0,g.forEach(C=>{try{C()}catch(P){console.error(`Error in CacheStore subscriber callback: ${P.message}`)}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,o){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,o):this.fetchAndAddToInternalCache(e,o)),this.cacheStore.get(e)?.content??""}set(e,o){this.cacheStore.set(e,o)}isCached(e){return this.cacheStore.get(e)?.status===Tt.LOADED}async fetchAndAddToInternalCache(e,o){const g=this.cacheStore.get(e);if(g?.status===Tt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:Tt.IDLE}),await this.fetchAndAddToInternalCache(e,o)});return}if(!g?.content){this.cacheStore.set(e,{content:"",status:Tt.LOADING});try{const C=await $0(e,o);this.cacheStore.set(e,{content:C,status:Tt.LOADED})}catch(C){throw this.cacheStore.set(e,{content:"",status:Tt.FAILED}),C}}}async fetchAndAddToPersistentCache(e,o){const g=this.cacheStore.get(e);if(g?.status===Tt.LOADED)return;if(g?.status===Tt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:Tt.IDLE}),await this.fetchAndAddToPersistentCache(e,o)});return}this.cacheStore.set(e,{content:"",status:Tt.LOADING});const C=await this.cacheApi?.match(e);if(C){const P=await C.text();this.cacheStore.set(e,{content:P,status:Tt.LOADED});return}try{await this.cacheApi?.add(new Request(e,o));const E=await(await this.cacheApi?.match(e))?.text()??"";this.cacheStore.set(e,{content:E,status:Tt.LOADED})}catch(P){throw this.cacheStore.set(e,{content:"",status:Tt.FAILED}),P}}async handleLoading(e,o){for(let g=0;g({[e]:o}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(o=>this.cacheApi.delete(o)))}this.cacheStore.clear()}};function G0(e){const o=be.useRef(void 0);return be.useEffect(()=>{o.current=e}),o.current}function Z1(e){const{baseURL:o,content:g,description:C,handleError:P,hash:E,preProcessor:n,title:c,uniquifyIDs:r=!1}=e;try{const a=X1(g,n),i=W0(a,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const y=q0(i,{baseURL:o,hash:E,uniquifyIDs:r});if(C){const t=y.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const d=document.createElementNS("http://www.w3.org/2000/svg","desc");d.innerHTML=C,y.prepend(d)}if(typeof c<"u"){const t=y.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),c){const d=document.createElementNS("http://www.w3.org/2000/svg","title");d.innerHTML=c,y.prepend(d)}}return y}catch(a){return P(a)}}function X1(e,o){return o?o(e):e}function q0(e,o){const{baseURL:g="",hash:C,uniquifyIDs:P}=o,E=["id","href","xlink:href","xlink:role","xlink:arcrole"],n=["href","xlink:href"],c=(r,a)=>n.includes(r)&&(a?!a.includes("#"):!1);return P&&[...e.children].forEach(r=>{if(r.attributes?.length){const a=Object.values(r.attributes).map(i=>{const y=i,t=/url\((.*?)\)/.exec(i.value);return t?.[1]&&(y.value=i.value.replace(t[0],`url(${g}${t[1]}__${C})`)),y});E.forEach(i=>{const y=a.find(t=>t.name===i);y&&!c(i,y.value)&&(y.value=`${y.value}__${C}`)})}return r.children.length?q0(r,o):r}),e}var Gn;function Y1(e){const{cacheRequests:o=!0,children:g=null,description:C,fetchOptions:P,innerRef:E,loader:n=null,onError:c,onLoad:r,src:a,title:i,uniqueHash:y}=e,[t,d]=be.useReducer((j,U)=>({...j,...U}),{content:"",element:null,isCached:o&&Gn.isCached(e.src),status:Tt.IDLE}),{content:b,element:m,isCached:u,status:f}=t,l=G0(e),s=G0(t),v=be.useRef(y??J1(8)),p=be.useRef(!1),h=be.useRef(!1),O=be.useCallback(j=>{p.current&&(d({status:j.message==="Browser does not support SVG"?Tt.UNSUPPORTED:Tt.FAILED}),c?.(j))},[c]),I=be.useCallback((j,U=!1)=>{p.current&&d({content:j,isCached:U,status:Tt.LOADED})},[]),B=be.useCallback(async()=>{const j=await $0(a,P);I(j)},[P,I,a]),k=be.useCallback(()=>{try{const j=Z1({...e,handleError:O,hash:v.current,content:b}),U=W0(j);if(!U||!be.isValidElement(U))throw new Error("Could not convert the src to a React element");d({element:U,status:Tt.READY})}catch(j){O(j)}},[b,O,e]),L=be.useCallback(async()=>{const j=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(a);let U;if(j?U=j[1]?window.atob(j[2]):decodeURIComponent(j[2]):a.includes("{p.current&&d({content:"",element:null,isCached:!1,status:Tt.LOADING})},[]);be.useEffect(()=>{if(p.current=!0,!(!bo()||h.current)){try{if(f===Tt.IDLE){if(!K1())throw new Error("Browser does not support SVG");if(!a)throw new Error("Missing src");N()}}catch(j){O(j)}return h.current=!0,()=>{p.current=!1}}},[]),be.useEffect(()=>{if(!(!bo()||!l)&&l.src!==a){if(!a){O(new Error("Missing src"));return}N()}},[O,N,l,a]),be.useEffect(()=>{f===Tt.LOADED&&k()},[f,k]),be.useEffect(()=>{!bo()||!l||l.src!==a||(l.title!==i||l.description!==C)&&k()},[C,k,l,a,i]),be.useEffect(()=>{if(s)switch(f){case Tt.LOADING:{s.status!==Tt.LOADING&&L();break}case Tt.LOADED:{s.status!==Tt.LOADED&&k();break}case Tt.READY:{s.status!==Tt.READY&&r?.(a,u);break}}},[L,k,u,r,s,a,f]);const H=W1(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return bo()?m?be.cloneElement(m,{ref:E,...H}):[Tt.UNSUPPORTED,Tt.FAILED].includes(f)?g:n:n}function Q1(e){Gn||(Gn=new q1);const{loader:o}=e,[g,C]=be.useState(Gn.isReady);return be.useEffect(()=>{g||Gn.onReady(()=>{C(!0)})},[g]),g?wt.default.createElement(Y1,{...e}):o}const eh=Ce.default("span").withConfig({shouldForwardProp:(e,o)=>!["rotate"].includes(e)&&o(e),displayName:"svg-icon__Container",componentId:"sc-kfvmzi-0"})(({theme:e,size:o,width:g,height:C,color:P,active:E,rotate:n,marginLeft:c,marginRight:r})=>({display:"inline-block",verticalAlign:"middle",width:g??o,height:C??o,color:P||"inherit",svg:{display:"block",fill:"currentColor",color:P||"inherit",width:g??o,height:C??o},transform:n?"rotateX(180deg)":"rotateX(0deg)",transition:"transform 500ms ease",marginLeft:c?8:"initial",marginRight:r?8:"initial"})),th=Ce.default(Q1).withConfig({displayName:"svg-icon__StyledReactSVG",componentId:"sc-kfvmzi-1"})(({theme:e})=>({display:"flex"})),bt=wt.default.forwardRef(({src:e,alt:o,size:g=16,color:C,onClick:P,rotate:E=!1,...n},c)=>{const r=i=>{P&&P(i)},a=i=>i;return z.jsx(eh,{ref:c,role:"img","aria-label":o,size:g,color:C,rotate:E,onClick:r,...n,children:z.jsx(th,{src:e,preProcessor:a,title:o,"aria-hidden":"true",cacheRequests:!0})})}),xn="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e",rh="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",wo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e",ui="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e",nh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e",va="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e",oh="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e",Z0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",Y0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e",Q0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e",eu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e",ba="data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",tu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e",wa="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e",ru="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ih="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ah="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",nu="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e",qn="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e",sh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e",uh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ch="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",lh="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",dh="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e",Co="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ou="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",fh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",iu="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e",au="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",hh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",su="data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",ph="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",yh="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e",uu="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",cu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",lu="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e",mh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",du="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e",gh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",vh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e",fu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e",bh="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",wh="data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ch="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e",Sh="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e",_h="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",hu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e",Mh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e",Eh="data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e",Zn="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e",xh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e",pu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ph="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e",Ah="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Oh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Ca="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e",Th="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ih="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e",Nh="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",So="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e",yu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e",Sa="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e",mu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e",gu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Lh="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",kh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Bh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Hh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",jh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Dh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Rh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Vh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e",Uh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",vu="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e",Fh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",bu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",wu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Cu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",zh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Kh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Wh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Jh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",$h="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Gh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",qh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Zh="data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Xh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Yh="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e",Qh="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e",ep="data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e",tp="data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e",rp="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e",np="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e",op="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e",ip="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e",ap="data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e",sp="data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e";var Su=(e=>(e.Success="success",e.Error="error",e.Info="info",e.Pending="pending",e.Warning="warning",e))(Su||{});const up={success:So,info:cu,pending:ba,error:Co,warning:vu},cp={success:"borderPrimary",info:"borderPrimary",warning:"borderPrimary",error:"fillSecondaryRedHover",pending:"fillSecondary"},lp={success:"contentGreen",info:"contentSecondary",warning:"contentSecondary",error:"contentRed",pending:"contentLightBlue"},_u=Ce.default(De).withConfig({displayName:"alert__Container",componentId:"sc-h63w8q-0"})(({theme:e,status:o})=>({minHeight:52,padding:16,borderRadius:e.borderRadius.base,backgroundColor:e.styleguideColors[cp[o]],svg:{color:e.styleguideColors[lp[o]]}})),dp=e=>{const{message:o,title:g,status:C,scale:P="sm",lineHeight:E="sm"}=e,n=e.iconSrc?e.iconSrc:up[C],c=e.iconSrc?"":C;return g?z.jsx(_u,{status:c,itemsSpacing:8,children:z.jsxs(Rt,{itemsSpacing:8,children:[z.jsxs(De,{align:"center",itemsSpacing:8,children:[z.jsx(bt,{src:n,alt:`Alert icon with ${c} status`}),z.jsx(Oe,{size:1,lineHeight:E,scale:P,variation:"black",children:g})]}),z.jsx(Oe,{variation:"black",size:3,lineHeight:E,scale:P,children:o})]})}):z.jsxs(_u,{status:c,align:"center",itemsSpacing:8,children:[z.jsx(bt,{src:n}),z.jsx(Oe,{size:3,lineHeight:E,scale:P,variation:"black",children:o})]})},fp=(e,{ttl:o,width:g})=>{if(e)return e};function _a(e,o){var g=e[0],C=e[1],P=e[2],E=e[3];g=tr(g,C,P,E,o[0],7,-680876936),E=tr(E,g,C,P,o[1],12,-389564586),P=tr(P,E,g,C,o[2],17,606105819),C=tr(C,P,E,g,o[3],22,-1044525330),g=tr(g,C,P,E,o[4],7,-176418897),E=tr(E,g,C,P,o[5],12,1200080426),P=tr(P,E,g,C,o[6],17,-1473231341),C=tr(C,P,E,g,o[7],22,-45705983),g=tr(g,C,P,E,o[8],7,1770035416),E=tr(E,g,C,P,o[9],12,-1958414417),P=tr(P,E,g,C,o[10],17,-42063),C=tr(C,P,E,g,o[11],22,-1990404162),g=tr(g,C,P,E,o[12],7,1804603682),E=tr(E,g,C,P,o[13],12,-40341101),P=tr(P,E,g,C,o[14],17,-1502002290),C=tr(C,P,E,g,o[15],22,1236535329),g=rr(g,C,P,E,o[1],5,-165796510),E=rr(E,g,C,P,o[6],9,-1069501632),P=rr(P,E,g,C,o[11],14,643717713),C=rr(C,P,E,g,o[0],20,-373897302),g=rr(g,C,P,E,o[5],5,-701558691),E=rr(E,g,C,P,o[10],9,38016083),P=rr(P,E,g,C,o[15],14,-660478335),C=rr(C,P,E,g,o[4],20,-405537848),g=rr(g,C,P,E,o[9],5,568446438),E=rr(E,g,C,P,o[14],9,-1019803690),P=rr(P,E,g,C,o[3],14,-187363961),C=rr(C,P,E,g,o[8],20,1163531501),g=rr(g,C,P,E,o[13],5,-1444681467),E=rr(E,g,C,P,o[2],9,-51403784),P=rr(P,E,g,C,o[7],14,1735328473),C=rr(C,P,E,g,o[12],20,-1926607734),g=nr(g,C,P,E,o[5],4,-378558),E=nr(E,g,C,P,o[8],11,-2022574463),P=nr(P,E,g,C,o[11],16,1839030562),C=nr(C,P,E,g,o[14],23,-35309556),g=nr(g,C,P,E,o[1],4,-1530992060),E=nr(E,g,C,P,o[4],11,1272893353),P=nr(P,E,g,C,o[7],16,-155497632),C=nr(C,P,E,g,o[10],23,-1094730640),g=nr(g,C,P,E,o[13],4,681279174),E=nr(E,g,C,P,o[0],11,-358537222),P=nr(P,E,g,C,o[3],16,-722521979),C=nr(C,P,E,g,o[6],23,76029189),g=nr(g,C,P,E,o[9],4,-640364487),E=nr(E,g,C,P,o[12],11,-421815835),P=nr(P,E,g,C,o[15],16,530742520),C=nr(C,P,E,g,o[2],23,-995338651),g=or(g,C,P,E,o[0],6,-198630844),E=or(E,g,C,P,o[7],10,1126891415),P=or(P,E,g,C,o[14],15,-1416354905),C=or(C,P,E,g,o[5],21,-57434055),g=or(g,C,P,E,o[12],6,1700485571),E=or(E,g,C,P,o[3],10,-1894986606),P=or(P,E,g,C,o[10],15,-1051523),C=or(C,P,E,g,o[1],21,-2054922799),g=or(g,C,P,E,o[8],6,1873313359),E=or(E,g,C,P,o[15],10,-30611744),P=or(P,E,g,C,o[6],15,-1560198380),C=or(C,P,E,g,o[13],21,1309151649),g=or(g,C,P,E,o[4],6,-145523070),E=or(E,g,C,P,o[11],10,-1120210379),P=or(P,E,g,C,o[2],15,718787259),C=or(C,P,E,g,o[9],21,-343485551),e[0]=yn(g,e[0]),e[1]=yn(C,e[1]),e[2]=yn(P,e[2]),e[3]=yn(E,e[3])}function ci(e,o,g,C,P,E){return o=yn(yn(o,e),yn(C,E)),yn(o<>>32-P,g)}function tr(e,o,g,C,P,E,n){return ci(o&g|~o&C,e,o,P,E,n)}function rr(e,o,g,C,P,E,n){return ci(o&C|g&~C,e,o,P,E,n)}function nr(e,o,g,C,P,E,n){return ci(o^g^C,e,o,P,E,n)}function or(e,o,g,C,P,E,n){return ci(g^(o|~C),e,o,P,E,n)}function hp(e){var o=e.length,g=[1732584193,-271733879,-1732584194,271733878],C;for(C=64;C<=e.length;C+=64)_a(g,pp(e.substring(C-64,C)));e=e.substring(C-64);var P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(C=0;C>2]|=e.charCodeAt(C)<<(C%4<<3);if(P[C>>2]|=128<<(C%4<<3),C>55)for(_a(g,P),C=0;C<16;C++)P[C]=0;return P[14]=o*8,_a(g,P),g}function pp(e){var o=[],g;for(g=0;g<64;g+=4)o[g>>2]=e.charCodeAt(g)+(e.charCodeAt(g+1)<<8)+(e.charCodeAt(g+2)<<16)+(e.charCodeAt(g+3)<<24);return o}var Mu="0123456789abcdef".split("");function yp(e){for(var o="",g=0;g<4;g++)o+=Mu[e>>g*8+4&15]+Mu[e>>g*8&15];return o}function mp(e){for(var o=0;o{let P="white",E=Ma(o),n=Math.floor(g/C),c=E.slice(0,6),r=E.split("").map(i=>parseInt(i,16)<8?0:1),a=[];a[0]=a[4]=r.slice(0,5),a[1]=a[3]=r.slice(5,10),a[2]=r.slice(10,15),e.imageSmoothingEnabled=!1,e.clearRect(0,0,g,g),a.forEach((i,y)=>{i.forEach((t,d)=>{t?(e.fillStyle="#"+c,e.fillRect(n*y,n*d,n,n)):(e.fillStyle=P,e.fillRect(n*y,n*d,n,n))})})},vp=(e,o=20)=>{const g=Math.floor(.6*o),C=Math.floor(1/5*o),P=``,E="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(P),n=new Image;n.onload=function(){e.drawImage(n,C,C)},n.src=E},li=5,Eu=({hexString:e,size:o=20})=>{const g=e.toLowerCase();let C=Math.floor(o/li);const E={borderRadius:`${Math.floor(1/10*o)}px`,backgroundColor:"rgb(152, 157, 178)"},n=be.useRef(null),c=be.useRef(0);return be.useEffect(()=>{if(n.current){const r=n.current.getContext("2d");r&&(r.canvas.height=C*li,r.canvas.width=C*li,g.startsWith("01")&&g.length===66||g.startsWith("02")&&g.length===68?c.current=requestAnimationFrame(()=>gp(r,g,o,li)):c.current=requestAnimationFrame(()=>vp(r,o)))}return()=>cancelAnimationFrame(c.current)},[C,e]),z.jsx("canvas",{className:"account-identicon",style:E,ref:n})},xu=e=>e==null?!1:new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()),Pu=(e="default")=>{const o={tiny:2,small:2,default:2,average:4,semiMedium:4,medium:12,big:12};return o[e]||o.default},Ea=(e="default")=>{const o={tiny:16,small:20,average:28,default:32,semiMedium:56,medium:80,big:124};return o[e]||o.default},bp=(e="default")=>{const o={tiny:"contentTertiary",small:"contentTertiary",default:"contentQuaternary",average:"contentQuaternary",semiMedium:"contentQuaternary",medium:"contentQuaternary",big:"contentQuaternary"};return o[e]||o.default},Au=(e="default")=>({tiny:0,small:0,default:4,average:4,semiMedium:4,medium:4,big:0})[e],di=Ce.default.div.withConfig({displayName:"avatar__BackgroundWrapper",componentId:"sc-1p1ar3a-0"})(({theme:e,sizeType:o,withBgColor:g=!1})=>({borderRadius:Pu(o),height:Ea(o),width:Ea(o),padding:0,margin:Au(o),backgroundColor:g?e.styleguideColors[bp(o)]:"transparent","& > canvas":{borderRadius:Pu(o)}})),wp=Ce.default.div.withConfig({displayName:"avatar__IconHashWrapper",componentId:"sc-1p1ar3a-1"})(({theme:e})=>({color:e.styleguideColors.contentOnFill,height:"100%",display:"flex",justifyContent:"center",alignItems:"center"})),vr=wt.default.forwardRef(function(o,g){const{loading:C,hash:P,src:E,size:n="default",transparentBg:c=!1,...r}=o,a=Ea(n),i=2,y="86400";if(C||!P&&!E)return z.jsx("div",{...r,children:z.jsx($n,{style:{borderRadius:2,width:a,fontSize:`${a}px`,margin:Au(n)}})});if(E){const t=fp(E,{ttl:y,width:a*i});return z.jsx("span",{ref:g,...r,children:z.jsx(di,{sizeType:n,style:{background:`url("${t}") center / contain no-repeat`},children:z.jsx("div",{style:{width:a,height:a}})})})}return P&&xu(P)?z.jsx("span",{ref:g,...r,children:z.jsx(di,{sizeType:n,withBgColor:!c,children:z.jsx(wp,{children:z.jsx(bt,{src:su,size:a-8})})})}):z.jsx("span",{ref:g,...r,children:z.jsx(di,{sizeType:n,children:P&&z.jsx(Eu,{hexString:P,size:a,...r})})})});vr.displayName="Avatar";function fi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Cp(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var o=e.default;if(typeof o=="function"){var g=function C(){var P=!1;try{P=this instanceof C}catch{}return P?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};g.prototype=o.prototype}else g={};return Object.defineProperty(g,"__esModule",{value:!0}),Object.keys(e).forEach(function(C){var P=Object.getOwnPropertyDescriptor(e,C);Object.defineProperty(g,C,P.get?P:{enumerable:!0,get:function(){return e[C]}})}),g}var xa,Ou;function Sp(){return Ou||(Ou=1,xa=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var o=document.activeElement,g=[],C=0;C"u"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=o[n.format]||o.default;window.clipboardData.setData(u,E)}else m.clipboardData.clearData(),m.clipboardData.setData(n.format,E);n.onCopy&&(m.preventDefault(),n.onCopy(m.clipboardData))}),document.body.appendChild(t),i.selectNodeContents(t),y.addRange(i);var b=document.execCommand("copy");if(!b)throw new Error("copy command was unsuccessful");d=!0}catch(m){c&&console.error("unable to copy using execCommand: ",m),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",E),n.onCopy&&n.onCopy(window.clipboardData),d=!0}catch(u){c&&console.error("unable to copy using clipboardData: ",u),c&&console.error("falling back to prompt"),r=C("message"in n?n.message:g),window.prompt(r,E)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(i):y.removeAllRanges()),t&&document.body.removeChild(t),a()}return d}return Pa=P,Pa}var Mp=_p();const Iu=fi(Mp),Nu={blue:"contentBlue",gray:"contentTertiary",green:"contentGreen"},Ep=un.keyframes(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]),xp=Ce.default.span.withConfig({displayName:"copy__StyledContainer",componentId:"sc-1fp6ltg-0"})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:",";animation:",";& svg{color:",";path{fill:",";}:hover{color:",";path{fill:",";}}:active{color:",";path{fill:",";}}}"],e=>e.isCopied?"none":"initial",e=>e.isCopied?un.css([""," 3s"],Ep):"none",e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlueClick,e=>e.theme.styleguideColors.fillPrimaryBlueClick),Pp=Ce.default(bt).withConfig({displayName:"copy__StyledSvgIcon",componentId:"sc-1fp6ltg-1"})(({theme:e,variation:o="blue"})=>e.withMedia({color:e.styleguideColors[Nu[o]],path:{fill:e.styleguideColors[Nu[o]]}})),_o=({value:e,label:o="Copy Public Key",copiedLabel:g="Copied!",variation:C,styles:P,minified:E=!1})=>{const[n,c]=be.useState(!1),r=n?So:wa,a=n?g:o,i=n?"green":"black",y=t=>{t?.stopPropagation(),e&&(Iu(e),c(!0),setTimeout(()=>c(!1),2800))};return z.jsx(De,{style:P,align:"center",itemsSpacing:8,children:z.jsxs(xp,{onClick:y,isCopied:n,tabIndex:0,onKeyDown:t=>{t.key==="Enter"&&y()},children:[z.jsx(Pp,{variation:C,size:16,src:r,role:"img",alt:"Copy button"}),!E&&z.jsx(Oe,{size:3,variation:i,children:a})]})})},Ap=(e,o)=>({primaryBlue:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.fillPrimaryBlueHover,active:e.styleguideColors.fillPrimaryBlueClick},primaryRed:{color:e.styleguideColors.fillPrimaryRed,hover:e.styleguideColors.fillPrimaryRedHover,active:e.styleguideColors.fillPrimaryRedClick},hash:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.contentRed,active:e.styleguideColors.fillPrimaryRedClick}})[o]||{color:"inherit",hover:"inherit",active:"inherit"},Op=Ce.default.a.withConfig({displayName:"link__StyledLink",componentId:"sc-npzuii-0"})(({theme:e,color:o,lineHeight:g="sm"})=>{const C=Ap(e,o);return{textDecoration:"none",lineHeight:xt({sm:"1.5rem",xs:"1.25rem"},g),color:C.color,"&:hover, &:hover > *":{color:C.hover},"&:active, &:active > *":{color:C.active}}}),Yt=wt.default.forwardRef(function({color:o="primaryRed",...g},C){return z.jsx(Op,{ref:C,target:"_blank",color:o,...g})});var Aa=function(e,o){return Aa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,C){g.__proto__=C}||function(g,C){for(var P in C)Object.prototype.hasOwnProperty.call(C,P)&&(g[P]=C[P])},Aa(e,o)};function Fr(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");Aa(e,o);function g(){this.constructor=e}e.prototype=o===null?Object.create(o):(g.prototype=o.prototype,new g)}var at=function(){return at=Object.assign||function(o){for(var g,C=1,P=arguments.length;C"u"&&(E=e.call(this,C),o.set(P,E)),E}function Lu(e,o,g){var C=Array.prototype.slice.call(arguments,3),P=g(C),E=o.get(P);return typeof E>"u"&&(E=e.apply(this,C),o.set(P,E)),E}function ku(e,o,g,C,P){return g.bind(o,e,C,P)}function Lp(e,o){var g=e.length===1?Np:Lu;return ku(e,this,g,o.cache.create(),o.serializer)}function kp(e,o){return ku(e,this,Lu,o.cache.create(),o.serializer)}var Bp=function(){return JSON.stringify(arguments)},Hp=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(o){return this.cache[o]},e.prototype.set=function(o,g){this.cache[o]=g},e}(),jp={create:function(){return new Hp}},Zr={variadic:kp},St;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(St||(St={}));var Ut;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ut||(Ut={}));var Xn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Xn||(Xn={}));function Bu(e){return e.type===Ut.literal}function Dp(e){return e.type===Ut.argument}function Hu(e){return e.type===Ut.number}function ju(e){return e.type===Ut.date}function Du(e){return e.type===Ut.time}function Ru(e){return e.type===Ut.select}function Vu(e){return e.type===Ut.plural}function Rp(e){return e.type===Ut.pound}function Uu(e){return e.type===Ut.tag}function Fu(e){return!!(e&&typeof e=="object"&&e.type===Xn.number)}function Oa(e){return!!(e&&typeof e=="object"&&e.type===Xn.dateTime)}var zu=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Vp=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Up(e){var o={};return e.replace(Vp,function(g){var C=g.length;switch(g[0]){case"G":o.era=C===4?"long":C===5?"narrow":"short";break;case"y":o.year=C===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][C-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][C-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=C===4?"long":C===5?"narrow":"short";break;case"e":if(C<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"c":if(C<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][C-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][C-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][C-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][C-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][C-1];break;case"s":o.second=["numeric","2-digit"][C-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=C<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o}var Fp=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function zp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var o=e.split(Fp).filter(function(t){return t.length>0}),g=[],C=0,P=o;C1)throw new RangeError("integer-width stems only accept a single optional option");P.options[0].replace(Wp,function(r,a,i,y,t,d){if(a)o.minimumIntegerDigits=i.length;else{if(y&&t)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ju.test(P.stem)){o.minimumIntegerDigits=P.stem.length;continue}if(Ku.test(P.stem)){if(P.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");P.stem.replace(Ku,function(r,a,i,y,t,d){return i==="*"?o.minimumFractionDigits=a.length:y&&y[0]==="#"?o.maximumFractionDigits=y.length:t&&d?(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length+d.length):(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length),""});var E=P.options[0];E==="w"?o=at(at({},o),{trailingZeroDisplay:"stripIfInteger"}):E&&(o=at(at({},o),$u(E)));continue}if(Wu.test(P.stem)){o=at(at({},o),$u(P.stem));continue}var n=Gu(P.stem);n&&(o=at(at({},o),n));var c=Jp(P.stem);c&&(o=at(at({},o),c))}return o}var hi={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Gp(e,o){for(var g="",C=0;C>1),r="a",a=qp(o);for((a=="H"||a=="k")&&(c=0);c-- >0;)g+=r;for(;n-- >0;)g=a+g}else P==="J"?g+="H":g+=P}return g}function qp(e){var o=e.hourCycle;if(o===void 0&&e.hourCycles&&e.hourCycles.length&&(o=e.hourCycles[0]),o)switch(o){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var g=e.language,C;g!=="root"&&(C=e.maximize().region);var P=hi[C||""]||hi[g||""]||hi["".concat(g,"-001")]||hi["001"];return P[0]}var Ta,Zp=new RegExp("^".concat(zu.source,"*")),Xp=new RegExp("".concat(zu.source,"*$"));function Et(e,o){return{start:e,end:o}}var Yp=!!String.prototype.startsWith&&"_a".startsWith("a",1),Qp=!!String.fromCodePoint,e3=!!Object.fromEntries,t3=!!String.prototype.codePointAt,r3=!!String.prototype.trimStart,n3=!!String.prototype.trimEnd,o3=!!Number.isSafeInteger,i3=o3?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ia=!0;try{var a3=Qu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ia=((Ta=a3.exec("a"))===null||Ta===void 0?void 0:Ta[0])==="a"}catch{Ia=!1}var Zu=Yp?function(o,g,C){return o.startsWith(g,C)}:function(o,g,C){return o.slice(C,C+g.length)===g},Na=Qp?String.fromCodePoint:function(){for(var o=[],g=0;gE;){if(n=o[E++],n>1114111)throw RangeError(n+" is not a valid code point");C+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return C},Xu=e3?Object.fromEntries:function(o){for(var g={},C=0,P=o;C=C)){var P=o.charCodeAt(g),E;return P<55296||P>56319||g+1===C||(E=o.charCodeAt(g+1))<56320||E>57343?P:(P-55296<<10)+(E-56320)+65536}},s3=r3?function(o){return o.trimStart()}:function(o){return o.replace(Zp,"")},u3=n3?function(o){return o.trimEnd()}:function(o){return o.replace(Xp,"")};function Qu(e,o){return new RegExp(e,o)}var La;if(Ia){var ec=Qu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");La=function(o,g){var C;ec.lastIndex=g;var P=ec.exec(o);return(C=P[1])!==null&&C!==void 0?C:""}}else La=function(o,g){for(var C=[];;){var P=Yu(o,g);if(P===void 0||tc(P)||f3(P))break;C.push(P),g+=P>=65536?2:1}return Na.apply(void 0,C)};var c3=function(){function e(o,g){g===void 0&&(g={}),this.message=o,this.position={offset:0,line:1,column:1},this.ignoreTag=!!g.ignoreTag,this.locale=g.locale,this.requiresOtherClause=!!g.requiresOtherClause,this.shouldParseSkeletons=!!g.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(o,g,C){for(var P=[];!this.isEOF();){var E=this.char();if(E===123){var n=this.parseArgument(o,C);if(n.err)return n;P.push(n.val)}else{if(E===125&&o>0)break;if(E===35&&(g==="plural"||g==="selectordinal")){var c=this.clonePosition();this.bump(),P.push({type:Ut.pound,location:Et(c,this.clonePosition())})}else if(E===60&&!this.ignoreTag&&this.peek()===47){if(C)break;return this.error(St.UNMATCHED_CLOSING_TAG,Et(this.clonePosition(),this.clonePosition()))}else if(E===60&&!this.ignoreTag&&ka(this.peek()||0)){var n=this.parseTag(o,g);if(n.err)return n;P.push(n.val)}else{var n=this.parseLiteral(o,g);if(n.err)return n;P.push(n.val)}}}return{val:P,err:null}},e.prototype.parseTag=function(o,g){var C=this.clonePosition();this.bump();var P=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ut.literal,value:"<".concat(P,"/>"),location:Et(C,this.clonePosition())},err:null};if(this.bumpIf(">")){var E=this.parseMessage(o+1,g,!0);if(E.err)return E;var n=E.val,c=this.clonePosition();if(this.bumpIf("")){if(this.isEOF()||!ka(this.char()))return this.error(St.INVALID_TAG,Et(c,this.clonePosition()));var r=this.clonePosition(),a=this.parseTagName();return P!==a?this.error(St.UNMATCHED_CLOSING_TAG,Et(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ut.tag,value:P,children:n,location:Et(C,this.clonePosition())},err:null}:this.error(St.INVALID_TAG,Et(c,this.clonePosition())))}else return this.error(St.UNCLOSED_TAG,Et(C,this.clonePosition()))}else return this.error(St.INVALID_TAG,Et(C,this.clonePosition()))},e.prototype.parseTagName=function(){var o=this.offset();for(this.bump();!this.isEOF()&&d3(this.char());)this.bump();return this.message.slice(o,this.offset())},e.prototype.parseLiteral=function(o,g){for(var C=this.clonePosition(),P="";;){var E=this.tryParseQuote(g);if(E){P+=E;continue}var n=this.tryParseUnquoted(o,g);if(n){P+=n;continue}var c=this.tryParseLeftAngleBracket();if(c){P+=c;continue}break}var r=Et(C,this.clonePosition());return{val:{type:Ut.literal,value:P,location:r},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!l3(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(o){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(o==="plural"||o==="selectordinal")break;return null;default:return null}this.bump();var g=[this.char()];for(this.bump();!this.isEOF();){var C=this.char();if(C===39)if(this.peek()===39)g.push(39),this.bump();else{this.bump();break}else g.push(C);this.bump()}return Na.apply(void 0,g)},e.prototype.tryParseUnquoted=function(o,g){if(this.isEOF())return null;var C=this.char();return C===60||C===123||C===35&&(g==="plural"||g==="selectordinal")||C===125&&o>0?null:(this.bump(),Na(C))},e.prototype.parseArgument=function(o,g){var C=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(C,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(St.EMPTY_ARGUMENT,Et(C,this.clonePosition()));var P=this.parseIdentifierIfPossible().value;if(!P)return this.error(St.MALFORMED_ARGUMENT,Et(C,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(C,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ut.argument,value:P,location:Et(C,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(C,this.clonePosition())):this.parseArgumentOptions(o,g,P,C);default:return this.error(St.MALFORMED_ARGUMENT,Et(C,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var o=this.clonePosition(),g=this.offset(),C=La(this.message,g),P=g+C.length;this.bumpTo(P);var E=this.clonePosition(),n=Et(o,E);return{value:C,location:n}},e.prototype.parseArgumentOptions=function(o,g,C,P){var E,n=this.clonePosition(),c=this.parseIdentifierIfPossible().value,r=this.clonePosition();switch(c){case"":return this.error(St.EXPECT_ARGUMENT_TYPE,Et(n,r));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var i=this.clonePosition(),y=this.parseSimpleArgStyleIfPossible();if(y.err)return y;var t=u3(y.val);if(t.length===0)return this.error(St.EXPECT_ARGUMENT_STYLE,Et(this.clonePosition(),this.clonePosition()));var d=Et(i,this.clonePosition());a={style:t,styleLocation:d}}var b=this.tryParseArgumentClose(P);if(b.err)return b;var m=Et(P,this.clonePosition());if(a&&Zu(a?.style,"::",0)){var u=s3(a.style.slice(2));if(c==="number"){var y=this.parseNumberSkeletonFromString(u,a.styleLocation);return y.err?y:{val:{type:Ut.number,value:C,location:m,style:y.val},err:null}}else{if(u.length===0)return this.error(St.EXPECT_DATE_TIME_SKELETON,m);var f=u;this.locale&&(f=Gp(u,this.locale));var t={type:Xn.dateTime,pattern:f,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Up(f):{}},l=c==="date"?Ut.date:Ut.time;return{val:{type:l,value:C,location:m,style:t},err:null}}}return{val:{type:c==="number"?Ut.number:c==="date"?Ut.date:Ut.time,value:C,location:m,style:(E=a?.style)!==null&&E!==void 0?E:null},err:null}}case"plural":case"selectordinal":case"select":{var s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(St.EXPECT_SELECT_ARGUMENT_OPTIONS,Et(s,at({},s)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),p=0;if(c!=="select"&&v.value==="offset"){if(!this.bumpIf(":"))return this.error(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Et(this.clonePosition(),this.clonePosition()));this.bumpSpace();var y=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,St.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(y.err)return y;this.bumpSpace(),v=this.parseIdentifierIfPossible(),p=y.val}var h=this.tryParsePluralOrSelectOptions(o,c,g,v);if(h.err)return h;var b=this.tryParseArgumentClose(P);if(b.err)return b;var O=Et(P,this.clonePosition());return c==="select"?{val:{type:Ut.select,value:C,options:Xu(h.val),location:O},err:null}:{val:{type:Ut.plural,value:C,options:Xu(h.val),offset:p,pluralType:c==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(St.INVALID_ARGUMENT_TYPE,Et(n,r))}},e.prototype.tryParseArgumentClose=function(o){return this.isEOF()||this.char()!==125?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(o,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var o=0,g=this.clonePosition();!this.isEOF();){var C=this.char();switch(C){case 39:{this.bump();var P=this.clonePosition();if(!this.bumpUntil("'"))return this.error(St.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Et(P,this.clonePosition()));this.bump();break}case 123:{o+=1,this.bump();break}case 125:{if(o>0)o-=1;else return{val:this.message.slice(g.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(g.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(o,g){var C=[];try{C=zp(o)}catch{return this.error(St.INVALID_NUMBER_SKELETON,g)}return{val:{type:Xn.number,tokens:C,location:g,parsedOptions:this.shouldParseSkeletons?$p(C):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(o,g,C,P){for(var E,n=!1,c=[],r=new Set,a=P.value,i=P.location;;){if(a.length===0){var y=this.clonePosition();if(g!=="select"&&this.bumpIf("=")){var t=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_SELECTOR,St.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;i=Et(y,this.clonePosition()),a=this.message.slice(y.offset,this.offset())}else break}if(r.has(a))return this.error(g==="select"?St.DUPLICATE_SELECT_ARGUMENT_SELECTOR:St.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,i);a==="other"&&(n=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(g==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:St.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Et(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(o+1,g,C);if(b.err)return b;var m=this.tryParseArgumentClose(d);if(m.err)return m;c.push([a,{value:b.val,location:Et(d,this.clonePosition())}]),r.add(a),this.bumpSpace(),E=this.parseIdentifierIfPossible(),a=E.value,i=E.location}return c.length===0?this.error(g==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR:St.EXPECT_PLURAL_ARGUMENT_SELECTOR,Et(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(St.MISSING_OTHER_CLAUSE,Et(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(o,g){var C=1,P=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(C=-1);for(var E=!1,n=0;!this.isEOF();){var c=this.char();if(c>=48&&c<=57)E=!0,n=n*10+(c-48),this.bump();else break}var r=Et(P,this.clonePosition());return E?(n*=C,i3(n)?{val:n,err:null}:this.error(g,r)):this.error(o,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var o=this.position.offset;if(o>=this.message.length)throw Error("out of bound");var g=Yu(this.message,o);if(g===void 0)throw Error("Offset ".concat(o," is at invalid UTF-16 code unit boundary"));return g},e.prototype.error=function(o,g){return{val:null,err:{kind:o,message:this.message,location:g}}},e.prototype.bump=function(){if(!this.isEOF()){var o=this.char();o===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=o<65536?1:2)}},e.prototype.bumpIf=function(o){if(Zu(this.message,o,this.offset())){for(var g=0;g=0?(this.bumpTo(C),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(o){if(this.offset()>o)throw Error("targetOffset ".concat(o," must be greater than or equal to the current offset ").concat(this.offset()));for(o=Math.min(o,this.message.length);;){var g=this.offset();if(g===o)break;if(g>o)throw Error("targetOffset ".concat(o," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&tc(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var o=this.char(),g=this.offset(),C=this.message.charCodeAt(g+(o>=65536?2:1));return C??null},e}();function ka(e){return e>=97&&e<=122||e>=65&&e<=90}function l3(e){return ka(e)||e===47}function d3(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function tc(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function f3(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ba(e){e.forEach(function(o){if(delete o.location,Ru(o)||Vu(o))for(var g in o.options)delete o.options[g].location,Ba(o.options[g].value);else Hu(o)&&Fu(o.style)||(ju(o)||Du(o))&&Oa(o.style)?delete o.style.location:Uu(o)&&Ba(o.children)})}function h3(e,o){o===void 0&&(o={}),o=at({shouldParseSkeletons:!0,requiresOtherClause:!0},o);var g=new c3(e,o).parse();if(g.err){var C=SyntaxError(St[g.err.kind]);throw C.location=g.err.location,C.originalMessage=g.err.message,C}return o?.captureLocation||Ba(g.val),g.val}var Xr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Xr||(Xr={}));var mn=function(e){Fr(o,e);function o(g,C,P){var E=e.call(this,g)||this;return E.code=C,E.originalMessage=P,E}return o.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},o}(Error),rc=function(e){Fr(o,e);function o(g,C,P,E){return e.call(this,'Invalid values for "'.concat(g,'": "').concat(C,'". Options are "').concat(Object.keys(P).join('", "'),'"'),Xr.INVALID_VALUE,E)||this}return o}(mn),p3=function(e){Fr(o,e);function o(g,C,P){return e.call(this,'Value for "'.concat(g,'" must be of type ').concat(C),Xr.INVALID_VALUE,P)||this}return o}(mn),y3=function(e){Fr(o,e);function o(g,C){return e.call(this,'The intl string context variable "'.concat(g,'" was not provided to the string "').concat(C,'"'),Xr.MISSING_VALUE,C)||this}return o}(mn),lr;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(lr||(lr={}));function m3(e){return e.length<2?e:e.reduce(function(o,g){var C=o[o.length-1];return!C||C.type!==lr.literal||g.type!==lr.literal?o.push(g):C.value+=g.value,o},[])}function g3(e){return typeof e=="function"}function pi(e,o,g,C,P,E,n){if(e.length===1&&Bu(e[0]))return[{type:lr.literal,value:e[0].value}];for(var c=[],r=0,a=e;re&&typeof e=="object"&&"default"in e?e:{default:e};function ky(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const h=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,h.get?h:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const Pe=b0(nr),nt=ky(me),Hy=b0($o),wt=(e,t)=>{const c=e[t];if(c==null)throw Error(`Missing size declaration: ${t}`);return c},jy=nt.default.createContext({}),w0=!0;function Dy({baseColor:e,highlightColor:t,width:c,height:h,borderRadius:S,circle:g,direction:n,duration:s,enableAnimation:r=w0,customHighlightBackground:o}){const i={};return n==="rtl"&&(i["--animation-direction"]="reverse"),typeof s=="number"&&(i["--animation-duration"]=`${s}s`),r||(i["--pseudo-element-display"]="none"),(typeof c=="string"||typeof c=="number")&&(i.width=c),(typeof h=="string"||typeof h=="number")&&(i.height=h),(typeof S=="string"||typeof S=="number")&&(i.borderRadius=S),g&&(i.borderRadius="50%"),typeof e<"u"&&(i["--base-color"]=e),typeof t<"u"&&(i["--highlight-color"]=t),typeof o=="string"&&(i["--custom-highlight-background"]=o),i}function lo({count:e=1,wrapper:t,className:c,containerClassName:h,containerTestId:S,circle:g=!1,style:n,...s}){var r,o,i;const p=nt.default.useContext(jy),a={...s};for(const[u,y]of Object.entries(s))typeof y>"u"&&delete a[u];const f={...p,...a,circle:g},C={...n,...Dy(f)};let w="react-loading-skeleton";c&&(w+=` ${c}`);const m=(r=f.inline)!==null&&r!==void 0?r:!1,v=[],l=Math.ceil(e);for(let u=0;ue&&u===l-1){const b=(o=y.width)!==null&&o!==void 0?o:"100%",_=e%1,E=typeof b=="number"?b*_:`calc(${b} * ${_})`;y={...y,width:E}}const d=nt.default.createElement("span",{className:w,style:y,key:u},"");m?v.push(d):v.push(nt.default.createElement(nt.default.Fragment,{key:u},d,nt.default.createElement("br",null)))}return nt.default.createElement("span",{className:h,"data-testid":S,"aria-live":"polite","aria-busy":(i=f.enableAnimation)!==null&&i!==void 0?i:w0},t?v.map((u,y)=>nt.default.createElement(t,{key:y},u)):v)}const C0=Pe.default("span").withConfig({shouldForwardProp:(e,t)=>!["loading"].includes(e)&&t(e),displayName:"text__StyledText",componentId:"sc-1vbqbb2-0"})(({theme:e,loading:t,variation:c="inherit",monotype:h=!1,noWrap:S=!1,uppercase:g=!1,capitalize:n=!1,capitalizeFirstLetter:s=!1,wordBreak:r=!1})=>({fontFamily:h?e.typography.fontFamily.mono:e.typography.fontFamily.primary,fontWeight:h?e.typography.fontWeight.regular:e.typography.fontWeight.medium,color:{inherit:"inherit",lightGray:e.styleguideColors.contentTertiary,contentViolet:e.styleguideColors.contentViolet,gray:e.styleguideColors.contentTertiary,darkGray:e.styleguideColors.contentSecondary,black:e.styleguideColors.contentPrimary,white:e.styleguideColors.contentOnFill,blue:e.styleguideColors.contentBlue,red:e.styleguideColors.contentRed,green:e.styleguideColors.contentGreen}[c],whiteSpace:S?"nowrap":"initial",...t&&{display:"inline-block",width:"100%"},...g&&{textTransform:"uppercase"},...n&&{textTransform:"capitalize"},...s&&{"&:first-letter":{textTransform:"capitalize"}},...r&&{wordBreak:"break-word"},"-webkit-text-size-adjust":"100%"})),Nr=nt.default.forwardRef(function({tag:t="span",...c},h){const S=["h1","h2","h3","h4","h5","h6","span"].includes(t)?t:"span";return c.loading?U.jsx(C0,{ref:h,...c,as:S,children:U.jsx(lo,{})}):U.jsx(C0,{ref:h,...c,as:S})}),Ry=Pe.default(Nr).withConfig({displayName:"body-text__StyledText",componentId:"sc-2827zm-0"})(({theme:e,size:t=3,scale:c="sm",lineHeight:h="sm"})=>({fontWeight:wt({1:e.typography.fontWeight.semiBold,2:e.typography.fontWeight.medium,3:e.typography.fontWeight.regular,4:e.typography.fontWeight.light},t),fontSize:wt({xl:"1.25rem",lg:"1.125rem",md:"1rem",sm:"0.875rem",xs:"0.813rem"},c),lineHeight:wt({sm:"1.5rem",xs:"1.25rem"},h),"&:where(h1, h2, h3, h4, h5, h6)":{margin:0}})),ke=nt.default.forwardRef(function(t,c){return U.jsx(Ry,{ref:c,...t})}),Vy=Pe.default("div").withConfig({displayName:"flex-box__StyledFlexBox",componentId:"sc-9weptk-0"})(({itemsSpacing:e,direction:t,justify:c,wrap:h,align:S,grow:g,shrink:n,basis:s="auto",gap:r,onClick:o})=>({display:"flex",gap:r,flexDirection:t,flexWrap:h,justifyContent:c,alignItems:S,flexGrow:g,flexShrink:n,flexBasis:s,...e!=null&&{"> * + *":{[t==="row"?"marginLeft":"marginTop"]:e},"> * + *:where(h1, h2, h3, h4, h5, h6)":{[t==="row"?"marginLeft":"marginTop"]:`${e}px !important`}},...o&&{cursor:"pointer"}})),Ui=nt.default.forwardRef((e,t)=>{const{tag:c="div"}=e,h=["div","span"].includes(c)?c:"div";return U.jsx(Vy,{ref:t,...e,as:h})}),Re=nt.default.forwardRef((e,t)=>U.jsx(Ui,{ref:t,direction:"row",...e})),Lt=nt.default.forwardRef((e,t)=>U.jsx(Ui,{ref:t,direction:"column",...e}));var Uy=e=>typeof e!="string"?{}:e.split(/ ?; ?/).reduce((t,c)=>{const[h,S]=c.split(/ ?: ?/).map((g,n)=>n===0?g.replace(/\s+/g,""):g.trim());if(h&&S){const g=h.replace(/(\w)-(\w)/g,(s,r,o)=>`${r}${o.toUpperCase()}`);let n=S.trim();Number.isNaN(Number(S))||(n=Number(S)),t[h.startsWith("-")?h:g]=n}return t},{});function Fy(e=6){const t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let c="";for(let h=e;h>0;--h)c+=t[Math.round(Math.random()*(t.length-1))];return c}var zy=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],S0={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function Ky(e,t){const{key:c,level:h,...S}=t;switch(e.nodeType){case 1:return nt.createElement(Jy(e.nodeName),Wy(e,c),_0(e.childNodes,h,S));case 3:{const g=e.nodeValue?.toString()??"";if(!S.allowWhiteSpaces&&/^\s+$/.test(g)&&!/[\u00A0\u202F]/.test(g))return null;if(!e.parentNode)return g;const n=e.parentNode.nodeName.toLowerCase();return zy.includes(n)?(/\S/.test(g)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${g}" will be ignored`),null):g}case 8:return null;case 11:return _0(e.childNodes,h,t);default:return null}}function Wy(e,t){const c={key:t};if(e instanceof Element){const h=e.getAttribute("class");h&&(c.className=h),[...e.attributes].forEach(S=>{switch(S.name){case"class":break;case"style":c[S.name]=Uy(S.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":c[S0[S.name]||S.name]=!0;break;default:c[S0[S.name]||S.name]=S.value}})}return c}function _0(e,t,c){const h=[...e].map((S,g)=>Fi(S,{...c,index:g,level:t+1})).filter(Boolean);return h.length?h:null}function Jy(e){return/[a-z]+[A-Z]+[a-z]+/.test(e)?e:e.toLowerCase()}function E0(e,t={}){return typeof e=="string"?$y(e,t):e instanceof Node?Fi(e,t):null}function Fi(e,t={}){if(!e||!(e instanceof Node))return null;const{actions:c=[],index:h=0,level:S=0,randomKey:g}=t;let n=e,s=`${S}-${h}`;const r=[];return g&&S===0&&(s=`${Fy()}-${s}`),Array.isArray(c)&&c.forEach(o=>{o.condition(n,s,S)&&(typeof o.pre=="function"&&(n=o.pre(n,s,S),n instanceof Node||(n=e,process.env.NODE_ENV!=="production"&&console.warn("The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)"))),typeof o.post=="function"&&r.push(o.post(n,s,S)))}),r.length?r:Ky(n,{key:s,level:S,...t})}function $y(e,t={}){if(!e||typeof e!="string")return null;const{includeAllNodes:c=!1,nodeOnly:h=!1,selector:S="body > *",type:g="text/html"}=t;try{const s=new DOMParser().parseFromString(e,g);if(c){const{childNodes:o}=s.body;return h?o:[...o].map(i=>Fi(i,t))}const r=s.querySelector(S)||s.body.childNodes[0];if(!(r instanceof Node))throw new TypeError("Error parsing input");return h?r:Fi(r,t)}catch(n){process.env.NODE_ENV!=="production"&&console.error(n)}return null}var Gy=Object.defineProperty,qy=(e,t,c)=>t in e?Gy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[t]=c,zi=(e,t,c)=>qy(e,typeof t!="symbol"?t+"":t,c),x0="react-inlinesvg",Zy=10,xt={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function Yy(e){return e[Math.floor(Math.random()*e.length)]}function Go(){return!!(typeof window<"u"&&window.document?.createElement)}function Xy(){return nm()&&typeof window<"u"&&window!==null}function Qy(e,...t){const c={};for(const h in e)({}).hasOwnProperty.call(e,h)&&(t.includes(h)||(c[h]=e[h]));return c}function em(e){const t="abcdefghijklmnopqrstuvwxyz",h=`${t}${t.toUpperCase()}1234567890`;let S="";for(let g=0;g299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(g=>S.includes(g)))throw new Error(`Content type isn't valid: ${S}`);return c.text()}function tm(e=1){return new Promise(t=>{setTimeout(t,e*1e3)})}function nm(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="";const t=e.firstChild;return!!t&&t.namespaceURI==="http://www.w3.org/2000/svg"}var rm=class{constructor(){zi(this,"cacheApi"),zi(this,"cacheStore"),zi(this,"subscribers",[]),zi(this,"isReady",!1),this.cacheStore=new Map;let e=x0,t=!1;Go()&&(e=window.REACT_INLINESVG_CACHE_NAME??x0,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),t?caches.open(e).then(c=>{this.cacheApi=c}).catch(c=>{console.error(`Failed to open cache: ${c.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const c=[...this.subscribers];this.subscribers.length=0,c.forEach(h=>{try{h()}catch(S){console.error(`Error in CacheStore subscriber callback: ${S.message}`)}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===xt.LOADED}async fetchAndAddToInternalCache(e,t){const c=this.cacheStore.get(e);if(c?.status===xt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:xt.IDLE}),await this.fetchAndAddToInternalCache(e,t)});return}if(!c?.content){this.cacheStore.set(e,{content:"",status:xt.LOADING});try{const h=await M0(e,t);this.cacheStore.set(e,{content:h,status:xt.LOADED})}catch(h){throw this.cacheStore.set(e,{content:"",status:xt.FAILED}),h}}}async fetchAndAddToPersistentCache(e,t){const c=this.cacheStore.get(e);if(c?.status===xt.LOADED)return;if(c?.status===xt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:xt.IDLE}),await this.fetchAndAddToPersistentCache(e,t)});return}this.cacheStore.set(e,{content:"",status:xt.LOADING});const h=await this.cacheApi?.match(e);if(h){const S=await h.text();this.cacheStore.set(e,{content:S,status:xt.LOADED});return}try{await this.cacheApi?.add(new Request(e,t));const g=await(await this.cacheApi?.match(e))?.text()??"";this.cacheStore.set(e,{content:g,status:xt.LOADED})}catch(S){throw this.cacheStore.set(e,{content:"",status:xt.FAILED}),S}}async handleLoading(e,t){for(let c=0;c({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(t=>this.cacheApi.delete(t)))}this.cacheStore.clear()}};function P0(e){const t=me.useRef(void 0);return me.useEffect(()=>{t.current=e}),t.current}function om(e){const{baseURL:t,content:c,description:h,handleError:S,hash:g,preProcessor:n,title:s,uniquifyIDs:r=!1}=e;try{const o=im(c,n),i=E0(o,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const p=T0(i,{baseURL:t,hash:g,uniquifyIDs:r});if(h){const a=p.querySelector("desc");a?.parentNode&&a.parentNode.removeChild(a);const f=document.createElementNS("http://www.w3.org/2000/svg","desc");f.innerHTML=h,p.prepend(f)}if(typeof s<"u"){const a=p.querySelector("title");if(a?.parentNode&&a.parentNode.removeChild(a),s){const f=document.createElementNS("http://www.w3.org/2000/svg","title");f.innerHTML=s,p.prepend(f)}}return p}catch(o){return S(o)}}function im(e,t){return t?t(e):e}function T0(e,t){const{baseURL:c="",hash:h,uniquifyIDs:S}=t,g=["id","href","xlink:href","xlink:role","xlink:arcrole"],n=["href","xlink:href"],s=(r,o)=>n.includes(r)&&(o?!o.includes("#"):!1);return S&&[...e.children].forEach(r=>{if(r.attributes?.length){const o=Object.values(r.attributes).map(i=>{const p=i,a=/url\((.*?)\)/.exec(i.value);return a?.[1]&&(p.value=i.value.replace(a[0],`url(${c}${a[1]}__${h})`)),p});g.forEach(i=>{const p=o.find(a=>a.name===i);p&&!s(i,p.value)&&(p.value=`${p.value}__${h}`)})}return r.children.length?T0(r,t):r}),e}var fo;function am(e){const{cacheRequests:t=!0,children:c=null,description:h,fetchOptions:S,innerRef:g,loader:n=null,onError:s,onLoad:r,src:o,title:i,uniqueHash:p}=e,[a,f]=me.useReducer((N,H)=>({...N,...H}),{content:"",element:null,isCached:t&&fo.isCached(e.src),status:xt.IDLE}),{content:C,element:w,isCached:m,status:v}=a,l=P0(e),u=P0(a),y=me.useRef(p??em(8)),d=me.useRef(!1),b=me.useRef(!1),_=me.useCallback(N=>{d.current&&(f({status:N.message==="Browser does not support SVG"?xt.UNSUPPORTED:xt.FAILED}),s?.(N))},[s]),E=me.useCallback((N,H=!1)=>{d.current&&f({content:N,isCached:H,status:xt.LOADED})},[]),B=me.useCallback(async()=>{const N=await M0(o,S);E(N)},[S,E,o]),T=me.useCallback(()=>{try{const N=om({...e,handleError:_,hash:y.current,content:C}),H=E0(N);if(!H||!me.isValidElement(H))throw new Error("Could not convert the src to a React element");f({element:H,status:xt.READY})}catch(N){_(N)}},[C,_,e]),L=me.useCallback(async()=>{const N=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(o);let H;if(N?H=N[1]?window.atob(N[2]):decodeURIComponent(N[2]):o.includes("{d.current&&f({content:"",element:null,isCached:!1,status:xt.LOADING})},[]);me.useEffect(()=>{if(d.current=!0,!(!Go()||b.current)){try{if(v===xt.IDLE){if(!Xy())throw new Error("Browser does not support SVG");if(!o)throw new Error("Missing src");x()}}catch(N){_(N)}return b.current=!0,()=>{d.current=!1}}},[]),me.useEffect(()=>{if(!(!Go()||!l)&&l.src!==o){if(!o){_(new Error("Missing src"));return}x()}},[_,x,l,o]),me.useEffect(()=>{v===xt.LOADED&&T()},[v,T]),me.useEffect(()=>{!Go()||!l||l.src!==o||(l.title!==i||l.description!==h)&&T()},[h,T,l,o,i]),me.useEffect(()=>{if(u)switch(v){case xt.LOADING:{u.status!==xt.LOADING&&L();break}case xt.LOADED:{u.status!==xt.LOADED&&T();break}case xt.READY:{u.status!==xt.READY&&r?.(o,m);break}}},[L,T,m,r,u,o,v]);const A=Qy(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return Go()?w?me.cloneElement(w,{ref:g,...A}):[xt.UNSUPPORTED,xt.FAILED].includes(v)?c:n:n}function sm(e){fo||(fo=new rm);const{loader:t}=e,[c,h]=me.useState(fo.isReady);return me.useEffect(()=>{c||fo.onReady(()=>{h(!0)})},[c]),c?nt.default.createElement(am,{...e}):t}const cm=Pe.default("span").withConfig({shouldForwardProp:(e,t)=>!["rotate"].includes(e)&&t(e),displayName:"svg-icon__Container",componentId:"sc-kfvmzi-0"})(({theme:e,size:t,width:c,height:h,color:S,active:g,rotate:n,marginLeft:s,marginRight:r})=>({display:"inline-block",verticalAlign:"middle",width:c??t,height:h??t,color:S||"inherit",svg:{display:"block",fill:"currentColor",color:S||"inherit",width:c??t,height:h??t},transform:n?"rotateX(180deg)":"rotateX(0deg)",transition:"transform 500ms ease",marginLeft:s?8:"initial",marginRight:r?8:"initial"})),um=Pe.default(sm).withConfig({displayName:"svg-icon__StyledReactSVG",componentId:"sc-kfvmzi-1"})(({theme:e})=>({display:"flex"})),ft=nt.default.forwardRef(({src:e,alt:t,size:c=16,color:h,onClick:S,rotate:g=!1,...n},s)=>{const r=i=>{S&&S(i)},o=i=>i;return U.jsx(cm,{ref:s,role:"img","aria-label":t,size:c,color:h,rotate:g,onClick:r,...n,children:U.jsx(um,{src:e,preProcessor:o,title:t,"aria-hidden":"true",cacheRequests:!0})})}),Br="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e",lm="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",qo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e",Ki="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e",dm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e",Ss="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e",fm="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e",O0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e",A0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",I0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e",L0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e",N0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e",_s="data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",B0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e",Es="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e",k0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",pm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",hm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",H0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e",po="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e",ym="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e",mm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",gm="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",vm="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",bm="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e",Zo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",j0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",wm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",D0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e",R0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Cm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",V0="data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",Sm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",_m="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e",U0="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",F0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",z0="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e",Em="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",K0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e",xm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",Mm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e",W0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e",Pm="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Tm="data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Om="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e",Am="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e",Im="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",J0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e",Lm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e",Nm="data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e",ho="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e",Bm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e",$0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",km="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e",Hm="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",jm="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",xs="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e",Dm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Rm="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e",Vm="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",Yo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e",G0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e",Ms="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e",q0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e",Z0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Um="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Fm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",zm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Km="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Wm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Jm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$m="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Gm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e",qm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Y0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e",Zm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Q0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",el="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ym="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Xm="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Qm="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",eg="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",tg="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ng="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",rg="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",og="data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",ig="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ag="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e",sg="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e",cg="data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e",ug="data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e",lg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e",dg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e",fg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e",pg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e",hg="data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e",yg="data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e";var tl=(e=>(e.Success="success",e.Error="error",e.Info="info",e.Pending="pending",e.Warning="warning",e))(tl||{});const mg={success:Yo,info:F0,pending:_s,error:Zo,warning:Y0},gg={success:"borderPrimary",info:"borderPrimary",warning:"borderPrimary",error:"fillSecondaryRedHover",pending:"fillSecondary"},vg={success:"contentGreen",info:"contentSecondary",warning:"contentSecondary",error:"contentRed",pending:"contentLightBlue"},nl=Pe.default(Re).withConfig({displayName:"alert__Container",componentId:"sc-h63w8q-0"})(({theme:e,status:t})=>({minHeight:52,padding:16,borderRadius:e.borderRadius.base,backgroundColor:e.styleguideColors[gg[t]],svg:{color:e.styleguideColors[vg[t]]}})),bg=e=>{const{message:t,title:c,status:h,scale:S="sm",lineHeight:g="sm"}=e,n=e.iconSrc?e.iconSrc:mg[h],s=e.iconSrc?"":h;return c?U.jsx(nl,{status:s,itemsSpacing:8,children:U.jsxs(Lt,{itemsSpacing:8,children:[U.jsxs(Re,{align:"center",itemsSpacing:8,children:[U.jsx(ft,{src:n,alt:`Alert icon with ${s} status`}),U.jsx(ke,{size:1,lineHeight:g,scale:S,variation:"black",children:c})]}),U.jsx(ke,{variation:"black",size:3,lineHeight:g,scale:S,children:t})]})}):U.jsxs(nl,{status:s,align:"center",itemsSpacing:8,children:[U.jsx(ft,{src:n}),U.jsx(ke,{size:3,lineHeight:g,scale:S,variation:"black",children:t})]})},wg=(e,{ttl:t,width:c})=>{if(e)return e};function Ps(e,t){var c=e[0],h=e[1],S=e[2],g=e[3];c=sn(c,h,S,g,t[0],7,-680876936),g=sn(g,c,h,S,t[1],12,-389564586),S=sn(S,g,c,h,t[2],17,606105819),h=sn(h,S,g,c,t[3],22,-1044525330),c=sn(c,h,S,g,t[4],7,-176418897),g=sn(g,c,h,S,t[5],12,1200080426),S=sn(S,g,c,h,t[6],17,-1473231341),h=sn(h,S,g,c,t[7],22,-45705983),c=sn(c,h,S,g,t[8],7,1770035416),g=sn(g,c,h,S,t[9],12,-1958414417),S=sn(S,g,c,h,t[10],17,-42063),h=sn(h,S,g,c,t[11],22,-1990404162),c=sn(c,h,S,g,t[12],7,1804603682),g=sn(g,c,h,S,t[13],12,-40341101),S=sn(S,g,c,h,t[14],17,-1502002290),h=sn(h,S,g,c,t[15],22,1236535329),c=cn(c,h,S,g,t[1],5,-165796510),g=cn(g,c,h,S,t[6],9,-1069501632),S=cn(S,g,c,h,t[11],14,643717713),h=cn(h,S,g,c,t[0],20,-373897302),c=cn(c,h,S,g,t[5],5,-701558691),g=cn(g,c,h,S,t[10],9,38016083),S=cn(S,g,c,h,t[15],14,-660478335),h=cn(h,S,g,c,t[4],20,-405537848),c=cn(c,h,S,g,t[9],5,568446438),g=cn(g,c,h,S,t[14],9,-1019803690),S=cn(S,g,c,h,t[3],14,-187363961),h=cn(h,S,g,c,t[8],20,1163531501),c=cn(c,h,S,g,t[13],5,-1444681467),g=cn(g,c,h,S,t[2],9,-51403784),S=cn(S,g,c,h,t[7],14,1735328473),h=cn(h,S,g,c,t[12],20,-1926607734),c=un(c,h,S,g,t[5],4,-378558),g=un(g,c,h,S,t[8],11,-2022574463),S=un(S,g,c,h,t[11],16,1839030562),h=un(h,S,g,c,t[14],23,-35309556),c=un(c,h,S,g,t[1],4,-1530992060),g=un(g,c,h,S,t[4],11,1272893353),S=un(S,g,c,h,t[7],16,-155497632),h=un(h,S,g,c,t[10],23,-1094730640),c=un(c,h,S,g,t[13],4,681279174),g=un(g,c,h,S,t[0],11,-358537222),S=un(S,g,c,h,t[3],16,-722521979),h=un(h,S,g,c,t[6],23,76029189),c=un(c,h,S,g,t[9],4,-640364487),g=un(g,c,h,S,t[12],11,-421815835),S=un(S,g,c,h,t[15],16,530742520),h=un(h,S,g,c,t[2],23,-995338651),c=ln(c,h,S,g,t[0],6,-198630844),g=ln(g,c,h,S,t[7],10,1126891415),S=ln(S,g,c,h,t[14],15,-1416354905),h=ln(h,S,g,c,t[5],21,-57434055),c=ln(c,h,S,g,t[12],6,1700485571),g=ln(g,c,h,S,t[3],10,-1894986606),S=ln(S,g,c,h,t[10],15,-1051523),h=ln(h,S,g,c,t[1],21,-2054922799),c=ln(c,h,S,g,t[8],6,1873313359),g=ln(g,c,h,S,t[15],10,-30611744),S=ln(S,g,c,h,t[6],15,-1560198380),h=ln(h,S,g,c,t[13],21,1309151649),c=ln(c,h,S,g,t[4],6,-145523070),g=ln(g,c,h,S,t[11],10,-1120210379),S=ln(S,g,c,h,t[2],15,718787259),h=ln(h,S,g,c,t[9],21,-343485551),e[0]=pr(c,e[0]),e[1]=pr(h,e[1]),e[2]=pr(S,e[2]),e[3]=pr(g,e[3])}function Wi(e,t,c,h,S,g){return t=pr(pr(t,e),pr(h,g)),pr(t<>>32-S,c)}function sn(e,t,c,h,S,g,n){return Wi(t&c|~t&h,e,t,S,g,n)}function cn(e,t,c,h,S,g,n){return Wi(t&h|c&~h,e,t,S,g,n)}function un(e,t,c,h,S,g,n){return Wi(t^c^h,e,t,S,g,n)}function ln(e,t,c,h,S,g,n){return Wi(c^(t|~h),e,t,S,g,n)}function Cg(e){var t=e.length,c=[1732584193,-271733879,-1732584194,271733878],h;for(h=64;h<=e.length;h+=64)Ps(c,Sg(e.substring(h-64,h)));e=e.substring(h-64);var S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(h=0;h>2]|=e.charCodeAt(h)<<(h%4<<3);if(S[h>>2]|=128<<(h%4<<3),h>55)for(Ps(c,S),h=0;h<16;h++)S[h]=0;return S[14]=t*8,Ps(c,S),c}function Sg(e){var t=[],c;for(c=0;c<64;c+=4)t[c>>2]=e.charCodeAt(c)+(e.charCodeAt(c+1)<<8)+(e.charCodeAt(c+2)<<16)+(e.charCodeAt(c+3)<<24);return t}var rl="0123456789abcdef".split("");function _g(e){for(var t="",c=0;c<4;c++)t+=rl[e>>c*8+4&15]+rl[e>>c*8&15];return t}function Eg(e){for(var t=0;t{let S="white",g=Ts(t),n=Math.floor(c/h),s=g.slice(0,6),r=g.split("").map(i=>parseInt(i,16)<8?0:1),o=[];o[0]=o[4]=r.slice(0,5),o[1]=o[3]=r.slice(5,10),o[2]=r.slice(10,15),e.imageSmoothingEnabled=!1,e.clearRect(0,0,c,c),o.forEach((i,p)=>{i.forEach((a,f)=>{a?(e.fillStyle="#"+s,e.fillRect(n*p,n*f,n,n)):(e.fillStyle=S,e.fillRect(n*p,n*f,n,n))})})},Mg=(e,t=20)=>{const c=Math.floor(.6*t),h=Math.floor(1/5*t),S=``,g="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(S),n=new Image;n.onload=function(){e.drawImage(n,h,h)},n.src=g},Ji=5,ol=({hexString:e,size:t=20})=>{const c=e.toLowerCase();let h=Math.floor(t/Ji);const g={borderRadius:`${Math.floor(1/10*t)}px`,backgroundColor:"rgb(152, 157, 178)"},n=me.useRef(null),s=me.useRef(0);return me.useEffect(()=>{if(n.current){const r=n.current.getContext("2d");r&&(r.canvas.height=h*Ji,r.canvas.width=h*Ji,c.startsWith("01")&&c.length===66||c.startsWith("02")&&c.length===68?s.current=requestAnimationFrame(()=>xg(r,c,t,Ji)):s.current=requestAnimationFrame(()=>Mg(r,t)))}return()=>cancelAnimationFrame(s.current)},[h,e]),U.jsx("canvas",{className:"account-identicon",style:g,ref:n})},il=e=>e==null?!1:new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()),al=(e="default")=>{const t={tiny:2,small:2,default:2,average:4,semiMedium:4,medium:12,big:12};return t[e]||t.default},Os=(e="default")=>{const t={tiny:16,small:20,average:28,default:32,semiMedium:56,medium:80,big:124};return t[e]||t.default},Pg=(e="default")=>{const t={tiny:"contentTertiary",small:"contentTertiary",default:"contentQuaternary",average:"contentQuaternary",semiMedium:"contentQuaternary",medium:"contentQuaternary",big:"contentQuaternary"};return t[e]||t.default},sl=(e="default")=>({tiny:0,small:0,default:4,average:4,semiMedium:4,medium:4,big:0})[e],$i=Pe.default.div.withConfig({displayName:"avatar__BackgroundWrapper",componentId:"sc-1p1ar3a-0"})(({theme:e,sizeType:t,withBgColor:c=!1})=>({borderRadius:al(t),height:Os(t),width:Os(t),padding:0,margin:sl(t),backgroundColor:c?e.styleguideColors[Pg(t)]:"transparent","& > canvas":{borderRadius:al(t)}})),Tg=Pe.default.div.withConfig({displayName:"avatar__IconHashWrapper",componentId:"sc-1p1ar3a-1"})(({theme:e})=>({color:e.styleguideColors.contentOnFill,height:"100%",display:"flex",justifyContent:"center",alignItems:"center"})),bn=nt.default.forwardRef(function(t,c){const{loading:h,hash:S,src:g,size:n="default",transparentBg:s=!1,...r}=t,o=Os(n),i=2,p="86400";if(h||!S&&!g)return U.jsx("div",{...r,children:U.jsx(lo,{style:{borderRadius:2,width:o,fontSize:`${o}px`,margin:sl(n)}})});if(g){const a=wg(g,{ttl:p,width:o*i});return U.jsx("span",{ref:c,...r,children:U.jsx($i,{sizeType:n,style:{background:`url("${a}") center / contain no-repeat`},children:U.jsx("div",{style:{width:o,height:o}})})})}return S&&il(S)?U.jsx("span",{ref:c,...r,children:U.jsx($i,{sizeType:n,withBgColor:!s,children:U.jsx(Tg,{children:U.jsx(ft,{src:V0,size:o-8})})})}):U.jsx("span",{ref:c,...r,children:U.jsx($i,{sizeType:n,children:S&&U.jsx(ol,{hexString:S,size:o,...r})})})});bn.displayName="Avatar";function Gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Og(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var c=function h(){var S=!1;try{S=this instanceof h}catch{}return S?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};c.prototype=t.prototype}else c={};return Object.defineProperty(c,"__esModule",{value:!0}),Object.keys(e).forEach(function(h){var S=Object.getOwnPropertyDescriptor(e,h);Object.defineProperty(c,h,S.get?S:{enumerable:!0,get:function(){return e[h]}})}),c}var As,cl;function Ag(){return cl||(cl=1,As=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,c=[],h=0;h"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=t[n.format]||t.default;window.clipboardData.setData(m,g)}else w.clipboardData.clearData(),w.clipboardData.setData(n.format,g);n.onCopy&&(w.preventDefault(),n.onCopy(w.clipboardData))}),document.body.appendChild(a),i.selectNodeContents(a),p.addRange(i);var C=document.execCommand("copy");if(!C)throw new Error("copy command was unsuccessful");f=!0}catch(w){s&&console.error("unable to copy using execCommand: ",w),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",g),n.onCopy&&n.onCopy(window.clipboardData),f=!0}catch(m){s&&console.error("unable to copy using clipboardData: ",m),s&&console.error("falling back to prompt"),r=h("message"in n?n.message:c),window.prompt(r,g)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(i):p.removeAllRanges()),a&&document.body.removeChild(a),o()}return f}return Is=S,Is}var Lg=Ig();const ll=Gi(Lg),dl={blue:"contentBlue",gray:"contentTertiary",green:"contentGreen"},Ng=nr.keyframes(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]),Bg=Pe.default.span.withConfig({displayName:"copy__StyledContainer",componentId:"sc-1fp6ltg-0"})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:",";animation:",";& svg{color:",";path{fill:",";}:hover{color:",";path{fill:",";}}:active{color:",";path{fill:",";}}}"],e=>e.isCopied?"none":"initial",e=>e.isCopied?nr.css([""," 3s"],Ng):"none",e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlueClick,e=>e.theme.styleguideColors.fillPrimaryBlueClick),kg=Pe.default(ft).withConfig({displayName:"copy__StyledSvgIcon",componentId:"sc-1fp6ltg-1"})(({theme:e,variation:t="blue"})=>e.withMedia({color:e.styleguideColors[dl[t]],path:{fill:e.styleguideColors[dl[t]]}})),Xo=({value:e,label:t="Copy Public Key",copiedLabel:c="Copied!",variation:h,styles:S,minified:g=!1})=>{const[n,s]=me.useState(!1),r=n?Yo:Es,o=n?c:t,i=n?"green":"black",p=a=>{a?.stopPropagation(),e&&(ll(e),s(!0),setTimeout(()=>s(!1),2800))};return U.jsx(Re,{style:S,align:"center",itemsSpacing:8,children:U.jsxs(Bg,{onClick:p,isCopied:n,tabIndex:0,onKeyDown:a=>{a.key==="Enter"&&p()},children:[U.jsx(kg,{variation:h,size:16,src:r,role:"img",alt:"Copy button"}),!g&&U.jsx(ke,{size:3,variation:i,children:o})]})})},Hg=(e,t)=>({primaryBlue:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.fillPrimaryBlueHover,active:e.styleguideColors.fillPrimaryBlueClick},primaryRed:{color:e.styleguideColors.fillPrimaryRed,hover:e.styleguideColors.fillPrimaryRedHover,active:e.styleguideColors.fillPrimaryRedClick},hash:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.contentRed,active:e.styleguideColors.fillPrimaryRedClick}})[t]||{color:"inherit",hover:"inherit",active:"inherit"},jg=Pe.default.a.withConfig({displayName:"link__StyledLink",componentId:"sc-npzuii-0"})(({theme:e,color:t,lineHeight:c="sm"})=>{const h=Hg(e,t);return{textDecoration:"none",lineHeight:wt({sm:"1.5rem",xs:"1.25rem"},c),color:h.color,"&:hover, &:hover > *":{color:h.hover},"&:active, &:active > *":{color:h.active}}}),tn=nt.default.forwardRef(function({color:t="primaryRed",...c},h){return U.jsx(jg,{ref:h,target:"_blank",color:t,...c})});var Ls=function(e,t){return Ls=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var S in h)Object.prototype.hasOwnProperty.call(h,S)&&(c[S]=h[S])},Ls(e,t)};function Bn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ls(e,t);function c(){this.constructor=e}e.prototype=t===null?Object.create(t):(c.prototype=t.prototype,new c)}var tt=function(){return tt=Object.assign||function(t){for(var c,h=1,S=arguments.length;h"u"&&(g=e.call(this,h),t.set(S,g)),g}function fl(e,t,c){var h=Array.prototype.slice.call(arguments,3),S=c(h),g=t.get(S);return typeof g>"u"&&(g=e.apply(this,h),t.set(S,g)),g}function pl(e,t,c,h,S){return c.bind(t,e,h,S)}function Ug(e,t){var c=e.length===1?Vg:fl;return pl(e,this,c,t.cache.create(),t.serializer)}function Fg(e,t){return pl(e,this,fl,t.cache.create(),t.serializer)}var zg=function(){return JSON.stringify(arguments)},Kg=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,c){this.cache[t]=c},e}(),Wg={create:function(){return new Kg}},Fn={variadic:Fg},mt;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(mt||(mt={}));var Ht;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ht||(Ht={}));var yo;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(yo||(yo={}));function hl(e){return e.type===Ht.literal}function Jg(e){return e.type===Ht.argument}function yl(e){return e.type===Ht.number}function ml(e){return e.type===Ht.date}function gl(e){return e.type===Ht.time}function vl(e){return e.type===Ht.select}function bl(e){return e.type===Ht.plural}function $g(e){return e.type===Ht.pound}function wl(e){return e.type===Ht.tag}function Cl(e){return!!(e&&typeof e=="object"&&e.type===yo.number)}function Ns(e){return!!(e&&typeof e=="object"&&e.type===yo.dateTime)}var Sl=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Gg=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function qg(e){var t={};return e.replace(Gg,function(c){var h=c.length;switch(c[0]){case"G":t.era=h===4?"long":h===5?"narrow":"short";break;case"y":t.year=h===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=h===4?"long":h===5?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][h-4];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][h-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][h-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][h-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][h-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][h-1];break;case"s":t.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Zg=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Yg(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Zg).filter(function(a){return a.length>0}),c=[],h=0,S=t;h1)throw new RangeError("integer-width stems only accept a single optional option");S.options[0].replace(Qg,function(r,o,i,p,a,f){if(o)t.minimumIntegerDigits=i.length;else{if(p&&a)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(xl.test(S.stem)){t.minimumIntegerDigits=S.stem.length;continue}if(_l.test(S.stem)){if(S.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");S.stem.replace(_l,function(r,o,i,p,a,f){return i==="*"?t.minimumFractionDigits=o.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:a&&f?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+f.length):(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length),""});var g=S.options[0];g==="w"?t=tt(tt({},t),{trailingZeroDisplay:"stripIfInteger"}):g&&(t=tt(tt({},t),Ml(g)));continue}if(El.test(S.stem)){t=tt(tt({},t),Ml(S.stem));continue}var n=Pl(S.stem);n&&(t=tt(tt({},t),n));var s=e3(S.stem);s&&(t=tt(tt({},t),s))}return t}var qi={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function n3(e,t){for(var c="",h=0;h>1),r="a",o=r3(t);for((o=="H"||o=="k")&&(s=0);s-- >0;)c+=r;for(;n-- >0;)c=o+c}else S==="J"?c+="H":c+=S}return c}function r3(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var c=e.language,h;c!=="root"&&(h=e.maximize().region);var S=qi[h||""]||qi[c||""]||qi["".concat(c,"-001")]||qi["001"];return S[0]}var Bs,o3=new RegExp("^".concat(Sl.source,"*")),i3=new RegExp("".concat(Sl.source,"*$"));function bt(e,t){return{start:e,end:t}}var a3=!!String.prototype.startsWith&&"_a".startsWith("a",1),s3=!!String.fromCodePoint,c3=!!Object.fromEntries,u3=!!String.prototype.codePointAt,l3=!!String.prototype.trimStart,d3=!!String.prototype.trimEnd,f3=!!Number.isSafeInteger,p3=f3?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ks=!0;try{var h3=Ll("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ks=((Bs=h3.exec("a"))===null||Bs===void 0?void 0:Bs[0])==="a"}catch{ks=!1}var Ol=a3?function(t,c,h){return t.startsWith(c,h)}:function(t,c,h){return t.slice(h,h+c.length)===c},Hs=s3?String.fromCodePoint:function(){for(var t=[],c=0;cg;){if(n=t[g++],n>1114111)throw RangeError(n+" is not a valid code point");h+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return h},Al=c3?Object.fromEntries:function(t){for(var c={},h=0,S=t;h=h)){var S=t.charCodeAt(c),g;return S<55296||S>56319||c+1===h||(g=t.charCodeAt(c+1))<56320||g>57343?S:(S-55296<<10)+(g-56320)+65536}},y3=l3?function(t){return t.trimStart()}:function(t){return t.replace(o3,"")},m3=d3?function(t){return t.trimEnd()}:function(t){return t.replace(i3,"")};function Ll(e,t){return new RegExp(e,t)}var js;if(ks){var Nl=Ll("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");js=function(t,c){var h;Nl.lastIndex=c;var S=Nl.exec(t);return(h=S[1])!==null&&h!==void 0?h:""}}else js=function(t,c){for(var h=[];;){var S=Il(t,c);if(S===void 0||Bl(S)||w3(S))break;h.push(S),c+=S>=65536?2:1}return Hs.apply(void 0,h)};var g3=function(){function e(t,c){c===void 0&&(c={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!c.ignoreTag,this.locale=c.locale,this.requiresOtherClause=!!c.requiresOtherClause,this.shouldParseSkeletons=!!c.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,c,h){for(var S=[];!this.isEOF();){var g=this.char();if(g===123){var n=this.parseArgument(t,h);if(n.err)return n;S.push(n.val)}else{if(g===125&&t>0)break;if(g===35&&(c==="plural"||c==="selectordinal")){var s=this.clonePosition();this.bump(),S.push({type:Ht.pound,location:bt(s,this.clonePosition())})}else if(g===60&&!this.ignoreTag&&this.peek()===47){if(h)break;return this.error(mt.UNMATCHED_CLOSING_TAG,bt(this.clonePosition(),this.clonePosition()))}else if(g===60&&!this.ignoreTag&&Ds(this.peek()||0)){var n=this.parseTag(t,c);if(n.err)return n;S.push(n.val)}else{var n=this.parseLiteral(t,c);if(n.err)return n;S.push(n.val)}}}return{val:S,err:null}},e.prototype.parseTag=function(t,c){var h=this.clonePosition();this.bump();var S=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ht.literal,value:"<".concat(S,"/>"),location:bt(h,this.clonePosition())},err:null};if(this.bumpIf(">")){var g=this.parseMessage(t+1,c,!0);if(g.err)return g;var n=g.val,s=this.clonePosition();if(this.bumpIf("")){if(this.isEOF()||!Ds(this.char()))return this.error(mt.INVALID_TAG,bt(s,this.clonePosition()));var r=this.clonePosition(),o=this.parseTagName();return S!==o?this.error(mt.UNMATCHED_CLOSING_TAG,bt(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ht.tag,value:S,children:n,location:bt(h,this.clonePosition())},err:null}:this.error(mt.INVALID_TAG,bt(s,this.clonePosition())))}else return this.error(mt.UNCLOSED_TAG,bt(h,this.clonePosition()))}else return this.error(mt.INVALID_TAG,bt(h,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&b3(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,c){for(var h=this.clonePosition(),S="";;){var g=this.tryParseQuote(c);if(g){S+=g;continue}var n=this.tryParseUnquoted(t,c);if(n){S+=n;continue}var s=this.tryParseLeftAngleBracket();if(s){S+=s;continue}break}var r=bt(h,this.clonePosition());return{val:{type:Ht.literal,value:S,location:r},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!v3(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var c=[this.char()];for(this.bump();!this.isEOF();){var h=this.char();if(h===39)if(this.peek()===39)c.push(39),this.bump();else{this.bump();break}else c.push(h);this.bump()}return Hs.apply(void 0,c)},e.prototype.tryParseUnquoted=function(t,c){if(this.isEOF())return null;var h=this.char();return h===60||h===123||h===35&&(c==="plural"||c==="selectordinal")||h===125&&t>0?null:(this.bump(),Hs(h))},e.prototype.parseArgument=function(t,c){var h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(h,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(mt.EMPTY_ARGUMENT,bt(h,this.clonePosition()));var S=this.parseIdentifierIfPossible().value;if(!S)return this.error(mt.MALFORMED_ARGUMENT,bt(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ht.argument,value:S,location:bt(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(h,this.clonePosition())):this.parseArgumentOptions(t,c,S,h);default:return this.error(mt.MALFORMED_ARGUMENT,bt(h,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),c=this.offset(),h=js(this.message,c),S=c+h.length;this.bumpTo(S);var g=this.clonePosition(),n=bt(t,g);return{value:h,location:n}},e.prototype.parseArgumentOptions=function(t,c,h,S){var g,n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,r=this.clonePosition();switch(s){case"":return this.error(mt.EXPECT_ARGUMENT_TYPE,bt(n,r));case"number":case"date":case"time":{this.bumpSpace();var o=null;if(this.bumpIf(",")){this.bumpSpace();var i=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var a=m3(p.val);if(a.length===0)return this.error(mt.EXPECT_ARGUMENT_STYLE,bt(this.clonePosition(),this.clonePosition()));var f=bt(i,this.clonePosition());o={style:a,styleLocation:f}}var C=this.tryParseArgumentClose(S);if(C.err)return C;var w=bt(S,this.clonePosition());if(o&&Ol(o?.style,"::",0)){var m=y3(o.style.slice(2));if(s==="number"){var p=this.parseNumberSkeletonFromString(m,o.styleLocation);return p.err?p:{val:{type:Ht.number,value:h,location:w,style:p.val},err:null}}else{if(m.length===0)return this.error(mt.EXPECT_DATE_TIME_SKELETON,w);var v=m;this.locale&&(v=n3(m,this.locale));var a={type:yo.dateTime,pattern:v,location:o.styleLocation,parsedOptions:this.shouldParseSkeletons?qg(v):{}},l=s==="date"?Ht.date:Ht.time;return{val:{type:l,value:h,location:w,style:a},err:null}}}return{val:{type:s==="number"?Ht.number:s==="date"?Ht.date:Ht.time,value:h,location:w,style:(g=o?.style)!==null&&g!==void 0?g:null},err:null}}case"plural":case"selectordinal":case"select":{var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(mt.EXPECT_SELECT_ARGUMENT_OPTIONS,bt(u,tt({},u)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),d=0;if(s!=="select"&&y.value==="offset"){if(!this.bumpIf(":"))return this.error(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,bt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,mt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),y=this.parseIdentifierIfPossible(),d=p.val}var b=this.tryParsePluralOrSelectOptions(t,s,c,y);if(b.err)return b;var C=this.tryParseArgumentClose(S);if(C.err)return C;var _=bt(S,this.clonePosition());return s==="select"?{val:{type:Ht.select,value:h,options:Al(b.val),location:_},err:null}:{val:{type:Ht.plural,value:h,options:Al(b.val),offset:d,pluralType:s==="plural"?"cardinal":"ordinal",location:_},err:null}}default:return this.error(mt.INVALID_ARGUMENT_TYPE,bt(n,r))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,c=this.clonePosition();!this.isEOF();){var h=this.char();switch(h){case 39:{this.bump();var S=this.clonePosition();if(!this.bumpUntil("'"))return this.error(mt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,bt(S,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(c.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(c.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,c){var h=[];try{h=Yg(t)}catch{return this.error(mt.INVALID_NUMBER_SKELETON,c)}return{val:{type:yo.number,tokens:h,location:c,parsedOptions:this.shouldParseSkeletons?t3(h):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,c,h,S){for(var g,n=!1,s=[],r=new Set,o=S.value,i=S.location;;){if(o.length===0){var p=this.clonePosition();if(c!=="select"&&this.bumpIf("=")){var a=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,mt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(a.err)return a;i=bt(p,this.clonePosition()),o=this.message.slice(p.offset,this.offset())}else break}if(r.has(o))return this.error(c==="select"?mt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:mt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,i);o==="other"&&(n=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(c==="select"?mt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,bt(this.clonePosition(),this.clonePosition()));var C=this.parseMessage(t+1,c,h);if(C.err)return C;var w=this.tryParseArgumentClose(f);if(w.err)return w;s.push([o,{value:C.val,location:bt(f,this.clonePosition())}]),r.add(o),this.bumpSpace(),g=this.parseIdentifierIfPossible(),o=g.value,i=g.location}return s.length===0?this.error(c==="select"?mt.EXPECT_SELECT_ARGUMENT_SELECTOR:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,bt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(mt.MISSING_OTHER_CLAUSE,bt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,c){var h=1,S=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);for(var g=!1,n=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)g=!0,n=n*10+(s-48),this.bump();else break}var r=bt(S,this.clonePosition());return g?(n*=h,p3(n)?{val:n,err:null}:this.error(c,r)):this.error(t,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var c=Il(this.message,t);if(c===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return c},e.prototype.error=function(t,c){return{val:null,err:{kind:t,message:this.message,location:c}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ol(this.message,t,this.offset())){for(var c=0;c=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var c=this.offset();if(c===t)break;if(c>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),c=this.offset(),h=this.message.charCodeAt(c+(t>=65536?2:1));return h??null},e}();function Ds(e){return e>=97&&e<=122||e>=65&&e<=90}function v3(e){return Ds(e)||e===47}function b3(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Bl(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function w3(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Rs(e){e.forEach(function(t){if(delete t.location,vl(t)||bl(t))for(var c in t.options)delete t.options[c].location,Rs(t.options[c].value);else yl(t)&&Cl(t.style)||(ml(t)||gl(t))&&Ns(t.style)?delete t.style.location:wl(t)&&Rs(t.children)})}function C3(e,t){t===void 0&&(t={}),t=tt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var c=new g3(e,t).parse();if(c.err){var h=SyntaxError(mt[c.err.kind]);throw h.location=c.err.location,h.originalMessage=c.err.message,h}return t?.captureLocation||Rs(c.val),c.val}var zn;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(zn||(zn={}));var hr=function(e){Bn(t,e);function t(c,h,S){var g=e.call(this,c)||this;return g.code=h,g.originalMessage=S,g}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),kl=function(e){Bn(t,e);function t(c,h,S,g){return e.call(this,'Invalid values for "'.concat(c,'": "').concat(h,'". Options are "').concat(Object.keys(S).join('", "'),'"'),zn.INVALID_VALUE,g)||this}return t}(hr),S3=function(e){Bn(t,e);function t(c,h,S){return e.call(this,'Value for "'.concat(c,'" must be of type ').concat(h),zn.INVALID_VALUE,S)||this}return t}(hr),_3=function(e){Bn(t,e);function t(c,h){return e.call(this,'The intl string context variable "'.concat(c,'" was not provided to the string "').concat(h,'"'),zn.MISSING_VALUE,h)||this}return t}(hr),pn;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pn||(pn={}));function E3(e){return e.length<2?e:e.reduce(function(t,c){var h=t[t.length-1];return!h||h.type!==pn.literal||c.type!==pn.literal?t.push(c):h.value+=c.value,t},[])}function x3(e){return typeof e=="function"}function Zi(e,t,c,h,S,g,n){if(e.length===1&&hl(e[0]))return[{type:pn.literal,value:e[0].value}];for(var s=[],r=0,o=e;r"u")){var g=Intl.NumberFormat.supportedLocalesOf(o);return g.length>0?new Intl.Locale(g[0]):new Intl.Locale(typeof o=="string"?o:o[0])}},e.__parse=h3,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Pn;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Pn||(Pn={}));var Mo=function(e){Fr(o,e);function o(g,C,P){var E=this,n=P?P instanceof Error?P:new Error(String(P)):void 0;return E=e.call(this,"[@formatjs/intl Error ".concat(g,"] ").concat(C,` +`,zn.MISSING_INTL_API,n);var y=c.getPluralRules(t,{type:i.pluralType}).select(a-(i.offset||0));u=i.options[y]||i.options.other}if(!u)throw new kl(i.value,a,Object.keys(i.options),n);s.push.apply(s,Zi(u.value,t,c,h,S,a-(i.offset||0)));continue}}return E3(s)}function M3(e,t){return t?tt(tt(tt({},e||{}),t||{}),Object.keys(e).reduce(function(c,h){return c[h]=tt(tt({},e[h]),t[h]||{}),c},{})):e}function P3(e,t){return t?Object.keys(e).reduce(function(c,h){return c[h]=M3(e[h],t[h]),c},tt({},e)):e}function Vs(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,c){e[t]=c}}}}}function T3(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Un(function(){for(var t,c=[],h=0;h"u")){var c=Intl.NumberFormat.supportedLocalesOf(t);return c.length>0?new Intl.Locale(c[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=C3,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),kr;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(kr||(kr={}));var Qo=function(e){Bn(t,e);function t(c,h,S){var g=this,n=S?S instanceof Error?S:new Error(String(S)):void 0;return g=e.call(this,"[@formatjs/intl Error ".concat(c,"] ").concat(h,` `).concat(n?` `.concat(n.message,` -`).concat(n.stack):""))||this,E.code=g,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(E,o),E}return o}(Error),C3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.UNSUPPORTED_FORMATTER,g,C)||this}return o}(Mo),S3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.INVALID_CONFIG,g,C)||this}return o}(Mo),oc=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.MISSING_DATA,g,C)||this}return o}(Mo),Hr=function(e){Fr(o,e);function o(g,C,P){var E=e.call(this,Pn.FORMAT_ERROR,"".concat(g,` -Locale: `).concat(C,` -`),P)||this;return E.locale=C,E}return o}(Mo),ja=function(e){Fr(o,e);function o(g,C,P,E){var n=e.call(this,"".concat(g,` -MessageID: `).concat(P?.id,` -Default Message: `).concat(P?.defaultMessage,` -Description: `).concat(P?.description,` -`),C,E)||this;return n.descriptor=P,n.locale=C,n}return o}(Hr),_3=function(e){Fr(o,e);function o(g,C){var P=e.call(this,Pn.MISSING_TRANSLATION,'Missing message: "'.concat(g.id,'" for locale "').concat(C,'", using ').concat(g.defaultMessage?"default message (".concat(typeof g.defaultMessage=="string"?g.defaultMessage:g.defaultMessage.map(function(E){var n;return(n=E.value)!==null&&n!==void 0?n:JSON.stringify(E)}).join(),")"):"id"," as fallback."))||this;return P.descriptor=g,P}return o}(Mo);function M3(e,o,g){if(g===void 0&&(g=Error),!e)throw new g(o)}function Yn(e,o,g){return g===void 0&&(g={}),o.reduce(function(C,P){return P in e?C[P]=e[P]:P in g&&(C[P]=g[P]),C},{})}var E3=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},x3=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},P3={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:E3,onWarn:x3};function ic(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function An(e){return{create:function(){return{get:function(o){return e[o]},set:function(o,g){e[o]=g}}}}}function A3(e){e===void 0&&(e=ic());var o=Intl.RelativeTimeFormat,g=Intl.ListFormat,C=Intl.DisplayNames,P=qr(function(){for(var c,r=[],a=0;atypeof C=="object"));return o.map(g)}function Y3(e,o){const g=+On(e)-+On(o);return g<0?-1:g>0?1:g}function Q3(e){return Ra(e,Date.now())}function ey(e){return o=>{const C=(e?Math[e]:Math.trunc)(o);return C===0?0:C}}const ty={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ry=(e,o,g)=>{let C;const P=ty[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"in "+C:C+" ago":C};function It(e){return(o={})=>{const g=o.width?String(o.width):e.defaultWidth;return e.formats[g]||e.formats[e.defaultWidth]}}const ny={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},oy={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},iy={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ay={date:It({formats:ny,defaultWidth:"full"}),time:It({formats:oy,defaultWidth:"full"}),dateTime:It({formats:iy,defaultWidth:"full"})},sy={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},uy=(e,o,g,C)=>sy[e];function ft(e){return(o,g)=>{const C=g?.context?String(g.context):"standalone";let P;if(C==="formatting"&&e.formattingValues){const n=e.defaultFormattingWidth||e.defaultWidth,c=g?.width?String(g.width):n;P=e.formattingValues[c]||e.formattingValues[n]}else{const n=e.defaultWidth,c=g?.width?String(g.width):e.defaultWidth;P=e.values[c]||e.values[n]}const E=e.argumentCallback?e.argumentCallback(o):o;return P[E]}}const cy={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ly={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},dy={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},fy={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},hy={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},py={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},yy={ordinalNumber:(e,o)=>{const g=Number(e),C=g%100;if(C>20||C<10)switch(C%10){case 1:return g+"st";case 2:return g+"nd";case 3:return g+"rd"}return g+"th"},era:ft({values:cy,defaultWidth:"wide"}),quarter:ft({values:ly,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:dy,defaultWidth:"wide"}),day:ft({values:fy,defaultWidth:"wide"}),dayPeriod:ft({values:hy,defaultWidth:"wide",formattingValues:py,defaultFormattingWidth:"wide"})};function ht(e){return(o,g={})=>{const C=g.width,P=C&&e.matchPatterns[C]||e.matchPatterns[e.defaultMatchWidth],E=o.match(P);if(!E)return null;const n=E[0],c=C&&e.parsePatterns[C]||e.parsePatterns[e.defaultParseWidth],r=Array.isArray(c)?gy(c,y=>y.test(n)):my(c,y=>y.test(n));let a;a=e.valueCallback?e.valueCallback(r):r,a=g.valueCallback?g.valueCallback(a):a;const i=o.slice(n.length);return{value:a,rest:i}}}function my(e,o){for(const g in e)if(Object.prototype.hasOwnProperty.call(e,g)&&o(e[g]))return g}function gy(e,o){for(let g=0;g{const C=o.match(e.matchPattern);if(!C)return null;const P=C[0],E=o.match(e.parsePattern);if(!E)return null;let n=e.valueCallback?e.valueCallback(E[0]):E[0];n=g.valueCallback?g.valueCallback(n):n;const c=o.slice(P.length);return{value:n,rest:c}}}const vy=/^(\d+)(th|st|nd|rd)?/i,by=/\d+/i,wy={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Cy={any:[/^b/i,/^(a|c)/i]},Sy={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_y={any:[/1/i,/2/i,/3/i,/4/i]},My={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ey={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xy={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Py={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ay={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Oy={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ty={ordinalNumber:Yr({matchPattern:vy,parsePattern:by,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:wy,defaultMatchWidth:"wide",parsePatterns:Cy,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Sy,defaultMatchWidth:"wide",parsePatterns:_y,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:My,defaultMatchWidth:"wide",parsePatterns:Ey,defaultParseWidth:"any"}),day:ht({matchPatterns:xy,defaultMatchWidth:"wide",parsePatterns:Py,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Ay,defaultMatchWidth:"any",parsePatterns:Oy,defaultParseWidth:"any"})},Cc={code:"en-US",formatDistance:ry,formatLong:ay,formatRelative:uy,localize:yy,match:Ty,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Va(e,o){const g=e<0?"-":"",C=Math.abs(e).toString().padStart(o,"0");return g+C}function Iy(e,o,g){const C=gc(),P=g?.locale??C.locale??Cc,E=Y3(e,o);if(isNaN(E))throw new RangeError("Invalid time value");const n=Object.assign({},g,{addSuffix:g?.addSuffix,comparison:E}),[c,r]=wc(g?.in,...E>0?[o,e]:[e,o]),a=ey(g?.roundingMethod??"round"),i=r.getTime()-c.getTime(),y=i/fc,t=bc(r)-bc(c),d=(i-t)/fc,b=g?.unit;let m;if(b?m=b:y<1?m="second":y<60?m="minute":ytypeof e=="string",Po=()=>{let e,o;const g=new Promise((C,P)=>{e=C,o=P});return g.resolve=e,g.reject=o,g},Sc=e=>e==null?"":""+e,ky=(e,o,g)=>{e.forEach(C=>{o[C]&&(g[C]=o[C])})},By=/###/g,_c=e=>e&&e.indexOf("###")>-1?e.replace(By,"."):e,Mc=e=>!e||gt(e),Ao=(e,o,g)=>{const C=gt(o)?o.split("."):o;let P=0;for(;P{const{obj:C,k:P}=Ao(e,o,Object);if(C!==void 0||o.length===1){C[P]=g;return}let E=o[o.length-1],n=o.slice(0,o.length-1),c=Ao(e,n,Object);for(;c.obj===void 0&&n.length;)E=`${n[n.length-1]}.${E}`,n=n.slice(0,n.length-1),c=Ao(e,n,Object),c?.obj&&typeof c.obj[`${c.k}.${E}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${E}`]=g},Hy=(e,o,g,C)=>{const{obj:P,k:E}=Ao(e,o,Object);P[E]=P[E]||[],P[E].push(g)},mi=(e,o)=>{const{obj:g,k:C}=Ao(e,o);if(g&&Object.prototype.hasOwnProperty.call(g,C))return g[C]},jy=(e,o,g)=>{const C=mi(e,g);return C!==void 0?C:mi(o,g)},xc=(e,o,g)=>{for(const C in o)C!=="__proto__"&&C!=="constructor"&&(C in e?gt(e[C])||e[C]instanceof String||gt(o[C])||o[C]instanceof String?g&&(e[C]=o[C]):xc(e[C],o[C],g):e[C]=o[C]);return e},Qn=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Dy={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Ry=e=>gt(e)?e.replace(/[&<>"'\/]/g,o=>Dy[o]):e;class Vy{constructor(o){this.capacity=o,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(o){const g=this.regExpMap.get(o);if(g!==void 0)return g;const C=new RegExp(o);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(o,C),this.regExpQueue.push(o),C}}const Uy=[" ",",","?","!",";"],Fy=new Vy(20),zy=(e,o,g)=>{o=o||"",g=g||"";const C=Uy.filter(n=>o.indexOf(n)<0&&g.indexOf(n)<0);if(C.length===0)return!0;const P=Fy.getRegExp(`(${C.map(n=>n==="?"?"\\?":n).join("|")})`);let E=!P.test(e);if(!E){const n=e.indexOf(g);n>0&&!P.test(e.substring(0,n))&&(E=!0)}return E},Ua=(e,o,g=".")=>{if(!e)return;if(e[o])return Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;const C=o.split(g);let P=e;for(let E=0;E-1&&re?.replace("_","-"),Ky={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,o){console?.[e]?.apply?.(console,o)}};class gi{constructor(o,g={}){this.init(o,g)}init(o,g={}){this.prefix=g.prefix||"i18next:",this.logger=o||Ky,this.options=g,this.debug=g.debug}log(...o){return this.forward(o,"log","",!0)}warn(...o){return this.forward(o,"warn","",!0)}error(...o){return this.forward(o,"error","")}deprecate(...o){return this.forward(o,"warn","WARNING DEPRECATED: ",!0)}forward(o,g,C,P){return P&&!this.debug?null:(gt(o[0])&&(o[0]=`${C}${this.prefix} ${o[0]}`),this.logger[g](o))}create(o){return new gi(this.logger,{prefix:`${this.prefix}:${o}:`,...this.options})}clone(o){return o=o||this.options,o.prefix=o.prefix||this.prefix,new gi(this.logger,o)}}var Qr=new gi;class vi{constructor(){this.observers={}}on(o,g){return o.split(" ").forEach(C=>{this.observers[C]||(this.observers[C]=new Map);const P=this.observers[C].get(g)||0;this.observers[C].set(g,P+1)}),this}off(o,g){if(this.observers[o]){if(!g){delete this.observers[o];return}this.observers[o].delete(g)}}emit(o,...g){this.observers[o]&&Array.from(this.observers[o].entries()).forEach(([P,E])=>{for(let n=0;n{for(let n=0;n-1&&this.options.ns.splice(g,1)}getResource(o,g,C,P={}){const E=P.keySeparator!==void 0?P.keySeparator:this.options.keySeparator,n=P.ignoreJSONStructure!==void 0?P.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;o.indexOf(".")>-1?c=o.split("."):(c=[o,g],C&&(Array.isArray(C)?c.push(...C):gt(C)&&E?c.push(...C.split(E)):c.push(C)));const r=mi(this.data,c);return!r&&!g&&!C&&o.indexOf(".")>-1&&(o=c[0],g=c[1],C=c.slice(2).join(".")),r||!n||!gt(C)?r:Ua(this.data?.[o]?.[g],C,E)}addResource(o,g,C,P,E={silent:!1}){const n=E.keySeparator!==void 0?E.keySeparator:this.options.keySeparator;let c=[o,g];C&&(c=c.concat(n?C.split(n):C)),o.indexOf(".")>-1&&(c=o.split("."),P=g,g=c[1]),this.addNamespaces(g),Ec(this.data,c,P),E.silent||this.emit("added",o,g,C,P)}addResources(o,g,C,P={silent:!1}){for(const E in C)(gt(C[E])||Array.isArray(C[E]))&&this.addResource(o,g,E,C[E],{silent:!0});P.silent||this.emit("added",o,g,C)}addResourceBundle(o,g,C,P,E,n={silent:!1,skipCopy:!1}){let c=[o,g];o.indexOf(".")>-1&&(c=o.split("."),P=C,C=g,g=c[1]),this.addNamespaces(g);let r=mi(this.data,c)||{};n.skipCopy||(C=JSON.parse(JSON.stringify(C))),P?xc(r,C,E):r={...r,...C},Ec(this.data,c,r),n.silent||this.emit("added",o,g,C)}removeResourceBundle(o,g){this.hasResourceBundle(o,g)&&delete this.data[o][g],this.removeNamespaces(g),this.emit("removed",o,g)}hasResourceBundle(o,g){return this.getResource(o,g)!==void 0}getResourceBundle(o,g){return g||(g=this.options.defaultNS),this.getResource(o,g)}getDataByLanguage(o){return this.data[o]}hasLanguageSomeTranslations(o){const g=this.getDataByLanguage(o);return!!(g&&Object.keys(g)||[]).find(P=>g[P]&&Object.keys(g[P]).length>0)}toJSON(){return this.data}}var Ac={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,o,g,C,P){return e.forEach(E=>{o=this.processors[E]?.process(o,g,C,P)??o}),o}};const Oc={},Tc=e=>!gt(e)&&typeof e!="boolean"&&typeof e!="number";class bi extends vi{constructor(o,g={}){super(),ky(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],o,this),this.options=g,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Qr.create("translator")}changeLanguage(o){o&&(this.language=o)}exists(o,g={interpolation:{}}){const C={...g};return o==null?!1:this.resolve(o,C)?.res!==void 0}extractFromKey(o,g){let C=g.nsSeparator!==void 0?g.nsSeparator:this.options.nsSeparator;C===void 0&&(C=":");const P=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let E=g.ns||this.options.defaultNS||[];const n=C&&o.indexOf(C)>-1,c=!this.options.userDefinedKeySeparator&&!g.keySeparator&&!this.options.userDefinedNsSeparator&&!g.nsSeparator&&!zy(o,C,P);if(n&&!c){const r=o.match(this.interpolator.nestingRegexp);if(r&&r.length>0)return{key:o,namespaces:gt(E)?[E]:E};const a=o.split(C);(C!==P||C===P&&this.options.ns.indexOf(a[0])>-1)&&(E=a.shift()),o=a.join(P)}return{key:o,namespaces:gt(E)?[E]:E}}translate(o,g,C){let P=typeof g=="object"?{...g}:g;if(typeof P!="object"&&this.options.overloadTranslationOptionHandler&&(P=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(P={...P}),P||(P={}),o==null)return"";Array.isArray(o)||(o=[String(o)]);const E=P.returnDetails!==void 0?P.returnDetails:this.options.returnDetails,n=P.keySeparator!==void 0?P.keySeparator:this.options.keySeparator,{key:c,namespaces:r}=this.extractFromKey(o[o.length-1],P),a=r[r.length-1];let i=P.nsSeparator!==void 0?P.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const y=P.lng||this.language,t=P.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(y?.toLowerCase()==="cimode")return t?E?{res:`${a}${i}${c}`,usedKey:c,exactUsedKey:c,usedLng:y,usedNS:a,usedParams:this.getUsedParamsDetails(P)}:`${a}${i}${c}`:E?{res:c,usedKey:c,exactUsedKey:c,usedLng:y,usedNS:a,usedParams:this.getUsedParamsDetails(P)}:c;const d=this.resolve(o,P);let b=d?.res;const m=d?.usedKey||c,u=d?.exactUsedKey||c,f=["[object Number]","[object Function]","[object RegExp]"],l=P.joinArrays!==void 0?P.joinArrays:this.options.joinArrays,s=!this.i18nFormat||this.i18nFormat.handleAsObject,v=P.count!==void 0&&!gt(P.count),p=bi.hasDefaultValue(P),h=v?this.pluralResolver.getSuffix(y,P.count,P):"",O=P.ordinal&&v?this.pluralResolver.getSuffix(y,P.count,{ordinal:!1}):"",I=v&&!P.ordinal&&P.count===0,B=I&&P[`defaultValue${this.options.pluralSeparator}zero`]||P[`defaultValue${h}`]||P[`defaultValue${O}`]||P.defaultValue;let k=b;s&&!b&&p&&(k=B);const L=Tc(k),N=Object.prototype.toString.apply(k);if(s&&k&&L&&f.indexOf(N)<0&&!(gt(l)&&Array.isArray(k))){if(!P.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const H=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,k,{...P,ns:r}):`key '${c} (${this.language})' returned an object instead of string.`;return E?(d.res=H,d.usedParams=this.getUsedParamsDetails(P),d):H}if(n){const H=Array.isArray(k),j=H?[]:{},U=H?u:m;for(const _ in k)if(Object.prototype.hasOwnProperty.call(k,_)){const T=`${U}${n}${_}`;p&&!b?j[_]=this.translate(T,{...P,defaultValue:Tc(B)?B[_]:void 0,joinArrays:!1,ns:r}):j[_]=this.translate(T,{...P,joinArrays:!1,ns:r}),j[_]===T&&(j[_]=k[_])}b=j}}else if(s&>(l)&&Array.isArray(b))b=b.join(l),b&&(b=this.extendTranslation(b,o,P,C));else{let H=!1,j=!1;!this.isValidLookup(b)&&p&&(H=!0,b=B),this.isValidLookup(b)||(j=!0,b=c);const _=(P.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&j?void 0:b,T=p&&B!==b&&this.options.updateMissing;if(j||H||T){if(this.logger.log(T?"updateKey":"missingKey",y,a,c,T?B:b),n){const w=this.resolve(c,{...P,keySeparator:!1});w&&w.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let x=[];const M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,P.lng||this.language);if(this.options.saveMissingTo==="fallback"&&M&&M[0])for(let w=0;w{const V=p&&D!==b?D:_;this.options.missingKeyHandler?this.options.missingKeyHandler(w,a,A,V,T,P):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(w,a,A,V,T,P),this.emit("missingKey",w,a,A,b)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?x.forEach(w=>{const A=this.pluralResolver.getSuffixes(w,P);I&&P[`defaultValue${this.options.pluralSeparator}zero`]&&A.indexOf(`${this.options.pluralSeparator}zero`)<0&&A.push(`${this.options.pluralSeparator}zero`),A.forEach(D=>{S([w],c+D,P[`defaultValue${D}`]||B)})}):S(x,c,B))}b=this.extendTranslation(b,o,P,d,C),j&&b===c&&this.options.appendNamespaceToMissingKey&&(b=`${a}${i}${c}`),(j||H)&&this.options.parseMissingKeyHandler&&(b=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}${i}${c}`:c,H?b:void 0,P))}return E?(d.res=b,d.usedParams=this.getUsedParamsDetails(P),d):b}extendTranslation(o,g,C,P,E){if(this.i18nFormat?.parse)o=this.i18nFormat.parse(o,{...this.options.interpolation.defaultVariables,...C},C.lng||this.language||P.usedLng,P.usedNS,P.usedKey,{resolved:P});else if(!C.skipInterpolation){C.interpolation&&this.interpolator.init({...C,interpolation:{...this.options.interpolation,...C.interpolation}});const r=gt(o)&&(C?.interpolation?.skipOnVariables!==void 0?C.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(r){const y=o.match(this.interpolator.nestingRegexp);a=y&&y.length}let i=C.replace&&!gt(C.replace)?C.replace:C;if(this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),o=this.interpolator.interpolate(o,i,C.lng||this.language||P.usedLng,C),r){const y=o.match(this.interpolator.nestingRegexp),t=y&&y.length;aE?.[0]===y[0]&&!C.context?(this.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${g[0]}`),null):this.translate(...y,g),C)),C.interpolation&&this.interpolator.reset()}const n=C.postProcess||this.options.postProcess,c=gt(n)?[n]:n;return o!=null&&c?.length&&C.applyPostProcessor!==!1&&(o=Ac.handle(c,o,g,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...P,usedParams:this.getUsedParamsDetails(C)},...C}:C,this)),o}resolve(o,g={}){let C,P,E,n,c;return gt(o)&&(o=[o]),o.forEach(r=>{if(this.isValidLookup(C))return;const a=this.extractFromKey(r,g),i=a.key;P=i;let y=a.namespaces;this.options.fallbackNS&&(y=y.concat(this.options.fallbackNS));const t=g.count!==void 0&&!gt(g.count),d=t&&!g.ordinal&&g.count===0,b=g.context!==void 0&&(gt(g.context)||typeof g.context=="number")&&g.context!=="",m=g.lngs?g.lngs:this.languageUtils.toResolveHierarchy(g.lng||this.language,g.fallbackLng);y.forEach(u=>{this.isValidLookup(C)||(c=u,!Oc[`${m[0]}-${u}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(Oc[`${m[0]}-${u}`]=!0,this.logger.warn(`key "${P}" for languages "${m.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(f=>{if(this.isValidLookup(C))return;n=f;const l=[i];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(l,i,f,u,g);else{let v;t&&(v=this.pluralResolver.getSuffix(f,g.count,g));const p=`${this.options.pluralSeparator}zero`,h=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(t&&(l.push(i+v),g.ordinal&&v.indexOf(h)===0&&l.push(i+v.replace(h,this.options.pluralSeparator)),d&&l.push(i+p)),b){const O=`${i}${this.options.contextSeparator}${g.context}`;l.push(O),t&&(l.push(O+v),g.ordinal&&v.indexOf(h)===0&&l.push(O+v.replace(h,this.options.pluralSeparator)),d&&l.push(O+p))}}let s;for(;s=l.pop();)this.isValidLookup(C)||(E=s,C=this.getResource(f,u,s,g))}))})}),{res:C,usedKey:P,exactUsedKey:E,usedLng:n,usedNS:c}}isValidLookup(o){return o!==void 0&&!(!this.options.returnNull&&o===null)&&!(!this.options.returnEmptyString&&o==="")}getResource(o,g,C,P={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(o,g,C,P):this.resourceStore.getResource(o,g,C,P)}getUsedParamsDetails(o={}){const g=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],C=o.replace&&!gt(o.replace);let P=C?o.replace:o;if(C&&typeof o.count<"u"&&(P.count=o.count),this.options.interpolation.defaultVariables&&(P={...this.options.interpolation.defaultVariables,...P}),!C){P={...P};for(const E of g)delete P[E]}return P}static hasDefaultValue(o){const g="defaultValue";for(const C in o)if(Object.prototype.hasOwnProperty.call(o,C)&&g===C.substring(0,g.length)&&o[C]!==void 0)return!0;return!1}}class Ic{constructor(o){this.options=o,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Qr.create("languageUtils")}getScriptPartFromCode(o){if(o=Oo(o),!o||o.indexOf("-")<0)return null;const g=o.split("-");return g.length===2||(g.pop(),g[g.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(g.join("-"))}getLanguagePartFromCode(o){if(o=Oo(o),!o||o.indexOf("-")<0)return o;const g=o.split("-");return this.formatLanguageCode(g[0])}formatLanguageCode(o){if(gt(o)&&o.indexOf("-")>-1){let g;try{g=Intl.getCanonicalLocales(o)[0]}catch{}return g&&this.options.lowerCaseLng&&(g=g.toLowerCase()),g||(this.options.lowerCaseLng?o.toLowerCase():o)}return this.options.cleanCode||this.options.lowerCaseLng?o.toLowerCase():o}isSupportedCode(o){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(o=this.getLanguagePartFromCode(o)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(o)>-1}getBestMatchFromCodes(o){if(!o)return null;let g;return o.forEach(C=>{if(g)return;const P=this.formatLanguageCode(C);(!this.options.supportedLngs||this.isSupportedCode(P))&&(g=P)}),!g&&this.options.supportedLngs&&o.forEach(C=>{if(g)return;const P=this.getScriptPartFromCode(C);if(this.isSupportedCode(P))return g=P;const E=this.getLanguagePartFromCode(C);if(this.isSupportedCode(E))return g=E;g=this.options.supportedLngs.find(n=>{if(n===E)return n;if(!(n.indexOf("-")<0&&E.indexOf("-")<0)&&(n.indexOf("-")>0&&E.indexOf("-")<0&&n.substring(0,n.indexOf("-"))===E||n.indexOf(E)===0&&E.length>1))return n})}),g||(g=this.getFallbackCodes(this.options.fallbackLng)[0]),g}getFallbackCodes(o,g){if(!o)return[];if(typeof o=="function"&&(o=o(g)),gt(o)&&(o=[o]),Array.isArray(o))return o;if(!g)return o.default||[];let C=o[g];return C||(C=o[this.getScriptPartFromCode(g)]),C||(C=o[this.formatLanguageCode(g)]),C||(C=o[this.getLanguagePartFromCode(g)]),C||(C=o.default),C||[]}toResolveHierarchy(o,g){const C=this.getFallbackCodes((g===!1?[]:g)||this.options.fallbackLng||[],o),P=[],E=n=>{n&&(this.isSupportedCode(n)?P.push(n):this.logger.warn(`rejecting language code not found in supportedLngs: ${n}`))};return gt(o)&&(o.indexOf("-")>-1||o.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&E(this.formatLanguageCode(o)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&E(this.getScriptPartFromCode(o)),this.options.load!=="currentOnly"&&E(this.getLanguagePartFromCode(o))):gt(o)&&E(this.formatLanguageCode(o)),C.forEach(n=>{P.indexOf(n)<0&&E(this.formatLanguageCode(n))}),P}}const Nc={zero:0,one:1,two:2,few:3,many:4,other:5},Lc={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Wy{constructor(o,g={}){this.languageUtils=o,this.options=g,this.logger=Qr.create("pluralResolver"),this.pluralRulesCache={}}addRule(o,g){this.rules[o]=g}clearCache(){this.pluralRulesCache={}}getRule(o,g={}){const C=Oo(o==="dev"?"en":o),P=g.ordinal?"ordinal":"cardinal",E=JSON.stringify({cleanedCode:C,type:P});if(E in this.pluralRulesCache)return this.pluralRulesCache[E];let n;try{n=new Intl.PluralRules(C,{type:P})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Lc;if(!o.match(/-|_/))return Lc;const r=this.languageUtils.getLanguagePartFromCode(o);n=this.getRule(r,g)}return this.pluralRulesCache[E]=n,n}needsPlural(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(o,g,C={}){return this.getSuffixes(o,C).map(P=>`${g}${P}`)}getSuffixes(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?C.resolvedOptions().pluralCategories.sort((P,E)=>Nc[P]-Nc[E]).map(P=>`${this.options.prepend}${g.ordinal?`ordinal${this.options.prepend}`:""}${P}`):[]}getSuffix(o,g,C={}){const P=this.getRule(o,C);return P?`${this.options.prepend}${C.ordinal?`ordinal${this.options.prepend}`:""}${P.select(g)}`:(this.logger.warn(`no plural rule found for: ${o}`),this.getSuffix("dev",g,C))}}const kc=(e,o,g,C=".",P=!0)=>{let E=jy(e,o,g);return!E&&P&>(g)&&(E=Ua(e,g,C),E===void 0&&(E=Ua(o,g,C))),E},Fa=e=>e.replace(/\$/g,"$$$$");class Jy{constructor(o={}){this.logger=Qr.create("interpolator"),this.options=o,this.format=o?.interpolation?.format||(g=>g),this.init(o)}init(o={}){o.interpolation||(o.interpolation={escapeValue:!0});const{escape:g,escapeValue:C,useRawValueToEscape:P,prefix:E,prefixEscaped:n,suffix:c,suffixEscaped:r,formatSeparator:a,unescapeSuffix:i,unescapePrefix:y,nestingPrefix:t,nestingPrefixEscaped:d,nestingSuffix:b,nestingSuffixEscaped:m,nestingOptionsSeparator:u,maxReplaces:f,alwaysFormat:l}=o.interpolation;this.escape=g!==void 0?g:Ry,this.escapeValue=C!==void 0?C:!0,this.useRawValueToEscape=P!==void 0?P:!1,this.prefix=E?Qn(E):n||"{{",this.suffix=c?Qn(c):r||"}}",this.formatSeparator=a||",",this.unescapePrefix=i?"":y||"-",this.unescapeSuffix=this.unescapePrefix?"":i||"",this.nestingPrefix=t?Qn(t):d||Qn("$t("),this.nestingSuffix=b?Qn(b):m||Qn(")"),this.nestingOptionsSeparator=u||",",this.maxReplaces=f||1e3,this.alwaysFormat=l!==void 0?l:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const o=(g,C)=>g?.source===C?(g.lastIndex=0,g):new RegExp(C,"g");this.regexp=o(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=o(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=o(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(o,g,C,P){let E,n,c;const r=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},a=d=>{if(d.indexOf(this.formatSeparator)<0){const f=kc(g,r,d,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(f,void 0,C,{...P,...g,interpolationkey:d}):f}const b=d.split(this.formatSeparator),m=b.shift().trim(),u=b.join(this.formatSeparator).trim();return this.format(kc(g,r,m,this.options.keySeparator,this.options.ignoreJSONStructure),u,C,{...P,...g,interpolationkey:m})};this.resetRegExp();const i=P?.missingInterpolationHandler||this.options.missingInterpolationHandler,y=P?.interpolation?.skipOnVariables!==void 0?P.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:d=>Fa(d)},{regex:this.regexp,safeValue:d=>this.escapeValue?Fa(this.escape(d)):Fa(d)}].forEach(d=>{for(c=0;E=d.regex.exec(o);){const b=E[1].trim();if(n=a(b),n===void 0)if(typeof i=="function"){const u=i(o,E,P);n=gt(u)?u:""}else if(P&&Object.prototype.hasOwnProperty.call(P,b))n="";else if(y){n=E[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${o}`),n="";else!gt(n)&&!this.useRawValueToEscape&&(n=Sc(n));const m=d.safeValue(n);if(o=o.replace(E[0],m),y?(d.regex.lastIndex+=n.length,d.regex.lastIndex-=E[0].length):d.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),o}nest(o,g,C={}){let P,E,n;const c=(r,a)=>{const i=this.nestingOptionsSeparator;if(r.indexOf(i)<0)return r;const y=r.split(new RegExp(`${i}[ ]*{`));let t=`{${y[1]}`;r=y[0],t=this.interpolate(t,n);const d=t.match(/'/g),b=t.match(/"/g);((d?.length??0)%2===0&&!b||b.length%2!==0)&&(t=t.replace(/'/g,'"'));try{n=JSON.parse(t),a&&(n={...a,...n})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${r}`,m),`${r}${i}${t}`}return n.defaultValue&&n.defaultValue.indexOf(this.prefix)>-1&&delete n.defaultValue,r};for(;P=this.nestingRegexp.exec(o);){let r=[];n={...C},n=n.replace&&!gt(n.replace)?n.replace:n,n.applyPostProcessor=!1,delete n.defaultValue;const a=/{.*}/.test(P[1])?P[1].lastIndexOf("}")+1:P[1].indexOf(this.formatSeparator);if(a!==-1&&(r=P[1].slice(a).split(this.formatSeparator).map(i=>i.trim()).filter(Boolean),P[1]=P[1].slice(0,a)),E=g(c.call(this,P[1].trim(),n),n),E&&P[0]===o&&!gt(E))return E;gt(E)||(E=Sc(E)),E||(this.logger.warn(`missed to resolve ${P[1]} for nesting ${o}`),E=""),r.length&&(E=r.reduce((i,y)=>this.format(i,y,C.lng,{...C,interpolationkey:P[1].trim()}),E.trim())),o=o.replace(P[0],E),this.regexp.lastIndex=0}return o}}const $y=e=>{let o=e.toLowerCase().trim();const g={};if(e.indexOf("(")>-1){const C=e.split("(");o=C[0].toLowerCase().trim();const P=C[1].substring(0,C[1].length-1);o==="currency"&&P.indexOf(":")<0?g.currency||(g.currency=P.trim()):o==="relativetime"&&P.indexOf(":")<0?g.range||(g.range=P.trim()):P.split(";").forEach(n=>{if(n){const[c,...r]=n.split(":"),a=r.join(":").trim().replace(/^'+|'+$/g,""),i=c.trim();g[i]||(g[i]=a),a==="false"&&(g[i]=!1),a==="true"&&(g[i]=!0),isNaN(a)||(g[i]=parseInt(a,10))}})}return{formatName:o,formatOptions:g}},Bc=e=>{const o={};return(g,C,P)=>{let E=P;P&&P.interpolationkey&&P.formatParams&&P.formatParams[P.interpolationkey]&&P[P.interpolationkey]&&(E={...E,[P.interpolationkey]:void 0});const n=C+JSON.stringify(E);let c=o[n];return c||(c=e(Oo(C),P),o[n]=c),c(g)}},Gy=e=>(o,g,C)=>e(Oo(g),C)(o);class qy{constructor(o={}){this.logger=Qr.create("formatter"),this.options=o,this.init(o)}init(o,g={interpolation:{}}){this.formatSeparator=g.interpolation.formatSeparator||",";const C=g.cacheInBuiltFormats?Bc:Gy;this.formats={number:C((P,E)=>{const n=new Intl.NumberFormat(P,{...E});return c=>n.format(c)}),currency:C((P,E)=>{const n=new Intl.NumberFormat(P,{...E,style:"currency"});return c=>n.format(c)}),datetime:C((P,E)=>{const n=new Intl.DateTimeFormat(P,{...E});return c=>n.format(c)}),relativetime:C((P,E)=>{const n=new Intl.RelativeTimeFormat(P,{...E});return c=>n.format(c,E.range||"day")}),list:C((P,E)=>{const n=new Intl.ListFormat(P,{...E});return c=>n.format(c)})}}add(o,g){this.formats[o.toLowerCase().trim()]=g}addCached(o,g){this.formats[o.toLowerCase().trim()]=Bc(g)}format(o,g,C,P={}){const E=g.split(this.formatSeparator);if(E.length>1&&E[0].indexOf("(")>1&&E[0].indexOf(")")<0&&E.find(c=>c.indexOf(")")>-1)){const c=E.findIndex(r=>r.indexOf(")")>-1);E[0]=[E[0],...E.splice(1,c)].join(this.formatSeparator)}return E.reduce((c,r)=>{const{formatName:a,formatOptions:i}=$y(r);if(this.formats[a]){let y=c;try{const t=P?.formatParams?.[P.interpolationkey]||{},d=t.locale||t.lng||P.locale||P.lng||C;y=this.formats[a](c,d,{...i,...P,...t})}catch(t){this.logger.warn(t)}return y}else this.logger.warn(`there was no format function for ${a}`);return c},o)}}const Zy=(e,o)=>{e.pending[o]!==void 0&&(delete e.pending[o],e.pendingCount--)};class Xy extends vi{constructor(o,g,C,P={}){super(),this.backend=o,this.store=g,this.services=C,this.languageUtils=C.languageUtils,this.options=P,this.logger=Qr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=P.maxParallelReads||10,this.readingCalls=0,this.maxRetries=P.maxRetries>=0?P.maxRetries:5,this.retryTimeout=P.retryTimeout>=1?P.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(C,P.backend,P)}queueLoad(o,g,C,P){const E={},n={},c={},r={};return o.forEach(a=>{let i=!0;g.forEach(y=>{const t=`${a}|${y}`;!C.reload&&this.store.hasResourceBundle(a,y)?this.state[t]=2:this.state[t]<0||(this.state[t]===1?n[t]===void 0&&(n[t]=!0):(this.state[t]=1,i=!1,n[t]===void 0&&(n[t]=!0),E[t]===void 0&&(E[t]=!0),r[y]===void 0&&(r[y]=!0)))}),i||(c[a]=!0)}),(Object.keys(E).length||Object.keys(n).length)&&this.queue.push({pending:n,pendingCount:Object.keys(n).length,loaded:{},errors:[],callback:P}),{toLoad:Object.keys(E),pending:Object.keys(n),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(r)}}loaded(o,g,C){const P=o.split("|"),E=P[0],n=P[1];g&&this.emit("failedLoading",E,n,g),!g&&C&&this.store.addResourceBundle(E,n,C,void 0,void 0,{skipCopy:!0}),this.state[o]=g?-1:2,g&&C&&(this.state[o]=0);const c={};this.queue.forEach(r=>{Hy(r.loaded,[E],n),Zy(r,o),g&&r.errors.push(g),r.pendingCount===0&&!r.done&&(Object.keys(r.loaded).forEach(a=>{c[a]||(c[a]={});const i=r.loaded[a];i.length&&i.forEach(y=>{c[a][y]===void 0&&(c[a][y]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(r=>!r.done)}read(o,g,C,P=0,E=this.retryTimeout,n){if(!o.length)return n(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:o,ns:g,fcName:C,tried:P,wait:E,callback:n});return}this.readingCalls++;const c=(a,i)=>{if(this.readingCalls--,this.waitingReads.length>0){const y=this.waitingReads.shift();this.read(y.lng,y.ns,y.fcName,y.tried,y.wait,y.callback)}if(a&&i&&P{this.read.call(this,o,g,C,P+1,E*2,n)},E);return}n(a,i)},r=this.backend[C].bind(this.backend);if(r.length===2){try{const a=r(o,g);a&&typeof a.then=="function"?a.then(i=>c(null,i)).catch(c):c(null,a)}catch(a){c(a)}return}return r(o,g,c)}prepareLoading(o,g,C={},P){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),P&&P();gt(o)&&(o=this.languageUtils.toResolveHierarchy(o)),gt(g)&&(g=[g]);const E=this.queueLoad(o,g,C,P);if(!E.toLoad.length)return E.pending.length||P(),null;E.toLoad.forEach(n=>{this.loadOne(n)})}load(o,g,C){this.prepareLoading(o,g,{},C)}reload(o,g,C){this.prepareLoading(o,g,{reload:!0},C)}loadOne(o,g=""){const C=o.split("|"),P=C[0],E=C[1];this.read(P,E,"read",void 0,void 0,(n,c)=>{n&&this.logger.warn(`${g}loading namespace ${E} for language ${P} failed`,n),!n&&c&&this.logger.log(`${g}loaded namespace ${E} for language ${P}`,c),this.loaded(o,n,c)})}saveMissing(o,g,C,P,E,n={},c=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(g)){this.logger.warn(`did not save key "${C}" as the namespace "${g}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(C==null||C==="")){if(this.backend?.create){const r={...n,isUpdate:E},a=this.backend.create.bind(this.backend);if(a.length<6)try{let i;a.length===5?i=a(o,g,C,P,r):i=a(o,g,C,P),i&&typeof i.then=="function"?i.then(y=>c(null,y)).catch(c):c(null,i)}catch(i){c(i)}else a(o,g,C,P,c,r)}!o||!o[0]||this.store.addResource(o[0],g,C,P)}}}const Hc=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let o={};if(typeof e[1]=="object"&&(o=e[1]),gt(e[1])&&(o.defaultValue=e[1]),gt(e[2])&&(o.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const g=e[3]||e[2];Object.keys(g).forEach(C=>{o[C]=g[C]})}return o},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),jc=e=>(gt(e.ns)&&(e.ns=[e.ns]),gt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),gt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),wi=()=>{},Yy=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(g=>{typeof e[g]=="function"&&(e[g]=e[g].bind(e))})};class To extends vi{constructor(o={},g){if(super(),this.options=jc(o),this.services={},this.logger=Qr,this.modules={external:[]},Yy(this),g&&!this.isInitialized&&!o.isClone){if(!this.options.initAsync)return this.init(o,g),this;setTimeout(()=>{this.init(o,g)},0)}}init(o={},g){this.isInitializing=!0,typeof o=="function"&&(g=o,o={}),o.defaultNS==null&&o.ns&&(gt(o.ns)?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));const C=Hc();this.options={...C,...this.options,...jc(o)},this.options.interpolation={...C.interpolation,...this.options.interpolation},o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);const P=a=>a?typeof a=="function"?new a:a:null;if(!this.options.isClone){this.modules.logger?Qr.init(P(this.modules.logger),this.options):Qr.init(null,this.options);let a;this.modules.formatter?a=this.modules.formatter:a=qy;const i=new Ic(this.options);this.store=new Pc(this.options.resources,this.options);const y=this.services;y.logger=Qr,y.resourceStore=this.store,y.languageUtils=i,y.pluralResolver=new Wy(i,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==C.interpolation.format&&this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),a&&(!this.options.interpolation.format||this.options.interpolation.format===C.interpolation.format)&&(y.formatter=P(a),y.formatter.init&&y.formatter.init(y,this.options),this.options.interpolation.format=y.formatter.format.bind(y.formatter)),y.interpolator=new Jy(this.options),y.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},y.backendConnector=new Xy(P(this.modules.backend),y.resourceStore,y,this.options),y.backendConnector.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.languageDetector&&(y.languageDetector=P(this.modules.languageDetector),y.languageDetector.init&&y.languageDetector.init(y,this.options.detection,this.options)),this.modules.i18nFormat&&(y.i18nFormat=P(this.modules.i18nFormat),y.i18nFormat.init&&y.i18nFormat.init(this)),this.translator=new bi(this.services,this.options),this.translator.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.external.forEach(d=>{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,g||(g=wi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&a[0]!=="dev"&&(this.options.lng=a[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(a=>{this[a]=(...i)=>this.store[a](...i)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(a=>{this[a]=(...i)=>(this.store[a](...i),this)});const c=Po(),r=()=>{const a=(i,y)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(y),g(i,y)};if(this.languages&&!this.isInitialized)return a(null,this.t.bind(this));this.changeLanguage(this.options.lng,a)};return this.options.resources||!this.options.initAsync?r():setTimeout(r,0),c}loadResources(o,g=wi){let C=g;const P=gt(o)?o:this.language;if(typeof o=="function"&&(C=o),!this.options.resources||this.options.partialBundledLanguages){if(P?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return C();const E=[],n=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(a=>{a!=="cimode"&&E.indexOf(a)<0&&E.push(a)})};P?n(P):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(r=>n(r)),this.options.preload?.forEach?.(c=>n(c)),this.services.backendConnector.load(E,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),C(c)})}else C(null)}reloadResources(o,g,C){const P=Po();return typeof o=="function"&&(C=o,o=void 0),typeof g=="function"&&(C=g,g=void 0),o||(o=this.languages),g||(g=this.options.ns),C||(C=wi),this.services.backendConnector.reload(o,g,E=>{P.resolve(),C(E)}),P}use(o){if(!o)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!o.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return o.type==="backend"&&(this.modules.backend=o),(o.type==="logger"||o.log&&o.warn&&o.error)&&(this.modules.logger=o),o.type==="languageDetector"&&(this.modules.languageDetector=o),o.type==="i18nFormat"&&(this.modules.i18nFormat=o),o.type==="postProcessor"&&Ac.addPostProcessor(o),o.type==="formatter"&&(this.modules.formatter=o),o.type==="3rdParty"&&this.modules.external.push(o),this}setResolvedLanguage(o){if(!(!o||!this.languages)&&!(["cimode","dev"].indexOf(o)>-1)){for(let g=0;g-1)&&this.store.hasLanguageSomeTranslations(C)){this.resolvedLanguage=C;break}}!this.resolvedLanguage&&this.languages.indexOf(o)<0&&this.store.hasLanguageSomeTranslations(o)&&(this.resolvedLanguage=o,this.languages.unshift(o))}}changeLanguage(o,g){this.isLanguageChangingTo=o;const C=Po();this.emit("languageChanging",o);const P=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},E=(c,r)=>{r?this.isLanguageChangingTo===o&&(P(r),this.translator.changeLanguage(r),this.isLanguageChangingTo=void 0,this.emit("languageChanged",r),this.logger.log("languageChanged",r)):this.isLanguageChangingTo=void 0,C.resolve((...a)=>this.t(...a)),g&&g(c,(...a)=>this.t(...a))},n=c=>{!o&&!c&&this.services.languageDetector&&(c=[]);const r=gt(c)?c:c&&c[0],a=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(gt(c)?[c]:c);a&&(this.language||P(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,i=>{E(i,a)})};return!o&&this.services.languageDetector&&!this.services.languageDetector.async?n(this.services.languageDetector.detect()):!o&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(n):this.services.languageDetector.detect(n):n(o),C}getFixedT(o,g,C){const P=(E,n,...c)=>{let r;typeof n!="object"?r=this.options.overloadTranslationOptionHandler([E,n].concat(c)):r={...n},r.lng=r.lng||P.lng,r.lngs=r.lngs||P.lngs,r.ns=r.ns||P.ns,r.keyPrefix!==""&&(r.keyPrefix=r.keyPrefix||C||P.keyPrefix);const a=this.options.keySeparator||".";let i;return r.keyPrefix&&Array.isArray(E)?i=E.map(y=>`${r.keyPrefix}${a}${y}`):i=r.keyPrefix?`${r.keyPrefix}${a}${E}`:E,this.t(i,r)};return gt(o)?P.lng=o:P.lngs=o,P.ns=g,P.keyPrefix=C,P}t(...o){return this.translator?.translate(...o)}exists(...o){return this.translator?.exists(...o)}setDefaultNamespace(o){this.options.defaultNS=o}hasLoadedNamespace(o,g={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const C=g.lng||this.resolvedLanguage||this.languages[0],P=this.options?this.options.fallbackLng:!1,E=this.languages[this.languages.length-1];if(C.toLowerCase()==="cimode")return!0;const n=(c,r)=>{const a=this.services.backendConnector.state[`${c}|${r}`];return a===-1||a===0||a===2};if(g.precheck){const c=g.precheck(this,n);if(c!==void 0)return c}return!!(this.hasResourceBundle(C,o)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||n(C,o)&&(!P||n(E,o)))}loadNamespaces(o,g){const C=Po();return this.options.ns?(gt(o)&&(o=[o]),o.forEach(P=>{this.options.ns.indexOf(P)<0&&this.options.ns.push(P)}),this.loadResources(P=>{C.resolve(),g&&g(P)}),C):(g&&g(),Promise.resolve())}loadLanguages(o,g){const C=Po();gt(o)&&(o=[o]);const P=this.options.preload||[],E=o.filter(n=>P.indexOf(n)<0&&this.services.languageUtils.isSupportedCode(n));return E.length?(this.options.preload=P.concat(E),this.loadResources(n=>{C.resolve(),g&&g(n)}),C):(g&&g(),Promise.resolve())}dir(o){if(o||(o=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!o)return"rtl";try{const P=new Intl.Locale(o);if(P&&P.getTextInfo){const E=P.getTextInfo();if(E&&E.direction)return E.direction}}catch{}const g=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],C=this.services?.languageUtils||new Ic(Hc());return o.toLowerCase().indexOf("-latn")>1?"ltr":g.indexOf(C.getLanguagePartFromCode(o))>-1||o.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(o={},g){return new To(o,g)}cloneInstance(o={},g=wi){const C=o.forkResourceStore;C&&delete o.forkResourceStore;const P={...this.options,...o,isClone:!0},E=new To(P);if((o.debug!==void 0||o.prefix!==void 0)&&(E.logger=E.logger.clone(o)),["store","services","language"].forEach(c=>{E[c]=this[c]}),E.services={...this.services},E.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},C){const c=Object.keys(this.store.data).reduce((r,a)=>(r[a]={...this.store.data[a]},r[a]=Object.keys(r[a]).reduce((i,y)=>(i[y]={...r[a][y]},i),r[a]),r),{});E.store=new Pc(c,P),E.services.resourceStore=E.store}return E.translator=new bi(E.services,P),E.translator.on("*",(c,...r)=>{E.emit(c,...r)}),E.init(P,g),E.translator.options=P,E.translator.backendConnector.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},E}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const qt=To.createInstance();qt.createInstance=To.createInstance,qt.createInstance,qt.dir,qt.init,qt.loadResources,qt.reloadResources,qt.use,qt.changeLanguage,qt.getFixedT,qt.t,qt.exists,qt.setDefaultNamespace,qt.hasLoadedNamespace,qt.loadNamespaces,qt.loadLanguages;const Qy={lessThanXSeconds:{one:"bir saniyədən az",other:"{{count}} bir saniyədən az"},xSeconds:{one:"1 saniyə",other:"{{count}} saniyə"},halfAMinute:"yarım dəqiqə",lessThanXMinutes:{one:"bir dəqiqədən az",other:"{{count}} bir dəqiqədən az"},xMinutes:{one:"bir dəqiqə",other:"{{count}} dəqiqə"},aboutXHours:{one:"təxminən 1 saat",other:"təxminən {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"təxminən 1 həftə",other:"təxminən {{count}} həftə"},xWeeks:{one:"1 həftə",other:"{{count}} həftə"},aboutXMonths:{one:"təxminən 1 ay",other:"təxminən {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"təxminən 1 il",other:"təxminən {{count}} il"},xYears:{one:"1 il",other:"{{count}} il"},overXYears:{one:"1 ildən çox",other:"{{count}} ildən çox"},almostXYears:{one:"demək olar ki 1 il",other:"demək olar ki {{count}} il"}},em=(e,o,g)=>{let C;const P=Qy[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" əvvəl":C},tm={full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},rm={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},nm={full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},om={date:It({formats:tm,defaultWidth:"full"}),time:It({formats:rm,defaultWidth:"full"}),dateTime:It({formats:nm,defaultWidth:"full"})},im={lastWeek:"'sonuncu' eeee p -'də'",yesterday:"'dünən' p -'də'",today:"'bugün' p -'də'",tomorrow:"'sabah' p -'də'",nextWeek:"eeee p -'də'",other:"P"},am=(e,o,g,C)=>im[e],sm={narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},um={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},cm={narrow:["Y","F","M","A","M","İ","İ","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},lm={narrow:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],short:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],abbreviated:["Baz","Baz.e","Çər.a","Çər","Cüm.a","Cüm","Şə"],wide:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},dm={narrow:{am:"am",pm:"pm",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},fm={narrow:{am:"a",pm:"p",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},Io={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},hm=e=>{if(e===0)return e+"-ıncı";const o=e%10,g=e%100-o,C=e>=100?100:null;return Io[o]?Io[o]:Io[g]?Io[g]:C!==null?Io[C]:""},pm={ordinalNumber:(e,o)=>{const g=Number(e),C=hm(g);return g+C},era:ft({values:sm,defaultWidth:"wide"}),quarter:ft({values:um,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:cm,defaultWidth:"wide"}),day:ft({values:lm,defaultWidth:"wide"}),dayPeriod:ft({values:dm,defaultWidth:"wide",formattingValues:fm,defaultFormattingWidth:"wide"})},ym=/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,mm=/\d+/i,gm={narrow:/^(b|a)$/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i,wide:/^(bizim eradan əvvəl|bizim era)$/i},vm={any:[/^b$/i,/^(a|c)$/i]},bm={narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},wm={any:[/1/i,/2/i,/3/i,/4/i]},Cm={narrow:/^[(?-i)yfmaisond]$/i,abbreviated:/^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,wide:/^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i},Sm={narrow:[/^[(?-i)y]$/i,/^[(?-i)f]$/i,/^[(?-i)m]$/i,/^[(?-i)a]$/i,/^[(?-i)m]$/i,/^[(?-i)i]$/i,/^[(?-i)i]$/i,/^[(?-i)a]$/i,/^[(?-i)s]$/i,/^[(?-i)o]$/i,/^[(?-i)n]$/i,/^[(?-i)d]$/i],abbreviated:[/^Yan$/i,/^Fev$/i,/^Mar$/i,/^Apr$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avg$/i,/^Sen$/i,/^Okt$/i,/^Noy$/i,/^Dek$/i],wide:[/^Yanvar$/i,/^Fevral$/i,/^Mart$/i,/^Aprel$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avgust$/i,/^Sentyabr$/i,/^Oktyabr$/i,/^Noyabr$/i,/^Dekabr$/i]},_m={narrow:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,short:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,abbreviated:/^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i,wide:/^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i},Mm={narrow:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i],abbreviated:[/^Baz$/i,/^Baz\.e$/i,/^Çər\.a$/i,/^Çər$/i,/^Cüm\.a$/i,/^Cüm$/i,/^Şə$/i],wide:[/^Bazar$/i,/^Bazar ertəsi$/i,/^Çərşənbə axşamı$/i,/^Çərşənbə$/i,/^Cümə axşamı$/i,/^Cümə$/i,/^Şənbə$/i],any:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i]},Em={narrow:/^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,any:/^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i},xm={any:{am:/^a$/i,pm:/^p$/i,midnight:/^gecəyarı$/i,noon:/^gün$/i,morning:/səhər$/i,afternoon:/gündüz$/i,evening:/axşam$/i,night:/gecə$/i}},Pm={ordinalNumber:Yr({matchPattern:ym,parsePattern:mm,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:gm,defaultMatchWidth:"wide",parsePatterns:vm,defaultParseWidth:"any"}),quarter:ht({matchPatterns:bm,defaultMatchWidth:"wide",parsePatterns:wm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Cm,defaultMatchWidth:"wide",parsePatterns:Sm,defaultParseWidth:"narrow"}),day:ht({matchPatterns:_m,defaultMatchWidth:"wide",parsePatterns:Mm,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Em,defaultMatchWidth:"any",parsePatterns:xm,defaultParseWidth:"any"})},Am={code:"az",formatDistance:em,formatLong:om,formatRelative:am,localize:pm,match:Pm,options:{weekStartsOn:1,firstWeekContainsDate:1}},Om={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},Tm=(e,o,g)=>{let C;const P=Om[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"en "+C:"hace "+C:C},Im={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Nm={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Lm={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},km={date:It({formats:Im,defaultWidth:"full"}),time:It({formats:Nm,defaultWidth:"full"}),dateTime:It({formats:Lm,defaultWidth:"full"})},Bm={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Hm={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},jm=(e,o,g,C)=>o.getHours()!==1?Hm[e]:Bm[e],Dm={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},Rm={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Vm={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},Um={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},Fm={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},zm={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},Km={ordinalNumber:(e,o)=>Number(e)+"º",era:ft({values:Dm,defaultWidth:"wide"}),quarter:ft({values:Rm,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:Vm,defaultWidth:"wide"}),day:ft({values:Um,defaultWidth:"wide"}),dayPeriod:ft({values:Fm,defaultWidth:"wide",formattingValues:zm,defaultFormattingWidth:"wide"})},Wm=/^(\d+)(º)?/i,Jm=/\d+/i,$m={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},Gm={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},qm={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Zm={any:[/1/i,/2/i,/3/i,/4/i]},Xm={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},Ym={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},Qm={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},eg={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},tg={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},rg={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},ng={ordinalNumber:Yr({matchPattern:Wm,parsePattern:Jm,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:$m,defaultMatchWidth:"wide",parsePatterns:Gm,defaultParseWidth:"any"}),quarter:ht({matchPatterns:qm,defaultMatchWidth:"wide",parsePatterns:Zm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Xm,defaultMatchWidth:"wide",parsePatterns:Ym,defaultParseWidth:"any"}),day:ht({matchPatterns:Qm,defaultMatchWidth:"wide",parsePatterns:eg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:tg,defaultMatchWidth:"any",parsePatterns:rg,defaultParseWidth:"any"})},og={code:"es",formatDistance:Tm,formatLong:km,formatRelative:jm,localize:Km,match:ng,options:{weekStartsOn:1,firstWeekContainsDate:1}},ig={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},ag=(e,o,g)=>{let C;const P=ig[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"dans "+C:"il y a "+C:C},sg={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},ug={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},cg={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},lg={date:It({formats:sg,defaultWidth:"full"}),time:It({formats:ug,defaultWidth:"full"}),dateTime:It({formats:cg,defaultWidth:"full"})},dg={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},fg=(e,o,g,C)=>dg[e],hg={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},pg={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},yg={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},mg={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},gg={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},vg=(e,o)=>{const g=Number(e),C=o?.unit;if(g===0)return"0";const P=["year","week","hour","minute","second"];let E;return g===1?E=C&&P.includes(C)?"ère":"er":E="ème",g+E},bg=["MMM","MMMM"],wg={preprocessor:(e,o)=>e.getDate()===1||!o.some(C=>C.isToken&&bg.includes(C.value))?o:o.map(C=>C.isToken&&C.value==="do"?{isToken:!0,value:"d"}:C),ordinalNumber:vg,era:ft({values:hg,defaultWidth:"wide"}),quarter:ft({values:pg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:yg,defaultWidth:"wide"}),day:ft({values:mg,defaultWidth:"wide"}),dayPeriod:ft({values:gg,defaultWidth:"wide"})},Cg=/^(\d+)(ième|ère|ème|er|e)?/i,Sg=/\d+/i,_g={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},Mg={any:[/^av/i,/^ap/i]},Eg={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},xg={any:[/1/i,/2/i,/3/i,/4/i]},Pg={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Ag={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},Og={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},Tg={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Ig={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Ng={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Lg={ordinalNumber:Yr({matchPattern:Cg,parsePattern:Sg,valueCallback:e=>parseInt(e)}),era:ht({matchPatterns:_g,defaultMatchWidth:"wide",parsePatterns:Mg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Eg,defaultMatchWidth:"wide",parsePatterns:xg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Pg,defaultMatchWidth:"wide",parsePatterns:Ag,defaultParseWidth:"any"}),day:ht({matchPatterns:Og,defaultMatchWidth:"wide",parsePatterns:Tg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Ig,defaultMatchWidth:"any",parsePatterns:Ng,defaultParseWidth:"any"})},kg={code:"fr",formatDistance:ag,formatLong:lg,formatRelative:fg,localize:wg,match:Lg,options:{weekStartsOn:1,firstWeekContainsDate:4}},Bg={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},Hg=(e,o,g)=>{let C;const P=Bg[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"over "+C:C+" geleden":C},jg={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Dg={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Rg={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vg={date:It({formats:jg,defaultWidth:"full"}),time:It({formats:Dg,defaultWidth:"full"}),dateTime:It({formats:Rg,defaultWidth:"full"})},Ug={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Fg=(e,o,g,C)=>Ug[e],zg={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Kg={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Wg={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},Jg={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},$g={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},Gg={ordinalNumber:(e,o)=>Number(e)+"e",era:ft({values:zg,defaultWidth:"wide"}),quarter:ft({values:Kg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Wg,defaultWidth:"wide"}),day:ft({values:Jg,defaultWidth:"wide"}),dayPeriod:ft({values:$g,defaultWidth:"wide"})},qg=/^(\d+)e?/i,Zg=/\d+/i,Xg={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Yg={any:[/^v/,/^n/]},Qg={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},e4={any:[/1/i,/2/i,/3/i,/4/i]},t4={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},r4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},n4={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},o4={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},i4={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},a4={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},s4={ordinalNumber:Yr({matchPattern:qg,parsePattern:Zg,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Xg,defaultMatchWidth:"wide",parsePatterns:Yg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Qg,defaultMatchWidth:"wide",parsePatterns:e4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:t4,defaultMatchWidth:"wide",parsePatterns:r4,defaultParseWidth:"any"}),day:ht({matchPatterns:n4,defaultMatchWidth:"wide",parsePatterns:o4,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:i4,defaultMatchWidth:"any",parsePatterns:a4,defaultParseWidth:"any"})},u4={code:"nl",formatDistance:Hg,formatLong:Vg,formatRelative:Fg,localize:Gg,match:s4,options:{weekStartsOn:1,firstWeekContainsDate:4}},c4={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function l4(e,o){if(o===1)return e.one;const g=o%100;if(g<=20&&g>10)return e.other;const C=g%10;return C>=2&&C<=4?e.twoFour:e.other}function za(e,o,g){const C=l4(e,o);return(typeof C=="string"?C:C[g]).replace("{{count}}",String(o))}const d4=(e,o,g)=>{const C=c4[e];return g?.addSuffix?g.comparison&&g.comparison>0?"za "+za(C,o,"future"):za(C,o,"past")+" temu":za(C,o,"regular")},f4={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},h4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},p4={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y4={date:It({formats:f4,defaultWidth:"full"}),time:It({formats:h4,defaultWidth:"full"}),dateTime:It({formats:p4,defaultWidth:"full"})},m4={masculine:"ostatni",feminine:"ostatnia"},g4={masculine:"ten",feminine:"ta"},v4={masculine:"następny",feminine:"następna"},b4={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function Dc(e,o,g,C){let P;if(xo(o,g,C))P=g4;else if(e==="lastWeek")P=m4;else if(e==="nextWeek")P=v4;else throw new Error(`Cannot determine adjectives for token ${e}`);const E=o.getDay(),n=b4[E];return`'${P[n]}' eeee 'o' p`}const w4={lastWeek:Dc,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:Dc,other:"P"},C4=(e,o,g,C)=>{const P=w4[e];return typeof P=="function"?P(e,o,g,C):P},S4={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},_4={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},M4={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},E4={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},x4={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},P4={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},A4={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},O4={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},T4={ordinalNumber:(e,o)=>String(e),era:ft({values:S4,defaultWidth:"wide"}),quarter:ft({values:_4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:M4,defaultWidth:"wide",formattingValues:E4,defaultFormattingWidth:"wide"}),day:ft({values:x4,defaultWidth:"wide",formattingValues:P4,defaultFormattingWidth:"wide"}),dayPeriod:ft({values:A4,defaultWidth:"wide",formattingValues:O4,defaultFormattingWidth:"wide"})},I4=/^(\d+)?/i,N4=/\d+/i,L4={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},k4={any:[/^p/i,/^n/i]},B4={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},H4={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},j4={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},D4={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},R4={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},V4={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},U4={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},F4={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},z4={ordinalNumber:Yr({matchPattern:I4,parsePattern:N4,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:L4,defaultMatchWidth:"wide",parsePatterns:k4,defaultParseWidth:"any"}),quarter:ht({matchPatterns:B4,defaultMatchWidth:"wide",parsePatterns:H4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:j4,defaultMatchWidth:"wide",parsePatterns:D4,defaultParseWidth:"any"}),day:ht({matchPatterns:R4,defaultMatchWidth:"wide",parsePatterns:V4,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:U4,defaultMatchWidth:"any",parsePatterns:F4,defaultParseWidth:"any"})},K4={code:"pl",formatDistance:d4,formatLong:y4,formatRelative:C4,localize:T4,match:z4,options:{weekStartsOn:1,firstWeekContainsDate:4}};function No(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function dr(e){return(o,g)=>g?.addSuffix?g.comparison&&g.comparison>0?e.future?No(e.future,o):"через "+No(e.regular,o):e.past?No(e.past,o):No(e.regular,o)+" назад":No(e.regular,o)}const W4={lessThanXSeconds:dr({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:dr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,o)=>o?.addSuffix?o.comparison&&o.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:dr({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:dr({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:dr({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:dr({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:dr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:dr({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:dr({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:dr({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:dr({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:dr({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:dr({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:dr({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:dr({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},J4=(e,o,g)=>W4[e](o,g),$4={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},G4={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},q4={any:"{{date}}, {{time}}"},Z4={date:It({formats:$4,defaultWidth:"full"}),time:It({formats:G4,defaultWidth:"full"}),dateTime:It({formats:q4,defaultWidth:"any"})},Ka=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function X4(e){const o=Ka[e];switch(e){case 0:return"'в прошлое "+o+" в' p";case 1:case 2:case 4:return"'в прошлый "+o+" в' p";case 3:case 5:case 6:return"'в прошлую "+o+" в' p"}}function Rc(e){const o=Ka[e];return e===2?"'во "+o+" в' p":"'в "+o+" в' p"}function Y4(e){const o=Ka[e];switch(e){case 0:return"'в следующее "+o+" в' p";case 1:case 2:case 4:return"'в следующий "+o+" в' p";case 3:case 5:case 6:return"'в следующую "+o+" в' p"}}const Q4={lastWeek:(e,o,g)=>{const C=e.getDay();return xo(e,o,g)?Rc(C):X4(C)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,o,g)=>{const C=e.getDay();return xo(e,o,g)?Rc(C):Y4(C)},other:"P"},e6=(e,o,g,C)=>{const P=Q4[e];return typeof P=="function"?P(o,g,C):P},t6={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},r6={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},n6={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},o6={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},i6={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},a6={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},s6={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},u6={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;let P;return C==="date"?P="-е":C==="week"||C==="minute"||C==="second"?P="-я":P="-й",g+P},era:ft({values:t6,defaultWidth:"wide"}),quarter:ft({values:r6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:n6,defaultWidth:"wide",formattingValues:o6,defaultFormattingWidth:"wide"}),day:ft({values:i6,defaultWidth:"wide"}),dayPeriod:ft({values:a6,defaultWidth:"any",formattingValues:s6,defaultFormattingWidth:"wide"})},c6=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,l6=/\d+/i,d6={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},f6={any:[/^д/i,/^н/i]},h6={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},p6={any:[/1/i,/2/i,/3/i,/4/i]},y6={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},m6={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},g6={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},v6={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},b6={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},w6={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},C6={ordinalNumber:Yr({matchPattern:c6,parsePattern:l6,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:d6,defaultMatchWidth:"wide",parsePatterns:f6,defaultParseWidth:"any"}),quarter:ht({matchPatterns:h6,defaultMatchWidth:"wide",parsePatterns:p6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:y6,defaultMatchWidth:"wide",parsePatterns:m6,defaultParseWidth:"any"}),day:ht({matchPatterns:g6,defaultMatchWidth:"wide",parsePatterns:v6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:b6,defaultMatchWidth:"wide",parsePatterns:w6,defaultParseWidth:"any"})},S6={code:"ru",formatDistance:J4,formatLong:Z4,formatRelative:e6,localize:u6,match:C6,options:{weekStartsOn:1,firstWeekContainsDate:1}},_6={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},M6=(e,o,g)=>{let C;const P=_6[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" önce":C},E6={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},x6={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},P6={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},A6={date:It({formats:E6,defaultWidth:"full"}),time:It({formats:x6,defaultWidth:"full"}),dateTime:It({formats:P6,defaultWidth:"full"})},O6={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},T6=(e,o,g,C)=>O6[e],I6={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},N6={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},L6={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},k6={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},B6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},H6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},j6={ordinalNumber:(e,o)=>Number(e)+".",era:ft({values:I6,defaultWidth:"wide"}),quarter:ft({values:N6,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:L6,defaultWidth:"wide"}),day:ft({values:k6,defaultWidth:"wide"}),dayPeriod:ft({values:B6,defaultWidth:"wide",formattingValues:H6,defaultFormattingWidth:"wide"})},D6=/^(\d+)(\.)?/i,R6=/\d+/i,V6={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},U6={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},F6={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},z6={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},K6={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},W6={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},J6={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},$6={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},G6={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},q6={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},Z6={ordinalNumber:Yr({matchPattern:D6,parsePattern:R6,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:V6,defaultMatchWidth:"wide",parsePatterns:U6,defaultParseWidth:"any"}),quarter:ht({matchPatterns:F6,defaultMatchWidth:"wide",parsePatterns:z6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:K6,defaultMatchWidth:"wide",parsePatterns:W6,defaultParseWidth:"any"}),day:ht({matchPatterns:J6,defaultMatchWidth:"wide",parsePatterns:$6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:G6,defaultMatchWidth:"any",parsePatterns:q6,defaultParseWidth:"any"})},X6={code:"tr",formatDistance:M6,formatLong:A6,formatRelative:T6,localize:j6,match:Z6,options:{weekStartsOn:1,firstWeekContainsDate:1}};function Lo(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function fr(e){return(o,g)=>g&&g.addSuffix?g.comparison&&g.comparison>0?e.future?Lo(e.future,o):"за "+Lo(e.regular,o):e.past?Lo(e.past,o):Lo(e.regular,o)+" тому":Lo(e.regular,o)}const Y6=(e,o)=>o&&o.addSuffix?o.comparison&&o.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",Q6={lessThanXSeconds:fr({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:fr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:Y6,lessThanXMinutes:fr({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:fr({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:fr({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:fr({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:fr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:fr({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:fr({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:fr({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:fr({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:fr({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:fr({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:fr({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:fr({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},e5=(e,o,g)=>(g=g||{},Q6[e](o,g)),t5={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},r5={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},n5={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},o5={date:It({formats:t5,defaultWidth:"full"}),time:It({formats:r5,defaultWidth:"full"}),dateTime:It({formats:n5,defaultWidth:"full"})},Wa=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function i5(e){const o=Wa[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+o+" о' p";case 1:case 2:case 4:return"'у минулий "+o+" о' p"}}function Vc(e){return"'у "+Wa[e]+" о' p"}function a5(e){const o=Wa[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+o+" о' p";case 1:case 2:case 4:return"'у наступний "+o+" о' p"}}const s5={lastWeek:(e,o,g)=>{const C=On(e),P=C.getDay();return xo(C,o,g)?Vc(P):i5(P)},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:(e,o,g)=>{const C=On(e),P=C.getDay();return xo(C,o,g)?Vc(P):a5(P)},other:"P"},u5=(e,o,g,C)=>{const P=s5[e];return typeof P=="function"?P(o,g,C):P},c5={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},l5={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},d5={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},f5={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},h5={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},p5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},y5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},m5={ordinalNumber:(e,o)=>{const g=String(o?.unit),C=Number(e);let P;return g==="date"?C===3||C===23?P="-є":P="-е":g==="minute"||g==="second"||g==="hour"?P="-а":P="-й",C+P},era:ft({values:c5,defaultWidth:"wide"}),quarter:ft({values:l5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:d5,defaultWidth:"wide",formattingValues:f5,defaultFormattingWidth:"wide"}),day:ft({values:h5,defaultWidth:"wide"}),dayPeriod:ft({values:p5,defaultWidth:"any",formattingValues:y5,defaultFormattingWidth:"wide"})},g5=/^(\d+)(-?(е|й|є|а|я))?/i,v5=/\d+/i,b5={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},w5={any:[/^д/i,/^н/i]},C5={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},S5={any:[/1/i,/2/i,/3/i,/4/i]},_5={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},M5={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},E5={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},x5={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},P5={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},A5={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},O5={ordinalNumber:Yr({matchPattern:g5,parsePattern:v5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:b5,defaultMatchWidth:"wide",parsePatterns:w5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:C5,defaultMatchWidth:"wide",parsePatterns:S5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:_5,defaultMatchWidth:"wide",parsePatterns:M5,defaultParseWidth:"any"}),day:ht({matchPatterns:E5,defaultMatchWidth:"wide",parsePatterns:x5,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:P5,defaultMatchWidth:"wide",parsePatterns:A5,defaultParseWidth:"any"})},T5={code:"uk",formatDistance:e5,formatLong:o5,formatRelative:u5,localize:m5,match:O5,options:{weekStartsOn:1,firstWeekContainsDate:1}},I5={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},N5=(e,o,g)=>{let C;const P=I5[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" nữa":C+" trước":C},L5={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},k5={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},B5={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},H5={date:It({formats:L5,defaultWidth:"full"}),time:It({formats:k5,defaultWidth:"full"}),dateTime:It({formats:B5,defaultWidth:"full"})},j5={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},D5=(e,o,g,C)=>j5[e],R5={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},V5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},U5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},F5={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},z5={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},K5={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},W5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},J5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},$5={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;if(C==="quarter")switch(g){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(C==="day")switch(g){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(C==="week")return g===1?"thứ nhất":"thứ "+g;if(C==="dayOfYear")return g===1?"đầu tiên":"thứ "+g}return String(g)},era:ft({values:R5,defaultWidth:"wide"}),quarter:ft({values:V5,defaultWidth:"wide",formattingValues:U5,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:F5,defaultWidth:"wide",formattingValues:z5,defaultFormattingWidth:"wide"}),day:ft({values:K5,defaultWidth:"wide"}),dayPeriod:ft({values:W5,defaultWidth:"wide",formattingValues:J5,defaultFormattingWidth:"wide"})},G5=/^(\d+)/i,q5=/\d+/i,Z5={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},X5={any:[/^t/i,/^s/i]},Y5={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},Q5={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},e8={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},t8={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},r8={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},n8={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},o8={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},i8={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},a8={ordinalNumber:Yr({matchPattern:G5,parsePattern:q5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Z5,defaultMatchWidth:"wide",parsePatterns:X5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Y5,defaultMatchWidth:"wide",parsePatterns:Q5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:e8,defaultMatchWidth:"wide",parsePatterns:t8,defaultParseWidth:"wide"}),day:ht({matchPatterns:r8,defaultMatchWidth:"wide",parsePatterns:n8,defaultParseWidth:"wide"}),dayPeriod:ht({matchPatterns:o8,defaultMatchWidth:"wide",parsePatterns:i8,defaultParseWidth:"any"})},s8={code:"vi",formatDistance:N5,formatLong:H5,formatRelative:D5,localize:$5,match:a8,options:{weekStartsOn:1,firstWeekContainsDate:1}},u8=window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome"),Uc=Intl&&Intl.RelativeTimeFormat,c8=1e-5,Ja=4,$a=2,eo=5,Fc=9,l8={en:Cc,es:og,uk:T5,tr:X6,nl:u4,ru:S6,pl:K4,vi:s8,fr:kg,az:Am},d8=ic(),Tn=Z3({locale:"en-US",messages:{"components.transaction_status":"Success"}},d8),jr=(e,{precision:o,notation:g,compactDisplay:C}={})=>Tn.formatNumber(e,{minimumFractionDigits:o||0,maximumFractionDigits:o||0,notation:g,compactDisplay:C}),f8=["","k","M","B","T","e15","e18","e21","e24","e27","e30","e33","e36","e39","e42","e45","e48","e51","e54","e57","e60","e63","e66","e69","e72","e75","e78","e81","e84","e87","e90","e93","e96","e99","e101","e104"],zc=e=>{const o=Math.log10(Math.abs(e))/3|0;if([0,1,2].includes(o))return jr(e,{precision:eo});const C=f8[o],P=Math.pow(10,o*3);return(e/P).toFixed(5)+C},Kc=(e,o,{precision:g}={})=>Tn.formatNumber(e,{style:"currency",currency:o,minimumFractionDigits:g,maximumFractionDigits:g}),h8=(e,{precision:o}={})=>e.toFixed(o||2),Wc=e=>{const o=new Date(e),g=qt.language||"en";return`${new Intl.DateTimeFormat(g,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}).format(o)}`},p8={lessThanXSeconds:"second",xSeconds:"second",lessThanXMinutes:"minute",xMinutes:"minute",xHours:"hour",xDays:"day",xMonths:"month",xYears:"year"},y8=(e,o,g)=>{g=g||{};const C=g.locale.code||"en";return new Intl.RelativeTimeFormat(C,{style:"short"}).format(-o,p8[e]).replace(".","")},Ga=e=>{const o=new Date(e),g=qt.language!=="az"&&Uc;return`${Ny(o,{addSuffix:!0,locale:{...l8[qt.language],...g&&{formatDistance:y8}},roundingMethod:"floor"})}`},m8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric"})}, ${Tn.formatTime(o,{hour:"numeric",minute:"numeric"})}`},g8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric",weekday:"long"})}`},v8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric"})}`},b8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",year:"numeric"})}`};var Jc=(e=>(e.default="default",e.big="big",e))(Jc||{}),At=(e=>(e[e.FULL=0]="FULL",e[e.TINY=5]="TINY",e[e.LITTLE=10]="LITTLE",e[e.SMALL=15]="SMALL",e[e.MEDIUM=20]="MEDIUM",e[e.LARGE=25]="LARGE",e))(At||{});const $c=(e,o=5)=>{const g=e.length;if(g<=o)return e;const C=e.substring(0,o),P=e.substring(g-o);return`${C}...${P}`},Or=(e,o=5)=>{const[C,P]=e.split("-"),E=C.length;if(o===0||E<=13)return e;const n=$c(C,o);return P?`${n}-${P}`:`${n}`},w8=e=>Ly(e,{}),C8=e=>`${jr(e,{notation:"compact",compactDisplay:"short"})}`,S8=e=>jr(e,{precision:4}),qa=(e,o)=>e&&e.length>o?e.substring(0,o-1)+"...":e,Ci=(e,o=15)=>{const[g,C]=e.split(/(.cspr)$/),P=13,E=g.length;if(E===0||E<=P)return e;const n=g.substring(0,o),c=g.substring(E-o);return`${n}...${c}${C}`},_8=24,Si=({hash:e,href:o="./",csprName:g,hashLength:C=void 0,minified:P=!0,align:E="center"})=>{const n=g||e||"",c=g&&C===At.TINY?qa(g,_8):g,r=e?Or(e,C):null;return z.jsxs(De,{itemsSpacing:4,align:E,children:[z.jsx(Yt,{color:"primaryBlue",href:o,children:c||r}),z.jsx(_o,{value:n,minified:P})]})},M8=e=>xt({0:7.8,1:10,1.6:16,2:23,3:35,4:45,5:55},e),E8=Ce.default("div").withConfig({displayName:"truncate-box__StyledTruncateBox",componentId:"sc-17n13k-0"})(({size:e=2,lineHeight:o})=>({display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%",maxWidth:`${M8(e)}em`,"&:after":{content:"''",display:"block"},lineHeight:o?xt({sm:"1.5rem",xs:"1.25rem"},o):"unset"})),ko=wt.default.forwardRef((e,o)=>z.jsx(E8,{ref:o,...e}));var Za={exports:{}};/*! For license information please see lib.web.js.LICENSE.txt */var Gc;function x8(){return Gc||(Gc=1,function(e,o){(function(g,C){e.exports=C()})(self,()=>(()=>{var g={6667:(E,n,c)=>{c.d(n,{r:()=>r});const r="bignumber/5.7.0"},7457:(E,n,c)=>{c.d(n,{Os:()=>I,YR:()=>f,gH:()=>s,ii:()=>B});var r=c(9404),a=c.n(r),i=c(8905),y=c(7720),t=c(6667),d=a().BN;const b=new y.Vy(t.r),m={},u=9007199254740991;function f(k){return k!=null&&(s.isBigNumber(k)||typeof k=="number"&&k%1==0||typeof k=="string"&&!!k.match(/^-?[0-9]+$/)||(0,i.isHexString)(k)||typeof k=="bigint"||(0,i.isBytes)(k))}let l=!1;class s{constructor(L,N){L!==m&&b.throwError("cannot call constructor directly; use BigNumber.from",y.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=N,this._isBigNumber=!0,Object.freeze(this)}fromTwos(L){return p(h(this).fromTwos(L))}toTwos(L){return p(h(this).toTwos(L))}abs(){return this._hex[0]==="-"?s.from(this._hex.substring(1)):this}add(L){return p(h(this).add(h(L)))}sub(L){return p(h(this).sub(h(L)))}div(L){return s.from(L).isZero()&&O("division-by-zero","div"),p(h(this).div(h(L)))}mul(L){return p(h(this).mul(h(L)))}mod(L){const N=h(L);return N.isNeg()&&O("division-by-zero","mod"),p(h(this).umod(N))}pow(L){const N=h(L);return N.isNeg()&&O("negative-power","pow"),p(h(this).pow(N))}and(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","and"),p(h(this).and(N))}or(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","or"),p(h(this).or(N))}xor(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","xor"),p(h(this).xor(N))}mask(L){return(this.isNegative()||L<0)&&O("negative-width","mask"),p(h(this).maskn(L))}shl(L){return(this.isNegative()||L<0)&&O("negative-width","shl"),p(h(this).shln(L))}shr(L){return(this.isNegative()||L<0)&&O("negative-width","shr"),p(h(this).shrn(L))}eq(L){return h(this).eq(h(L))}lt(L){return h(this).lt(h(L))}lte(L){return h(this).lte(h(L))}gt(L){return h(this).gt(h(L))}gte(L){return h(this).gte(h(L))}isNegative(){return this._hex[0]==="-"}isZero(){return h(this).isZero()}toNumber(){try{return h(this).toNumber()}catch{O("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return b.throwError("this platform does not support BigInt",y.Vy.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?l||(l=!0,b.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?b.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",y.Vy.errors.UNEXPECTED_ARGUMENT,{}):b.throwError("BigNumber.toString does not accept parameters",y.Vy.errors.UNEXPECTED_ARGUMENT,{})),h(this).toString(10)}toHexString(){return this._hex}toJSON(L){return{type:"BigNumber",hex:this.toHexString()}}static from(L){if(L instanceof s)return L;if(typeof L=="string")return L.match(/^-?0x[0-9a-f]+$/i)?new s(m,v(L)):L.match(/^-?[0-9]+$/)?new s(m,v(new d(L))):b.throwArgumentError("invalid BigNumber string","value",L);if(typeof L=="number")return L%1&&O("underflow","BigNumber.from",L),(L>=u||L<=-u)&&O("overflow","BigNumber.from",L),s.from(String(L));const N=L;if(typeof N=="bigint")return s.from(N.toString());if((0,i.isBytes)(N))return s.from((0,i.hexlify)(N));if(N)if(N.toHexString){const H=N.toHexString();if(typeof H=="string")return s.from(H)}else{let H=N._hex;if(H==null&&N.type==="BigNumber"&&(H=N.hex),typeof H=="string"&&((0,i.isHexString)(H)||H[0]==="-"&&(0,i.isHexString)(H.substring(1))))return s.from(H)}return b.throwArgumentError("invalid BigNumber value","value",L)}static isBigNumber(L){return!(!L||!L._isBigNumber)}}function v(k){if(typeof k!="string")return v(k.toString(16));if(k[0]==="-")return(k=k.substring(1))[0]==="-"&&b.throwArgumentError("invalid hex","value",k),(k=v(k))==="0x00"?k:"-"+k;if(k.substring(0,2)!=="0x"&&(k="0x"+k),k==="0x")return"0x00";for(k.length%2&&(k="0x0"+k.substring(2));k.length>4&&k.substring(0,4)==="0x00";)k="0x"+k.substring(4);return k}function p(k){return s.from(v(k))}function h(k){const L=s.from(k).toHexString();return L[0]==="-"?new d("-"+L.substring(3),16):new d(L.substring(2),16)}function O(k,L,N){const H={fault:k,operation:L};return N!=null&&(H.value=N),b.throwError(k,y.Vy.errors.NUMERIC_FAULT,H)}function I(k){return new d(k,36).toString(16)}function B(k){return new d(k,16).toString(36)}},6077:(E,n,c)=>{c.r(n),c.d(n,{BigNumber:()=>r.gH,FixedFormat:()=>p,FixedNumber:()=>h,_base16To36:()=>r.ii,_base36To16:()=>r.Os,formatFixed:()=>s,parseFixed:()=>v});var r=c(7457),a=c(8905),i=c(7720),y=c(6667);const t=new i.Vy(y.r),d={},b=r.gH.from(0),m=r.gH.from(-1);function u(B,k,L,N){const H={fault:k,operation:L};return N!==void 0&&(H.value=N),t.throwError(B,i.Vy.errors.NUMERIC_FAULT,H)}let f="0";for(;f.length<256;)f+=f;function l(B){if(typeof B!="number")try{B=r.gH.from(B).toNumber()}catch{}return typeof B=="number"&&B>=0&&B<=256&&!(B%1)?"1"+f.substring(0,B):t.throwArgumentError("invalid decimal size","decimals",B)}function s(B,k){k==null&&(k=0);const L=l(k),N=(B=r.gH.from(B)).lt(b);N&&(B=B.mul(m));let H=B.mod(L).toString();for(;H.length2&&t.throwArgumentError("too many decimal points","value",B);let j=H[0],U=H[1];for(j||(j="0"),U||(U="0");U[U.length-1]==="0";)U=U.substring(0,U.length-1);for(U.length>L.length-1&&u("fractional component exceeds decimals","underflow","parseFixed"),U===""&&(U="0");U.lengthk[U]==null?T:(typeof k[U]!==_&&t.throwArgumentError("invalid fixed format ("+U+" not "+_+")","format."+U,k[U]),k[U]);L=j("signed","boolean",L),N=j("width","number",N),H=j("decimals","number",H)}return N%8&&t.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",N),H>80&&t.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",H),new p(d,L,N,H)}}class h{constructor(k,L,N,H){k!==d&&t.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=H,this._hex=L,this._value=N,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(k){this.format.name!==k.format.name&&t.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",k)}addUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.add(N),this.format.decimals,this.format)}subUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.sub(N),this.format.decimals,this.format)}mulUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(N).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(this.format._multiplier).div(N),this.format.decimals,this.format)}floor(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return this.isNegative()&&N&&(L=L.subUnsafe(O.toFormat(L.format))),L}ceiling(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return!this.isNegative()&&N&&(L=L.addUnsafe(O.toFormat(L.format))),L}round(k){k==null&&(k=0);const L=this.toString().split(".");if(L.length===1&&L.push("0"),(k<0||k>80||k%1)&&t.throwArgumentError("invalid decimal count","decimals",k),L[1].length<=k)return this;const N=h.from("1"+f.substring(0,k),this.format),H=I.toFormat(this.format);return this.mulUnsafe(N).addUnsafe(H).floor().divUnsafe(N)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(k){if(k==null)return this._hex;k%8&&t.throwArgumentError("invalid byte width","width",k);const L=r.gH.from(this._hex).fromTwos(this.format.width).toTwos(k).toHexString();return(0,a.hexZeroPad)(L,k/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(k){return h.fromString(this._value,k)}static fromValue(k,L,N){return N!=null||L==null||(0,r.YR)(L)||(N=L,L=null),L==null&&(L=0),N==null&&(N="fixed"),h.fromString(s(k,L),p.from(N))}static fromString(k,L){L==null&&(L="fixed");const N=p.from(L),H=v(k,N.decimals);!N.signed&&H.lt(b)&&u("unsigned value cannot be negative","overflow","value",k);let j=null;N.signed?j=H.toTwos(N.width).toHexString():(j=H.toHexString(),j=(0,a.hexZeroPad)(j,N.width/8));const U=s(H,N.decimals);return new h(d,j,U,N)}static fromBytes(k,L){L==null&&(L="fixed");const N=p.from(L);if((0,a.arrayify)(k).length>N.width/8)throw new Error("overflow");let H=r.gH.from(k);N.signed&&(H=H.fromTwos(N.width));const j=H.toTwos((N.signed?0:1)+N.width).toHexString(),U=s(H,N.decimals);return new h(d,j,U,N)}static from(k,L){if(typeof k=="string")return h.fromString(k,L);if((0,a.isBytes)(k))return h.fromBytes(k,L);try{return h.fromValue(k,0,L)}catch(N){if(N.code!==i.Vy.errors.INVALID_ARGUMENT)throw N}return t.throwArgumentError("invalid FixedNumber value","value",k)}static isFixedNumber(k){return!(!k||!k._isFixedNumber)}}const O=h.from(1),I=h.from("0.5")},8905:(E,n,c)=>{c.r(n),c.d(n,{arrayify:()=>b,concat:()=>m,hexConcat:()=>O,hexDataLength:()=>p,hexDataSlice:()=>h,hexStripZeros:()=>B,hexValue:()=>I,hexZeroPad:()=>k,hexlify:()=>v,isBytes:()=>d,isBytesLike:()=>y,isHexString:()=>l,joinSignature:()=>N,splitSignature:()=>L,stripZeros:()=>u,zeroPad:()=>f});const r=new(c(7720)).Vy("bytes/5.7.0");function a(H){return!!H.toHexString}function i(H){return H.slice||(H.slice=function(){const j=Array.prototype.slice.call(arguments);return i(new Uint8Array(Array.prototype.slice.apply(H,j)))}),H}function y(H){return l(H)&&!(H.length%2)||d(H)}function t(H){return typeof H=="number"&&H==H&&H%1==0}function d(H){if(H==null)return!1;if(H.constructor===Uint8Array)return!0;if(typeof H=="string"||!t(H.length)||H.length<0)return!1;for(let j=0;j=256)return!1}return!0}function b(H,j){if(j||(j={}),typeof H=="number"){r.checkSafeUint53(H,"invalid arrayify value");const U=[];for(;H;)U.unshift(255&H),H=parseInt(String(H/256));return U.length===0&&U.push(0),i(new Uint8Array(U))}if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H)&&(H=H.toHexString()),l(H)){let U=H.substring(2);U.length%2&&(j.hexPad==="left"?U="0"+U:j.hexPad==="right"?U+="0":r.throwArgumentError("hex data is odd-length","value",H));const _=[];for(let T=0;Tb(T)),U=j.reduce((T,x)=>T+x.length,0),_=new Uint8Array(U);return j.reduce((T,x)=>(_.set(x,T),T+x.length),0),i(_)}function u(H){let j=b(H);if(j.length===0)return j;let U=0;for(;Uj&&r.throwArgumentError("value out of range","value",arguments[0]);const U=new Uint8Array(j);return U.set(H,j-H.length),i(U)}function l(H,j){return!(typeof H!="string"||!H.match(/^0x[0-9A-Fa-f]*$/)||j&&H.length!==2+2*j)}const s="0123456789abcdef";function v(H,j){if(j||(j={}),typeof H=="number"){r.checkSafeUint53(H,"invalid hexlify value");let U="";for(;H;)U=s[15&H]+U,H=Math.floor(H/16);return U.length?(U.length%2&&(U="0"+U),"0x"+U):"0x00"}if(typeof H=="bigint")return(H=H.toString(16)).length%2?"0x0"+H:"0x"+H;if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H))return H.toHexString();if(l(H))return H.length%2&&(j.hexPad==="left"?H="0x0"+H.substring(2):j.hexPad==="right"?H+="0":r.throwArgumentError("hex data is odd-length","value",H)),H.toLowerCase();if(d(H)){let U="0x";for(let _=0;_>4]+s[15&T]}return U}return r.throwArgumentError("invalid hexlify value","value",H)}function p(H){if(typeof H!="string")H=v(H);else if(!l(H)||H.length%2)return null;return(H.length-2)/2}function h(H,j,U){return typeof H!="string"?H=v(H):(!l(H)||H.length%2)&&r.throwArgumentError("invalid hexData","value",H),j=2+2*j,U!=null?"0x"+H.substring(j,2+2*U):"0x"+H.substring(j)}function O(H){let j="0x";return H.forEach(U=>{j+=v(U).substring(2)}),j}function I(H){const j=B(v(H,{hexPad:"left"}));return j==="0x"?"0x0":j}function B(H){typeof H!="string"&&(H=v(H)),l(H)||r.throwArgumentError("invalid hex string","value",H),H=H.substring(2);let j=0;for(;j2*j+2&&r.throwArgumentError("value out of range","value",arguments[1]);H.length<2*j+2;)H="0x0"+H.substring(2);return H}function L(H){const j={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(y(H)){let U=b(H);U.length===64?(j.v=27+(U[32]>>7),U[32]&=127,j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64))):U.length===65?(j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64)),j.v=U[64]):r.throwArgumentError("invalid signature string","signature",H),j.v<27&&(j.v===0||j.v===1?j.v+=27:r.throwArgumentError("signature invalid v byte","signature",H)),j.recoveryParam=1-j.v%2,j.recoveryParam&&(U[32]|=128),j._vs=v(U.slice(32,64))}else{if(j.r=H.r,j.s=H.s,j.v=H.v,j.recoveryParam=H.recoveryParam,j._vs=H._vs,j._vs!=null){const T=f(b(j._vs),32);j._vs=v(T);const x=T[0]>=128?1:0;j.recoveryParam==null?j.recoveryParam=x:j.recoveryParam!==x&&r.throwArgumentError("signature recoveryParam mismatch _vs","signature",H),T[0]&=127;const M=v(T);j.s==null?j.s=M:j.s!==M&&r.throwArgumentError("signature v mismatch _vs","signature",H)}if(j.recoveryParam==null)j.v==null?r.throwArgumentError("signature missing v and recoveryParam","signature",H):j.v===0||j.v===1?j.recoveryParam=j.v:j.recoveryParam=1-j.v%2;else if(j.v==null)j.v=27+j.recoveryParam;else{const T=j.v===0||j.v===1?j.v:1-j.v%2;j.recoveryParam!==T&&r.throwArgumentError("signature recoveryParam mismatch v","signature",H)}j.r!=null&&l(j.r)?j.r=k(j.r,32):r.throwArgumentError("signature missing or invalid r","signature",H),j.s!=null&&l(j.s)?j.s=k(j.s,32):r.throwArgumentError("signature missing or invalid s","signature",H);const U=b(j.s);U[0]>=128&&r.throwArgumentError("signature s out of range","signature",H),j.recoveryParam&&(U[0]|=128);const _=v(U);j._vs&&(l(j._vs)||r.throwArgumentError("signature invalid _vs","signature",H),j._vs=k(j._vs,32)),j._vs==null?j._vs=_:j._vs!==_&&r.throwArgumentError("signature _vs mismatch v and s","signature",H)}return j.yParityAndS=j._vs,j.compact=j.r+j.yParityAndS.substring(2),j}function N(H){return v(m([(H=L(H)).r,H.s,H.recoveryParam?"0x1c":"0x1b"]))}},1551:(E,n,c)=>{c.r(n),c.d(n,{AddressZero:()=>r,EtherSymbol:()=>f,HashZero:()=>u,MaxUint256:()=>m,NegativeOne:()=>i,One:()=>t,Two:()=>d,WeiPerEther:()=>b,Zero:()=>y});const r="0x0000000000000000000000000000000000000000";var a=c(7457);const i=a.gH.from(-1),y=a.gH.from(0),t=a.gH.from(1),d=a.gH.from(2),b=a.gH.from("1000000000000000000"),m=a.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),u="0x0000000000000000000000000000000000000000000000000000000000000000",f="Ξ"},7720:(E,n,c)=>{c.d(n,{Vy:()=>f});let r=!1,a=!1;const i={debug:1,default:2,info:2,warning:3,error:4,off:5};let y=i.default,t=null;const d=function(){try{const l=[];if(["NFD","NFC","NFKD","NFKC"].forEach(s=>{try{if("test".normalize(s)!=="test")throw new Error("bad normalize")}catch{l.push(s)}}),l.length)throw new Error("missing "+l.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(l){return l.message}return null}();var b,m;(function(l){l.DEBUG="DEBUG",l.INFO="INFO",l.WARNING="WARNING",l.ERROR="ERROR",l.OFF="OFF"})(b||(b={})),function(l){l.UNKNOWN_ERROR="UNKNOWN_ERROR",l.NOT_IMPLEMENTED="NOT_IMPLEMENTED",l.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",l.NETWORK_ERROR="NETWORK_ERROR",l.SERVER_ERROR="SERVER_ERROR",l.TIMEOUT="TIMEOUT",l.BUFFER_OVERRUN="BUFFER_OVERRUN",l.NUMERIC_FAULT="NUMERIC_FAULT",l.MISSING_NEW="MISSING_NEW",l.INVALID_ARGUMENT="INVALID_ARGUMENT",l.MISSING_ARGUMENT="MISSING_ARGUMENT",l.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",l.CALL_EXCEPTION="CALL_EXCEPTION",l.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",l.NONCE_EXPIRED="NONCE_EXPIRED",l.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",l.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",l.TRANSACTION_REPLACED="TRANSACTION_REPLACED",l.ACTION_REJECTED="ACTION_REJECTED"}(m||(m={}));const u="0123456789abcdef";class f{constructor(s){Object.defineProperty(this,"version",{enumerable:!0,value:s,writable:!1})}_log(s,v){const p=s.toLowerCase();i[p]==null&&this.throwArgumentError("invalid log level name","logLevel",s),y>i[p]||console.log.apply(console,v)}debug(...s){this._log(f.levels.DEBUG,s)}info(...s){this._log(f.levels.INFO,s)}warn(...s){this._log(f.levels.WARNING,s)}makeError(s,v,p){if(a)return this.makeError("censored error",v,{});v||(v=f.errors.UNKNOWN_ERROR),p||(p={});const h=[];Object.keys(p).forEach(k=>{const L=p[k];try{if(L instanceof Uint8Array){let N="";for(let H=0;H>4],N+=u[15&L[H]];h.push(k+"=Uint8Array(0x"+N+")")}else h.push(k+"="+JSON.stringify(L))}catch{h.push(k+"="+JSON.stringify(p[k].toString()))}}),h.push(`code=${v}`),h.push(`version=${this.version}`);const O=s;let I="";switch(v){case m.NUMERIC_FAULT:{I="NUMERIC_FAULT";const k=s;switch(k){case"overflow":case"underflow":case"division-by-zero":I+="-"+k;break;case"negative-power":case"negative-width":I+="-unsupported";break;case"unbound-bitwise-result":I+="-unbound-result"}break}case m.CALL_EXCEPTION:case m.INSUFFICIENT_FUNDS:case m.MISSING_NEW:case m.NONCE_EXPIRED:case m.REPLACEMENT_UNDERPRICED:case m.TRANSACTION_REPLACED:case m.UNPREDICTABLE_GAS_LIMIT:I=v}I&&(s+=" [ See: https://links.ethers.org/v5-errors-"+I+" ]"),h.length&&(s+=" ("+h.join(", ")+")");const B=new Error(s);return B.reason=O,B.code=v,Object.keys(p).forEach(function(k){B[k]=p[k]}),B}throwError(s,v,p){throw this.makeError(s,v,p)}throwArgumentError(s,v,p){return this.throwError(s,f.errors.INVALID_ARGUMENT,{argument:v,value:p})}assert(s,v,p,h){s||this.throwError(v,p,h)}assertArgument(s,v,p,h){s||this.throwArgumentError(v,p,h)}checkNormalize(s){d&&this.throwError("platform missing String.prototype.normalize",f.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:d})}checkSafeUint53(s,v){typeof s=="number"&&(v==null&&(v="value not safe"),(s<0||s>=9007199254740991)&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:s}),s%1&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:s}))}checkArgumentCount(s,v,p){p=p?": "+p:"",sv&&this.throwError("too many arguments"+p,f.errors.UNEXPECTED_ARGUMENT,{count:s,expectedCount:v})}checkNew(s,v){s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}checkAbstract(s,v){s===v?this.throwError("cannot instantiate abstract class "+JSON.stringify(v.name)+" directly; use a sub-class",f.errors.UNSUPPORTED_OPERATION,{name:s.name,operation:"new"}):s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}static globalLogger(){return t||(t=new f("logger/5.7.0")),t}static setCensorship(s,v){if(!s&&v&&this.globalLogger().throwError("cannot permanently disable censorship",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),r){if(!s)return;this.globalLogger().throwError("error censorship permanent",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}a=!!s,r=!!v}static setLogLevel(s){const v=i[s.toLowerCase()];v!=null?y=v:f.globalLogger().warn("invalid log level - "+s)}static from(s){return new f(s)}}f.errors=m,f.levels=b},5111:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.curve25519=n.getSharedSecret=n.sync=n.verify=n.sign=n.getPublicKey=n.Signature=n.Point=n.RistrettoPoint=n.ExtendedPoint=n.CURVE=void 0;const r=c(3086),a=BigInt(0),i=BigInt(1),y=BigInt(2),t=BigInt(8),d=BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),b=Object.freeze({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),P:BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),l:d,n:d,h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960")});n.CURVE=b;const m=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),u=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),f=(BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"),BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")),l=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),s=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),v=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952");class p{constructor(W,X,ne,re){this.x=W,this.y=X,this.z=ne,this.t=re}static fromAffine(W){if(!(W instanceof N))throw new TypeError("ExtendedPoint#fromAffine: expected Point");return W.equals(N.ZERO)?p.ZERO:new p(W.x,W.y,i,V(W.x*W.y))}static toAffineBatch(W){const X=function(ne,re=b.P){const ye=new Array(ne.length),Te=R(ne.reduce((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=Pe,V(Pe*Be,re)),i),re);return ne.reduceRight((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=V(Pe*ye[Ve],re),V(Pe*Be,re)),Te),ye}(W.map(ne=>ne.z));return W.map((ne,re)=>ne.toAffine(X[re]))}static normalizeZ(W){return this.toAffineBatch(W).map(this.fromAffine)}equals(W){O(W);const{x:X,y:ne,z:re}=this,{x:ye,y:Te,z:Pe}=W,Be=V(X*Pe),Ve=V(ye*re),ke=V(ne*Pe),Ue=V(Te*re);return Be===Ve&&ke===Ue}negate(){return new p(V(-this.x),this.y,this.z,V(-this.t))}double(){const{x:W,y:X,z:ne}=this,{a:re}=b,ye=V(W*W),Te=V(X*X),Pe=V(y*V(ne*ne)),Be=V(re*ye),Ve=W+X,ke=V(V(Ve*Ve)-ye-Te),Ue=Be+Te,Xe=Ue-Pe,je=Be-Te,fe=V(ke*Xe),oe=V(Ue*je),de=V(ke*je),me=V(Xe*Ue);return new p(fe,oe,me,de)}add(W){O(W);const{x:X,y:ne,z:re,t:ye}=this,{x:Te,y:Pe,z:Be,t:Ve}=W,ke=V((ne-X)*(Pe+Te)),Ue=V((ne+X)*(Pe-Te)),Xe=V(Ue-ke);if(Xe===a)return this.double();const je=V(re*y*Ve),fe=V(ye*y*Be),oe=fe+je,de=Ue+ke,me=fe-je,_e=V(oe*Xe),Se=V(de*me),Ne=V(oe*me),He=V(Xe*de);return new p(_e,Se,He,Ne)}subtract(W){return this.add(W.negate())}precomputeWindow(W){const X=1+256/W,ne=[];let re=this,ye=re;for(let Te=0;Te>=Ue,fe>Be&&(fe-=ke,W+=i);const oe=je,de=je+Math.abs(fe)-1,me=Xe%2!=0,_e=fe<0;fe===0?Te=Te.add(h(me,re[oe])):ye=ye.add(h(_e,re[de]))}return p.normalizeZ([ye,Te])[0]}multiply(W,X){return this.wNAF(q(W,b.l),X)}multiplyUnsafe(W){let X=q(W,b.l,!1);const ne=p.BASE,re=p.ZERO;if(X===a)return re;if(this.equals(re)||X===i)return this;if(this.equals(ne))return this.wNAF(X);let ye=re,Te=this;for(;X>a;)X&i&&(ye=ye.add(Te)),Te=Te.double(),X>>=i;return ye}isSmallOrder(){return this.multiplyUnsafe(b.h).equals(p.ZERO)}isTorsionFree(){let W=this.multiplyUnsafe(b.l/y).double();return b.l%y&&(W=W.add(this)),W.equals(p.ZERO)}toAffine(W){const{x:X,y:ne,z:re}=this,ye=this.equals(p.ZERO);W==null&&(W=ye?t:R(re));const Te=V(X*W),Pe=V(ne*W),Be=V(re*W);if(ye)return N.ZERO;if(Be!==i)throw new Error("invZ was invalid");return new N(Te,Pe)}fromRistrettoBytes(){B()}toRistrettoBytes(){B()}fromRistrettoHash(){B()}}function h(J,W){const X=W.negate();return J?X:W}function O(J){if(!(J instanceof p))throw new TypeError("ExtendedPoint expected")}function I(J){if(!(J instanceof k))throw new TypeError("RistrettoPoint expected")}function B(){throw new Error("Legacy method: switch to RistrettoPoint")}n.ExtendedPoint=p,p.BASE=new p(b.Gx,b.Gy,i,V(b.Gx*b.Gy)),p.ZERO=new p(a,i,i,a);class k{constructor(W){this.ep=W}static calcElligatorRistrettoMap(W){const{d:X}=b,ne=V(u*W*W),re=V((ne+i)*s);let ye=BigInt(-1);const Te=V((ye-X*ne)*V(ne+X));let{isValid:Pe,value:Be}=G(re,Te),Ve=V(Be*W);S(Ve)||(Ve=V(-Ve)),Pe||(Be=Ve),Pe||(ye=ne);const ke=V(ye*(ne-i)*v-Te),Ue=Be*Be,Xe=V((Be+Be)*Te),je=V(ke*f),fe=V(i-Ue),oe=V(i+Ue);return new p(V(Xe*oe),V(fe*je),V(je*oe),V(Xe*fe))}static hashToCurve(W){const X=D((W=Z(W,64)).slice(0,32)),ne=this.calcElligatorRistrettoMap(X),re=D(W.slice(32,64)),ye=this.calcElligatorRistrettoMap(re);return new k(ne.add(ye))}static fromHex(W){W=Z(W,32);const{a:X,d:ne}=b,re="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",ye=D(W);if(!function(Se,Ne){if(Se.length!==Ne.length)return!1;for(let He=0;He=re)throw new Error("Expected 0 < hex < P");if(!X&&Te>=m)throw new Error("Expected 0 < hex < 2**256");const Pe=V(Te*Te),Be=V(Pe-i),Ve=V(ne*Pe+i);let{isValid:ke,value:Ue}=G(Be,Ve);if(!ke)throw new Error("Point.fromHex: invalid y coordinate");const Xe=(Ue&i)===i;return!!(128&W[31])!==Xe&&(Ue=V(-Ue)),new N(Ue,Te)}static async fromPrivateKey(W){return(await Ie(W)).point}toRawBytes(){const W=M(this.y);return W[31]|=this.x&i?128:0,W}toHex(){return _(this.toRawBytes())}toX25519(){const{y:W}=this;return M(V((i+W)*R(i-W)))}isTorsionFree(){return p.fromAffine(this).isTorsionFree()}equals(W){return this.x===W.x&&this.y===W.y}negate(){return new N(V(-this.x),this.y)}add(W){return p.fromAffine(this).add(p.fromAffine(W)).toAffine()}subtract(W){return this.add(W.negate())}multiply(W){return p.fromAffine(this).multiply(W,this).toAffine()}}n.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,i);class H{constructor(W,X){this.r=W,this.s=X,this.assertValidity()}static fromHex(W){const X=Z(W,64),ne=N.fromHex(X.slice(0,32),!1),re=w(X.slice(32,64));return new H(ne,re)}assertValidity(){const{r:W,s:X}=this;if(!(W instanceof N))throw new Error("Expected Point instance");return q(X,b.l,!1),this}toRawBytes(){const W=new Uint8Array(64);return W.set(this.r.toRawBytes()),W.set(M(this.s),32),W}toHex(){return _(this.toRawBytes())}}function j(...J){if(!J.every(ne=>ne instanceof Uint8Array))throw new Error("Expected Uint8Array list");if(J.length===1)return J[0];const W=J.reduce((ne,re)=>ne+re.length,0),X=new Uint8Array(W);for(let ne=0,re=0;neW.toString(16).padStart(2,"0"));function _(J){if(!(J instanceof Uint8Array))throw new Error("Uint8Array expected");let W="";for(let X=0;X=a?X:W+X}function R(J,W=b.P){if(J===a||W<=a)throw new Error(`invert: expected positive integers, got n=${J} mod=${W}`);let X=V(J,W),ne=W,re=a,ye=i;for(;X!==a;){const Te=ne/X,Pe=ne%X,Be=re-ye*Te;ne=X,X=Pe,re=ye,ye=Be}if(ne!==i)throw new Error("invert: does not exist");return V(re,W)}function F(J,W){const{P:X}=b;let ne=J;for(;W-- >a;)ne*=ne,ne%=X;return ne}function $(J){const{P:W}=b,X=BigInt(5),ne=BigInt(10),re=BigInt(20),ye=BigInt(40),Te=BigInt(80),Pe=J*J%W*J%W,Be=F(Pe,y)*Pe%W,Ve=F(Be,i)*J%W,ke=F(Ve,X)*Ve%W,Ue=F(ke,ne)*ke%W,Xe=F(Ue,re)*Ue%W,je=F(Xe,ye)*Xe%W,fe=F(je,Te)*je%W,oe=F(fe,Te)*je%W,de=F(oe,ne)*ke%W;return{pow_p_5_8:F(de,y)*J%W,b2:Pe}}function G(J,W){const X=V(W*W*W),ne=V(X*X*W);let re=V(J*X*$(J*ne).pow_p_5_8);const ye=V(W*re*re),Te=re,Pe=V(re*u),Be=ye===J,Ve=ye===V(-J),ke=ye===V(-J*u);return Be&&(re=Te),(Ve||ke)&&(re=Pe),S(re)&&(re=V(-re)),{isValid:Be||Ve,value:re}}function Q(J){return G(i,J)}function ee(J){return V(w(J),b.l)}function Z(J,W){const X=J instanceof Uint8Array?Uint8Array.from(J):T(J);if(typeof W=="number"&&X.length!==W)throw new Error(`Expected ${W} bytes`);return X}function q(J,W,X=!0){if(!W)throw new TypeError("Specify max value");if(typeof J=="number"&&Number.isSafeInteger(J)&&(J=BigInt(J)),typeof J=="bigint"&&J=a;Se--){const Ne=Pe>>Se&i;oe^=Ne,ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1],oe=Ne;const He=Ue+Xe,Le=V(He*He),Re=Ue-Xe,Ze=V(Re*Re),Fe=Le-Ze,Ge=je+fe,lt=V((je-fe)*He),Je=V(Ge*Re),it=lt+Je,vt=lt-Je;je=V(it*it),fe=V(Ve*V(vt*vt)),Ue=V(Le*Ze),Xe=V(Fe*(Le+V(Be*Fe)))}ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1];const{pow_p_5_8:de,b2:me}=$(Xe),_e=V(F(de,BigInt(3))*me);return V(Ue*_e)}(function(ne){const re=Z(ne,32);return re[31]&=127,w(re)}(W),w(ue(Z(J,32))));if(X===a)throw new Error("Invalid private or public key received");return M(V(X,b.P))},scalarMultBase:J=>n.curve25519.scalarMult(J,n.curve25519.BASE_POINT_U)};const K={node:r,web:typeof self=="object"&&"crypto"in self?self.crypto:void 0};n.utils={bytesToHex:_,hexToBytes:T,concatBytes:j,getExtendedPublicKey:Ie,mod:V,invert:R,TORSION_SUBGROUP:["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"],hashToPrivateScalar:J=>{if((J=Z(J)).length<40||J.length>1024)throw new Error("Expected 40-1024 bytes of private key as per FIPS 186");return V(w(J),b.l-i)+i},randomBytes:(J=32)=>{if(K.web)return K.web.getRandomValues(new Uint8Array(J));if(K.node){const{randomBytes:W}=K.node;return new Uint8Array(W(J).buffer)}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>n.utils.randomBytes(32),sha512:async(...J)=>{const W=j(...J);if(K.web){const X=await K.web.subtle.digest("SHA-512",W.buffer);return new Uint8Array(X)}if(K.node)return Uint8Array.from(K.node.createHash("sha512").update(W).digest());throw new Error("The environment doesn't have sha512 function")},precompute(J=8,W=N.BASE){const X=W.equals(N.BASE)?W:new N(W.x,W.y);return X._setWindowSize(J),X.multiply(y),X},sha512Sync:void 0},Object.defineProperties(n.utils,{sha512Sync:{configurable:!1,get:()=>ie,set(J){ie||(ie=J)}}})},7557:(E,n)=>{function c(b){if(!Number.isSafeInteger(b)||b<0)throw new Error(`Wrong positive integer: ${b}`)}function r(b){if(typeof b!="boolean")throw new Error(`Expected boolean, not ${b}`)}function a(b,...m){if(!(b instanceof Uint8Array))throw new Error("Expected Uint8Array");if(m.length>0&&!m.includes(b.length))throw new Error(`Expected Uint8Array of length ${m}, not of length=${b.length}`)}function i(b){if(typeof b!="function"||typeof b.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");c(b.outputLen),c(b.blockLen)}function y(b,m=!0){if(b.destroyed)throw new Error("Hash instance has been destroyed");if(m&&b.finished)throw new Error("Hash#digest() has already been called")}function t(b,m){a(b);const u=m.outputLen;if(b.length{Object.defineProperty(n,"__esModule",{value:!0}),n.BLAKE2=n.SIGMA=void 0;const r=c(7557),a=c(9175);n.SIGMA=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3]);class i extends a.Hash{constructor(t,d,b={},m,u,f){if(super(),this.blockLen=t,this.outputLen=d,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,r.default.number(t),r.default.number(d),r.default.number(m),d<0||d>m)throw new Error("outputLen bigger than keyLen");if(b.key!==void 0&&(b.key.length<1||b.key.length>m))throw new Error(`key must be up 1..${m} byte long or undefined`);if(b.salt!==void 0&&b.salt.length!==u)throw new Error(`salt must be ${u} byte long or undefined`);if(b.personalization!==void 0&&b.personalization.length!==f)throw new Error(`personalization must be ${f} byte long or undefined`);this.buffer32=(0,a.u32)(this.buffer=new Uint8Array(t))}update(t){r.default.exists(this);const{blockLen:d,buffer:b,buffer32:m}=this,u=(t=(0,a.toBytes)(t)).length,f=t.byteOffset,l=t.buffer;for(let s=0;sm[f]=u)}digest(){const{buffer:t,outputLen:d}=this;this.digestInto(t);const b=t.slice(0,d);return this.destroy(),b}_cloneInto(t){const{buffer:d,length:b,finished:m,destroyed:u,outputLen:f,pos:l}=this;return t||(t=new this.constructor({dkLen:f})),t.set(...this.get()),t.length=b,t.finished=m,t.destroyed=u,t.outputLen=f,t.buffer.set(d),t.pos=l,t}}n.BLAKE2=i},915:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.SHA2=void 0;const r=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d,b,m){super(),this.blockLen=t,this.outputLen=d,this.padOffset=b,this.isLE=m,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=(0,a.createView)(this.buffer)}update(t){r.default.exists(this);const{view:d,buffer:b,blockLen:m}=this,u=(t=(0,a.toBytes)(t)).length;for(let f=0;fm-f&&(this.process(b,0),f=0);for(let h=f;h>k&L),H=Number(I&L),j=B?4:0,U=B?0:4;h.setUint32(O+j,N,B),h.setUint32(O+U,H,B)})(b,m-8,BigInt(8*this.length),u),this.process(b,0);const l=(0,a.createView)(t),s=this.outputLen;if(s%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const v=s/4,p=this.get();if(v>p.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h{Object.defineProperty(n,"__esModule",{value:!0}),n.add=n.toBig=n.split=n.fromBig=void 0;const c=BigInt(2**32-1),r=BigInt(32);function a(d,b=!1){return b?{h:Number(d&c),l:Number(d>>r&c)}:{h:0|Number(d>>r&c),l:0|Number(d&c)}}function i(d,b=!1){let m=new Uint32Array(d.length),u=new Uint32Array(d.length);for(let f=0;f>>0)+(u>>>0);return{h:d+m+(f/4294967296|0)|0,l:0|f}}n.fromBig=a,n.split=i,n.toBig=(d,b)=>BigInt(d>>>0)<>>0),n.add=y;const t={fromBig:a,split:i,toBig:n.toBig,shrSH:(d,b,m)=>d>>>m,shrSL:(d,b,m)=>d<<32-m|b>>>m,rotrSH:(d,b,m)=>d>>>m|b<<32-m,rotrSL:(d,b,m)=>d<<32-m|b>>>m,rotrBH:(d,b,m)=>d<<64-m|b>>>m-32,rotrBL:(d,b,m)=>d>>>m-32|b<<64-m,rotr32H:(d,b)=>b,rotr32L:(d,b)=>d,rotlSH:(d,b,m)=>d<>>32-m,rotlSL:(d,b,m)=>b<>>32-m,rotlBH:(d,b,m)=>b<>>64-m,rotlBL:(d,b,m)=>d<>>64-m,add:y,add3L:(d,b,m)=>(d>>>0)+(b>>>0)+(m>>>0),add3H:(d,b,m,u)=>b+m+u+(d/2**32|0)|0,add4L:(d,b,m,u)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0),add4H:(d,b,m,u,f)=>b+m+u+f+(d/2**32|0)|0,add5H:(d,b,m,u,f,l)=>b+m+u+f+l+(d/2**32|0)|0,add5L:(d,b,m,u,f)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0)+(f>>>0)};n.default=t},6719:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.blake2b=void 0;const r=c(6742),a=c(2318),i=c(9175),y=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),t=new Uint32Array(32);function d(u,f,l,s,v,p){const h=v[p],O=v[p+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotr32H(U,j),Dl:a.default.rotr32L(U,j)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrSH(L,k,24),Bl:a.default.rotrSL(L,k,24)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}function b(u,f,l,s,v,p){const h=v[p],O=v[p+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotrSH(U,j,16),Dl:a.default.rotrSL(U,j,16)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrBH(L,k,63),Bl:a.default.rotrBL(L,k,63)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}class m extends r.BLAKE2{constructor(f={}){super(128,f.dkLen===void 0?64:f.dkLen,f,64,16,16),this.v0l=0|y[0],this.v0h=0|y[1],this.v1l=0|y[2],this.v1h=0|y[3],this.v2l=0|y[4],this.v2h=0|y[5],this.v3l=0|y[6],this.v3h=0|y[7],this.v4l=0|y[8],this.v4h=0|y[9],this.v5l=0|y[10],this.v5h=0|y[11],this.v6l=0|y[12],this.v6h=0|y[13],this.v7l=0|y[14],this.v7h=0|y[15];const l=f.key?f.key.length:0;if(this.v0l^=this.outputLen|l<<8|65536|16777216,f.salt){const s=(0,i.u32)((0,i.toBytes)(f.salt));this.v4l^=s[0],this.v4h^=s[1],this.v5l^=s[2],this.v5h^=s[3]}if(f.personalization){const s=(0,i.u32)((0,i.toBytes)(f.personalization));this.v6l^=s[0],this.v6h^=s[1],this.v7l^=s[2],this.v7h^=s[3]}if(f.key){const s=new Uint8Array(this.blockLen);s.set((0,i.toBytes)(f.key)),this.update(s)}}get(){let{v0l:f,v0h:l,v1l:s,v1h:v,v2l:p,v2h:h,v3l:O,v3h:I,v4l:B,v4h:k,v5l:L,v5h:N,v6l:H,v6h:j,v7l:U,v7h:_}=this;return[f,l,s,v,p,h,O,I,B,k,L,N,H,j,U,_]}set(f,l,s,v,p,h,O,I,B,k,L,N,H,j,U,_){this.v0l=0|f,this.v0h=0|l,this.v1l=0|s,this.v1h=0|v,this.v2l=0|p,this.v2h=0|h,this.v3l=0|O,this.v3h=0|I,this.v4l=0|B,this.v4h=0|k,this.v5l=0|L,this.v5h=0|N,this.v6l=0|H,this.v6h=0|j,this.v7l=0|U,this.v7h=0|_}compress(f,l,s){this.get().forEach((I,B)=>t[B]=I),t.set(y,16);let{h:v,l:p}=a.default.fromBig(BigInt(this.length));t[24]=y[8]^p,t[25]=y[9]^v,s&&(t[28]=~t[28],t[29]=~t[29]);let h=0;const O=r.SIGMA;for(let I=0;I<12;I++)d(0,4,8,12,f,l+2*O[h++]),b(0,4,8,12,f,l+2*O[h++]),d(1,5,9,13,f,l+2*O[h++]),b(1,5,9,13,f,l+2*O[h++]),d(2,6,10,14,f,l+2*O[h++]),b(2,6,10,14,f,l+2*O[h++]),d(3,7,11,15,f,l+2*O[h++]),b(3,7,11,15,f,l+2*O[h++]),d(0,5,10,15,f,l+2*O[h++]),b(0,5,10,15,f,l+2*O[h++]),d(1,6,11,12,f,l+2*O[h++]),b(1,6,11,12,f,l+2*O[h++]),d(2,7,8,13,f,l+2*O[h++]),b(2,7,8,13,f,l+2*O[h++]),d(3,4,9,14,f,l+2*O[h++]),b(3,4,9,14,f,l+2*O[h++]);this.v0l^=t[0]^t[16],this.v0h^=t[1]^t[17],this.v1l^=t[2]^t[18],this.v1h^=t[3]^t[19],this.v2l^=t[4]^t[20],this.v2h^=t[5]^t[21],this.v3l^=t[6]^t[22],this.v3h^=t[7]^t[23],this.v4l^=t[8]^t[24],this.v4h^=t[9]^t[25],this.v5l^=t[10]^t[26],this.v5h^=t[11]^t[27],this.v6l^=t[12]^t[28],this.v6h^=t[13]^t[29],this.v7l^=t[14]^t[30],this.v7h^=t[15]^t[31],t.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}n.blake2b=(0,i.wrapConstructorWithOpts)(u=>new m(u))},5145:(E,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.crypto=void 0,n.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0},9615:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.hmac=n.HMAC=void 0;const r=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d){super(),this.finished=!1,this.destroyed=!1,r.default.hash(t);const b=(0,a.toBytes)(d);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const m=this.blockLen,u=new Uint8Array(m);u.set(b.length>m?t.create().update(b).digest():b);for(let f=0;fnew i(y,t).update(d).digest(),n.hmac.create=(y,t)=>new i(y,t)},2623:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.sha224=n.sha256=void 0;const r=c(915),a=c(9175),i=(u,f,l)=>u&f^u&l^f&l,y=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),d=new Uint32Array(64);class b extends r.SHA2{constructor(){super(64,32,8,!1),this.A=0|t[0],this.B=0|t[1],this.C=0|t[2],this.D=0|t[3],this.E=0|t[4],this.F=0|t[5],this.G=0|t[6],this.H=0|t[7]}get(){const{A:f,B:l,C:s,D:v,E:p,F:h,G:O,H:I}=this;return[f,l,s,v,p,h,O,I]}set(f,l,s,v,p,h,O,I){this.A=0|f,this.B=0|l,this.C=0|s,this.D=0|v,this.E=0|p,this.F=0|h,this.G=0|O,this.H=0|I}process(f,l){for(let N=0;N<16;N++,l+=4)d[N]=f.getUint32(l,!1);for(let N=16;N<64;N++){const H=d[N-15],j=d[N-2],U=(0,a.rotr)(H,7)^(0,a.rotr)(H,18)^H>>>3,_=(0,a.rotr)(j,17)^(0,a.rotr)(j,19)^j>>>10;d[N]=_+d[N-7]+U+d[N-16]|0}let{A:s,B:v,C:p,D:h,E:O,F:I,G:B,H:k}=this;for(let N=0;N<64;N++){const H=k+((0,a.rotr)(O,6)^(0,a.rotr)(O,11)^(0,a.rotr)(O,25))+((L=O)&I^~L&B)+y[N]+d[N]|0,j=((0,a.rotr)(s,2)^(0,a.rotr)(s,13)^(0,a.rotr)(s,22))+i(s,v,p)|0;k=B,B=I,I=O,O=h+H|0,h=p,p=v,v=s,s=H+j|0}var L;s=s+this.A|0,v=v+this.B|0,p=p+this.C|0,h=h+this.D|0,O=O+this.E|0,I=I+this.F|0,B=B+this.G|0,k=k+this.H|0,this.set(s,v,p,h,O,I,B,k)}roundClean(){d.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class m extends b{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}n.sha256=(0,a.wrapConstructor)(()=>new b),n.sha224=(0,a.wrapConstructor)(()=>new m)},102:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.sha384=n.sha512_256=n.sha512_224=n.sha512=n.SHA512=void 0;const r=c(915),a=c(2318),i=c(9175),[y,t]=a.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(s=>BigInt(s))),d=new Uint32Array(80),b=new Uint32Array(80);class m extends r.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:v,Al:p,Bh:h,Bl:O,Ch:I,Cl:B,Dh:k,Dl:L,Eh:N,El:H,Fh:j,Fl:U,Gh:_,Gl:T,Hh:x,Hl:M}=this;return[v,p,h,O,I,B,k,L,N,H,j,U,_,T,x,M]}set(v,p,h,O,I,B,k,L,N,H,j,U,_,T,x,M){this.Ah=0|v,this.Al=0|p,this.Bh=0|h,this.Bl=0|O,this.Ch=0|I,this.Cl=0|B,this.Dh=0|k,this.Dl=0|L,this.Eh=0|N,this.El=0|H,this.Fh=0|j,this.Fl=0|U,this.Gh=0|_,this.Gl=0|T,this.Hh=0|x,this.Hl=0|M}process(v,p){for(let A=0;A<16;A++,p+=4)d[A]=v.getUint32(p),b[A]=v.getUint32(p+=4);for(let A=16;A<80;A++){const D=0|d[A-15],V=0|b[A-15],R=a.default.rotrSH(D,V,1)^a.default.rotrSH(D,V,8)^a.default.shrSH(D,V,7),F=a.default.rotrSL(D,V,1)^a.default.rotrSL(D,V,8)^a.default.shrSL(D,V,7),$=0|d[A-2],G=0|b[A-2],Q=a.default.rotrSH($,G,19)^a.default.rotrBH($,G,61)^a.default.shrSH($,G,6),ee=a.default.rotrSL($,G,19)^a.default.rotrBL($,G,61)^a.default.shrSL($,G,6),Z=a.default.add4L(F,ee,b[A-7],b[A-16]),q=a.default.add4H(Z,R,Q,d[A-7],d[A-16]);d[A]=0|q,b[A]=0|Z}let{Ah:h,Al:O,Bh:I,Bl:B,Ch:k,Cl:L,Dh:N,Dl:H,Eh:j,El:U,Fh:_,Fl:T,Gh:x,Gl:M,Hh:S,Hl:w}=this;for(let A=0;A<80;A++){const D=a.default.rotrSH(j,U,14)^a.default.rotrSH(j,U,18)^a.default.rotrBH(j,U,41),V=a.default.rotrSL(j,U,14)^a.default.rotrSL(j,U,18)^a.default.rotrBL(j,U,41),R=j&_^~j&x,F=U&T^~U&M,$=a.default.add5L(w,V,F,t[A],b[A]),G=a.default.add5H($,S,D,R,y[A],d[A]),Q=0|$,ee=a.default.rotrSH(h,O,28)^a.default.rotrBH(h,O,34)^a.default.rotrBH(h,O,39),Z=a.default.rotrSL(h,O,28)^a.default.rotrBL(h,O,34)^a.default.rotrBL(h,O,39),q=h&I^h&k^I&k,ue=O&B^O&L^B&L;S=0|x,w=0|M,x=0|_,M=0|T,_=0|j,T=0|U,{h:j,l:U}=a.default.add(0|N,0|H,0|G,0|Q),N=0|k,H=0|L,k=0|I,L=0|B,I=0|h,B=0|O;const ce=a.default.add3L(Q,Z,ue);h=a.default.add3H(ce,G,ee,q),O=0|ce}({h,l:O}=a.default.add(0|this.Ah,0|this.Al,0|h,0|O)),{h:I,l:B}=a.default.add(0|this.Bh,0|this.Bl,0|I,0|B),{h:k,l:L}=a.default.add(0|this.Ch,0|this.Cl,0|k,0|L),{h:N,l:H}=a.default.add(0|this.Dh,0|this.Dl,0|N,0|H),{h:j,l:U}=a.default.add(0|this.Eh,0|this.El,0|j,0|U),{h:_,l:T}=a.default.add(0|this.Fh,0|this.Fl,0|_,0|T),{h:x,l:M}=a.default.add(0|this.Gh,0|this.Gl,0|x,0|M),{h:S,l:w}=a.default.add(0|this.Hh,0|this.Hl,0|S,0|w),this.set(h,O,I,B,k,L,N,H,j,U,_,T,x,M,S,w)}roundClean(){d.fill(0),b.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}n.SHA512=m;class u extends m{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class f extends m{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class l extends m{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}n.sha512=(0,i.wrapConstructor)(()=>new m),n.sha512_224=(0,i.wrapConstructor)(()=>new u),n.sha512_256=(0,i.wrapConstructor)(()=>new f),n.sha384=(0,i.wrapConstructor)(()=>new l)},9175:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.randomBytes=n.wrapXOFConstructorWithOpts=n.wrapConstructorWithOpts=n.wrapConstructor=n.checkOpts=n.Hash=n.concatBytes=n.toBytes=n.utf8ToBytes=n.asyncLoop=n.nextTick=n.hexToBytes=n.bytesToHex=n.isLE=n.rotr=n.createView=n.u32=n.u8=void 0;const r=c(5145),a=d=>d instanceof Uint8Array;if(n.u8=d=>new Uint8Array(d.buffer,d.byteOffset,d.byteLength),n.u32=d=>new Uint32Array(d.buffer,d.byteOffset,Math.floor(d.byteLength/4)),n.createView=d=>new DataView(d.buffer,d.byteOffset,d.byteLength),n.rotr=(d,b)=>d<<32-b|d>>>b,n.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!n.isLE)throw new Error("Non little-endian hardware is not supported");const i=Array.from({length:256},(d,b)=>b.toString(16).padStart(2,"0"));function y(d){if(typeof d!="string")throw new Error("utf8ToBytes expected string, got "+typeof d);return new Uint8Array(new TextEncoder().encode(d))}function t(d){if(typeof d=="string"&&(d=y(d)),!a(d))throw new Error("expected Uint8Array, got "+typeof d);return d}n.bytesToHex=function(d){if(!a(d))throw new Error("Uint8Array expected");let b="";for(let m=0;m{},n.asyncLoop=async function(d,b,m){let u=Date.now();for(let f=0;f=0&&lu+f.length,0));let m=0;return d.forEach(u=>{if(!a(u))throw new Error("Uint8Array expected");b.set(u,m),m+=u.length}),b},n.Hash=class{clone(){return this._cloneInto()}},n.checkOpts=function(d,b){if(b!==void 0&&(typeof b!="object"||(m=b,Object.prototype.toString.call(m)!=="[object Object]"||m.constructor!==Object)))throw new Error("Options should be object or undefined");var m;return Object.assign(d,b)},n.wrapConstructor=function(d){const b=u=>d().update(t(u)).digest(),m=d();return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=()=>d(),b},n.wrapConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},n.wrapXOFConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},n.randomBytes=function(d=32){if(r.crypto&&typeof r.crypto.getRandomValues=="function")return r.crypto.getRandomValues(new Uint8Array(d));throw new Error("crypto.getRandomValues must be defined")}},9598:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.schnorr=n.verify=n.signSync=n.sign=n.getSharedSecret=n.recoverPublicKey=n.getPublicKey=n.Signature=n.Point=n.CURVE=void 0;const r=c(4923),a=BigInt(0),i=BigInt(1),y=BigInt(2),t=BigInt(3),d=BigInt(8),b=Object.freeze({a,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:i,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")});n.CURVE=b;const m=(fe,oe)=>(fe+oe/y)/oe,u={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(fe){const{n:oe}=b,de=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),me=-i*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),_e=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),Se=de,Ne=BigInt("0x100000000000000000000000000000000"),He=m(Se*fe,oe),Le=m(-me*fe,oe);let Re=G(fe-He*de-Le*_e,oe),Ze=G(-He*me-Le*Se,oe);const Fe=Re>Ne,Ge=Ze>Ne;if(Fe&&(Re=oe-Re),Ge&&(Ze=oe-Ze),Re>Ne||Ze>Ne)throw new Error("splitScalarEndo: Endomorphism failed, k="+fe);return{k1neg:Fe,k1:Re,k2neg:Ge,k2:Ze}}},f=32,l=32,s=f+1,v=2*f+1;function p(fe){const{a:oe,b:de}=b,me=G(fe*fe),_e=G(me*fe);return G(_e+oe*fe+de)}const h=b.a===a;class O extends Error{constructor(oe){super(oe)}}function I(fe){if(!(fe instanceof B))throw new TypeError("JacobianPoint expected")}class B{constructor(oe,de,me){this.x=oe,this.y=de,this.z=me}static fromAffine(oe){if(!(oe instanceof N))throw new TypeError("JacobianPoint#fromAffine: expected Point");return oe.equals(N.ZERO)?B.ZERO:new B(oe.x,oe.y,i)}static toAffineBatch(oe){const de=function(me,_e=b.P){const Se=new Array(me.length),Ne=ee(me.reduce((He,Le,Re)=>Le===a?He:(Se[Re]=He,G(He*Le,_e)),i),_e);return me.reduceRight((He,Le,Re)=>Le===a?He:(Se[Re]=G(He*Se[Re],_e),G(He*Le,_e)),Ne),Se}(oe.map(me=>me.z));return oe.map((me,_e)=>me.toAffine(de[_e]))}static normalizeZ(oe){return B.toAffineBatch(oe).map(B.fromAffine)}equals(oe){I(oe);const{x:de,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe,Le=G(_e*_e),Re=G(He*He),Ze=G(de*Re),Fe=G(Se*Le),Ge=G(G(me*He)*Re),lt=G(G(Ne*_e)*Le);return Ze===Fe&&Ge===lt}negate(){return new B(this.x,G(-this.y),this.z)}double(){const{x:oe,y:de,z:me}=this,_e=G(oe*oe),Se=G(de*de),Ne=G(Se*Se),He=oe+Se,Le=G(y*(G(He*He)-_e-Ne)),Re=G(t*_e),Ze=G(Re*Re),Fe=G(Ze-y*Le),Ge=G(Re*(Le-Fe)-d*Ne),lt=G(y*de*me);return new B(Fe,Ge,lt)}add(oe){I(oe);const{x:de,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe;if(Se===a||Ne===a)return this;if(de===a||me===a)return oe;const Le=G(_e*_e),Re=G(He*He),Ze=G(de*Re),Fe=G(Se*Le),Ge=G(G(me*He)*Re),lt=G(G(Ne*_e)*Le),Je=G(Fe-Ze),it=G(lt-Ge);if(Je===a)return it===a?this.double():B.ZERO;const vt=G(Je*Je),Ye=G(Je*vt),ut=G(Ze*vt),_t=G(it*it-Ye-y*ut),Qe=G(it*(ut-_t)-Ge*Ye),st=G(_e*He*Je);return new B(_t,Qe,st)}subtract(oe){return this.add(oe.negate())}multiplyUnsafe(oe){const de=B.ZERO;if(typeof oe=="bigint"&&oe===a)return de;let me=$(oe);if(me===i)return this;if(!h){let Fe=de,Ge=this;for(;me>a;)me&i&&(Fe=Fe.add(Ge)),Ge=Ge.double(),me>>=i;return Fe}let{k1neg:_e,k1:Se,k2neg:Ne,k2:He}=u.splitScalar(me),Le=de,Re=de,Ze=this;for(;Se>a||He>a;)Se&i&&(Le=Le.add(Ze)),He&i&&(Re=Re.add(Ze)),Ze=Ze.double(),Se>>=i,He>>=i;return _e&&(Le=Le.negate()),Ne&&(Re=Re.negate()),Re=new B(G(Re.x*u.beta),Re.y,Re.z),Le.add(Re)}precomputeWindow(oe){const de=h?128/oe+1:256/oe+1,me=[];let _e=this,Se=_e;for(let Ne=0;Ne>=Fe,Je>Le&&(Je-=Ze,oe+=i);const it=lt,vt=lt+Math.abs(Je)-1,Ye=Ge%2!=0,ut=Je<0;Je===0?Ne=Ne.add(k(Ye,_e[it])):Se=Se.add(k(ut,_e[vt]))}return{p:Se,f:Ne}}multiply(oe,de){let me,_e,Se=$(oe);if(h){const{k1neg:Ne,k1:He,k2neg:Le,k2:Re}=u.splitScalar(Se);let{p:Ze,f:Fe}=this.wNAF(He,de),{p:Ge,f:lt}=this.wNAF(Re,de);Ze=k(Ne,Ze),Ge=k(Le,Ge),Ge=new B(G(Ge.x*u.beta),Ge.y,Ge.z),me=Ze.add(Ge),_e=Fe.add(lt)}else{const{p:Ne,f:He}=this.wNAF(Se,de);me=Ne,_e=He}return B.normalizeZ([me,_e])[0]}toAffine(oe){const{x:de,y:me,z:_e}=this,Se=this.equals(B.ZERO);oe==null&&(oe=Se?d:ee(_e));const Ne=oe,He=G(Ne*Ne),Le=G(He*Ne),Re=G(de*He),Ze=G(me*Le),Fe=G(_e*Ne);if(Se)return N.ZERO;if(Fe!==i)throw new Error("invZ was invalid");return new N(Re,Ze)}}function k(fe,oe){const de=oe.negate();return fe?de:oe}B.BASE=new B(b.Gx,b.Gy,i),B.ZERO=new B(a,i,a);const L=new WeakMap;class N{constructor(oe,de){this.x=oe,this.y=de}_setWindowSize(oe){this._WINDOW_SIZE=oe,L.delete(this)}hasEvenY(){return this.y%y===a}static fromCompressedHex(oe){const de=oe.length===32,me=R(de?oe:oe.subarray(1));if(!ie(me))throw new Error("Point is not on curve");let _e=function(He){const{P:Le}=b,Re=BigInt(6),Ze=BigInt(11),Fe=BigInt(22),Ge=BigInt(23),lt=BigInt(44),Je=BigInt(88),it=He*He*He%Le,vt=it*it*He%Le,Ye=Q(vt,t)*vt%Le,ut=Q(Ye,t)*vt%Le,_t=Q(ut,y)*it%Le,Qe=Q(_t,Ze)*_t%Le,st=Q(Qe,Fe)*Qe%Le,Pt=Q(st,lt)*st%Le,rt=Q(Pt,Je)*Pt%Le,yt=Q(rt,lt)*st%Le,jt=Q(yt,t)*vt%Le,tt=Q(jt,Ge)*Qe%Le,dt=Q(tt,Re)*it%Le,Mt=Q(dt,y);if(Mt*Mt%Le!==He)throw new Error("Cannot find square root");return Mt}(p(me));const Se=(_e&i)===i;de?Se&&(_e=G(-_e)):!(1&~oe[0])!==Se&&(_e=G(-_e));const Ne=new N(me,_e);return Ne.assertValidity(),Ne}static fromUncompressedHex(oe){const de=R(oe.subarray(1,f+1)),me=R(oe.subarray(f+1,2*f+1)),_e=new N(de,me);return _e.assertValidity(),_e}static fromHex(oe){const de=F(oe),me=de.length,_e=de[0];if(me===f)return this.fromCompressedHex(de);if(me===s&&(_e===2||_e===3))return this.fromCompressedHex(de);if(me===v&&_e===4)return this.fromUncompressedHex(de);throw new Error(`Point.fromHex: received invalid point. Expected 32-${s} compressed bytes or ${v} uncompressed bytes, not ${me}`)}static fromPrivateKey(oe){return N.BASE.multiply(Ie(oe))}static fromSignature(oe,de,me){const{r:_e,s:Se}=te(de);if(![0,1,2,3].includes(me))throw new Error("Cannot recover: invalid recovery bit");const Ne=Z(F(oe)),{n:He}=b,Le=me===2||me===3?_e+He:_e,Re=ee(Le,He),Ze=G(-Ne*Re,He),Fe=G(Se*Re,He),Ge=1&me?"03":"02",lt=N.fromHex(Ge+S(Le)),Je=N.BASE.multiplyAndAddUnsafe(lt,Ze,Fe);if(!Je)throw new Error("Cannot recover signature: point at infinify");return Je.assertValidity(),Je}toRawBytes(oe=!1){return V(this.toHex(oe))}toHex(oe=!1){const de=S(this.x);return oe?`${this.hasEvenY()?"02":"03"}${de}`:`04${de}${S(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const oe="Point is not on elliptic curve",{x:de,y:me}=this;if(!ie(de)||!ie(me))throw new Error(oe);const _e=G(me*me);if(G(_e-p(de))!==a)throw new Error(oe)}equals(oe){return this.x===oe.x&&this.y===oe.y}negate(){return new N(this.x,G(-this.y))}double(){return B.fromAffine(this).double().toAffine()}add(oe){return B.fromAffine(this).add(B.fromAffine(oe)).toAffine()}subtract(oe){return this.add(oe.negate())}multiply(oe){return B.fromAffine(this).multiply(oe,this).toAffine()}multiplyAndAddUnsafe(oe,de,me){const _e=B.fromAffine(this),Se=de===a||de===i||this!==N.BASE?_e.multiplyUnsafe(de):_e.multiply(de),Ne=B.fromAffine(oe).multiplyUnsafe(me),He=Se.add(Ne);return He.equals(B.ZERO)?void 0:He.toAffine()}}function H(fe){return Number.parseInt(fe[0],16)>=8?"00"+fe:fe}function j(fe){if(fe.length<2||fe[0]!==2)throw new Error(`Invalid signature integer tag: ${x(fe)}`);const oe=fe[1],de=fe.subarray(2,oe+2);if(!oe||de.length!==oe)throw new Error("Invalid signature integer: wrong length");if(de[0]===0&&de[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:R(de),left:fe.subarray(oe+2)}}n.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,a);class U{constructor(oe,de){this.r=oe,this.s=de,this.assertValidity()}static fromCompact(oe){const de=oe instanceof Uint8Array,me="Signature.fromCompact";if(typeof oe!="string"&&!de)throw new TypeError(`${me}: Expected string or Uint8Array`);const _e=de?x(oe):oe;if(_e.length!==128)throw new Error(`${me}: Expected 64-byte hex`);return new U(D(_e.slice(0,64)),D(_e.slice(64,128)))}static fromDER(oe){const de=oe instanceof Uint8Array;if(typeof oe!="string"&&!de)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:me,s:_e}=function(Se){if(Se.length<2||Se[0]!=48)throw new Error(`Invalid signature tag: ${x(Se)}`);if(Se[1]!==Se.length-2)throw new Error("Invalid signature: incorrect length");const{data:Ne,left:He}=j(Se.subarray(2)),{data:Le,left:Re}=j(He);if(Re.length)throw new Error(`Invalid signature: left bytes after parsing: ${x(Re)}`);return{r:Ne,s:Le}}(de?oe:V(oe));return new U(me,_e)}static fromHex(oe){return this.fromDER(oe)}assertValidity(){const{r:oe,s:de}=this;if(!le(oe))throw new Error("Invalid Signature: r must be 0 < r < n");if(!le(de))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){const oe=b.n>>i;return this.s>oe}normalizeS(){return this.hasHighS()?new U(this.r,G(-this.s,b.n)):this}toDERRawBytes(){return V(this.toDERHex())}toDERHex(){const oe=H(A(this.s)),de=H(A(this.r)),me=oe.length/2,_e=de.length/2,Se=A(me),Ne=A(_e);return`30${A(_e+me+4)}02${Ne}${de}02${Se}${oe}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return V(this.toCompactHex())}toCompactHex(){return S(this.r)+S(this.s)}}function _(...fe){if(!fe.every(me=>me instanceof Uint8Array))throw new Error("Uint8Array list expected");if(fe.length===1)return fe[0];const oe=fe.reduce((me,_e)=>me+_e.length,0),de=new Uint8Array(oe);for(let me=0,_e=0;meoe.toString(16).padStart(2,"0"));function x(fe){if(!(fe instanceof Uint8Array))throw new Error("Expected Uint8Array");let oe="";for(let de=0;de0)return BigInt(fe);if(typeof fe=="bigint"&&le(fe))return fe;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function G(fe,oe=b.P){const de=fe%oe;return de>=a?de:oe+de}function Q(fe,oe){const{P:de}=b;let me=fe;for(;oe-- >a;)me*=me,me%=de;return me}function ee(fe,oe=b.P){if(fe===a||oe<=a)throw new Error(`invert: expected positive integers, got n=${fe} mod=${oe}`);let de=G(fe,oe),me=oe,_e=a,Se=i;for(;de!==a;){const Ne=me/de,He=me%de,Le=_e-Se*Ne;me=de,de=He,_e=Se,Se=Le}if(me!==i)throw new Error("invert: does not exist");return G(_e,oe)}function Z(fe,oe=!1){const de=function(_e){const Se=8*_e.length-8*l,Ne=R(_e);return Se>0?Ne>>BigInt(Se):Ne}(fe);if(oe)return de;const{n:me}=b;return de>=me?de-me:de}let q,ue;class ce{constructor(oe,de){if(this.hashLen=oe,this.qByteLen=de,typeof oe!="number"||oe<2)throw new Error("hashLen must be a number");if(typeof de!="number"||de<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(oe).fill(1),this.k=new Uint8Array(oe).fill(0),this.counter=0}hmac(...oe){return n.utils.hmacSha256(this.k,...oe)}hmacSync(...oe){return ue(this.k,...oe)}checkSync(){if(typeof ue!="function")throw new O("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}async reseed(oe=new Uint8Array){this.k=await this.hmac(this.v,Uint8Array.from([0]),oe),this.v=await this.hmac(this.v),oe.length!==0&&(this.k=await this.hmac(this.v,Uint8Array.from([1]),oe),this.v=await this.hmac(this.v))}reseedSync(oe=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),oe),this.v=this.hmacSync(this.v),oe.length!==0&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),oe),this.v=this.hmacSync(this.v))}async generate(){this.incr();let oe=0;const de=[];for(;oe0)oe=BigInt(fe);else if(typeof fe=="string"){if(fe.length!==2*l)throw new Error("Expected 32 bytes of private key");oe=D(fe)}else{if(!(fe instanceof Uint8Array))throw new TypeError("Expected valid private key");if(fe.length!==l)throw new Error("Expected 32 bytes of private key");oe=R(fe)}if(!le(oe))throw new Error("Expected private key: 0 < key < n");return oe}function Ee(fe){return fe instanceof N?(fe.assertValidity(),fe):N.fromHex(fe)}function te(fe){if(fe instanceof U)return fe.assertValidity(),fe;try{return U.fromDER(fe)}catch{return U.fromCompact(fe)}}function ge(fe){const oe=fe instanceof Uint8Array,de=typeof fe=="string",me=(oe||de)&&fe.length;return oe?me===s||me===v:de?me===2*s||me===2*v:fe instanceof N}function we(fe){return R(fe.length>f?fe.slice(0,f):fe)}function K(fe){const oe=we(fe),de=G(oe,b.n);return J(de{fe=F(fe);const oe=l+8;if(fe.length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return w(G(R(fe),b.n-i)+i)},randomBytes:(fe=32)=>{if(Ue.web)return Ue.web.getRandomValues(new Uint8Array(fe));if(Ue.node){const{randomBytes:oe}=Ue.node;return Uint8Array.from(oe(fe))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>n.utils.hashToPrivateKey(n.utils.randomBytes(l+8)),precompute(fe=8,oe=N.BASE){const de=oe===N.BASE?oe:new N(oe.x,oe.y);return de._setWindowSize(fe),de.multiply(t),de},sha256:async(...fe)=>{if(Ue.web){const oe=await Ue.web.subtle.digest("SHA-256",_(...fe));return new Uint8Array(oe)}if(Ue.node){const{createHash:oe}=Ue.node,de=oe("sha256");return fe.forEach(me=>de.update(me)),Uint8Array.from(de.digest())}throw new Error("The environment doesn't have sha256 function")},hmacSha256:async(fe,...oe)=>{if(Ue.web){const de=await Ue.web.subtle.importKey("raw",fe,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),me=_(...oe),_e=await Ue.web.subtle.sign("HMAC",de,me);return new Uint8Array(_e)}if(Ue.node){const{createHmac:de}=Ue.node,me=de("sha256",fe);return oe.forEach(_e=>me.update(_e)),Uint8Array.from(me.digest())}throw new Error("The environment doesn't have hmac-sha256 function")},sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:async(fe,...oe)=>{let de=je[fe];if(de===void 0){const me=await n.utils.sha256(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));de=_(me,me),je[fe]=de}return n.utils.sha256(de,...oe)},taggedHashSync:(fe,...oe)=>{if(typeof q!="function")throw new O("sha256Sync is undefined, you need to set it");let de=je[fe];if(de===void 0){const me=q(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));de=_(me,me),je[fe]=de}return q(de,...oe)},_JacobianPoint:B},Object.defineProperties(n.utils,{sha256Sync:{configurable:!1,get:()=>q,set(fe){q||(q=fe)}},hmacSha256Sync:{configurable:!1,get:()=>ue,set(fe){ue||(ue=fe)}}})},7568:(E,n,c)=>{const r=n;r.bignum=c(2344),r.define=c(7363).define,r.base=c(9673),r.constants=c(2153),r.decoders=c(5234),r.encoders=c(4669)},7363:(E,n,c)=>{const r=c(4669),a=c(5234),i=c(6698);function y(t,d){this.name=t,this.body=d,this.decoders={},this.encoders={}}n.define=function(t,d){return new y(t,d)},y.prototype._createNamed=function(t){const d=this.name;function b(m){this._initNamed(m,d)}return i(b,t),b.prototype._initNamed=function(m,u){t.call(this,m,u)},new b(this)},y.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(a[t])),this.decoders[t]},y.prototype.decode=function(t,d,b){return this._getDecoder(d).decode(t,b)},y.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(r[t])),this.encoders[t]},y.prototype.encode=function(t,d,b){return this._getEncoder(d).encode(t,b)}},7227:(E,n,c)=>{const r=c(6698),a=c(9220).a,i=c(4774).Buffer;function y(d,b){a.call(this,b),i.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error("Input not Buffer")}function t(d,b){if(Array.isArray(d))this.length=0,this.value=d.map(function(m){return t.isEncoderBuffer(m)||(m=new t(m,b)),this.length+=m.length,m},this);else if(typeof d=="number"){if(!(0<=d&&d<=255))return b.error("non-byte EncoderBuffer value");this.value=d,this.length=1}else if(typeof d=="string")this.value=d,this.length=i.byteLength(d);else{if(!i.isBuffer(d))return b.error("Unsupported type: "+typeof d);this.value=d,this.length=d.length}}r(y,a),n.t=y,y.isDecoderBuffer=function(d){return d instanceof y||typeof d=="object"&&i.isBuffer(d.base)&&d.constructor.name==="DecoderBuffer"&&typeof d.offset=="number"&&typeof d.length=="number"&&typeof d.save=="function"&&typeof d.restore=="function"&&typeof d.isEmpty=="function"&&typeof d.readUInt8=="function"&&typeof d.skip=="function"&&typeof d.raw=="function"},y.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},y.prototype.restore=function(d){const b=new y(this.base);return b.offset=d.offset,b.length=this.offset,this.offset=d.offset,a.prototype.restore.call(this,d.reporter),b},y.prototype.isEmpty=function(){return this.offset===this.length},y.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},y.prototype.skip=function(d,b){if(!(this.offset+d<=this.length))return this.error(b||"DecoderBuffer overrun");const m=new y(this.base);return m._reporterState=this._reporterState,m.offset=this.offset,m.length=this.offset+d,this.offset+=d,m},y.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},n.d=t,t.isEncoderBuffer=function(d){return d instanceof t||typeof d=="object"&&d.constructor.name==="EncoderBuffer"&&typeof d.length=="number"&&typeof d.join=="function"},t.prototype.join=function(d,b){return d||(d=i.alloc(this.length)),b||(b=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(m){m.join(d,b),b+=m.length}):(typeof this.value=="number"?d[b]=this.value:typeof this.value=="string"?d.write(this.value,b):i.isBuffer(this.value)&&this.value.copy(d,b),b+=this.length)),d}},9673:(E,n,c)=>{const r=n;r.Reporter=c(9220).a,r.DecoderBuffer=c(7227).t,r.EncoderBuffer=c(7227).d,r.Node=c(993)},993:(E,n,c)=>{const r=c(9220).a,a=c(7227).d,i=c(7227).t,y=c(3349),t=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],d=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(t);function b(u,f,l){const s={};this._baseState=s,s.name=l,s.enc=u,s.parent=f||null,s.children=null,s.tag=null,s.args=null,s.reverseArgs=null,s.choice=null,s.optional=!1,s.any=!1,s.obj=!1,s.use=null,s.useDecoder=null,s.key=null,s.default=null,s.explicit=null,s.implicit=null,s.contains=null,s.parent||(s.children=[],this._wrap())}E.exports=b;const m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];b.prototype.clone=function(){const u=this._baseState,f={};m.forEach(function(s){f[s]=u[s]});const l=new this.constructor(f.parent);return l._baseState=f,l},b.prototype._wrap=function(){const u=this._baseState;d.forEach(function(f){this[f]=function(){const l=new this.constructor(this);return u.children.push(l),l[f].apply(l,arguments)}},this)},b.prototype._init=function(u){const f=this._baseState;y(f.parent===null),u.call(this),f.children=f.children.filter(function(l){return l._baseState.parent===this},this),y.equal(f.children.length,1,"Root node can have only one child")},b.prototype._useArgs=function(u){const f=this._baseState,l=u.filter(function(s){return s instanceof this.constructor},this);u=u.filter(function(s){return!(s instanceof this.constructor)},this),l.length!==0&&(y(f.children===null),f.children=l,l.forEach(function(s){s._baseState.parent=this},this)),u.length!==0&&(y(f.args===null),f.args=u,f.reverseArgs=u.map(function(s){if(typeof s!="object"||s.constructor!==Object)return s;const v={};return Object.keys(s).forEach(function(p){p==(0|p)&&(p|=0);const h=s[p];v[h]=p}),v}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(u){b.prototype[u]=function(){const f=this._baseState;throw new Error(u+" not implemented for encoding: "+f.enc)}}),t.forEach(function(u){b.prototype[u]=function(){const f=this._baseState,l=Array.prototype.slice.call(arguments);return y(f.tag===null),f.tag=u,this._useArgs(l),this}}),b.prototype.use=function(u){y(u);const f=this._baseState;return y(f.use===null),f.use=u,this},b.prototype.optional=function(){return this._baseState.optional=!0,this},b.prototype.def=function(u){const f=this._baseState;return y(f.default===null),f.default=u,f.optional=!0,this},b.prototype.explicit=function(u){const f=this._baseState;return y(f.explicit===null&&f.implicit===null),f.explicit=u,this},b.prototype.implicit=function(u){const f=this._baseState;return y(f.explicit===null&&f.implicit===null),f.implicit=u,this},b.prototype.obj=function(){const u=this._baseState,f=Array.prototype.slice.call(arguments);return u.obj=!0,f.length!==0&&this._useArgs(f),this},b.prototype.key=function(u){const f=this._baseState;return y(f.key===null),f.key=u,this},b.prototype.any=function(){return this._baseState.any=!0,this},b.prototype.choice=function(u){const f=this._baseState;return y(f.choice===null),f.choice=u,this._useArgs(Object.keys(u).map(function(l){return u[l]})),this},b.prototype.contains=function(u){const f=this._baseState;return y(f.use===null),f.contains=u,this},b.prototype._decode=function(u,f){const l=this._baseState;if(l.parent===null)return u.wrapResult(l.children[0]._decode(u,f));let s,v=l.default,p=!0,h=null;if(l.key!==null&&(h=u.enterKey(l.key)),l.optional){let O=null;if(l.explicit!==null?O=l.explicit:l.implicit!==null?O=l.implicit:l.tag!==null&&(O=l.tag),O!==null||l.any){if(p=this._peekTag(u,O,l.any),u.isError(p))return p}else{const I=u.save();try{l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f),p=!0}catch{p=!1}u.restore(I)}}if(l.obj&&p&&(s=u.enterObject()),p){if(l.explicit!==null){const I=this._decodeTag(u,l.explicit);if(u.isError(I))return I;u=I}const O=u.offset;if(l.use===null&&l.choice===null){let I;l.any&&(I=u.save());const B=this._decodeTag(u,l.implicit!==null?l.implicit:l.tag,l.any);if(u.isError(B))return B;l.any?v=u.raw(I):u=B}if(f&&f.track&&l.tag!==null&&f.track(u.path(),O,u.length,"tagged"),f&&f.track&&l.tag!==null&&f.track(u.path(),u.offset,u.length,"content"),l.any||(v=l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f)),u.isError(v))return v;if(l.any||l.choice!==null||l.children===null||l.children.forEach(function(I){I._decode(u,f)}),l.contains&&(l.tag==="octstr"||l.tag==="bitstr")){const I=new i(v);v=this._getUse(l.contains,u._reporterState.obj)._decode(I,f)}}return l.obj&&p&&(v=u.leaveObject(s)),l.key===null||v===null&&p!==!0?h!==null&&u.exitKey(h):u.leaveKey(h,l.key,v),v},b.prototype._decodeGeneric=function(u,f,l){const s=this._baseState;return u==="seq"||u==="set"?null:u==="seqof"||u==="setof"?this._decodeList(f,u,s.args[0],l):/str$/.test(u)?this._decodeStr(f,u,l):u==="objid"&&s.args?this._decodeObjid(f,s.args[0],s.args[1],l):u==="objid"?this._decodeObjid(f,null,null,l):u==="gentime"||u==="utctime"?this._decodeTime(f,u,l):u==="null_"?this._decodeNull(f,l):u==="bool"?this._decodeBool(f,l):u==="objDesc"?this._decodeStr(f,u,l):u==="int"||u==="enum"?this._decodeInt(f,s.args&&s.args[0],l):s.use!==null?this._getUse(s.use,f._reporterState.obj)._decode(f,l):f.error("unknown tag: "+u)},b.prototype._getUse=function(u,f){const l=this._baseState;return l.useDecoder=this._use(u,f),y(l.useDecoder._baseState.parent===null),l.useDecoder=l.useDecoder._baseState.children[0],l.implicit!==l.useDecoder._baseState.implicit&&(l.useDecoder=l.useDecoder.clone(),l.useDecoder._baseState.implicit=l.implicit),l.useDecoder},b.prototype._decodeChoice=function(u,f){const l=this._baseState;let s=null,v=!1;return Object.keys(l.choice).some(function(p){const h=u.save(),O=l.choice[p];try{const I=O._decode(u,f);if(u.isError(I))return!1;s={type:p,value:I},v=!0}catch{return u.restore(h),!1}return!0},this),v?s:u.error("Choice not matched")},b.prototype._createEncoderBuffer=function(u){return new a(u,this.reporter)},b.prototype._encode=function(u,f,l){const s=this._baseState;if(s.default!==null&&s.default===u)return;const v=this._encodeValue(u,f,l);return v===void 0||this._skipDefault(v,f,l)?void 0:v},b.prototype._encodeValue=function(u,f,l){const s=this._baseState;if(s.parent===null)return s.children[0]._encode(u,f||new r);let v=null;if(this.reporter=f,s.optional&&u===void 0){if(s.default===null)return;u=s.default}let p=null,h=!1;if(s.any)v=this._createEncoderBuffer(u);else if(s.choice)v=this._encodeChoice(u,f);else if(s.contains)p=this._getUse(s.contains,l)._encode(u,f),h=!0;else if(s.children)p=s.children.map(function(O){if(O._baseState.tag==="null_")return O._encode(null,f,u);if(O._baseState.key===null)return f.error("Child should have a key");const I=f.enterKey(O._baseState.key);if(typeof u!="object")return f.error("Child expected, but input is not object");const B=O._encode(u[O._baseState.key],f,u);return f.leaveKey(I),B},this).filter(function(O){return O}),p=this._createEncoderBuffer(p);else if(s.tag==="seqof"||s.tag==="setof"){if(!s.args||s.args.length!==1)return f.error("Too many args for : "+s.tag);if(!Array.isArray(u))return f.error("seqof/setof, but data is not Array");const O=this.clone();O._baseState.implicit=null,p=this._createEncoderBuffer(u.map(function(I){const B=this._baseState;return this._getUse(B.args[0],u)._encode(I,f)},O))}else s.use!==null?v=this._getUse(s.use,l)._encode(u,f):(p=this._encodePrimitive(s.tag,u),h=!0);if(!s.any&&s.choice===null){const O=s.implicit!==null?s.implicit:s.tag,I=s.implicit===null?"universal":"context";O===null?s.use===null&&f.error("Tag could be omitted only for .use()"):s.use===null&&(v=this._encodeComposite(O,h,I,p))}return s.explicit!==null&&(v=this._encodeComposite(s.explicit,!1,"context",v)),v},b.prototype._encodeChoice=function(u,f){const l=this._baseState,s=l.choice[u.type];return s||y(!1,u.type+" not found in "+JSON.stringify(Object.keys(l.choice))),s._encode(u.value,f)},b.prototype._encodePrimitive=function(u,f){const l=this._baseState;if(/str$/.test(u))return this._encodeStr(f,u);if(u==="objid"&&l.args)return this._encodeObjid(f,l.reverseArgs[0],l.args[1]);if(u==="objid")return this._encodeObjid(f,null,null);if(u==="gentime"||u==="utctime")return this._encodeTime(f,u);if(u==="null_")return this._encodeNull();if(u==="int"||u==="enum")return this._encodeInt(f,l.args&&l.reverseArgs[0]);if(u==="bool")return this._encodeBool(f);if(u==="objDesc")return this._encodeStr(f,u);throw new Error("Unsupported tag: "+u)},b.prototype._isNumstr=function(u){return/^[0-9 ]*$/.test(u)},b.prototype._isPrintstr=function(u){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(u)}},9220:(E,n,c)=>{const r=c(6698);function a(y){this._reporterState={obj:null,path:[],options:y||{},errors:[]}}function i(y,t){this.path=y,this.rethrow(t)}n.a=a,a.prototype.isError=function(y){return y instanceof i},a.prototype.save=function(){const y=this._reporterState;return{obj:y.obj,pathLen:y.path.length}},a.prototype.restore=function(y){const t=this._reporterState;t.obj=y.obj,t.path=t.path.slice(0,y.pathLen)},a.prototype.enterKey=function(y){return this._reporterState.path.push(y)},a.prototype.exitKey=function(y){const t=this._reporterState;t.path=t.path.slice(0,y-1)},a.prototype.leaveKey=function(y,t,d){const b=this._reporterState;this.exitKey(y),b.obj!==null&&(b.obj[t]=d)},a.prototype.path=function(){return this._reporterState.path.join("/")},a.prototype.enterObject=function(){const y=this._reporterState,t=y.obj;return y.obj={},t},a.prototype.leaveObject=function(y){const t=this._reporterState,d=t.obj;return t.obj=y,d},a.prototype.error=function(y){let t;const d=this._reporterState,b=y instanceof i;if(t=b?y:new i(d.path.map(function(m){return"["+JSON.stringify(m)+"]"}).join(""),y.message||y,y.stack),!d.options.partial)throw t;return b||d.errors.push(t),t},a.prototype.wrapResult=function(y){const t=this._reporterState;return t.options.partial?{result:this.isError(y)?null:y,errors:t.errors}:y},r(i,Error),i.prototype.rethrow=function(y){if(this.message=y+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},4598:(E,n)=>{function c(r){const a={};return Object.keys(r).forEach(function(i){(0|i)==i&&(i|=0);const y=r[i];a[y]=i}),a}n.tagClass={0:"universal",1:"application",2:"context",3:"private"},n.tagClassByName=c(n.tagClass),n.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},n.tagByName=c(n.tag)},2153:(E,n,c)=>{const r=n;r._reverse=function(a){const i={};return Object.keys(a).forEach(function(y){(0|y)==y&&(y|=0);const t=a[y];i[t]=y}),i},r.der=c(4598)},2010:(E,n,c)=>{const r=c(6698),a=c(2344),i=c(7227).t,y=c(993),t=c(4598);function d(f){this.enc="der",this.name=f.name,this.entity=f,this.tree=new b,this.tree._init(f.body)}function b(f){y.call(this,"der",f)}function m(f,l){let s=f.readUInt8(l);if(f.isError(s))return s;const v=t.tagClass[s>>6],p=!(32&s);if(31&~s)s&=31;else{let h=s;for(s=0;!(128&~h);){if(h=f.readUInt8(l),f.isError(h))return h;s<<=7,s|=127&h}}return{cls:v,primitive:p,tag:s,tagStr:t.tag[s]}}function u(f,l,s){let v=f.readUInt8(s);if(f.isError(v))return v;if(!l&&v===128)return null;if(!(128&v))return v;const p=127&v;if(p>4)return f.error("length octect is too long");v=0;for(let h=0;h{const r=n;r.der=c(2010),r.pem=c(8903)},8903:(E,n,c)=>{const r=c(6698),a=c(4774).Buffer,i=c(2010);function y(t){i.call(this,t),this.enc="pem"}r(y,i),E.exports=y,y.prototype.decode=function(t,d){const b=t.toString().split(/[\r\n]+/g),m=d.label.toUpperCase(),u=/^-----(BEGIN|END) ([^-]+)-----$/;let f=-1,l=-1;for(let p=0;p{const r=c(6698),a=c(4774).Buffer,i=c(993),y=c(4598);function t(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new d,this.tree._init(m.body)}function d(m){i.call(this,"der",m)}function b(m){return m<10?"0"+m:m}E.exports=t,t.prototype.encode=function(m,u){return this.tree._encode(m,u).join()},r(d,i),d.prototype._encodeComposite=function(m,u,f,l){const s=function(h,O,I,B){let k;if(h==="seqof"?h="seq":h==="setof"&&(h="set"),y.tagByName.hasOwnProperty(h))k=y.tagByName[h];else{if(typeof h!="number"||(0|h)!==h)return B.error("Unknown tag: "+h);k=h}return k>=31?B.error("Multi-octet tag encoding unsupported"):(O||(k|=32),k|=y.tagClassByName[I||"universal"]<<6,k)}(m,u,f,this.reporter);if(l.length<128){const h=a.alloc(2);return h[0]=s,h[1]=l.length,this._createEncoderBuffer([h,l])}let v=1;for(let h=l.length;h>=256;h>>=8)v++;const p=a.alloc(2+v);p[0]=s,p[1]=128|v;for(let h=1+v,O=l.length;O>0;h--,O>>=8)p[h]=255&O;return this._createEncoderBuffer([p,l])},d.prototype._encodeStr=function(m,u){if(u==="bitstr")return this._createEncoderBuffer([0|m.unused,m.data]);if(u==="bmpstr"){const f=a.alloc(2*m.length);for(let l=0;l=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}let l=0;for(let p=0;p=128;h>>=7)l++}const s=a.alloc(l);let v=s.length-1;for(let p=m.length-1;p>=0;p--){let h=m[p];for(s[v--]=127&h;(h>>=7)>0;)s[v--]=128|127&h}return this._createEncoderBuffer(s)},d.prototype._encodeTime=function(m,u){let f;const l=new Date(m);return u==="gentime"?f=[b(l.getUTCFullYear()),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):u==="utctime"?f=[b(l.getUTCFullYear()%100),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(f,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(m,u){if(typeof m=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=u[m]}if(typeof m!="number"&&!a.isBuffer(m)){const s=m.toArray();!m.sign&&128&s[0]&&s.unshift(0),m=a.from(s)}if(a.isBuffer(m)){let s=m.length;m.length===0&&s++;const v=a.alloc(s);return m.copy(v),m.length===0&&(v[0]=0),this._createEncoderBuffer(v)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);let f=1;for(let s=m;s>=256;s>>=8)f++;const l=new Array(f);for(let s=l.length-1;s>=0;s--)l[s]=255&m,m>>=8;return 128&l[0]&&l.unshift(0),this._createEncoderBuffer(a.from(l))},d.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},d.prototype._use=function(m,u){return typeof m=="function"&&(m=m(u)),m._getEncoder("der").tree},d.prototype._skipDefault=function(m,u,f){const l=this._baseState;let s;if(l.default===null)return!1;const v=m.join();if(l.defaultBuffer===void 0&&(l.defaultBuffer=this._encodeValue(l.default,u,f).join()),v.length!==l.defaultBuffer.length)return!1;for(s=0;s{const r=n;r.der=c(82),r.pem=c(735)},735:(E,n,c)=>{const r=c(6698),a=c(82);function i(y){a.call(this,y),this.enc="pem"}r(i,a),E.exports=i,i.prototype.encode=function(y,t){const d=a.prototype.encode.call(this,y).toString("base64"),b=["-----BEGIN "+t.label+"-----"];for(let m=0;m=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),A=T;A=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,A=w%M,D=Math.min(w,w-A)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],A=S*w,D=67108863&A,V=A/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(A=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&A}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,A,D=T==="le",V=new _(S),R=this.clone();if(D){for(A=0;!R.isZero();A++)w=R.andln(255),R.iushrn(8),V[A]=w;for(;A=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M0&&(this.words[M]=~this.words[M]&67108863>>26-x),this.strip()},t.prototype.notn=function(_){return this.clone().inotn(_)},t.prototype.setn=function(_,T){i(typeof _=="number"&&_>=0);var x=_/26|0,M=_%26;return this._expand(x+1),this.words[x]=T?this.words[x]|1<_.length?(x=this,M=_):(x=_,M=this);for(var S=0,w=0;w>>26;for(;S!==0&&w>>26;if(this.length=x.length,S!==0)this.words[this.length]=S,this.length++;else if(x!==this)for(;w_.length?this.clone().iadd(_):_.clone().iadd(this)},t.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var T=this.iadd(_);return _.negative=1,T._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var x,M,S=this.cmp(_);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(x=this,M=_):(x=_,M=this);for(var w=0,A=0;A>26,this.words[A]=67108863&T;for(;w!==0&&A>26,this.words[A]=67108863&T;if(w===0&&A>>13,Q=0|A[1],ee=8191&Q,Z=Q>>>13,q=0|A[2],ue=8191&q,ce=q>>>13,le=0|A[3],ie=8191&le,he=le>>>13,Ie=0|A[4],Ee=8191&Ie,te=Ie>>>13,ge=0|A[5],we=8191&ge,K=ge>>>13,J=0|A[6],W=8191&J,X=J>>>13,ne=0|A[7],re=8191&ne,ye=ne>>>13,Te=0|A[8],Pe=8191&Te,Be=Te>>>13,Ve=0|A[9],ke=8191&Ve,Ue=Ve>>>13,Xe=0|D[0],je=8191&Xe,fe=Xe>>>13,oe=0|D[1],de=8191&oe,me=oe>>>13,_e=0|D[2],Se=8191&_e,Ne=_e>>>13,He=0|D[3],Le=8191&He,Re=He>>>13,Ze=0|D[4],Fe=8191&Ze,Ge=Ze>>>13,lt=0|D[5],Je=8191<,it=lt>>>13,vt=0|D[6],Ye=8191&vt,ut=vt>>>13,_t=0|D[7],Qe=8191&_t,st=_t>>>13,Pt=0|D[8],rt=8191&Pt,yt=Pt>>>13,jt=0|D[9],tt=8191&jt,dt=jt>>>13;x.negative=_.negative^T.negative,x.length=19;var Mt=(R+(M=Math.imul($,je))|0)+((8191&(S=(S=Math.imul($,fe))+Math.imul(G,je)|0))<<13)|0;R=((w=Math.imul(G,fe))+(S>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,M=Math.imul(ee,je),S=(S=Math.imul(ee,fe))+Math.imul(Z,je)|0,w=Math.imul(Z,fe);var Dt=(R+(M=M+Math.imul($,de)|0)|0)+((8191&(S=(S=S+Math.imul($,me)|0)+Math.imul(G,de)|0))<<13)|0;R=((w=w+Math.imul(G,me)|0)+(S>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,M=Math.imul(ue,je),S=(S=Math.imul(ue,fe))+Math.imul(ce,je)|0,w=Math.imul(ce,fe),M=M+Math.imul(ee,de)|0,S=(S=S+Math.imul(ee,me)|0)+Math.imul(Z,de)|0,w=w+Math.imul(Z,me)|0;var Cr=(R+(M=M+Math.imul($,Se)|0)|0)+((8191&(S=(S=S+Math.imul($,Ne)|0)+Math.imul(G,Se)|0))<<13)|0;R=((w=w+Math.imul(G,Ne)|0)+(S>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(ie,je),S=(S=Math.imul(ie,fe))+Math.imul(he,je)|0,w=Math.imul(he,fe),M=M+Math.imul(ue,de)|0,S=(S=S+Math.imul(ue,me)|0)+Math.imul(ce,de)|0,w=w+Math.imul(ce,me)|0,M=M+Math.imul(ee,Se)|0,S=(S=S+Math.imul(ee,Ne)|0)+Math.imul(Z,Se)|0,w=w+Math.imul(Z,Ne)|0;var Sr=(R+(M=M+Math.imul($,Le)|0)|0)+((8191&(S=(S=S+Math.imul($,Re)|0)+Math.imul(G,Le)|0))<<13)|0;R=((w=w+Math.imul(G,Re)|0)+(S>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,M=Math.imul(Ee,je),S=(S=Math.imul(Ee,fe))+Math.imul(te,je)|0,w=Math.imul(te,fe),M=M+Math.imul(ie,de)|0,S=(S=S+Math.imul(ie,me)|0)+Math.imul(he,de)|0,w=w+Math.imul(he,me)|0,M=M+Math.imul(ue,Se)|0,S=(S=S+Math.imul(ue,Ne)|0)+Math.imul(ce,Se)|0,w=w+Math.imul(ce,Ne)|0,M=M+Math.imul(ee,Le)|0,S=(S=S+Math.imul(ee,Re)|0)+Math.imul(Z,Le)|0,w=w+Math.imul(Z,Re)|0;var Lr=(R+(M=M+Math.imul($,Fe)|0)|0)+((8191&(S=(S=S+Math.imul($,Ge)|0)+Math.imul(G,Fe)|0))<<13)|0;R=((w=w+Math.imul(G,Ge)|0)+(S>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,M=Math.imul(we,je),S=(S=Math.imul(we,fe))+Math.imul(K,je)|0,w=Math.imul(K,fe),M=M+Math.imul(Ee,de)|0,S=(S=S+Math.imul(Ee,me)|0)+Math.imul(te,de)|0,w=w+Math.imul(te,me)|0,M=M+Math.imul(ie,Se)|0,S=(S=S+Math.imul(ie,Ne)|0)+Math.imul(he,Se)|0,w=w+Math.imul(he,Ne)|0,M=M+Math.imul(ue,Le)|0,S=(S=S+Math.imul(ue,Re)|0)+Math.imul(ce,Le)|0,w=w+Math.imul(ce,Re)|0,M=M+Math.imul(ee,Fe)|0,S=(S=S+Math.imul(ee,Ge)|0)+Math.imul(Z,Fe)|0,w=w+Math.imul(Z,Ge)|0;var mr=(R+(M=M+Math.imul($,Je)|0)|0)+((8191&(S=(S=S+Math.imul($,it)|0)+Math.imul(G,Je)|0))<<13)|0;R=((w=w+Math.imul(G,it)|0)+(S>>>13)|0)+(mr>>>26)|0,mr&=67108863,M=Math.imul(W,je),S=(S=Math.imul(W,fe))+Math.imul(X,je)|0,w=Math.imul(X,fe),M=M+Math.imul(we,de)|0,S=(S=S+Math.imul(we,me)|0)+Math.imul(K,de)|0,w=w+Math.imul(K,me)|0,M=M+Math.imul(Ee,Se)|0,S=(S=S+Math.imul(Ee,Ne)|0)+Math.imul(te,Se)|0,w=w+Math.imul(te,Ne)|0,M=M+Math.imul(ie,Le)|0,S=(S=S+Math.imul(ie,Re)|0)+Math.imul(he,Le)|0,w=w+Math.imul(he,Re)|0,M=M+Math.imul(ue,Fe)|0,S=(S=S+Math.imul(ue,Ge)|0)+Math.imul(ce,Fe)|0,w=w+Math.imul(ce,Ge)|0,M=M+Math.imul(ee,Je)|0,S=(S=S+Math.imul(ee,it)|0)+Math.imul(Z,Je)|0,w=w+Math.imul(Z,it)|0;var ar=(R+(M=M+Math.imul($,Ye)|0)|0)+((8191&(S=(S=S+Math.imul($,ut)|0)+Math.imul(G,Ye)|0))<<13)|0;R=((w=w+Math.imul(G,ut)|0)+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(re,je),S=(S=Math.imul(re,fe))+Math.imul(ye,je)|0,w=Math.imul(ye,fe),M=M+Math.imul(W,de)|0,S=(S=S+Math.imul(W,me)|0)+Math.imul(X,de)|0,w=w+Math.imul(X,me)|0,M=M+Math.imul(we,Se)|0,S=(S=S+Math.imul(we,Ne)|0)+Math.imul(K,Se)|0,w=w+Math.imul(K,Ne)|0,M=M+Math.imul(Ee,Le)|0,S=(S=S+Math.imul(Ee,Re)|0)+Math.imul(te,Le)|0,w=w+Math.imul(te,Re)|0,M=M+Math.imul(ie,Fe)|0,S=(S=S+Math.imul(ie,Ge)|0)+Math.imul(he,Fe)|0,w=w+Math.imul(he,Ge)|0,M=M+Math.imul(ue,Je)|0,S=(S=S+Math.imul(ue,it)|0)+Math.imul(ce,Je)|0,w=w+Math.imul(ce,it)|0,M=M+Math.imul(ee,Ye)|0,S=(S=S+Math.imul(ee,ut)|0)+Math.imul(Z,Ye)|0,w=w+Math.imul(Z,ut)|0;var _r=(R+(M=M+Math.imul($,Qe)|0)|0)+((8191&(S=(S=S+Math.imul($,st)|0)+Math.imul(G,Qe)|0))<<13)|0;R=((w=w+Math.imul(G,st)|0)+(S>>>13)|0)+(_r>>>26)|0,_r&=67108863,M=Math.imul(Pe,je),S=(S=Math.imul(Pe,fe))+Math.imul(Be,je)|0,w=Math.imul(Be,fe),M=M+Math.imul(re,de)|0,S=(S=S+Math.imul(re,me)|0)+Math.imul(ye,de)|0,w=w+Math.imul(ye,me)|0,M=M+Math.imul(W,Se)|0,S=(S=S+Math.imul(W,Ne)|0)+Math.imul(X,Se)|0,w=w+Math.imul(X,Ne)|0,M=M+Math.imul(we,Le)|0,S=(S=S+Math.imul(we,Re)|0)+Math.imul(K,Le)|0,w=w+Math.imul(K,Re)|0,M=M+Math.imul(Ee,Fe)|0,S=(S=S+Math.imul(Ee,Ge)|0)+Math.imul(te,Fe)|0,w=w+Math.imul(te,Ge)|0,M=M+Math.imul(ie,Je)|0,S=(S=S+Math.imul(ie,it)|0)+Math.imul(he,Je)|0,w=w+Math.imul(he,it)|0,M=M+Math.imul(ue,Ye)|0,S=(S=S+Math.imul(ue,ut)|0)+Math.imul(ce,Ye)|0,w=w+Math.imul(ce,ut)|0,M=M+Math.imul(ee,Qe)|0,S=(S=S+Math.imul(ee,st)|0)+Math.imul(Z,Qe)|0,w=w+Math.imul(Z,st)|0;var Mr=(R+(M=M+Math.imul($,rt)|0)|0)+((8191&(S=(S=S+Math.imul($,yt)|0)+Math.imul(G,rt)|0))<<13)|0;R=((w=w+Math.imul(G,yt)|0)+(S>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,M=Math.imul(ke,je),S=(S=Math.imul(ke,fe))+Math.imul(Ue,je)|0,w=Math.imul(Ue,fe),M=M+Math.imul(Pe,de)|0,S=(S=S+Math.imul(Pe,me)|0)+Math.imul(Be,de)|0,w=w+Math.imul(Be,me)|0,M=M+Math.imul(re,Se)|0,S=(S=S+Math.imul(re,Ne)|0)+Math.imul(ye,Se)|0,w=w+Math.imul(ye,Ne)|0,M=M+Math.imul(W,Le)|0,S=(S=S+Math.imul(W,Re)|0)+Math.imul(X,Le)|0,w=w+Math.imul(X,Re)|0,M=M+Math.imul(we,Fe)|0,S=(S=S+Math.imul(we,Ge)|0)+Math.imul(K,Fe)|0,w=w+Math.imul(K,Ge)|0,M=M+Math.imul(Ee,Je)|0,S=(S=S+Math.imul(Ee,it)|0)+Math.imul(te,Je)|0,w=w+Math.imul(te,it)|0,M=M+Math.imul(ie,Ye)|0,S=(S=S+Math.imul(ie,ut)|0)+Math.imul(he,Ye)|0,w=w+Math.imul(he,ut)|0,M=M+Math.imul(ue,Qe)|0,S=(S=S+Math.imul(ue,st)|0)+Math.imul(ce,Qe)|0,w=w+Math.imul(ce,st)|0,M=M+Math.imul(ee,rt)|0,S=(S=S+Math.imul(ee,yt)|0)+Math.imul(Z,rt)|0,w=w+Math.imul(Z,yt)|0;var Er=(R+(M=M+Math.imul($,tt)|0)|0)+((8191&(S=(S=S+Math.imul($,dt)|0)+Math.imul(G,tt)|0))<<13)|0;R=((w=w+Math.imul(G,dt)|0)+(S>>>13)|0)+(Er>>>26)|0,Er&=67108863,M=Math.imul(ke,de),S=(S=Math.imul(ke,me))+Math.imul(Ue,de)|0,w=Math.imul(Ue,me),M=M+Math.imul(Pe,Se)|0,S=(S=S+Math.imul(Pe,Ne)|0)+Math.imul(Be,Se)|0,w=w+Math.imul(Be,Ne)|0,M=M+Math.imul(re,Le)|0,S=(S=S+Math.imul(re,Re)|0)+Math.imul(ye,Le)|0,w=w+Math.imul(ye,Re)|0,M=M+Math.imul(W,Fe)|0,S=(S=S+Math.imul(W,Ge)|0)+Math.imul(X,Fe)|0,w=w+Math.imul(X,Ge)|0,M=M+Math.imul(we,Je)|0,S=(S=S+Math.imul(we,it)|0)+Math.imul(K,Je)|0,w=w+Math.imul(K,it)|0,M=M+Math.imul(Ee,Ye)|0,S=(S=S+Math.imul(Ee,ut)|0)+Math.imul(te,Ye)|0,w=w+Math.imul(te,ut)|0,M=M+Math.imul(ie,Qe)|0,S=(S=S+Math.imul(ie,st)|0)+Math.imul(he,Qe)|0,w=w+Math.imul(he,st)|0,M=M+Math.imul(ue,rt)|0,S=(S=S+Math.imul(ue,yt)|0)+Math.imul(ce,rt)|0,w=w+Math.imul(ce,yt)|0;var kr=(R+(M=M+Math.imul(ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ee,dt)|0)+Math.imul(Z,tt)|0))<<13)|0;R=((w=w+Math.imul(Z,dt)|0)+(S>>>13)|0)+(kr>>>26)|0,kr&=67108863,M=Math.imul(ke,Se),S=(S=Math.imul(ke,Ne))+Math.imul(Ue,Se)|0,w=Math.imul(Ue,Ne),M=M+Math.imul(Pe,Le)|0,S=(S=S+Math.imul(Pe,Re)|0)+Math.imul(Be,Le)|0,w=w+Math.imul(Be,Re)|0,M=M+Math.imul(re,Fe)|0,S=(S=S+Math.imul(re,Ge)|0)+Math.imul(ye,Fe)|0,w=w+Math.imul(ye,Ge)|0,M=M+Math.imul(W,Je)|0,S=(S=S+Math.imul(W,it)|0)+Math.imul(X,Je)|0,w=w+Math.imul(X,it)|0,M=M+Math.imul(we,Ye)|0,S=(S=S+Math.imul(we,ut)|0)+Math.imul(K,Ye)|0,w=w+Math.imul(K,ut)|0,M=M+Math.imul(Ee,Qe)|0,S=(S=S+Math.imul(Ee,st)|0)+Math.imul(te,Qe)|0,w=w+Math.imul(te,st)|0,M=M+Math.imul(ie,rt)|0,S=(S=S+Math.imul(ie,yt)|0)+Math.imul(he,rt)|0,w=w+Math.imul(he,yt)|0;var xr=(R+(M=M+Math.imul(ue,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ue,dt)|0)+Math.imul(ce,tt)|0))<<13)|0;R=((w=w+Math.imul(ce,dt)|0)+(S>>>13)|0)+(xr>>>26)|0,xr&=67108863,M=Math.imul(ke,Le),S=(S=Math.imul(ke,Re))+Math.imul(Ue,Le)|0,w=Math.imul(Ue,Re),M=M+Math.imul(Pe,Fe)|0,S=(S=S+Math.imul(Pe,Ge)|0)+Math.imul(Be,Fe)|0,w=w+Math.imul(Be,Ge)|0,M=M+Math.imul(re,Je)|0,S=(S=S+Math.imul(re,it)|0)+Math.imul(ye,Je)|0,w=w+Math.imul(ye,it)|0,M=M+Math.imul(W,Ye)|0,S=(S=S+Math.imul(W,ut)|0)+Math.imul(X,Ye)|0,w=w+Math.imul(X,ut)|0,M=M+Math.imul(we,Qe)|0,S=(S=S+Math.imul(we,st)|0)+Math.imul(K,Qe)|0,w=w+Math.imul(K,st)|0,M=M+Math.imul(Ee,rt)|0,S=(S=S+Math.imul(Ee,yt)|0)+Math.imul(te,rt)|0,w=w+Math.imul(te,yt)|0;var gr=(R+(M=M+Math.imul(ie,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ie,dt)|0)+Math.imul(he,tt)|0))<<13)|0;R=((w=w+Math.imul(he,dt)|0)+(S>>>13)|0)+(gr>>>26)|0,gr&=67108863,M=Math.imul(ke,Fe),S=(S=Math.imul(ke,Ge))+Math.imul(Ue,Fe)|0,w=Math.imul(Ue,Ge),M=M+Math.imul(Pe,Je)|0,S=(S=S+Math.imul(Pe,it)|0)+Math.imul(Be,Je)|0,w=w+Math.imul(Be,it)|0,M=M+Math.imul(re,Ye)|0,S=(S=S+Math.imul(re,ut)|0)+Math.imul(ye,Ye)|0,w=w+Math.imul(ye,ut)|0,M=M+Math.imul(W,Qe)|0,S=(S=S+Math.imul(W,st)|0)+Math.imul(X,Qe)|0,w=w+Math.imul(X,st)|0,M=M+Math.imul(we,rt)|0,S=(S=S+Math.imul(we,yt)|0)+Math.imul(K,rt)|0,w=w+Math.imul(K,yt)|0;var Pr=(R+(M=M+Math.imul(Ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Ee,dt)|0)+Math.imul(te,tt)|0))<<13)|0;R=((w=w+Math.imul(te,dt)|0)+(S>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,M=Math.imul(ke,Je),S=(S=Math.imul(ke,it))+Math.imul(Ue,Je)|0,w=Math.imul(Ue,it),M=M+Math.imul(Pe,Ye)|0,S=(S=S+Math.imul(Pe,ut)|0)+Math.imul(Be,Ye)|0,w=w+Math.imul(Be,ut)|0,M=M+Math.imul(re,Qe)|0,S=(S=S+Math.imul(re,st)|0)+Math.imul(ye,Qe)|0,w=w+Math.imul(ye,st)|0,M=M+Math.imul(W,rt)|0,S=(S=S+Math.imul(W,yt)|0)+Math.imul(X,rt)|0,w=w+Math.imul(X,yt)|0;var sr=(R+(M=M+Math.imul(we,tt)|0)|0)+((8191&(S=(S=S+Math.imul(we,dt)|0)+Math.imul(K,tt)|0))<<13)|0;R=((w=w+Math.imul(K,dt)|0)+(S>>>13)|0)+(sr>>>26)|0,sr&=67108863,M=Math.imul(ke,Ye),S=(S=Math.imul(ke,ut))+Math.imul(Ue,Ye)|0,w=Math.imul(Ue,ut),M=M+Math.imul(Pe,Qe)|0,S=(S=S+Math.imul(Pe,st)|0)+Math.imul(Be,Qe)|0,w=w+Math.imul(Be,st)|0,M=M+Math.imul(re,rt)|0,S=(S=S+Math.imul(re,yt)|0)+Math.imul(ye,rt)|0,w=w+Math.imul(ye,yt)|0;var Ar=(R+(M=M+Math.imul(W,tt)|0)|0)+((8191&(S=(S=S+Math.imul(W,dt)|0)+Math.imul(X,tt)|0))<<13)|0;R=((w=w+Math.imul(X,dt)|0)+(S>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,M=Math.imul(ke,Qe),S=(S=Math.imul(ke,st))+Math.imul(Ue,Qe)|0,w=Math.imul(Ue,st),M=M+Math.imul(Pe,rt)|0,S=(S=S+Math.imul(Pe,yt)|0)+Math.imul(Be,rt)|0,w=w+Math.imul(Be,yt)|0;var ur=(R+(M=M+Math.imul(re,tt)|0)|0)+((8191&(S=(S=S+Math.imul(re,dt)|0)+Math.imul(ye,tt)|0))<<13)|0;R=((w=w+Math.imul(ye,dt)|0)+(S>>>13)|0)+(ur>>>26)|0,ur&=67108863,M=Math.imul(ke,rt),S=(S=Math.imul(ke,yt))+Math.imul(Ue,rt)|0,w=Math.imul(Ue,yt);var zt=(R+(M=M+Math.imul(Pe,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Pe,dt)|0)+Math.imul(Be,tt)|0))<<13)|0;R=((w=w+Math.imul(Be,dt)|0)+(S>>>13)|0)+(zt>>>26)|0,zt&=67108863;var cr=(R+(M=Math.imul(ke,tt))|0)+((8191&(S=(S=Math.imul(ke,dt))+Math.imul(Ue,tt)|0))<<13)|0;return R=((w=Math.imul(Ue,dt))+(S>>>13)|0)+(cr>>>26)|0,cr&=67108863,V[0]=Mt,V[1]=Dt,V[2]=Cr,V[3]=Sr,V[4]=Lr,V[5]=mr,V[6]=ar,V[7]=_r,V[8]=Mr,V[9]=Er,V[10]=kr,V[11]=xr,V[12]=gr,V[13]=Pr,V[14]=sr,V[15]=Ar,V[16]=ur,V[17]=zt,V[18]=cr,R!==0&&(V[19]=R,x.length++),x};function h(_,T,x){return new O().mulp(_,T,x)}function O(_,T){this.x=_,this.y=T}Math.imul||(p=v),t.prototype.mulTo=function(_,T){var x,M=this.length+_.length;return x=this.length===10&&_.length===10?p(this,_,T):M<63?v(this,_,T):M<1024?function(S,w,A){A.negative=w.negative^S.negative,A.length=S.length+w.length;for(var D=0,V=0,R=0;R>>26)|0)>>>26,F&=67108863}A.words[R]=$,D=F,F=V}return D!==0?A.words[R]=D:A.length--,A.strip()}(this,_,T):h(this,_,T),x},O.prototype.makeRBT=function(_){for(var T=new Array(_),x=t.prototype._countBits(_)-1,M=0;M<_;M++)T[M]=this.revBin(M,x,_);return T},O.prototype.revBin=function(_,T,x){if(_===0||_===x-1)return _;for(var M=0,S=0;S>=1;return M},O.prototype.permute=function(_,T,x,M,S,w){for(var A=0;A>>=1)S++;return 1<>>=13,x[2*w+1]=8191&S,S>>>=13;for(w=2*T;w>=26,T+=M/67108864|0,T+=S>>>26,this.words[x]=67108863&S}return T!==0&&(this.words[x]=T,this.length++),this},t.prototype.muln=function(_){return this.clone().imuln(_)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(_){var T=function(w){for(var A=new Array(w.bitLength()),D=0;D>>R}return A}(_);if(T.length===0)return new t(1);for(var x=this,M=0;M=0);var T,x=_%26,M=(_-x)/26,S=67108863>>>26-x<<26-x;if(x!==0){var w=0;for(T=0;T>>26-x}w&&(this.words[T]=w,this.length++)}if(M!==0){for(T=this.length-1;T>=0;T--)this.words[T+M]=this.words[T];for(T=0;T=0),M=T?(T-T%26)/26:0;var S=_%26,w=Math.min((_-S)/26,this.length),A=67108863^67108863>>>S<w)for(this.length-=w,V=0;V=0&&(R!==0||V>=M);V--){var F=0|this.words[V];this.words[V]=R<<26-S|F>>>S,R=F&A}return D&&R!==0&&(D.words[D.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(_,T,x){return i(this.negative===0),this.iushrn(_,T,x)},t.prototype.shln=function(_){return this.clone().ishln(_)},t.prototype.ushln=function(_){return this.clone().iushln(_)},t.prototype.shrn=function(_){return this.clone().ishrn(_)},t.prototype.ushrn=function(_){return this.clone().iushrn(_)},t.prototype.testn=function(_){i(typeof _=="number"&&_>=0);var T=_%26,x=(_-T)/26,M=1<=0);var T=_%26,x=(_-T)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(T!==0&&x++,this.length=Math.min(x,this.length),T!==0){var M=67108863^67108863>>>T<=67108864;T++)this.words[T]-=67108864,T===this.length-1?this.words[T+1]=1:this.words[T+1]++;return this.length=Math.max(this.length,T+1),this},t.prototype.isubn=function(_){if(i(typeof _=="number"),i(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T=0;T>26)-(D/67108864|0),this.words[M+x]=67108863&S}for(;M>26,this.words[M+x]=67108863&S;if(A===0)return this.strip();for(i(A===-1),A=0,M=0;M>26,this.words[M]=67108863&S;return this.negative=1,this.strip()},t.prototype._wordDiv=function(_,T){var x=(this.length,_.length),M=this.clone(),S=_,w=0|S.words[S.length-1];(x=26-this._countBits(w))!=0&&(S=S.ushln(x),M.iushln(x),w=0|S.words[S.length-1]);var A,D=M.length-S.length;if(T!=="mod"){(A=new t(null)).length=D+1,A.words=new Array(A.length);for(var V=0;V=0;F--){var $=67108864*(0|M.words[S.length+F])+(0|M.words[S.length+F-1]);for($=Math.min($/w|0,67108863),M._ishlnsubmul(S,$,F);M.negative!==0;)$--,M.negative=0,M._ishlnsubmul(S,1,F),M.isZero()||(M.negative^=1);A&&(A.words[F]=$)}return A&&A.strip(),M.strip(),T!=="div"&&x!==0&&M.iushrn(x),{div:A||null,mod:M}},t.prototype.divmod=function(_,T,x){return i(!_.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&_.negative===0?(w=this.neg().divmod(_,T),T!=="mod"&&(M=w.div.neg()),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.iadd(_)),{div:M,mod:S}):this.negative===0&&_.negative!==0?(w=this.divmod(_.neg(),T),T!=="mod"&&(M=w.div.neg()),{div:M,mod:w.mod}):this.negative&_.negative?(w=this.neg().divmod(_.neg(),T),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.isub(_)),{div:w.div,mod:S}):_.length>this.length||this.cmp(_)<0?{div:new t(0),mod:this}:_.length===1?T==="div"?{div:this.divn(_.words[0]),mod:null}:T==="mod"?{div:null,mod:new t(this.modn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new t(this.modn(_.words[0]))}:this._wordDiv(_,T);var M,S,w},t.prototype.div=function(_){return this.divmod(_,"div",!1).div},t.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},t.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},t.prototype.divRound=function(_){var T=this.divmod(_);if(T.mod.isZero())return T.div;var x=T.div.negative!==0?T.mod.isub(_):T.mod,M=_.ushrn(1),S=_.andln(1),w=x.cmp(M);return w<0||S===1&&w===0?T.div:T.div.negative!==0?T.div.isubn(1):T.div.iaddn(1)},t.prototype.modn=function(_){i(_<=67108863);for(var T=67108864%_,x=0,M=this.length-1;M>=0;M--)x=(T*x+(0|this.words[M]))%_;return x},t.prototype.idivn=function(_){i(_<=67108863);for(var T=0,x=this.length-1;x>=0;x--){var M=(0|this.words[x])+67108864*T;this.words[x]=M/_|0,T=M%_}return this.strip()},t.prototype.divn=function(_){return this.clone().idivn(_)},t.prototype.egcd=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M=new t(1),S=new t(0),w=new t(0),A=new t(1),D=0;T.isEven()&&x.isEven();)T.iushrn(1),x.iushrn(1),++D;for(var V=x.clone(),R=T.clone();!T.isZero();){for(var F=0,$=1;!(T.words[0]&$)&&F<26;++F,$<<=1);if(F>0)for(T.iushrn(F);F-- >0;)(M.isOdd()||S.isOdd())&&(M.iadd(V),S.isub(R)),M.iushrn(1),S.iushrn(1);for(var G=0,Q=1;!(x.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(x.iushrn(G);G-- >0;)(w.isOdd()||A.isOdd())&&(w.iadd(V),A.isub(R)),w.iushrn(1),A.iushrn(1);T.cmp(x)>=0?(T.isub(x),M.isub(w),S.isub(A)):(x.isub(T),w.isub(M),A.isub(S))}return{a:w,b:A,gcd:x.iushln(D)}},t.prototype._invmp=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M,S=new t(1),w=new t(0),A=x.clone();T.cmpn(1)>0&&x.cmpn(1)>0;){for(var D=0,V=1;!(T.words[0]&V)&&D<26;++D,V<<=1);if(D>0)for(T.iushrn(D);D-- >0;)S.isOdd()&&S.iadd(A),S.iushrn(1);for(var R=0,F=1;!(x.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(x.iushrn(R);R-- >0;)w.isOdd()&&w.iadd(A),w.iushrn(1);T.cmp(x)>=0?(T.isub(x),S.isub(w)):(x.isub(T),w.isub(S))}return(M=T.cmpn(1)===0?S:w).cmpn(0)<0&&M.iadd(_),M},t.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var T=this.clone(),x=_.clone();T.negative=0,x.negative=0;for(var M=0;T.isEven()&&x.isEven();M++)T.iushrn(1),x.iushrn(1);for(;;){for(;T.isEven();)T.iushrn(1);for(;x.isEven();)x.iushrn(1);var S=T.cmp(x);if(S<0){var w=T;T=x,x=w}else if(S===0||x.cmpn(1)===0)break;T.isub(x)}return x.iushln(M)},t.prototype.invm=function(_){return this.egcd(_).a.umod(_)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(_){return this.words[0]&_},t.prototype.bincn=function(_){i(typeof _=="number");var T=_%26,x=(_-T)/26,M=1<>>26,A&=67108863,this.words[w]=A}return S!==0&&(this.words[w]=S,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(_){var T,x=_<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;if(this.strip(),this.length>1)T=1;else{x&&(_=-_),i(_<=67108863,"Number is too big");var M=0|this.words[0];T=M===_?0:M<_?-1:1}return this.negative!==0?0|-T:T},t.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var T=this.ucmp(_);return this.negative!==0?0|-T:T},t.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var T=0,x=this.length-1;x>=0;x--){var M=0|this.words[x],S=0|_.words[x];if(M!==S){MS&&(T=1);break}}return T},t.prototype.gtn=function(_){return this.cmpn(_)===1},t.prototype.gt=function(_){return this.cmp(_)===1},t.prototype.gten=function(_){return this.cmpn(_)>=0},t.prototype.gte=function(_){return this.cmp(_)>=0},t.prototype.ltn=function(_){return this.cmpn(_)===-1},t.prototype.lt=function(_){return this.cmp(_)===-1},t.prototype.lten=function(_){return this.cmpn(_)<=0},t.prototype.lte=function(_){return this.cmp(_)<=0},t.prototype.eqn=function(_){return this.cmpn(_)===0},t.prototype.eq=function(_){return this.cmp(_)===0},t.red=function(_){return new j(_)},t.prototype.toRed=function(_){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(_){return this.red=_,this},t.prototype.forceRed=function(_){return i(!this.red,"Already a number in reduction context"),this._forceRed(_)},t.prototype.redAdd=function(_){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},t.prototype.redIAdd=function(_){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},t.prototype.redSub=function(_){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},t.prototype.redISub=function(_){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},t.prototype.redShl=function(_){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},t.prototype.redMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},t.prototype.redIMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(_){return i(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var I={k256:null,p224:null,p192:null,p25519:null};function B(_,T){this.name=_,this.p=new t(T,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function L(){B.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function N(){B.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function H(){B.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(_){if(typeof _=="string"){var T=t._prime(_);this.m=T.p,this.prime=T}else i(_.gtn(1),"modulus must be greater than 1"),this.m=_,this.prime=null}function U(_){j.call(this,_),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}B.prototype._tmp=function(){var _=new t(null);return _.words=new Array(Math.ceil(this.n/13)),_},B.prototype.ireduce=function(_){var T,x=_;do this.split(x,this.tmp),T=(x=(x=this.imulK(x)).iadd(this.tmp)).bitLength();while(T>this.n);var M=T0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},B.prototype.split=function(_,T){_.iushrn(this.n,0,T)},B.prototype.imulK=function(_){return _.imul(this.k)},y(k,B),k.prototype.split=function(_,T){for(var x=4194303,M=Math.min(_.length,9),S=0;S>>22,w=A}w>>>=22,_.words[S-10]=w,w===0&&_.length>10?_.length-=10:_.length-=9},k.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var T=0,x=0;x<_.length;x++){var M=0|_.words[x];T+=977*M,_.words[x]=67108863&T,T=64*M+(T/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_},y(L,B),y(N,B),y(H,B),H.prototype.imulK=function(_){for(var T=0,x=0;x<_.length;x++){var M=19*(0|_.words[x])+T,S=67108863&M;M>>>=26,_.words[x]=S,T=M}return T!==0&&(_.words[_.length++]=T),_},t._prime=function(_){if(I[_])return I[_];var T;if(_==="k256")T=new k;else if(_==="p224")T=new L;else if(_==="p192")T=new N;else{if(_!=="p25519")throw new Error("Unknown prime "+_);T=new H}return I[_]=T,T},j.prototype._verify1=function(_){i(_.negative===0,"red works only with positives"),i(_.red,"red works only with red numbers")},j.prototype._verify2=function(_,T){i(!(_.negative|T.negative),"red works only with positives"),i(_.red&&_.red===T.red,"red works only with red numbers")},j.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):_.umod(this.m)._forceRed(this)},j.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},j.prototype.add=function(_,T){this._verify2(_,T);var x=_.add(T);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},j.prototype.iadd=function(_,T){this._verify2(_,T);var x=_.iadd(T);return x.cmp(this.m)>=0&&x.isub(this.m),x},j.prototype.sub=function(_,T){this._verify2(_,T);var x=_.sub(T);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},j.prototype.isub=function(_,T){this._verify2(_,T);var x=_.isub(T);return x.cmpn(0)<0&&x.iadd(this.m),x},j.prototype.shl=function(_,T){return this._verify1(_),this.imod(_.ushln(T))},j.prototype.imul=function(_,T){return this._verify2(_,T),this.imod(_.imul(T))},j.prototype.mul=function(_,T){return this._verify2(_,T),this.imod(_.mul(T))},j.prototype.isqr=function(_){return this.imul(_,_.clone())},j.prototype.sqr=function(_){return this.mul(_,_)},j.prototype.sqrt=function(_){if(_.isZero())return _.clone();var T=this.m.andln(3);if(i(T%2==1),T===3){var x=this.m.add(new t(1)).iushrn(2);return this.pow(_,x)}for(var M=this.m.subn(1),S=0;!M.isZero()&&M.andln(1)===0;)S++,M.iushrn(1);i(!M.isZero());var w=new t(1).toRed(this),A=w.redNeg(),D=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new t(2*V*V).toRed(this);this.pow(V,D).cmp(A)!==0;)V.redIAdd(A);for(var R=this.pow(V,M),F=this.pow(_,M.addn(1).iushrn(1)),$=this.pow(_,M),G=S;$.cmp(w)!==0;){for(var Q=$,ee=0;Q.cmp(w)!==0;ee++)Q=Q.redSqr();i(ee=0;M--){for(var V=T.words[M],R=D-1;R>=0;R--){var F=V>>R&1;S!==x[0]&&(S=this.sqr(S)),F!==0||w!==0?(w<<=1,w|=F,(++A==4||M===0&&R===0)&&(S=this.mul(S,x[w]),A=0,w=0)):A=0}D=26}return S},j.prototype.convertTo=function(_){var T=_.umod(this.m);return T===_?T.clone():T},j.prototype.convertFrom=function(_){var T=_.clone();return T.red=null,T},t.mont=function(_){return new U(_)},y(U,j),U.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},U.prototype.convertFrom=function(_){var T=this.imod(_.mul(this.rinv));return T.red=null,T},U.prototype.imul=function(_,T){if(_.isZero()||T.isZero())return _.words[0]=0,_.length=1,_;var x=_.imul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.mul=function(_,T){if(_.isZero()||T.isZero())return new t(0)._forceRed(this);var x=_.mul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.invm=function(_){return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},7526:(E,n)=>{n.byteLength=function(b){var m=t(b),u=m[0],f=m[1];return 3*(u+f)/4-f},n.toByteArray=function(b){var m,u,f=t(b),l=f[0],s=f[1],v=new a(function(O,I,B){return 3*(I+B)/4-B}(0,l,s)),p=0,h=s>0?l-4:l;for(u=0;u>16&255,v[p++]=m>>8&255,v[p++]=255&m;return s===2&&(m=r[b.charCodeAt(u)]<<2|r[b.charCodeAt(u+1)]>>4,v[p++]=255&m),s===1&&(m=r[b.charCodeAt(u)]<<10|r[b.charCodeAt(u+1)]<<4|r[b.charCodeAt(u+2)]>>2,v[p++]=m>>8&255,v[p++]=255&m),v},n.fromByteArray=function(b){for(var m,u=b.length,f=u%3,l=[],s=16383,v=0,p=u-f;vp?p:v+s));return f===1?(m=b[u-1],l.push(c[m>>2]+c[m<<4&63]+"==")):f===2&&(m=(b[u-2]<<8)+b[u-1],l.push(c[m>>10]+c[m>>4&63]+c[m<<2&63]+"=")),l.join("")};for(var c=[],r=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)c[y]=i[y],r[i.charCodeAt(y)]=y;function t(b){var m=b.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=b.indexOf("=");return u===-1&&(u=m),[u,u===m?0:4-u%4]}function d(b,m,u){for(var f,l,s=[],v=m;v>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]);return s.join("")}r[45]=62,r[95]=63},9404:function(E,n,c){(function(r,a){function i(x,M){if(!x)throw new Error(M||"Assertion failed")}function y(x,M){x.super_=M;var S=function(){};S.prototype=M.prototype,x.prototype=new S,x.prototype.constructor=x}function t(x,M,S){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(S=M,M=10),this._init(x||0,M||10,S||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(7790).Buffer}catch{}function b(x,M){var S=x.charCodeAt(M);return S>=48&&S<=57?S-48:S>=65&&S<=70?S-55:S>=97&&S<=102?S-87:void i(!1,"Invalid character in "+x)}function m(x,M,S){var w=b(x,S);return S-1>=M&&(w|=b(x,S-1)<<4),w}function u(x,M,S,w){for(var A=0,D=0,V=Math.min(x.length,S),R=M;R=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&D0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,S){if(typeof x=="number")return this._initNumber(x,M,S);if(typeof x=="object")return this._initArray(x,M,S);M==="hex"&&(M=16),i(M===(0|M)&&M>=2&&M<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w=0;w-=3)D=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[A]|=D<>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);else if(S==="le")for(w=0,A=0;w>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);return this._strip()},t.prototype._parseHex=function(x,M,S){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var w=0;w=M;w-=2)A=m(x,M,w)<=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;else for(w=(x.length-M)%2==0?M+1:M;w=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;this._strip()},t.prototype._parseBase=function(x,M,S){this.words=[0],this.length=1;for(var w=0,A=1;A<=67108863;A*=M)w++;w--,A=A/M|0;for(var D=x.length-S,V=D%w,R=Math.min(D,D-V)+S,F=0,$=S;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{t.prototype.inspect=l}else t.prototype.inspect=l;function l(){return(this.red?""}var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(x,M,S){S.negative=M.negative^x.negative;var w=x.length+M.length|0;S.length=w,w=w-1|0;var A=0|x.words[0],D=0|M.words[0],V=A*D,R=67108863&V,F=V/67108864|0;S.words[0]=R;for(var $=1;$>>26,Q=67108863&F,ee=Math.min($,M.length-1),Z=Math.max(0,$-x.length+1);Z<=ee;Z++){var q=$-Z|0;G+=(V=(A=0|x.words[q])*(D=0|M.words[Z])+Q)/67108864|0,Q=67108863&V}S.words[$]=0|Q,F=0|G}return F!==0?S.words[$]=0|F:S.length--,S._strip()}t.prototype.toString=function(x,M){var S;if(M=0|M||1,(x=x||10)===16||x==="hex"){S="";for(var w=0,A=0,D=0;D>>24-w&16777215,(w+=2)>=26&&(w-=26,D--),S=A!==0||D!==this.length-1?s[6-R.length]+R+S:R+S}for(A!==0&&(S=A.toString(16)+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(x===(0|x)&&x>=2&&x<=36){var F=v[x],$=p[x];S="";var G=this.clone();for(G.negative=0;!G.isZero();){var Q=G.modrn($).toString(x);S=(G=G.idivn($)).isZero()?Q+S:s[F-Q.length]+Q+S}for(this.isZero()&&(S="0"+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(x,M){return this.toArrayLike(d,x,M)}),t.prototype.toArray=function(x,M){return this.toArrayLike(Array,x,M)},t.prototype.toArrayLike=function(x,M,S){this._strip();var w=this.byteLength(),A=S||Math.max(1,w);i(w<=A,"byte array longer than desired length"),i(A>0,"Requested array length <= 0");var D=function(V,R){return V.allocUnsafe?V.allocUnsafe(R):new V(R)}(x,A);return this["_toArrayLike"+(M==="le"?"LE":"BE")](D,w),D},t.prototype._toArrayLikeLE=function(x,M){for(var S=0,w=0,A=0,D=0;A>8&255),S>16&255),D===6?(S>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S=0&&(x[S--]=V>>8&255),S>=0&&(x[S--]=V>>16&255),D===6?(S>=0&&(x[S--]=V>>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S>=0)for(x[S--]=w;S>=0;)x[S--]=0},Math.clz32?t.prototype._countBits=function(x){return 32-Math.clz32(x)}:t.prototype._countBits=function(x){var M=x,S=0;return M>=4096&&(S+=13,M>>>=13),M>=64&&(S+=7,M>>>=7),M>=8&&(S+=4,M>>>=4),M>=2&&(S+=2,M>>>=2),S+M},t.prototype._zeroBits=function(x){if(x===0)return 26;var M=x,S=0;return 8191&M||(S+=13,M>>>=13),127&M||(S+=7,M>>>=7),15&M||(S+=4,M>>>=4),3&M||(S+=2,M>>>=2),1&M||S++,S},t.prototype.bitLength=function(){var x=this.words[this.length-1],M=this._countBits(x);return 26*(this.length-1)+M},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,M=0;Mx.length?this.clone().ior(x):x.clone().ior(this)},t.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},t.prototype.iuand=function(x){var M;M=this.length>x.length?x:this;for(var S=0;Sx.length?this.clone().iand(x):x.clone().iand(this)},t.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},t.prototype.iuxor=function(x){var M,S;this.length>x.length?(M=this,S=x):(M=x,S=this);for(var w=0;wx.length?this.clone().ixor(x):x.clone().ixor(this)},t.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},t.prototype.inotn=function(x){i(typeof x=="number"&&x>=0);var M=0|Math.ceil(x/26),S=x%26;this._expand(M),S>0&&M--;for(var w=0;w0&&(this.words[w]=~this.words[w]&67108863>>26-S),this._strip()},t.prototype.notn=function(x){return this.clone().inotn(x)},t.prototype.setn=function(x,M){i(typeof x=="number"&&x>=0);var S=x/26|0,w=x%26;return this._expand(S+1),this.words[S]=M?this.words[S]|1<x.length?(S=this,w=x):(S=x,w=this);for(var A=0,D=0;D>>26;for(;A!==0&&D>>26;if(this.length=S.length,A!==0)this.words[this.length]=A,this.length++;else if(S!==this)for(;Dx.length?this.clone().iadd(x):x.clone().iadd(this)},t.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var M=this.iadd(x);return x.negative=1,M._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var S,w,A=this.cmp(x);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(S=this,w=x):(S=x,w=this);for(var D=0,V=0;V>26,this.words[V]=67108863&M;for(;D!==0&&V>26,this.words[V]=67108863&M;if(D===0&&V>>13,Z=0|V[1],q=8191&Z,ue=Z>>>13,ce=0|V[2],le=8191&ce,ie=ce>>>13,he=0|V[3],Ie=8191&he,Ee=he>>>13,te=0|V[4],ge=8191&te,we=te>>>13,K=0|V[5],J=8191&K,W=K>>>13,X=0|V[6],ne=8191&X,re=X>>>13,ye=0|V[7],Te=8191&ye,Pe=ye>>>13,Be=0|V[8],Ve=8191&Be,ke=Be>>>13,Ue=0|V[9],Xe=8191&Ue,je=Ue>>>13,fe=0|R[0],oe=8191&fe,de=fe>>>13,me=0|R[1],_e=8191&me,Se=me>>>13,Ne=0|R[2],He=8191&Ne,Le=Ne>>>13,Re=0|R[3],Ze=8191&Re,Fe=Re>>>13,Ge=0|R[4],lt=8191&Ge,Je=Ge>>>13,it=0|R[5],vt=8191&it,Ye=it>>>13,ut=0|R[6],_t=8191&ut,Qe=ut>>>13,st=0|R[7],Pt=8191&st,rt=st>>>13,yt=0|R[8],jt=8191&yt,tt=yt>>>13,dt=0|R[9],Mt=8191&dt,Dt=dt>>>13;S.negative=x.negative^M.negative,S.length=19;var Cr=($+(w=Math.imul(Q,oe))|0)+((8191&(A=(A=Math.imul(Q,de))+Math.imul(ee,oe)|0))<<13)|0;$=((D=Math.imul(ee,de))+(A>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,w=Math.imul(q,oe),A=(A=Math.imul(q,de))+Math.imul(ue,oe)|0,D=Math.imul(ue,de);var Sr=($+(w=w+Math.imul(Q,_e)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Se)|0)+Math.imul(ee,_e)|0))<<13)|0;$=((D=D+Math.imul(ee,Se)|0)+(A>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,w=Math.imul(le,oe),A=(A=Math.imul(le,de))+Math.imul(ie,oe)|0,D=Math.imul(ie,de),w=w+Math.imul(q,_e)|0,A=(A=A+Math.imul(q,Se)|0)+Math.imul(ue,_e)|0,D=D+Math.imul(ue,Se)|0;var Lr=($+(w=w+Math.imul(Q,He)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Le)|0)+Math.imul(ee,He)|0))<<13)|0;$=((D=D+Math.imul(ee,Le)|0)+(A>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(Ie,oe),A=(A=Math.imul(Ie,de))+Math.imul(Ee,oe)|0,D=Math.imul(Ee,de),w=w+Math.imul(le,_e)|0,A=(A=A+Math.imul(le,Se)|0)+Math.imul(ie,_e)|0,D=D+Math.imul(ie,Se)|0,w=w+Math.imul(q,He)|0,A=(A=A+Math.imul(q,Le)|0)+Math.imul(ue,He)|0,D=D+Math.imul(ue,Le)|0;var mr=($+(w=w+Math.imul(Q,Ze)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Fe)|0)+Math.imul(ee,Ze)|0))<<13)|0;$=((D=D+Math.imul(ee,Fe)|0)+(A>>>13)|0)+(mr>>>26)|0,mr&=67108863,w=Math.imul(ge,oe),A=(A=Math.imul(ge,de))+Math.imul(we,oe)|0,D=Math.imul(we,de),w=w+Math.imul(Ie,_e)|0,A=(A=A+Math.imul(Ie,Se)|0)+Math.imul(Ee,_e)|0,D=D+Math.imul(Ee,Se)|0,w=w+Math.imul(le,He)|0,A=(A=A+Math.imul(le,Le)|0)+Math.imul(ie,He)|0,D=D+Math.imul(ie,Le)|0,w=w+Math.imul(q,Ze)|0,A=(A=A+Math.imul(q,Fe)|0)+Math.imul(ue,Ze)|0,D=D+Math.imul(ue,Fe)|0;var ar=($+(w=w+Math.imul(Q,lt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Je)|0)+Math.imul(ee,lt)|0))<<13)|0;$=((D=D+Math.imul(ee,Je)|0)+(A>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(J,oe),A=(A=Math.imul(J,de))+Math.imul(W,oe)|0,D=Math.imul(W,de),w=w+Math.imul(ge,_e)|0,A=(A=A+Math.imul(ge,Se)|0)+Math.imul(we,_e)|0,D=D+Math.imul(we,Se)|0,w=w+Math.imul(Ie,He)|0,A=(A=A+Math.imul(Ie,Le)|0)+Math.imul(Ee,He)|0,D=D+Math.imul(Ee,Le)|0,w=w+Math.imul(le,Ze)|0,A=(A=A+Math.imul(le,Fe)|0)+Math.imul(ie,Ze)|0,D=D+Math.imul(ie,Fe)|0,w=w+Math.imul(q,lt)|0,A=(A=A+Math.imul(q,Je)|0)+Math.imul(ue,lt)|0,D=D+Math.imul(ue,Je)|0;var _r=($+(w=w+Math.imul(Q,vt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Ye)|0)+Math.imul(ee,vt)|0))<<13)|0;$=((D=D+Math.imul(ee,Ye)|0)+(A>>>13)|0)+(_r>>>26)|0,_r&=67108863,w=Math.imul(ne,oe),A=(A=Math.imul(ne,de))+Math.imul(re,oe)|0,D=Math.imul(re,de),w=w+Math.imul(J,_e)|0,A=(A=A+Math.imul(J,Se)|0)+Math.imul(W,_e)|0,D=D+Math.imul(W,Se)|0,w=w+Math.imul(ge,He)|0,A=(A=A+Math.imul(ge,Le)|0)+Math.imul(we,He)|0,D=D+Math.imul(we,Le)|0,w=w+Math.imul(Ie,Ze)|0,A=(A=A+Math.imul(Ie,Fe)|0)+Math.imul(Ee,Ze)|0,D=D+Math.imul(Ee,Fe)|0,w=w+Math.imul(le,lt)|0,A=(A=A+Math.imul(le,Je)|0)+Math.imul(ie,lt)|0,D=D+Math.imul(ie,Je)|0,w=w+Math.imul(q,vt)|0,A=(A=A+Math.imul(q,Ye)|0)+Math.imul(ue,vt)|0,D=D+Math.imul(ue,Ye)|0;var Mr=($+(w=w+Math.imul(Q,_t)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Qe)|0)+Math.imul(ee,_t)|0))<<13)|0;$=((D=D+Math.imul(ee,Qe)|0)+(A>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,w=Math.imul(Te,oe),A=(A=Math.imul(Te,de))+Math.imul(Pe,oe)|0,D=Math.imul(Pe,de),w=w+Math.imul(ne,_e)|0,A=(A=A+Math.imul(ne,Se)|0)+Math.imul(re,_e)|0,D=D+Math.imul(re,Se)|0,w=w+Math.imul(J,He)|0,A=(A=A+Math.imul(J,Le)|0)+Math.imul(W,He)|0,D=D+Math.imul(W,Le)|0,w=w+Math.imul(ge,Ze)|0,A=(A=A+Math.imul(ge,Fe)|0)+Math.imul(we,Ze)|0,D=D+Math.imul(we,Fe)|0,w=w+Math.imul(Ie,lt)|0,A=(A=A+Math.imul(Ie,Je)|0)+Math.imul(Ee,lt)|0,D=D+Math.imul(Ee,Je)|0,w=w+Math.imul(le,vt)|0,A=(A=A+Math.imul(le,Ye)|0)+Math.imul(ie,vt)|0,D=D+Math.imul(ie,Ye)|0,w=w+Math.imul(q,_t)|0,A=(A=A+Math.imul(q,Qe)|0)+Math.imul(ue,_t)|0,D=D+Math.imul(ue,Qe)|0;var Er=($+(w=w+Math.imul(Q,Pt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,rt)|0)+Math.imul(ee,Pt)|0))<<13)|0;$=((D=D+Math.imul(ee,rt)|0)+(A>>>13)|0)+(Er>>>26)|0,Er&=67108863,w=Math.imul(Ve,oe),A=(A=Math.imul(Ve,de))+Math.imul(ke,oe)|0,D=Math.imul(ke,de),w=w+Math.imul(Te,_e)|0,A=(A=A+Math.imul(Te,Se)|0)+Math.imul(Pe,_e)|0,D=D+Math.imul(Pe,Se)|0,w=w+Math.imul(ne,He)|0,A=(A=A+Math.imul(ne,Le)|0)+Math.imul(re,He)|0,D=D+Math.imul(re,Le)|0,w=w+Math.imul(J,Ze)|0,A=(A=A+Math.imul(J,Fe)|0)+Math.imul(W,Ze)|0,D=D+Math.imul(W,Fe)|0,w=w+Math.imul(ge,lt)|0,A=(A=A+Math.imul(ge,Je)|0)+Math.imul(we,lt)|0,D=D+Math.imul(we,Je)|0,w=w+Math.imul(Ie,vt)|0,A=(A=A+Math.imul(Ie,Ye)|0)+Math.imul(Ee,vt)|0,D=D+Math.imul(Ee,Ye)|0,w=w+Math.imul(le,_t)|0,A=(A=A+Math.imul(le,Qe)|0)+Math.imul(ie,_t)|0,D=D+Math.imul(ie,Qe)|0,w=w+Math.imul(q,Pt)|0,A=(A=A+Math.imul(q,rt)|0)+Math.imul(ue,Pt)|0,D=D+Math.imul(ue,rt)|0;var kr=($+(w=w+Math.imul(Q,jt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,tt)|0)+Math.imul(ee,jt)|0))<<13)|0;$=((D=D+Math.imul(ee,tt)|0)+(A>>>13)|0)+(kr>>>26)|0,kr&=67108863,w=Math.imul(Xe,oe),A=(A=Math.imul(Xe,de))+Math.imul(je,oe)|0,D=Math.imul(je,de),w=w+Math.imul(Ve,_e)|0,A=(A=A+Math.imul(Ve,Se)|0)+Math.imul(ke,_e)|0,D=D+Math.imul(ke,Se)|0,w=w+Math.imul(Te,He)|0,A=(A=A+Math.imul(Te,Le)|0)+Math.imul(Pe,He)|0,D=D+Math.imul(Pe,Le)|0,w=w+Math.imul(ne,Ze)|0,A=(A=A+Math.imul(ne,Fe)|0)+Math.imul(re,Ze)|0,D=D+Math.imul(re,Fe)|0,w=w+Math.imul(J,lt)|0,A=(A=A+Math.imul(J,Je)|0)+Math.imul(W,lt)|0,D=D+Math.imul(W,Je)|0,w=w+Math.imul(ge,vt)|0,A=(A=A+Math.imul(ge,Ye)|0)+Math.imul(we,vt)|0,D=D+Math.imul(we,Ye)|0,w=w+Math.imul(Ie,_t)|0,A=(A=A+Math.imul(Ie,Qe)|0)+Math.imul(Ee,_t)|0,D=D+Math.imul(Ee,Qe)|0,w=w+Math.imul(le,Pt)|0,A=(A=A+Math.imul(le,rt)|0)+Math.imul(ie,Pt)|0,D=D+Math.imul(ie,rt)|0,w=w+Math.imul(q,jt)|0,A=(A=A+Math.imul(q,tt)|0)+Math.imul(ue,jt)|0,D=D+Math.imul(ue,tt)|0;var xr=($+(w=w+Math.imul(Q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Dt)|0)+Math.imul(ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(ee,Dt)|0)+(A>>>13)|0)+(xr>>>26)|0,xr&=67108863,w=Math.imul(Xe,_e),A=(A=Math.imul(Xe,Se))+Math.imul(je,_e)|0,D=Math.imul(je,Se),w=w+Math.imul(Ve,He)|0,A=(A=A+Math.imul(Ve,Le)|0)+Math.imul(ke,He)|0,D=D+Math.imul(ke,Le)|0,w=w+Math.imul(Te,Ze)|0,A=(A=A+Math.imul(Te,Fe)|0)+Math.imul(Pe,Ze)|0,D=D+Math.imul(Pe,Fe)|0,w=w+Math.imul(ne,lt)|0,A=(A=A+Math.imul(ne,Je)|0)+Math.imul(re,lt)|0,D=D+Math.imul(re,Je)|0,w=w+Math.imul(J,vt)|0,A=(A=A+Math.imul(J,Ye)|0)+Math.imul(W,vt)|0,D=D+Math.imul(W,Ye)|0,w=w+Math.imul(ge,_t)|0,A=(A=A+Math.imul(ge,Qe)|0)+Math.imul(we,_t)|0,D=D+Math.imul(we,Qe)|0,w=w+Math.imul(Ie,Pt)|0,A=(A=A+Math.imul(Ie,rt)|0)+Math.imul(Ee,Pt)|0,D=D+Math.imul(Ee,rt)|0,w=w+Math.imul(le,jt)|0,A=(A=A+Math.imul(le,tt)|0)+Math.imul(ie,jt)|0,D=D+Math.imul(ie,tt)|0;var gr=($+(w=w+Math.imul(q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(q,Dt)|0)+Math.imul(ue,Mt)|0))<<13)|0;$=((D=D+Math.imul(ue,Dt)|0)+(A>>>13)|0)+(gr>>>26)|0,gr&=67108863,w=Math.imul(Xe,He),A=(A=Math.imul(Xe,Le))+Math.imul(je,He)|0,D=Math.imul(je,Le),w=w+Math.imul(Ve,Ze)|0,A=(A=A+Math.imul(Ve,Fe)|0)+Math.imul(ke,Ze)|0,D=D+Math.imul(ke,Fe)|0,w=w+Math.imul(Te,lt)|0,A=(A=A+Math.imul(Te,Je)|0)+Math.imul(Pe,lt)|0,D=D+Math.imul(Pe,Je)|0,w=w+Math.imul(ne,vt)|0,A=(A=A+Math.imul(ne,Ye)|0)+Math.imul(re,vt)|0,D=D+Math.imul(re,Ye)|0,w=w+Math.imul(J,_t)|0,A=(A=A+Math.imul(J,Qe)|0)+Math.imul(W,_t)|0,D=D+Math.imul(W,Qe)|0,w=w+Math.imul(ge,Pt)|0,A=(A=A+Math.imul(ge,rt)|0)+Math.imul(we,Pt)|0,D=D+Math.imul(we,rt)|0,w=w+Math.imul(Ie,jt)|0,A=(A=A+Math.imul(Ie,tt)|0)+Math.imul(Ee,jt)|0,D=D+Math.imul(Ee,tt)|0;var Pr=($+(w=w+Math.imul(le,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(le,Dt)|0)+Math.imul(ie,Mt)|0))<<13)|0;$=((D=D+Math.imul(ie,Dt)|0)+(A>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,w=Math.imul(Xe,Ze),A=(A=Math.imul(Xe,Fe))+Math.imul(je,Ze)|0,D=Math.imul(je,Fe),w=w+Math.imul(Ve,lt)|0,A=(A=A+Math.imul(Ve,Je)|0)+Math.imul(ke,lt)|0,D=D+Math.imul(ke,Je)|0,w=w+Math.imul(Te,vt)|0,A=(A=A+Math.imul(Te,Ye)|0)+Math.imul(Pe,vt)|0,D=D+Math.imul(Pe,Ye)|0,w=w+Math.imul(ne,_t)|0,A=(A=A+Math.imul(ne,Qe)|0)+Math.imul(re,_t)|0,D=D+Math.imul(re,Qe)|0,w=w+Math.imul(J,Pt)|0,A=(A=A+Math.imul(J,rt)|0)+Math.imul(W,Pt)|0,D=D+Math.imul(W,rt)|0,w=w+Math.imul(ge,jt)|0,A=(A=A+Math.imul(ge,tt)|0)+Math.imul(we,jt)|0,D=D+Math.imul(we,tt)|0;var sr=($+(w=w+Math.imul(Ie,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ie,Dt)|0)+Math.imul(Ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(Ee,Dt)|0)+(A>>>13)|0)+(sr>>>26)|0,sr&=67108863,w=Math.imul(Xe,lt),A=(A=Math.imul(Xe,Je))+Math.imul(je,lt)|0,D=Math.imul(je,Je),w=w+Math.imul(Ve,vt)|0,A=(A=A+Math.imul(Ve,Ye)|0)+Math.imul(ke,vt)|0,D=D+Math.imul(ke,Ye)|0,w=w+Math.imul(Te,_t)|0,A=(A=A+Math.imul(Te,Qe)|0)+Math.imul(Pe,_t)|0,D=D+Math.imul(Pe,Qe)|0,w=w+Math.imul(ne,Pt)|0,A=(A=A+Math.imul(ne,rt)|0)+Math.imul(re,Pt)|0,D=D+Math.imul(re,rt)|0,w=w+Math.imul(J,jt)|0,A=(A=A+Math.imul(J,tt)|0)+Math.imul(W,jt)|0,D=D+Math.imul(W,tt)|0;var Ar=($+(w=w+Math.imul(ge,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ge,Dt)|0)+Math.imul(we,Mt)|0))<<13)|0;$=((D=D+Math.imul(we,Dt)|0)+(A>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,w=Math.imul(Xe,vt),A=(A=Math.imul(Xe,Ye))+Math.imul(je,vt)|0,D=Math.imul(je,Ye),w=w+Math.imul(Ve,_t)|0,A=(A=A+Math.imul(Ve,Qe)|0)+Math.imul(ke,_t)|0,D=D+Math.imul(ke,Qe)|0,w=w+Math.imul(Te,Pt)|0,A=(A=A+Math.imul(Te,rt)|0)+Math.imul(Pe,Pt)|0,D=D+Math.imul(Pe,rt)|0,w=w+Math.imul(ne,jt)|0,A=(A=A+Math.imul(ne,tt)|0)+Math.imul(re,jt)|0,D=D+Math.imul(re,tt)|0;var ur=($+(w=w+Math.imul(J,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(J,Dt)|0)+Math.imul(W,Mt)|0))<<13)|0;$=((D=D+Math.imul(W,Dt)|0)+(A>>>13)|0)+(ur>>>26)|0,ur&=67108863,w=Math.imul(Xe,_t),A=(A=Math.imul(Xe,Qe))+Math.imul(je,_t)|0,D=Math.imul(je,Qe),w=w+Math.imul(Ve,Pt)|0,A=(A=A+Math.imul(Ve,rt)|0)+Math.imul(ke,Pt)|0,D=D+Math.imul(ke,rt)|0,w=w+Math.imul(Te,jt)|0,A=(A=A+Math.imul(Te,tt)|0)+Math.imul(Pe,jt)|0,D=D+Math.imul(Pe,tt)|0;var zt=($+(w=w+Math.imul(ne,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ne,Dt)|0)+Math.imul(re,Mt)|0))<<13)|0;$=((D=D+Math.imul(re,Dt)|0)+(A>>>13)|0)+(zt>>>26)|0,zt&=67108863,w=Math.imul(Xe,Pt),A=(A=Math.imul(Xe,rt))+Math.imul(je,Pt)|0,D=Math.imul(je,rt),w=w+Math.imul(Ve,jt)|0,A=(A=A+Math.imul(Ve,tt)|0)+Math.imul(ke,jt)|0,D=D+Math.imul(ke,tt)|0;var cr=($+(w=w+Math.imul(Te,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Te,Dt)|0)+Math.imul(Pe,Mt)|0))<<13)|0;$=((D=D+Math.imul(Pe,Dt)|0)+(A>>>13)|0)+(cr>>>26)|0,cr&=67108863,w=Math.imul(Xe,jt),A=(A=Math.imul(Xe,tt))+Math.imul(je,jt)|0,D=Math.imul(je,tt);var Mn=($+(w=w+Math.imul(Ve,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ve,Dt)|0)+Math.imul(ke,Mt)|0))<<13)|0;$=((D=D+Math.imul(ke,Dt)|0)+(A>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var Jn=($+(w=Math.imul(Xe,Mt))|0)+((8191&(A=(A=Math.imul(Xe,Dt))+Math.imul(je,Mt)|0))<<13)|0;return $=((D=Math.imul(je,Dt))+(A>>>13)|0)+(Jn>>>26)|0,Jn&=67108863,F[0]=Cr,F[1]=Sr,F[2]=Lr,F[3]=mr,F[4]=ar,F[5]=_r,F[6]=Mr,F[7]=Er,F[8]=kr,F[9]=xr,F[10]=gr,F[11]=Pr,F[12]=sr,F[13]=Ar,F[14]=ur,F[15]=zt,F[16]=cr,F[17]=Mn,F[18]=Jn,$!==0&&(F[19]=$,S.length++),S};function I(x,M,S){S.negative=M.negative^x.negative,S.length=x.length+M.length;for(var w=0,A=0,D=0;D>>26)|0)>>>26,V&=67108863}S.words[D]=R,w=V,V=A}return w!==0?S.words[D]=w:S.length--,S._strip()}function B(x,M,S){return I(x,M,S)}Math.imul||(O=h),t.prototype.mulTo=function(x,M){var S=this.length+x.length;return this.length===10&&x.length===10?O(this,x,M):S<63?h(this,x,M):S<1024?I(this,x,M):B(this,x,M)},t.prototype.mul=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),this.mulTo(x,M)},t.prototype.mulf=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),B(this,x,M)},t.prototype.imul=function(x){return this.clone().mulTo(x,this)},t.prototype.imuln=function(x){var M=x<0;M&&(x=-x),i(typeof x=="number"),i(x<67108864);for(var S=0,w=0;w>=26,S+=A/67108864|0,S+=D>>>26,this.words[w]=67108863&D}return S!==0&&(this.words[w]=S,this.length++),M?this.ineg():this},t.prototype.muln=function(x){return this.clone().imuln(x)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(x){var M=function(D){for(var V=new Array(D.bitLength()),R=0;R>>$&1}return V}(x);if(M.length===0)return new t(1);for(var S=this,w=0;w=0);var M,S=x%26,w=(x-S)/26,A=67108863>>>26-S<<26-S;if(S!==0){var D=0;for(M=0;M>>26-S}D&&(this.words[M]=D,this.length++)}if(w!==0){for(M=this.length-1;M>=0;M--)this.words[M+w]=this.words[M];for(M=0;M=0),w=M?(M-M%26)/26:0;var A=x%26,D=Math.min((x-A)/26,this.length),V=67108863^67108863>>>A<D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-A|G>>>A,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&A}for(;w>26,this.words[w+S]=67108863&A;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&A;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),A=x,D=0|A.words[A.length-1];(S=26-this._countBits(D))!=0&&(A=A.ushln(S),w.iushln(S),D=0|A.words[A.length-1]);var V,R=w.length-A.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[A.length+G])+(0|w.words[A.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(A,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(A,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.iadd(x)),{div:w,mod:A}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.isub(x)),{div:D.div,mod:A}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,A,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),A=x.andln(1),D=S.cmp(w);return D<0||A===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,A=this.length-1;A>=0;A--)w=(S*w+(0|this.words[A]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var A=(0|this.words[w])+67108864*S;this.words[w]=A/x|0,S=A%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),A=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||A.isOdd())&&(w.iadd(F),A.isub($)),w.iushrn(1),A.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),A.isub(V)):(S.isub(M),D.isub(w),V.isub(A))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,A=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)A.isOdd()&&A.iadd(V),A.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),A.isub(D)):(S.isub(M),D.isub(A))}return(w=M.cmpn(1)===0?A:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var A=M.cmp(S);if(A<0){var D=M;M=S,S=D}else if(A===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return A!==0&&(this.words[D]=A,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],A=0|x.words[S];if(w!==A){wA&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},y(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),A=0;A>>22,D=V}D>>>=22,x.words[A-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=A,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),A=0;!w.isZero()&&w.andln(1)===0;)A++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=A;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;A!==S[0]&&(A=this.sqr(A)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(A=this.mul(A,S[D]),V=0,D=0)):V=0}R=26}return A},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},y(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,n,c)=>{var r;function a(y){this.rand=y}if(E.exports=function(y){return r||(r=new a(null)),r.generate(y)},E.exports.Rand=a,a.prototype.generate=function(y){return this._rand(y)},a.prototype._rand=function(y){if(this.rand.getBytes)return this.rand.getBytes(y);for(var t=new Uint8Array(y),d=0;d{const r=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=d,n.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},n.INSPECT_MAX_BYTES=50;const y=2147483647;function t(K){if(K>y)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Te=0|v(re,ye);let Pe=t(Te);const Be=Pe.write(re,ye);return Be!==Te&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Te=t(ye);return Te.length===0||re.copy(Te,0,0,ye),Te}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return le(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:le(K).length;J=(""+J).toLowerCase(),ne=!0}}function p(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Te=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Te/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reTe&&(W=Te-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Te);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?r.fromByteArray(K):r.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Te<=W){let Pe,Be,Ve,ke;switch(Te){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Te=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Te}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Te="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Te=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function A(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Te,K)}(function(ye,Te,Pe){q(Te,"offset"),ye[Te]!==void 0&&ye[Te+Pe]!==void 0||ue(Te,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function ue(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ce=/[^+/0-9A-Za-z-_]/g;function le(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return r.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ce,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},8075:(E,n,c)=>{var r=c(453),a=c(487),i=a(r("String.prototype.indexOf"));E.exports=function(y,t){var d=r(y,!!t);return typeof d=="function"&&i(y,".prototype.")>-1?a(d):d}},487:(E,n,c)=>{var r=c(6743),a=c(453),i=c(6897),y=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||r.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new y("a function is required");var s=b(r,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(r,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,n,c)=>{var r=c(655),a=c(8068),i=c(9675),y=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!y&&y(t,d);if(r)r(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,n,c)=>{var r=n;r.version=c(9255).rE,r.utils=c(7011),r.rand=c(5037),r.curve=c(894),r.curves=c(480),r.ec=c(7447),r.eddsa=c(8650)},6677:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.getNAF,y=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new r(u.p,16),this.red=u.prime?r.red(u.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=u.n&&new r(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)p=(p<<1)+l[O];h.push(p)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,p=p.dblp(O),h<0)break;var I=v[h];t(I!==0),p=m.type==="affine"?I>0?p.mixedAdd(s[I-1>>1]):p.mixedAdd(s[-I-1>>1].neg()):I>0?p.add(s[I-1>>1]):p.add(s[-I-1>>1].neg())}return m.type==="affine"?p.toP():p},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,p,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=y(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),p=0;p=0;v--){for(var w=0;v>=0;){var A=!0;for(p=0;p=0&&w++,M=M.dblp(w),v<0)break;for(p=0;p0?h=I[p][D-1>>1]:D<0&&(h=I[p][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,y.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){y.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,y),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=p.fromRed().isOdd();return(u&&!h||!u&&h)&&(p=p.redNeg()),this.point(m,p)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return p.fromRed().isOdd()!==u&&(p=p.redNeg()),this.point(p,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,y.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),p=v.redSub(f),h=l.redSub(u),O=s.redMul(p),I=v.redMul(h),B=s.redMul(h),k=p.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,p=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=p.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=p.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(p.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),p=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(p),B=h.redMul(O),k=v.redMul(O),L=p.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),p=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(p),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(p),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(p.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(p.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,n,c)=>{var r=n;r.base=c(6677),r.short=c(9188),r.mont=c(370),r.edwards=c(1298)},370:(E,n,c)=>{var r=c(8490),a=c(6698),i=c(6677),y=c(7011);function t(b){i.call(this,"mont",b),this.a=new r(b.a,16).toRed(this.red),this.b=new r(b.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(m,16),this.z=new r(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(y.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),p=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(p,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,n,c)=>{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(u){y.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){y.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){y.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,y),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(p){return{a:new a(p.a,16),b:new a(p.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,p,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}p=I.neg(),h=B;var S=s.sqr().add(v.sqr());return p.sqr().add(h.sqr()).cmp(S)>=0&&(p=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),p.negative&&(p=p.neg(),h=h.neg()),[{a:s,b:v},{a:p,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),p=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=p.mul(s.a),I=v.mul(l.b),B=p.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,p=0;p":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),p=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(p)).redISub(this.y);return this.curve.point(p,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,y.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),p=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=p.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(p.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,p=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(p);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,n,c)=>{var r,a=n,i=c(7952),y=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new y.short(m):m.type==="edwards"?this.curve=new y.edwards(m):this.curve=new y.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=c(4011)}catch{r=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},7447:(E,n,c)=>{var r=c(8490),a=c(2723),i=c(7011),y=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(y,f),"Unknown curve "+f),f=y[f]),f instanceof y.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new r(2));;){var p=new r(l.generate(s));if(!(p.cmp(v)>0))return p.iaddn(1),this.keyFromPrivate(p)}},u.prototype._truncateToN=function(f,l,s){var v;if(r.isBN(f)||typeof f=="number")v=(f=new r(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new r(f,16);else{var p=f.toString();v=p.length+1>>>1,f=new r(p,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!r.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var p=0;p=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,p){p||(p={}),f=this._truncateToN(f,!1,p.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var p=this.n,h=new r(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(p),N=p.sub(h).mul(L).umod(p),H=I.mul(L).umod(p);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var p=0;p<4;p++){var h;try{h=this.recoverPubKey(f,l,p)}catch{continue}if(h.eq(s))return p}throw new Error("Unable to find valid recovery factor")}},1200:(E,n,c)=>{var r=c(8490),a=c(7011).assert;function i(y,t){this.ec=y,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(y,t,d){return t instanceof i?t:new i(y,{pub:t,pubEnc:d})},i.fromPrivate=function(y,t,d){return t instanceof i?t:new i(y,{priv:t,privEnc:d})},i.prototype.validate=function(){var y=this.getPublic();return y.isInfinity()?{result:!1,reason:"Invalid public key"}:y.validate()?y.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(y,t){return typeof y=="string"&&(t=y,y=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,y):this.pub},i.prototype.getPrivate=function(y){return y==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(y,t){this.priv=new r(y,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(y,t){if(y.x||y.y)return this.ec.curve.type==="mont"?a(y.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(y.x&&y.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(y.x,y.y));this.pub=this.ec.curve.decodePoint(y,t)},i.prototype.derive=function(y){return y.validate()||a(y.validate(),"public point not validated"),y.mul(this.priv).getX()},i.prototype.sign=function(y,t,d){return this.ec.sign(y,this,t,d)},i.prototype.verify=function(y,t,d){return this.ec.verify(y,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert;function y(u,f){if(u instanceof y)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new r(u.r,16),this.s=new r(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,p=0,h=f.place;p>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=y,y.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var p=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(p[0]===0){if(!(128&p[1]))return!1;p=p.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new r(p),this.s=new r(O),this.recoveryParam=null,!0},y.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),p=[48];return m(p,v.length),p=p.concat(v),a.encode(p,u)}},8650:(E,n,c)=>{var r=c(7952),a=c(480),i=c(7011),y=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(y(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=r.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),p=this.encodePoint(v),h=this.hashInt(p,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:p})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),p=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(p)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var r=c(7011),a=r.assert,i=r.parseBytes,y=r.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},y(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),y(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),y(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),y(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),y(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),y(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),r.encode(this.secret(),d)},t.prototype.getPublic=function(d){return r.encode(this.pubBytes(),d)},E.exports=t},220:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert,y=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof r&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}y(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),y(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),y(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),y(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,n,c)=>{var r=n,a=c(8490),i=c(3349),y=c(4367);r.assert=i,r.toArray=y.toArray,r.zero2=y.zero2,r.toHex=y.toHex,r.encode=y.encode,r.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},r.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,p=d.andln(3)+f&3;v===3&&(v=-1),p===3&&(p=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||p!==2?v:-v:0,b[0].push(l),s=1&p?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?p:-p:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},r.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},r.parseBytes=function(t){return typeof t=="string"?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,n,c){(function(r,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function y(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),A=T;A=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<
>>32-P,g)}function tr(e,o,g,C,P,E,n){return ci(o&g|~o&C,e,o,P,E,n)}function rr(e,o,g,C,P,E,n){return ci(o&C|g&~C,e,o,P,E,n)}function nr(e,o,g,C,P,E,n){return ci(o^g^C,e,o,P,E,n)}function or(e,o,g,C,P,E,n){return ci(g^(o|~C),e,o,P,E,n)}function hp(e){var o=e.length,g=[1732584193,-271733879,-1732584194,271733878],C;for(C=64;C<=e.length;C+=64)_a(g,pp(e.substring(C-64,C)));e=e.substring(C-64);var P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(C=0;C>2]|=e.charCodeAt(C)<<(C%4<<3);if(P[C>>2]|=128<<(C%4<<3),C>55)for(_a(g,P),C=0;C<16;C++)P[C]=0;return P[14]=o*8,_a(g,P),g}function pp(e){var o=[],g;for(g=0;g<64;g+=4)o[g>>2]=e.charCodeAt(g)+(e.charCodeAt(g+1)<<8)+(e.charCodeAt(g+2)<<16)+(e.charCodeAt(g+3)<<24);return o}var Mu="0123456789abcdef".split("");function yp(e){for(var o="",g=0;g<4;g++)o+=Mu[e>>g*8+4&15]+Mu[e>>g*8&15];return o}function mp(e){for(var o=0;o{let P="white",E=Ma(o),n=Math.floor(g/C),c=E.slice(0,6),r=E.split("").map(i=>parseInt(i,16)<8?0:1),a=[];a[0]=a[4]=r.slice(0,5),a[1]=a[3]=r.slice(5,10),a[2]=r.slice(10,15),e.imageSmoothingEnabled=!1,e.clearRect(0,0,g,g),a.forEach((i,y)=>{i.forEach((t,d)=>{t?(e.fillStyle="#"+c,e.fillRect(n*y,n*d,n,n)):(e.fillStyle=P,e.fillRect(n*y,n*d,n,n))})})},vp=(e,o=20)=>{const g=Math.floor(.6*o),C=Math.floor(1/5*o),P=``,E="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(P),n=new Image;n.onload=function(){e.drawImage(n,C,C)},n.src=E},li=5,Eu=({hexString:e,size:o=20})=>{const g=e.toLowerCase();let C=Math.floor(o/li);const E={borderRadius:`${Math.floor(1/10*o)}px`,backgroundColor:"rgb(152, 157, 178)"},n=be.useRef(null),c=be.useRef(0);return be.useEffect(()=>{if(n.current){const r=n.current.getContext("2d");r&&(r.canvas.height=C*li,r.canvas.width=C*li,g.startsWith("01")&&g.length===66||g.startsWith("02")&&g.length===68?c.current=requestAnimationFrame(()=>gp(r,g,o,li)):c.current=requestAnimationFrame(()=>vp(r,o)))}return()=>cancelAnimationFrame(c.current)},[C,e]),z.jsx("canvas",{className:"account-identicon",style:E,ref:n})},xu=e=>e==null?!1:new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()),Pu=(e="default")=>{const o={tiny:2,small:2,default:2,average:4,semiMedium:4,medium:12,big:12};return o[e]||o.default},Ea=(e="default")=>{const o={tiny:16,small:20,average:28,default:32,semiMedium:56,medium:80,big:124};return o[e]||o.default},bp=(e="default")=>{const o={tiny:"contentTertiary",small:"contentTertiary",default:"contentQuaternary",average:"contentQuaternary",semiMedium:"contentQuaternary",medium:"contentQuaternary",big:"contentQuaternary"};return o[e]||o.default},Au=(e="default")=>({tiny:0,small:0,default:4,average:4,semiMedium:4,medium:4,big:0})[e],di=Ce.default.div.withConfig({displayName:"avatar__BackgroundWrapper",componentId:"sc-1p1ar3a-0"})(({theme:e,sizeType:o,withBgColor:g=!1})=>({borderRadius:Pu(o),height:Ea(o),width:Ea(o),padding:0,margin:Au(o),backgroundColor:g?e.styleguideColors[bp(o)]:"transparent","& > canvas":{borderRadius:Pu(o)}})),wp=Ce.default.div.withConfig({displayName:"avatar__IconHashWrapper",componentId:"sc-1p1ar3a-1"})(({theme:e})=>({color:e.styleguideColors.contentOnFill,height:"100%",display:"flex",justifyContent:"center",alignItems:"center"})),vr=wt.default.forwardRef(function(o,g){const{loading:C,hash:P,src:E,size:n="default",transparentBg:c=!1,...r}=o,a=Ea(n),i=2,y="86400";if(C||!P&&!E)return z.jsx("div",{...r,children:z.jsx($n,{style:{borderRadius:2,width:a,fontSize:`${a}px`,margin:Au(n)}})});if(E){const t=fp(E,{ttl:y,width:a*i});return z.jsx("span",{ref:g,...r,children:z.jsx(di,{sizeType:n,style:{background:`url("${t}") center / contain no-repeat`},children:z.jsx("div",{style:{width:a,height:a}})})})}return P&&xu(P)?z.jsx("span",{ref:g,...r,children:z.jsx(di,{sizeType:n,withBgColor:!c,children:z.jsx(wp,{children:z.jsx(bt,{src:su,size:a-8})})})}):z.jsx("span",{ref:g,...r,children:z.jsx(di,{sizeType:n,children:P&&z.jsx(Eu,{hexString:P,size:a,...r})})})});vr.displayName="Avatar";function fi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Cp(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var o=e.default;if(typeof o=="function"){var g=function C(){var P=!1;try{P=this instanceof C}catch{}return P?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};g.prototype=o.prototype}else g={};return Object.defineProperty(g,"__esModule",{value:!0}),Object.keys(e).forEach(function(C){var P=Object.getOwnPropertyDescriptor(e,C);Object.defineProperty(g,C,P.get?P:{enumerable:!0,get:function(){return e[C]}})}),g}var xa,Ou;function Sp(){return Ou||(Ou=1,xa=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var o=document.activeElement,g=[],C=0;C"u"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=o[n.format]||o.default;window.clipboardData.setData(u,E)}else m.clipboardData.clearData(),m.clipboardData.setData(n.format,E);n.onCopy&&(m.preventDefault(),n.onCopy(m.clipboardData))}),document.body.appendChild(t),i.selectNodeContents(t),y.addRange(i);var b=document.execCommand("copy");if(!b)throw new Error("copy command was unsuccessful");d=!0}catch(m){c&&console.error("unable to copy using execCommand: ",m),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",E),n.onCopy&&n.onCopy(window.clipboardData),d=!0}catch(u){c&&console.error("unable to copy using clipboardData: ",u),c&&console.error("falling back to prompt"),r=C("message"in n?n.message:g),window.prompt(r,E)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(i):y.removeAllRanges()),t&&document.body.removeChild(t),a()}return d}return Pa=P,Pa}var Mp=_p();const Iu=fi(Mp),Nu={blue:"contentBlue",gray:"contentTertiary",green:"contentGreen"},Ep=un.keyframes(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]),xp=Ce.default.span.withConfig({displayName:"copy__StyledContainer",componentId:"sc-1fp6ltg-0"})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:",";animation:",";& svg{color:",";path{fill:",";}:hover{color:",";path{fill:",";}}:active{color:",";path{fill:",";}}}"],e=>e.isCopied?"none":"initial",e=>e.isCopied?un.css([""," 3s"],Ep):"none",e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlueClick,e=>e.theme.styleguideColors.fillPrimaryBlueClick),Pp=Ce.default(bt).withConfig({displayName:"copy__StyledSvgIcon",componentId:"sc-1fp6ltg-1"})(({theme:e,variation:o="blue"})=>e.withMedia({color:e.styleguideColors[Nu[o]],path:{fill:e.styleguideColors[Nu[o]]}})),_o=({value:e,label:o="Copy Public Key",copiedLabel:g="Copied!",variation:C,styles:P,minified:E=!1})=>{const[n,c]=be.useState(!1),r=n?So:wa,a=n?g:o,i=n?"green":"black",y=t=>{t?.stopPropagation(),e&&(Iu(e),c(!0),setTimeout(()=>c(!1),2800))};return z.jsx(De,{style:P,align:"center",itemsSpacing:8,children:z.jsxs(xp,{onClick:y,isCopied:n,tabIndex:0,onKeyDown:t=>{t.key==="Enter"&&y()},children:[z.jsx(Pp,{variation:C,size:16,src:r,role:"img",alt:"Copy button"}),!E&&z.jsx(Oe,{size:3,variation:i,children:a})]})})},Ap=(e,o)=>({primaryBlue:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.fillPrimaryBlueHover,active:e.styleguideColors.fillPrimaryBlueClick},primaryRed:{color:e.styleguideColors.fillPrimaryRed,hover:e.styleguideColors.fillPrimaryRedHover,active:e.styleguideColors.fillPrimaryRedClick},hash:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.contentRed,active:e.styleguideColors.fillPrimaryRedClick}})[o]||{color:"inherit",hover:"inherit",active:"inherit"},Op=Ce.default.a.withConfig({displayName:"link__StyledLink",componentId:"sc-npzuii-0"})(({theme:e,color:o,lineHeight:g="sm"})=>{const C=Ap(e,o);return{textDecoration:"none",lineHeight:xt({sm:"1.5rem",xs:"1.25rem"},g),color:C.color,"&:hover, &:hover > *":{color:C.hover},"&:active, &:active > *":{color:C.active}}}),Yt=wt.default.forwardRef(function({color:o="primaryRed",...g},C){return z.jsx(Op,{ref:C,target:"_blank",color:o,...g})});var Aa=function(e,o){return Aa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,C){g.__proto__=C}||function(g,C){for(var P in C)Object.prototype.hasOwnProperty.call(C,P)&&(g[P]=C[P])},Aa(e,o)};function Fr(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");Aa(e,o);function g(){this.constructor=e}e.prototype=o===null?Object.create(o):(g.prototype=o.prototype,new g)}var at=function(){return at=Object.assign||function(o){for(var g,C=1,P=arguments.length;C"u"&&(E=e.call(this,C),o.set(P,E)),E}function Lu(e,o,g){var C=Array.prototype.slice.call(arguments,3),P=g(C),E=o.get(P);return typeof E>"u"&&(E=e.apply(this,C),o.set(P,E)),E}function ku(e,o,g,C,P){return g.bind(o,e,C,P)}function Lp(e,o){var g=e.length===1?Np:Lu;return ku(e,this,g,o.cache.create(),o.serializer)}function kp(e,o){return ku(e,this,Lu,o.cache.create(),o.serializer)}var Bp=function(){return JSON.stringify(arguments)},Hp=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(o){return this.cache[o]},e.prototype.set=function(o,g){this.cache[o]=g},e}(),jp={create:function(){return new Hp}},Zr={variadic:kp},St;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(St||(St={}));var Ut;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ut||(Ut={}));var Xn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Xn||(Xn={}));function Bu(e){return e.type===Ut.literal}function Dp(e){return e.type===Ut.argument}function Hu(e){return e.type===Ut.number}function ju(e){return e.type===Ut.date}function Du(e){return e.type===Ut.time}function Ru(e){return e.type===Ut.select}function Vu(e){return e.type===Ut.plural}function Rp(e){return e.type===Ut.pound}function Uu(e){return e.type===Ut.tag}function Fu(e){return!!(e&&typeof e=="object"&&e.type===Xn.number)}function Oa(e){return!!(e&&typeof e=="object"&&e.type===Xn.dateTime)}var zu=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Vp=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Up(e){var o={};return e.replace(Vp,function(g){var C=g.length;switch(g[0]){case"G":o.era=C===4?"long":C===5?"narrow":"short";break;case"y":o.year=C===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][C-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][C-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=C===4?"long":C===5?"narrow":"short";break;case"e":if(C<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"c":if(C<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][C-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][C-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][C-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][C-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][C-1];break;case"s":o.second=["numeric","2-digit"][C-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=C<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o}var Fp=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function zp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var o=e.split(Fp).filter(function(t){return t.length>0}),g=[],C=0,P=o;C1)throw new RangeError("integer-width stems only accept a single optional option");P.options[0].replace(Wp,function(r,a,i,y,t,d){if(a)o.minimumIntegerDigits=i.length;else{if(y&&t)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ju.test(P.stem)){o.minimumIntegerDigits=P.stem.length;continue}if(Ku.test(P.stem)){if(P.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");P.stem.replace(Ku,function(r,a,i,y,t,d){return i==="*"?o.minimumFractionDigits=a.length:y&&y[0]==="#"?o.maximumFractionDigits=y.length:t&&d?(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length+d.length):(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length),""});var E=P.options[0];E==="w"?o=at(at({},o),{trailingZeroDisplay:"stripIfInteger"}):E&&(o=at(at({},o),$u(E)));continue}if(Wu.test(P.stem)){o=at(at({},o),$u(P.stem));continue}var n=Gu(P.stem);n&&(o=at(at({},o),n));var c=Jp(P.stem);c&&(o=at(at({},o),c))}return o}var hi={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Gp(e,o){for(var g="",C=0;C>1),r="a",a=qp(o);for((a=="H"||a=="k")&&(c=0);c-- >0;)g+=r;for(;n-- >0;)g=a+g}else P==="J"?g+="H":g+=P}return g}function qp(e){var o=e.hourCycle;if(o===void 0&&e.hourCycles&&e.hourCycles.length&&(o=e.hourCycles[0]),o)switch(o){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var g=e.language,C;g!=="root"&&(C=e.maximize().region);var P=hi[C||""]||hi[g||""]||hi["".concat(g,"-001")]||hi["001"];return P[0]}var Ta,Zp=new RegExp("^".concat(zu.source,"*")),Xp=new RegExp("".concat(zu.source,"*$"));function Et(e,o){return{start:e,end:o}}var Yp=!!String.prototype.startsWith&&"_a".startsWith("a",1),Qp=!!String.fromCodePoint,e3=!!Object.fromEntries,t3=!!String.prototype.codePointAt,r3=!!String.prototype.trimStart,n3=!!String.prototype.trimEnd,o3=!!Number.isSafeInteger,i3=o3?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ia=!0;try{var a3=Qu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ia=((Ta=a3.exec("a"))===null||Ta===void 0?void 0:Ta[0])==="a"}catch{Ia=!1}var Zu=Yp?function(o,g,C){return o.startsWith(g,C)}:function(o,g,C){return o.slice(C,C+g.length)===g},Na=Qp?String.fromCodePoint:function(){for(var o=[],g=0;gE;){if(n=o[E++],n>1114111)throw RangeError(n+" is not a valid code point");C+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return C},Xu=e3?Object.fromEntries:function(o){for(var g={},C=0,P=o;C=C)){var P=o.charCodeAt(g),E;return P<55296||P>56319||g+1===C||(E=o.charCodeAt(g+1))<56320||E>57343?P:(P-55296<<10)+(E-56320)+65536}},s3=r3?function(o){return o.trimStart()}:function(o){return o.replace(Zp,"")},u3=n3?function(o){return o.trimEnd()}:function(o){return o.replace(Xp,"")};function Qu(e,o){return new RegExp(e,o)}var La;if(Ia){var ec=Qu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");La=function(o,g){var C;ec.lastIndex=g;var P=ec.exec(o);return(C=P[1])!==null&&C!==void 0?C:""}}else La=function(o,g){for(var C=[];;){var P=Yu(o,g);if(P===void 0||tc(P)||f3(P))break;C.push(P),g+=P>=65536?2:1}return Na.apply(void 0,C)};var c3=function(){function e(o,g){g===void 0&&(g={}),this.message=o,this.position={offset:0,line:1,column:1},this.ignoreTag=!!g.ignoreTag,this.locale=g.locale,this.requiresOtherClause=!!g.requiresOtherClause,this.shouldParseSkeletons=!!g.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(o,g,C){for(var P=[];!this.isEOF();){var E=this.char();if(E===123){var n=this.parseArgument(o,C);if(n.err)return n;P.push(n.val)}else{if(E===125&&o>0)break;if(E===35&&(g==="plural"||g==="selectordinal")){var c=this.clonePosition();this.bump(),P.push({type:Ut.pound,location:Et(c,this.clonePosition())})}else if(E===60&&!this.ignoreTag&&this.peek()===47){if(C)break;return this.error(St.UNMATCHED_CLOSING_TAG,Et(this.clonePosition(),this.clonePosition()))}else if(E===60&&!this.ignoreTag&&ka(this.peek()||0)){var n=this.parseTag(o,g);if(n.err)return n;P.push(n.val)}else{var n=this.parseLiteral(o,g);if(n.err)return n;P.push(n.val)}}}return{val:P,err:null}},e.prototype.parseTag=function(o,g){var C=this.clonePosition();this.bump();var P=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ut.literal,value:"<".concat(P,"/>"),location:Et(C,this.clonePosition())},err:null};if(this.bumpIf(">")){var E=this.parseMessage(o+1,g,!0);if(E.err)return E;var n=E.val,c=this.clonePosition();if(this.bumpIf("")){if(this.isEOF()||!ka(this.char()))return this.error(St.INVALID_TAG,Et(c,this.clonePosition()));var r=this.clonePosition(),a=this.parseTagName();return P!==a?this.error(St.UNMATCHED_CLOSING_TAG,Et(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ut.tag,value:P,children:n,location:Et(C,this.clonePosition())},err:null}:this.error(St.INVALID_TAG,Et(c,this.clonePosition())))}else return this.error(St.UNCLOSED_TAG,Et(C,this.clonePosition()))}else return this.error(St.INVALID_TAG,Et(C,this.clonePosition()))},e.prototype.parseTagName=function(){var o=this.offset();for(this.bump();!this.isEOF()&&d3(this.char());)this.bump();return this.message.slice(o,this.offset())},e.prototype.parseLiteral=function(o,g){for(var C=this.clonePosition(),P="";;){var E=this.tryParseQuote(g);if(E){P+=E;continue}var n=this.tryParseUnquoted(o,g);if(n){P+=n;continue}var c=this.tryParseLeftAngleBracket();if(c){P+=c;continue}break}var r=Et(C,this.clonePosition());return{val:{type:Ut.literal,value:P,location:r},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!l3(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(o){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(o==="plural"||o==="selectordinal")break;return null;default:return null}this.bump();var g=[this.char()];for(this.bump();!this.isEOF();){var C=this.char();if(C===39)if(this.peek()===39)g.push(39),this.bump();else{this.bump();break}else g.push(C);this.bump()}return Na.apply(void 0,g)},e.prototype.tryParseUnquoted=function(o,g){if(this.isEOF())return null;var C=this.char();return C===60||C===123||C===35&&(g==="plural"||g==="selectordinal")||C===125&&o>0?null:(this.bump(),Na(C))},e.prototype.parseArgument=function(o,g){var C=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(C,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(St.EMPTY_ARGUMENT,Et(C,this.clonePosition()));var P=this.parseIdentifierIfPossible().value;if(!P)return this.error(St.MALFORMED_ARGUMENT,Et(C,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(C,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ut.argument,value:P,location:Et(C,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(C,this.clonePosition())):this.parseArgumentOptions(o,g,P,C);default:return this.error(St.MALFORMED_ARGUMENT,Et(C,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var o=this.clonePosition(),g=this.offset(),C=La(this.message,g),P=g+C.length;this.bumpTo(P);var E=this.clonePosition(),n=Et(o,E);return{value:C,location:n}},e.prototype.parseArgumentOptions=function(o,g,C,P){var E,n=this.clonePosition(),c=this.parseIdentifierIfPossible().value,r=this.clonePosition();switch(c){case"":return this.error(St.EXPECT_ARGUMENT_TYPE,Et(n,r));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var i=this.clonePosition(),y=this.parseSimpleArgStyleIfPossible();if(y.err)return y;var t=u3(y.val);if(t.length===0)return this.error(St.EXPECT_ARGUMENT_STYLE,Et(this.clonePosition(),this.clonePosition()));var d=Et(i,this.clonePosition());a={style:t,styleLocation:d}}var b=this.tryParseArgumentClose(P);if(b.err)return b;var m=Et(P,this.clonePosition());if(a&&Zu(a?.style,"::",0)){var u=s3(a.style.slice(2));if(c==="number"){var y=this.parseNumberSkeletonFromString(u,a.styleLocation);return y.err?y:{val:{type:Ut.number,value:C,location:m,style:y.val},err:null}}else{if(u.length===0)return this.error(St.EXPECT_DATE_TIME_SKELETON,m);var f=u;this.locale&&(f=Gp(u,this.locale));var t={type:Xn.dateTime,pattern:f,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Up(f):{}},l=c==="date"?Ut.date:Ut.time;return{val:{type:l,value:C,location:m,style:t},err:null}}}return{val:{type:c==="number"?Ut.number:c==="date"?Ut.date:Ut.time,value:C,location:m,style:(E=a?.style)!==null&&E!==void 0?E:null},err:null}}case"plural":case"selectordinal":case"select":{var s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(St.EXPECT_SELECT_ARGUMENT_OPTIONS,Et(s,at({},s)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),p=0;if(c!=="select"&&v.value==="offset"){if(!this.bumpIf(":"))return this.error(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Et(this.clonePosition(),this.clonePosition()));this.bumpSpace();var y=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,St.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(y.err)return y;this.bumpSpace(),v=this.parseIdentifierIfPossible(),p=y.val}var h=this.tryParsePluralOrSelectOptions(o,c,g,v);if(h.err)return h;var b=this.tryParseArgumentClose(P);if(b.err)return b;var O=Et(P,this.clonePosition());return c==="select"?{val:{type:Ut.select,value:C,options:Xu(h.val),location:O},err:null}:{val:{type:Ut.plural,value:C,options:Xu(h.val),offset:p,pluralType:c==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(St.INVALID_ARGUMENT_TYPE,Et(n,r))}},e.prototype.tryParseArgumentClose=function(o){return this.isEOF()||this.char()!==125?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,Et(o,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var o=0,g=this.clonePosition();!this.isEOF();){var C=this.char();switch(C){case 39:{this.bump();var P=this.clonePosition();if(!this.bumpUntil("'"))return this.error(St.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Et(P,this.clonePosition()));this.bump();break}case 123:{o+=1,this.bump();break}case 125:{if(o>0)o-=1;else return{val:this.message.slice(g.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(g.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(o,g){var C=[];try{C=zp(o)}catch{return this.error(St.INVALID_NUMBER_SKELETON,g)}return{val:{type:Xn.number,tokens:C,location:g,parsedOptions:this.shouldParseSkeletons?$p(C):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(o,g,C,P){for(var E,n=!1,c=[],r=new Set,a=P.value,i=P.location;;){if(a.length===0){var y=this.clonePosition();if(g!=="select"&&this.bumpIf("=")){var t=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_SELECTOR,St.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;i=Et(y,this.clonePosition()),a=this.message.slice(y.offset,this.offset())}else break}if(r.has(a))return this.error(g==="select"?St.DUPLICATE_SELECT_ARGUMENT_SELECTOR:St.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,i);a==="other"&&(n=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(g==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:St.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Et(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(o+1,g,C);if(b.err)return b;var m=this.tryParseArgumentClose(d);if(m.err)return m;c.push([a,{value:b.val,location:Et(d,this.clonePosition())}]),r.add(a),this.bumpSpace(),E=this.parseIdentifierIfPossible(),a=E.value,i=E.location}return c.length===0?this.error(g==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR:St.EXPECT_PLURAL_ARGUMENT_SELECTOR,Et(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(St.MISSING_OTHER_CLAUSE,Et(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(o,g){var C=1,P=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(C=-1);for(var E=!1,n=0;!this.isEOF();){var c=this.char();if(c>=48&&c<=57)E=!0,n=n*10+(c-48),this.bump();else break}var r=Et(P,this.clonePosition());return E?(n*=C,i3(n)?{val:n,err:null}:this.error(g,r)):this.error(o,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var o=this.position.offset;if(o>=this.message.length)throw Error("out of bound");var g=Yu(this.message,o);if(g===void 0)throw Error("Offset ".concat(o," is at invalid UTF-16 code unit boundary"));return g},e.prototype.error=function(o,g){return{val:null,err:{kind:o,message:this.message,location:g}}},e.prototype.bump=function(){if(!this.isEOF()){var o=this.char();o===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=o<65536?1:2)}},e.prototype.bumpIf=function(o){if(Zu(this.message,o,this.offset())){for(var g=0;g=0?(this.bumpTo(C),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(o){if(this.offset()>o)throw Error("targetOffset ".concat(o," must be greater than or equal to the current offset ").concat(this.offset()));for(o=Math.min(o,this.message.length);;){var g=this.offset();if(g===o)break;if(g>o)throw Error("targetOffset ".concat(o," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&tc(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var o=this.char(),g=this.offset(),C=this.message.charCodeAt(g+(o>=65536?2:1));return C??null},e}();function ka(e){return e>=97&&e<=122||e>=65&&e<=90}function l3(e){return ka(e)||e===47}function d3(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function tc(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function f3(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ba(e){e.forEach(function(o){if(delete o.location,Ru(o)||Vu(o))for(var g in o.options)delete o.options[g].location,Ba(o.options[g].value);else Hu(o)&&Fu(o.style)||(ju(o)||Du(o))&&Oa(o.style)?delete o.style.location:Uu(o)&&Ba(o.children)})}function h3(e,o){o===void 0&&(o={}),o=at({shouldParseSkeletons:!0,requiresOtherClause:!0},o);var g=new c3(e,o).parse();if(g.err){var C=SyntaxError(St[g.err.kind]);throw C.location=g.err.location,C.originalMessage=g.err.message,C}return o?.captureLocation||Ba(g.val),g.val}var Xr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Xr||(Xr={}));var mn=function(e){Fr(o,e);function o(g,C,P){var E=e.call(this,g)||this;return E.code=C,E.originalMessage=P,E}return o.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},o}(Error),rc=function(e){Fr(o,e);function o(g,C,P,E){return e.call(this,'Invalid values for "'.concat(g,'": "').concat(C,'". Options are "').concat(Object.keys(P).join('", "'),'"'),Xr.INVALID_VALUE,E)||this}return o}(mn),p3=function(e){Fr(o,e);function o(g,C,P){return e.call(this,'Value for "'.concat(g,'" must be of type ').concat(C),Xr.INVALID_VALUE,P)||this}return o}(mn),y3=function(e){Fr(o,e);function o(g,C){return e.call(this,'The intl string context variable "'.concat(g,'" was not provided to the string "').concat(C,'"'),Xr.MISSING_VALUE,C)||this}return o}(mn),lr;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(lr||(lr={}));function m3(e){return e.length<2?e:e.reduce(function(o,g){var C=o[o.length-1];return!C||C.type!==lr.literal||g.type!==lr.literal?o.push(g):C.value+=g.value,o},[])}function g3(e){return typeof e=="function"}function pi(e,o,g,C,P,E,n){if(e.length===1&&Bu(e[0]))return[{type:lr.literal,value:e[0].value}];for(var c=[],r=0,a=e;re&&typeof e=="object"&&"default"in e?e:{default:e};function ky(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const h=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,h.get?h:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const Pe=b0(nr),nt=ky(me),Hy=b0($o),wt=(e,t)=>{const c=e[t];if(c==null)throw Error(`Missing size declaration: ${t}`);return c},jy=nt.default.createContext({}),w0=!0;function Dy({baseColor:e,highlightColor:t,width:c,height:h,borderRadius:S,circle:g,direction:n,duration:s,enableAnimation:r=w0,customHighlightBackground:o}){const i={};return n==="rtl"&&(i["--animation-direction"]="reverse"),typeof s=="number"&&(i["--animation-duration"]=`${s}s`),r||(i["--pseudo-element-display"]="none"),(typeof c=="string"||typeof c=="number")&&(i.width=c),(typeof h=="string"||typeof h=="number")&&(i.height=h),(typeof S=="string"||typeof S=="number")&&(i.borderRadius=S),g&&(i.borderRadius="50%"),typeof e<"u"&&(i["--base-color"]=e),typeof t<"u"&&(i["--highlight-color"]=t),typeof o=="string"&&(i["--custom-highlight-background"]=o),i}function lo({count:e=1,wrapper:t,className:c,containerClassName:h,containerTestId:S,circle:g=!1,style:n,...s}){var r,o,i;const p=nt.default.useContext(jy),a={...s};for(const[u,y]of Object.entries(s))typeof y>"u"&&delete a[u];const f={...p,...a,circle:g},C={...n,...Dy(f)};let w="react-loading-skeleton";c&&(w+=` ${c}`);const m=(r=f.inline)!==null&&r!==void 0?r:!1,v=[],l=Math.ceil(e);for(let u=0;ue&&u===l-1){const b=(o=y.width)!==null&&o!==void 0?o:"100%",_=e%1,E=typeof b=="number"?b*_:`calc(${b} * ${_})`;y={...y,width:E}}const d=nt.default.createElement("span",{className:w,style:y,key:u},"");m?v.push(d):v.push(nt.default.createElement(nt.default.Fragment,{key:u},d,nt.default.createElement("br",null)))}return nt.default.createElement("span",{className:h,"data-testid":S,"aria-live":"polite","aria-busy":(i=f.enableAnimation)!==null&&i!==void 0?i:w0},t?v.map((u,y)=>nt.default.createElement(t,{key:y},u)):v)}const C0=Pe.default("span").withConfig({shouldForwardProp:(e,t)=>!["loading"].includes(e)&&t(e),displayName:"text__StyledText",componentId:"sc-1vbqbb2-0"})(({theme:e,loading:t,variation:c="inherit",monotype:h=!1,noWrap:S=!1,uppercase:g=!1,capitalize:n=!1,capitalizeFirstLetter:s=!1,wordBreak:r=!1})=>({fontFamily:h?e.typography.fontFamily.mono:e.typography.fontFamily.primary,fontWeight:h?e.typography.fontWeight.regular:e.typography.fontWeight.medium,color:{inherit:"inherit",lightGray:e.styleguideColors.contentTertiary,contentViolet:e.styleguideColors.contentViolet,gray:e.styleguideColors.contentTertiary,darkGray:e.styleguideColors.contentSecondary,black:e.styleguideColors.contentPrimary,white:e.styleguideColors.contentOnFill,blue:e.styleguideColors.contentBlue,red:e.styleguideColors.contentRed,green:e.styleguideColors.contentGreen}[c],whiteSpace:S?"nowrap":"initial",...t&&{display:"inline-block",width:"100%"},...g&&{textTransform:"uppercase"},...n&&{textTransform:"capitalize"},...s&&{"&:first-letter":{textTransform:"capitalize"}},...r&&{wordBreak:"break-word"},"-webkit-text-size-adjust":"100%"})),Nr=nt.default.forwardRef(function({tag:t="span",...c},h){const S=["h1","h2","h3","h4","h5","h6","span"].includes(t)?t:"span";return c.loading?U.jsx(C0,{ref:h,...c,as:S,children:U.jsx(lo,{})}):U.jsx(C0,{ref:h,...c,as:S})}),Ry=Pe.default(Nr).withConfig({displayName:"body-text__StyledText",componentId:"sc-2827zm-0"})(({theme:e,size:t=3,scale:c="sm",lineHeight:h="sm"})=>({fontWeight:wt({1:e.typography.fontWeight.semiBold,2:e.typography.fontWeight.medium,3:e.typography.fontWeight.regular,4:e.typography.fontWeight.light},t),fontSize:wt({xl:"1.25rem",lg:"1.125rem",md:"1rem",sm:"0.875rem",xs:"0.813rem"},c),lineHeight:wt({sm:"1.5rem",xs:"1.25rem"},h),"&:where(h1, h2, h3, h4, h5, h6)":{margin:0}})),ke=nt.default.forwardRef(function(t,c){return U.jsx(Ry,{ref:c,...t})}),Vy=Pe.default("div").withConfig({displayName:"flex-box__StyledFlexBox",componentId:"sc-9weptk-0"})(({itemsSpacing:e,direction:t,justify:c,wrap:h,align:S,grow:g,shrink:n,basis:s="auto",gap:r,onClick:o})=>({display:"flex",gap:r,flexDirection:t,flexWrap:h,justifyContent:c,alignItems:S,flexGrow:g,flexShrink:n,flexBasis:s,...e!=null&&{"> * + *":{[t==="row"?"marginLeft":"marginTop"]:e},"> * + *:where(h1, h2, h3, h4, h5, h6)":{[t==="row"?"marginLeft":"marginTop"]:`${e}px !important`}},...o&&{cursor:"pointer"}})),Ui=nt.default.forwardRef((e,t)=>{const{tag:c="div"}=e,h=["div","span"].includes(c)?c:"div";return U.jsx(Vy,{ref:t,...e,as:h})}),Re=nt.default.forwardRef((e,t)=>U.jsx(Ui,{ref:t,direction:"row",...e})),Lt=nt.default.forwardRef((e,t)=>U.jsx(Ui,{ref:t,direction:"column",...e}));var Uy=e=>typeof e!="string"?{}:e.split(/ ?; ?/).reduce((t,c)=>{const[h,S]=c.split(/ ?: ?/).map((g,n)=>n===0?g.replace(/\s+/g,""):g.trim());if(h&&S){const g=h.replace(/(\w)-(\w)/g,(s,r,o)=>`${r}${o.toUpperCase()}`);let n=S.trim();Number.isNaN(Number(S))||(n=Number(S)),t[h.startsWith("-")?h:g]=n}return t},{});function Fy(e=6){const t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let c="";for(let h=e;h>0;--h)c+=t[Math.round(Math.random()*(t.length-1))];return c}var zy=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],S0={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function Ky(e,t){const{key:c,level:h,...S}=t;switch(e.nodeType){case 1:return nt.createElement(Jy(e.nodeName),Wy(e,c),_0(e.childNodes,h,S));case 3:{const g=e.nodeValue?.toString()??"";if(!S.allowWhiteSpaces&&/^\s+$/.test(g)&&!/[\u00A0\u202F]/.test(g))return null;if(!e.parentNode)return g;const n=e.parentNode.nodeName.toLowerCase();return zy.includes(n)?(/\S/.test(g)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${g}" will be ignored`),null):g}case 8:return null;case 11:return _0(e.childNodes,h,t);default:return null}}function Wy(e,t){const c={key:t};if(e instanceof Element){const h=e.getAttribute("class");h&&(c.className=h),[...e.attributes].forEach(S=>{switch(S.name){case"class":break;case"style":c[S.name]=Uy(S.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":c[S0[S.name]||S.name]=!0;break;default:c[S0[S.name]||S.name]=S.value}})}return c}function _0(e,t,c){const h=[...e].map((S,g)=>Fi(S,{...c,index:g,level:t+1})).filter(Boolean);return h.length?h:null}function Jy(e){return/[a-z]+[A-Z]+[a-z]+/.test(e)?e:e.toLowerCase()}function E0(e,t={}){return typeof e=="string"?$y(e,t):e instanceof Node?Fi(e,t):null}function Fi(e,t={}){if(!e||!(e instanceof Node))return null;const{actions:c=[],index:h=0,level:S=0,randomKey:g}=t;let n=e,s=`${S}-${h}`;const r=[];return g&&S===0&&(s=`${Fy()}-${s}`),Array.isArray(c)&&c.forEach(o=>{o.condition(n,s,S)&&(typeof o.pre=="function"&&(n=o.pre(n,s,S),n instanceof Node||(n=e,process.env.NODE_ENV!=="production"&&console.warn("The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)"))),typeof o.post=="function"&&r.push(o.post(n,s,S)))}),r.length?r:Ky(n,{key:s,level:S,...t})}function $y(e,t={}){if(!e||typeof e!="string")return null;const{includeAllNodes:c=!1,nodeOnly:h=!1,selector:S="body > *",type:g="text/html"}=t;try{const s=new DOMParser().parseFromString(e,g);if(c){const{childNodes:o}=s.body;return h?o:[...o].map(i=>Fi(i,t))}const r=s.querySelector(S)||s.body.childNodes[0];if(!(r instanceof Node))throw new TypeError("Error parsing input");return h?r:Fi(r,t)}catch(n){process.env.NODE_ENV!=="production"&&console.error(n)}return null}var Gy=Object.defineProperty,qy=(e,t,c)=>t in e?Gy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[t]=c,zi=(e,t,c)=>qy(e,typeof t!="symbol"?t+"":t,c),x0="react-inlinesvg",Zy=10,xt={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function Yy(e){return e[Math.floor(Math.random()*e.length)]}function Go(){return!!(typeof window<"u"&&window.document?.createElement)}function Xy(){return nm()&&typeof window<"u"&&window!==null}function Qy(e,...t){const c={};for(const h in e)({}).hasOwnProperty.call(e,h)&&(t.includes(h)||(c[h]=e[h]));return c}function em(e){const t="abcdefghijklmnopqrstuvwxyz",h=`${t}${t.toUpperCase()}1234567890`;let S="";for(let g=0;g299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(g=>S.includes(g)))throw new Error(`Content type isn't valid: ${S}`);return c.text()}function tm(e=1){return new Promise(t=>{setTimeout(t,e*1e3)})}function nm(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="";const t=e.firstChild;return!!t&&t.namespaceURI==="http://www.w3.org/2000/svg"}var rm=class{constructor(){zi(this,"cacheApi"),zi(this,"cacheStore"),zi(this,"subscribers",[]),zi(this,"isReady",!1),this.cacheStore=new Map;let e=x0,t=!1;Go()&&(e=window.REACT_INLINESVG_CACHE_NAME??x0,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),t?caches.open(e).then(c=>{this.cacheApi=c}).catch(c=>{console.error(`Failed to open cache: ${c.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const c=[...this.subscribers];this.subscribers.length=0,c.forEach(h=>{try{h()}catch(S){console.error(`Error in CacheStore subscriber callback: ${S.message}`)}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===xt.LOADED}async fetchAndAddToInternalCache(e,t){const c=this.cacheStore.get(e);if(c?.status===xt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:xt.IDLE}),await this.fetchAndAddToInternalCache(e,t)});return}if(!c?.content){this.cacheStore.set(e,{content:"",status:xt.LOADING});try{const h=await M0(e,t);this.cacheStore.set(e,{content:h,status:xt.LOADED})}catch(h){throw this.cacheStore.set(e,{content:"",status:xt.FAILED}),h}}}async fetchAndAddToPersistentCache(e,t){const c=this.cacheStore.get(e);if(c?.status===xt.LOADED)return;if(c?.status===xt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:xt.IDLE}),await this.fetchAndAddToPersistentCache(e,t)});return}this.cacheStore.set(e,{content:"",status:xt.LOADING});const h=await this.cacheApi?.match(e);if(h){const S=await h.text();this.cacheStore.set(e,{content:S,status:xt.LOADED});return}try{await this.cacheApi?.add(new Request(e,t));const g=await(await this.cacheApi?.match(e))?.text()??"";this.cacheStore.set(e,{content:g,status:xt.LOADED})}catch(S){throw this.cacheStore.set(e,{content:"",status:xt.FAILED}),S}}async handleLoading(e,t){for(let c=0;c({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(t=>this.cacheApi.delete(t)))}this.cacheStore.clear()}};function P0(e){const t=me.useRef(void 0);return me.useEffect(()=>{t.current=e}),t.current}function om(e){const{baseURL:t,content:c,description:h,handleError:S,hash:g,preProcessor:n,title:s,uniquifyIDs:r=!1}=e;try{const o=im(c,n),i=E0(o,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const p=T0(i,{baseURL:t,hash:g,uniquifyIDs:r});if(h){const a=p.querySelector("desc");a?.parentNode&&a.parentNode.removeChild(a);const f=document.createElementNS("http://www.w3.org/2000/svg","desc");f.innerHTML=h,p.prepend(f)}if(typeof s<"u"){const a=p.querySelector("title");if(a?.parentNode&&a.parentNode.removeChild(a),s){const f=document.createElementNS("http://www.w3.org/2000/svg","title");f.innerHTML=s,p.prepend(f)}}return p}catch(o){return S(o)}}function im(e,t){return t?t(e):e}function T0(e,t){const{baseURL:c="",hash:h,uniquifyIDs:S}=t,g=["id","href","xlink:href","xlink:role","xlink:arcrole"],n=["href","xlink:href"],s=(r,o)=>n.includes(r)&&(o?!o.includes("#"):!1);return S&&[...e.children].forEach(r=>{if(r.attributes?.length){const o=Object.values(r.attributes).map(i=>{const p=i,a=/url\((.*?)\)/.exec(i.value);return a?.[1]&&(p.value=i.value.replace(a[0],`url(${c}${a[1]}__${h})`)),p});g.forEach(i=>{const p=o.find(a=>a.name===i);p&&!s(i,p.value)&&(p.value=`${p.value}__${h}`)})}return r.children.length?T0(r,t):r}),e}var fo;function am(e){const{cacheRequests:t=!0,children:c=null,description:h,fetchOptions:S,innerRef:g,loader:n=null,onError:s,onLoad:r,src:o,title:i,uniqueHash:p}=e,[a,f]=me.useReducer((N,H)=>({...N,...H}),{content:"",element:null,isCached:t&&fo.isCached(e.src),status:xt.IDLE}),{content:C,element:w,isCached:m,status:v}=a,l=P0(e),u=P0(a),y=me.useRef(p??em(8)),d=me.useRef(!1),b=me.useRef(!1),_=me.useCallback(N=>{d.current&&(f({status:N.message==="Browser does not support SVG"?xt.UNSUPPORTED:xt.FAILED}),s?.(N))},[s]),E=me.useCallback((N,H=!1)=>{d.current&&f({content:N,isCached:H,status:xt.LOADED})},[]),B=me.useCallback(async()=>{const N=await M0(o,S);E(N)},[S,E,o]),T=me.useCallback(()=>{try{const N=om({...e,handleError:_,hash:y.current,content:C}),H=E0(N);if(!H||!me.isValidElement(H))throw new Error("Could not convert the src to a React element");f({element:H,status:xt.READY})}catch(N){_(N)}},[C,_,e]),L=me.useCallback(async()=>{const N=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(o);let H;if(N?H=N[1]?window.atob(N[2]):decodeURIComponent(N[2]):o.includes("{d.current&&f({content:"",element:null,isCached:!1,status:xt.LOADING})},[]);me.useEffect(()=>{if(d.current=!0,!(!Go()||b.current)){try{if(v===xt.IDLE){if(!Xy())throw new Error("Browser does not support SVG");if(!o)throw new Error("Missing src");x()}}catch(N){_(N)}return b.current=!0,()=>{d.current=!1}}},[]),me.useEffect(()=>{if(!(!Go()||!l)&&l.src!==o){if(!o){_(new Error("Missing src"));return}x()}},[_,x,l,o]),me.useEffect(()=>{v===xt.LOADED&&T()},[v,T]),me.useEffect(()=>{!Go()||!l||l.src!==o||(l.title!==i||l.description!==h)&&T()},[h,T,l,o,i]),me.useEffect(()=>{if(u)switch(v){case xt.LOADING:{u.status!==xt.LOADING&&L();break}case xt.LOADED:{u.status!==xt.LOADED&&T();break}case xt.READY:{u.status!==xt.READY&&r?.(o,m);break}}},[L,T,m,r,u,o,v]);const A=Qy(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return Go()?w?me.cloneElement(w,{ref:g,...A}):[xt.UNSUPPORTED,xt.FAILED].includes(v)?c:n:n}function sm(e){fo||(fo=new rm);const{loader:t}=e,[c,h]=me.useState(fo.isReady);return me.useEffect(()=>{c||fo.onReady(()=>{h(!0)})},[c]),c?nt.default.createElement(am,{...e}):t}const cm=Pe.default("span").withConfig({shouldForwardProp:(e,t)=>!["rotate"].includes(e)&&t(e),displayName:"svg-icon__Container",componentId:"sc-kfvmzi-0"})(({theme:e,size:t,width:c,height:h,color:S,active:g,rotate:n,marginLeft:s,marginRight:r})=>({display:"inline-block",verticalAlign:"middle",width:c??t,height:h??t,color:S||"inherit",svg:{display:"block",fill:"currentColor",color:S||"inherit",width:c??t,height:h??t},transform:n?"rotateX(180deg)":"rotateX(0deg)",transition:"transform 500ms ease",marginLeft:s?8:"initial",marginRight:r?8:"initial"})),um=Pe.default(sm).withConfig({displayName:"svg-icon__StyledReactSVG",componentId:"sc-kfvmzi-1"})(({theme:e})=>({display:"flex"})),ft=nt.default.forwardRef(({src:e,alt:t,size:c=16,color:h,onClick:S,rotate:g=!1,...n},s)=>{const r=i=>{S&&S(i)},o=i=>i;return U.jsx(cm,{ref:s,role:"img","aria-label":t,size:c,color:h,rotate:g,onClick:r,...n,children:U.jsx(um,{src:e,preProcessor:o,title:t,"aria-hidden":"true",cacheRequests:!0})})}),Br="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e",lm="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",qo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e",Ki="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e",dm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e",Ss="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e",fm="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e",O0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e",A0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",I0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e",L0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e",N0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e",_s="data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",B0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e",Es="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e",k0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",pm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",hm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",H0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e",po="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e",ym="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e",mm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",gm="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",vm="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",bm="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e",Zo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",j0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",wm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",D0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e",R0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Cm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",V0="data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",Sm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",_m="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e",U0="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",F0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",z0="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e",Em="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",K0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e",xm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",Mm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e",W0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e",Pm="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Tm="data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Om="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e",Am="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e",Im="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",J0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e",Lm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e",Nm="data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e",ho="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e",Bm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e",$0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",km="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e",Hm="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",jm="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",xs="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e",Dm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Rm="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e",Vm="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",Yo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e",G0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e",Ms="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e",q0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e",Z0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Um="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Fm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",zm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Km="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Wm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Jm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$m="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Gm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e",qm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Y0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e",Zm="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Q0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",el="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ym="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Xm="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Qm="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",eg="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",tg="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ng="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",rg="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",og="data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",ig="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ag="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e",sg="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e",cg="data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e",ug="data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e",lg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e",dg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e",fg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e",pg="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e",hg="data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e",yg="data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e";var tl=(e=>(e.Success="success",e.Error="error",e.Info="info",e.Pending="pending",e.Warning="warning",e))(tl||{});const mg={success:Yo,info:F0,pending:_s,error:Zo,warning:Y0},gg={success:"borderPrimary",info:"borderPrimary",warning:"borderPrimary",error:"fillSecondaryRedHover",pending:"fillSecondary"},vg={success:"contentGreen",info:"contentSecondary",warning:"contentSecondary",error:"contentRed",pending:"contentLightBlue"},nl=Pe.default(Re).withConfig({displayName:"alert__Container",componentId:"sc-h63w8q-0"})(({theme:e,status:t})=>({minHeight:52,padding:16,borderRadius:e.borderRadius.base,backgroundColor:e.styleguideColors[gg[t]],svg:{color:e.styleguideColors[vg[t]]}})),bg=e=>{const{message:t,title:c,status:h,scale:S="sm",lineHeight:g="sm"}=e,n=e.iconSrc?e.iconSrc:mg[h],s=e.iconSrc?"":h;return c?U.jsx(nl,{status:s,itemsSpacing:8,children:U.jsxs(Lt,{itemsSpacing:8,children:[U.jsxs(Re,{align:"center",itemsSpacing:8,children:[U.jsx(ft,{src:n,alt:`Alert icon with ${s} status`}),U.jsx(ke,{size:1,lineHeight:g,scale:S,variation:"black",children:c})]}),U.jsx(ke,{variation:"black",size:3,lineHeight:g,scale:S,children:t})]})}):U.jsxs(nl,{status:s,align:"center",itemsSpacing:8,children:[U.jsx(ft,{src:n}),U.jsx(ke,{size:3,lineHeight:g,scale:S,variation:"black",children:t})]})},wg=(e,{ttl:t,width:c})=>{if(e)return e};function Ps(e,t){var c=e[0],h=e[1],S=e[2],g=e[3];c=sn(c,h,S,g,t[0],7,-680876936),g=sn(g,c,h,S,t[1],12,-389564586),S=sn(S,g,c,h,t[2],17,606105819),h=sn(h,S,g,c,t[3],22,-1044525330),c=sn(c,h,S,g,t[4],7,-176418897),g=sn(g,c,h,S,t[5],12,1200080426),S=sn(S,g,c,h,t[6],17,-1473231341),h=sn(h,S,g,c,t[7],22,-45705983),c=sn(c,h,S,g,t[8],7,1770035416),g=sn(g,c,h,S,t[9],12,-1958414417),S=sn(S,g,c,h,t[10],17,-42063),h=sn(h,S,g,c,t[11],22,-1990404162),c=sn(c,h,S,g,t[12],7,1804603682),g=sn(g,c,h,S,t[13],12,-40341101),S=sn(S,g,c,h,t[14],17,-1502002290),h=sn(h,S,g,c,t[15],22,1236535329),c=cn(c,h,S,g,t[1],5,-165796510),g=cn(g,c,h,S,t[6],9,-1069501632),S=cn(S,g,c,h,t[11],14,643717713),h=cn(h,S,g,c,t[0],20,-373897302),c=cn(c,h,S,g,t[5],5,-701558691),g=cn(g,c,h,S,t[10],9,38016083),S=cn(S,g,c,h,t[15],14,-660478335),h=cn(h,S,g,c,t[4],20,-405537848),c=cn(c,h,S,g,t[9],5,568446438),g=cn(g,c,h,S,t[14],9,-1019803690),S=cn(S,g,c,h,t[3],14,-187363961),h=cn(h,S,g,c,t[8],20,1163531501),c=cn(c,h,S,g,t[13],5,-1444681467),g=cn(g,c,h,S,t[2],9,-51403784),S=cn(S,g,c,h,t[7],14,1735328473),h=cn(h,S,g,c,t[12],20,-1926607734),c=un(c,h,S,g,t[5],4,-378558),g=un(g,c,h,S,t[8],11,-2022574463),S=un(S,g,c,h,t[11],16,1839030562),h=un(h,S,g,c,t[14],23,-35309556),c=un(c,h,S,g,t[1],4,-1530992060),g=un(g,c,h,S,t[4],11,1272893353),S=un(S,g,c,h,t[7],16,-155497632),h=un(h,S,g,c,t[10],23,-1094730640),c=un(c,h,S,g,t[13],4,681279174),g=un(g,c,h,S,t[0],11,-358537222),S=un(S,g,c,h,t[3],16,-722521979),h=un(h,S,g,c,t[6],23,76029189),c=un(c,h,S,g,t[9],4,-640364487),g=un(g,c,h,S,t[12],11,-421815835),S=un(S,g,c,h,t[15],16,530742520),h=un(h,S,g,c,t[2],23,-995338651),c=ln(c,h,S,g,t[0],6,-198630844),g=ln(g,c,h,S,t[7],10,1126891415),S=ln(S,g,c,h,t[14],15,-1416354905),h=ln(h,S,g,c,t[5],21,-57434055),c=ln(c,h,S,g,t[12],6,1700485571),g=ln(g,c,h,S,t[3],10,-1894986606),S=ln(S,g,c,h,t[10],15,-1051523),h=ln(h,S,g,c,t[1],21,-2054922799),c=ln(c,h,S,g,t[8],6,1873313359),g=ln(g,c,h,S,t[15],10,-30611744),S=ln(S,g,c,h,t[6],15,-1560198380),h=ln(h,S,g,c,t[13],21,1309151649),c=ln(c,h,S,g,t[4],6,-145523070),g=ln(g,c,h,S,t[11],10,-1120210379),S=ln(S,g,c,h,t[2],15,718787259),h=ln(h,S,g,c,t[9],21,-343485551),e[0]=pr(c,e[0]),e[1]=pr(h,e[1]),e[2]=pr(S,e[2]),e[3]=pr(g,e[3])}function Wi(e,t,c,h,S,g){return t=pr(pr(t,e),pr(h,g)),pr(t<>>32-S,c)}function sn(e,t,c,h,S,g,n){return Wi(t&c|~t&h,e,t,S,g,n)}function cn(e,t,c,h,S,g,n){return Wi(t&h|c&~h,e,t,S,g,n)}function un(e,t,c,h,S,g,n){return Wi(t^c^h,e,t,S,g,n)}function ln(e,t,c,h,S,g,n){return Wi(c^(t|~h),e,t,S,g,n)}function Cg(e){var t=e.length,c=[1732584193,-271733879,-1732584194,271733878],h;for(h=64;h<=e.length;h+=64)Ps(c,Sg(e.substring(h-64,h)));e=e.substring(h-64);var S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(h=0;h>2]|=e.charCodeAt(h)<<(h%4<<3);if(S[h>>2]|=128<<(h%4<<3),h>55)for(Ps(c,S),h=0;h<16;h++)S[h]=0;return S[14]=t*8,Ps(c,S),c}function Sg(e){var t=[],c;for(c=0;c<64;c+=4)t[c>>2]=e.charCodeAt(c)+(e.charCodeAt(c+1)<<8)+(e.charCodeAt(c+2)<<16)+(e.charCodeAt(c+3)<<24);return t}var rl="0123456789abcdef".split("");function _g(e){for(var t="",c=0;c<4;c++)t+=rl[e>>c*8+4&15]+rl[e>>c*8&15];return t}function Eg(e){for(var t=0;t{let S="white",g=Ts(t),n=Math.floor(c/h),s=g.slice(0,6),r=g.split("").map(i=>parseInt(i,16)<8?0:1),o=[];o[0]=o[4]=r.slice(0,5),o[1]=o[3]=r.slice(5,10),o[2]=r.slice(10,15),e.imageSmoothingEnabled=!1,e.clearRect(0,0,c,c),o.forEach((i,p)=>{i.forEach((a,f)=>{a?(e.fillStyle="#"+s,e.fillRect(n*p,n*f,n,n)):(e.fillStyle=S,e.fillRect(n*p,n*f,n,n))})})},Mg=(e,t=20)=>{const c=Math.floor(.6*t),h=Math.floor(1/5*t),S=``,g="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(S),n=new Image;n.onload=function(){e.drawImage(n,h,h)},n.src=g},Ji=5,ol=({hexString:e,size:t=20})=>{const c=e.toLowerCase();let h=Math.floor(t/Ji);const g={borderRadius:`${Math.floor(1/10*t)}px`,backgroundColor:"rgb(152, 157, 178)"},n=me.useRef(null),s=me.useRef(0);return me.useEffect(()=>{if(n.current){const r=n.current.getContext("2d");r&&(r.canvas.height=h*Ji,r.canvas.width=h*Ji,c.startsWith("01")&&c.length===66||c.startsWith("02")&&c.length===68?s.current=requestAnimationFrame(()=>xg(r,c,t,Ji)):s.current=requestAnimationFrame(()=>Mg(r,t)))}return()=>cancelAnimationFrame(s.current)},[h,e]),U.jsx("canvas",{className:"account-identicon",style:g,ref:n})},il=e=>e==null?!1:new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()),al=(e="default")=>{const t={tiny:2,small:2,default:2,average:4,semiMedium:4,medium:12,big:12};return t[e]||t.default},Os=(e="default")=>{const t={tiny:16,small:20,average:28,default:32,semiMedium:56,medium:80,big:124};return t[e]||t.default},Pg=(e="default")=>{const t={tiny:"contentTertiary",small:"contentTertiary",default:"contentQuaternary",average:"contentQuaternary",semiMedium:"contentQuaternary",medium:"contentQuaternary",big:"contentQuaternary"};return t[e]||t.default},sl=(e="default")=>({tiny:0,small:0,default:4,average:4,semiMedium:4,medium:4,big:0})[e],$i=Pe.default.div.withConfig({displayName:"avatar__BackgroundWrapper",componentId:"sc-1p1ar3a-0"})(({theme:e,sizeType:t,withBgColor:c=!1})=>({borderRadius:al(t),height:Os(t),width:Os(t),padding:0,margin:sl(t),backgroundColor:c?e.styleguideColors[Pg(t)]:"transparent","& > canvas":{borderRadius:al(t)}})),Tg=Pe.default.div.withConfig({displayName:"avatar__IconHashWrapper",componentId:"sc-1p1ar3a-1"})(({theme:e})=>({color:e.styleguideColors.contentOnFill,height:"100%",display:"flex",justifyContent:"center",alignItems:"center"})),bn=nt.default.forwardRef(function(t,c){const{loading:h,hash:S,src:g,size:n="default",transparentBg:s=!1,...r}=t,o=Os(n),i=2,p="86400";if(h||!S&&!g)return U.jsx("div",{...r,children:U.jsx(lo,{style:{borderRadius:2,width:o,fontSize:`${o}px`,margin:sl(n)}})});if(g){const a=wg(g,{ttl:p,width:o*i});return U.jsx("span",{ref:c,...r,children:U.jsx($i,{sizeType:n,style:{background:`url("${a}") center / contain no-repeat`},children:U.jsx("div",{style:{width:o,height:o}})})})}return S&&il(S)?U.jsx("span",{ref:c,...r,children:U.jsx($i,{sizeType:n,withBgColor:!s,children:U.jsx(Tg,{children:U.jsx(ft,{src:V0,size:o-8})})})}):U.jsx("span",{ref:c,...r,children:U.jsx($i,{sizeType:n,children:S&&U.jsx(ol,{hexString:S,size:o,...r})})})});bn.displayName="Avatar";function Gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Og(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var c=function h(){var S=!1;try{S=this instanceof h}catch{}return S?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};c.prototype=t.prototype}else c={};return Object.defineProperty(c,"__esModule",{value:!0}),Object.keys(e).forEach(function(h){var S=Object.getOwnPropertyDescriptor(e,h);Object.defineProperty(c,h,S.get?S:{enumerable:!0,get:function(){return e[h]}})}),c}var As,cl;function Ag(){return cl||(cl=1,As=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,c=[],h=0;h"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=t[n.format]||t.default;window.clipboardData.setData(m,g)}else w.clipboardData.clearData(),w.clipboardData.setData(n.format,g);n.onCopy&&(w.preventDefault(),n.onCopy(w.clipboardData))}),document.body.appendChild(a),i.selectNodeContents(a),p.addRange(i);var C=document.execCommand("copy");if(!C)throw new Error("copy command was unsuccessful");f=!0}catch(w){s&&console.error("unable to copy using execCommand: ",w),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",g),n.onCopy&&n.onCopy(window.clipboardData),f=!0}catch(m){s&&console.error("unable to copy using clipboardData: ",m),s&&console.error("falling back to prompt"),r=h("message"in n?n.message:c),window.prompt(r,g)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(i):p.removeAllRanges()),a&&document.body.removeChild(a),o()}return f}return Is=S,Is}var Lg=Ig();const ll=Gi(Lg),dl={blue:"contentBlue",gray:"contentTertiary",green:"contentGreen"},Ng=nr.keyframes(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]),Bg=Pe.default.span.withConfig({displayName:"copy__StyledContainer",componentId:"sc-1fp6ltg-0"})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:",";animation:",";& svg{color:",";path{fill:",";}:hover{color:",";path{fill:",";}}:active{color:",";path{fill:",";}}}"],e=>e.isCopied?"none":"initial",e=>e.isCopied?nr.css([""," 3s"],Ng):"none",e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlueClick,e=>e.theme.styleguideColors.fillPrimaryBlueClick),kg=Pe.default(ft).withConfig({displayName:"copy__StyledSvgIcon",componentId:"sc-1fp6ltg-1"})(({theme:e,variation:t="blue"})=>e.withMedia({color:e.styleguideColors[dl[t]],path:{fill:e.styleguideColors[dl[t]]}})),Xo=({value:e,label:t="Copy Public Key",copiedLabel:c="Copied!",variation:h,styles:S,minified:g=!1})=>{const[n,s]=me.useState(!1),r=n?Yo:Es,o=n?c:t,i=n?"green":"black",p=a=>{a?.stopPropagation(),e&&(ll(e),s(!0),setTimeout(()=>s(!1),2800))};return U.jsx(Re,{style:S,align:"center",itemsSpacing:8,children:U.jsxs(Bg,{onClick:p,isCopied:n,tabIndex:0,onKeyDown:a=>{a.key==="Enter"&&p()},children:[U.jsx(kg,{variation:h,size:16,src:r,role:"img",alt:"Copy button"}),!g&&U.jsx(ke,{size:3,variation:i,children:o})]})})},Hg=(e,t)=>({primaryBlue:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.fillPrimaryBlueHover,active:e.styleguideColors.fillPrimaryBlueClick},primaryRed:{color:e.styleguideColors.fillPrimaryRed,hover:e.styleguideColors.fillPrimaryRedHover,active:e.styleguideColors.fillPrimaryRedClick},hash:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.contentRed,active:e.styleguideColors.fillPrimaryRedClick}})[t]||{color:"inherit",hover:"inherit",active:"inherit"},jg=Pe.default.a.withConfig({displayName:"link__StyledLink",componentId:"sc-npzuii-0"})(({theme:e,color:t,lineHeight:c="sm"})=>{const h=Hg(e,t);return{textDecoration:"none",lineHeight:wt({sm:"1.5rem",xs:"1.25rem"},c),color:h.color,"&:hover, &:hover > *":{color:h.hover},"&:active, &:active > *":{color:h.active}}}),tn=nt.default.forwardRef(function({color:t="primaryRed",...c},h){return U.jsx(jg,{ref:h,target:"_blank",color:t,...c})});var Ls=function(e,t){return Ls=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var S in h)Object.prototype.hasOwnProperty.call(h,S)&&(c[S]=h[S])},Ls(e,t)};function Bn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ls(e,t);function c(){this.constructor=e}e.prototype=t===null?Object.create(t):(c.prototype=t.prototype,new c)}var tt=function(){return tt=Object.assign||function(t){for(var c,h=1,S=arguments.length;h"u"&&(g=e.call(this,h),t.set(S,g)),g}function fl(e,t,c){var h=Array.prototype.slice.call(arguments,3),S=c(h),g=t.get(S);return typeof g>"u"&&(g=e.apply(this,h),t.set(S,g)),g}function pl(e,t,c,h,S){return c.bind(t,e,h,S)}function Ug(e,t){var c=e.length===1?Vg:fl;return pl(e,this,c,t.cache.create(),t.serializer)}function Fg(e,t){return pl(e,this,fl,t.cache.create(),t.serializer)}var zg=function(){return JSON.stringify(arguments)},Kg=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,c){this.cache[t]=c},e}(),Wg={create:function(){return new Kg}},Fn={variadic:Fg},mt;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(mt||(mt={}));var Ht;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ht||(Ht={}));var yo;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(yo||(yo={}));function hl(e){return e.type===Ht.literal}function Jg(e){return e.type===Ht.argument}function yl(e){return e.type===Ht.number}function ml(e){return e.type===Ht.date}function gl(e){return e.type===Ht.time}function vl(e){return e.type===Ht.select}function bl(e){return e.type===Ht.plural}function $g(e){return e.type===Ht.pound}function wl(e){return e.type===Ht.tag}function Cl(e){return!!(e&&typeof e=="object"&&e.type===yo.number)}function Ns(e){return!!(e&&typeof e=="object"&&e.type===yo.dateTime)}var Sl=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Gg=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function qg(e){var t={};return e.replace(Gg,function(c){var h=c.length;switch(c[0]){case"G":t.era=h===4?"long":h===5?"narrow":"short";break;case"y":t.year=h===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=h===4?"long":h===5?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][h-4];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][h-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][h-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][h-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][h-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][h-1];break;case"s":t.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Zg=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Yg(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Zg).filter(function(a){return a.length>0}),c=[],h=0,S=t;h1)throw new RangeError("integer-width stems only accept a single optional option");S.options[0].replace(Qg,function(r,o,i,p,a,f){if(o)t.minimumIntegerDigits=i.length;else{if(p&&a)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(xl.test(S.stem)){t.minimumIntegerDigits=S.stem.length;continue}if(_l.test(S.stem)){if(S.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");S.stem.replace(_l,function(r,o,i,p,a,f){return i==="*"?t.minimumFractionDigits=o.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:a&&f?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+f.length):(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length),""});var g=S.options[0];g==="w"?t=tt(tt({},t),{trailingZeroDisplay:"stripIfInteger"}):g&&(t=tt(tt({},t),Ml(g)));continue}if(El.test(S.stem)){t=tt(tt({},t),Ml(S.stem));continue}var n=Pl(S.stem);n&&(t=tt(tt({},t),n));var s=e3(S.stem);s&&(t=tt(tt({},t),s))}return t}var qi={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function n3(e,t){for(var c="",h=0;h>1),r="a",o=r3(t);for((o=="H"||o=="k")&&(s=0);s-- >0;)c+=r;for(;n-- >0;)c=o+c}else S==="J"?c+="H":c+=S}return c}function r3(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var c=e.language,h;c!=="root"&&(h=e.maximize().region);var S=qi[h||""]||qi[c||""]||qi["".concat(c,"-001")]||qi["001"];return S[0]}var Bs,o3=new RegExp("^".concat(Sl.source,"*")),i3=new RegExp("".concat(Sl.source,"*$"));function bt(e,t){return{start:e,end:t}}var a3=!!String.prototype.startsWith&&"_a".startsWith("a",1),s3=!!String.fromCodePoint,c3=!!Object.fromEntries,u3=!!String.prototype.codePointAt,l3=!!String.prototype.trimStart,d3=!!String.prototype.trimEnd,f3=!!Number.isSafeInteger,p3=f3?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ks=!0;try{var h3=Ll("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ks=((Bs=h3.exec("a"))===null||Bs===void 0?void 0:Bs[0])==="a"}catch{ks=!1}var Ol=a3?function(t,c,h){return t.startsWith(c,h)}:function(t,c,h){return t.slice(h,h+c.length)===c},Hs=s3?String.fromCodePoint:function(){for(var t=[],c=0;cg;){if(n=t[g++],n>1114111)throw RangeError(n+" is not a valid code point");h+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return h},Al=c3?Object.fromEntries:function(t){for(var c={},h=0,S=t;h=h)){var S=t.charCodeAt(c),g;return S<55296||S>56319||c+1===h||(g=t.charCodeAt(c+1))<56320||g>57343?S:(S-55296<<10)+(g-56320)+65536}},y3=l3?function(t){return t.trimStart()}:function(t){return t.replace(o3,"")},m3=d3?function(t){return t.trimEnd()}:function(t){return t.replace(i3,"")};function Ll(e,t){return new RegExp(e,t)}var js;if(ks){var Nl=Ll("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");js=function(t,c){var h;Nl.lastIndex=c;var S=Nl.exec(t);return(h=S[1])!==null&&h!==void 0?h:""}}else js=function(t,c){for(var h=[];;){var S=Il(t,c);if(S===void 0||Bl(S)||w3(S))break;h.push(S),c+=S>=65536?2:1}return Hs.apply(void 0,h)};var g3=function(){function e(t,c){c===void 0&&(c={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!c.ignoreTag,this.locale=c.locale,this.requiresOtherClause=!!c.requiresOtherClause,this.shouldParseSkeletons=!!c.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,c,h){for(var S=[];!this.isEOF();){var g=this.char();if(g===123){var n=this.parseArgument(t,h);if(n.err)return n;S.push(n.val)}else{if(g===125&&t>0)break;if(g===35&&(c==="plural"||c==="selectordinal")){var s=this.clonePosition();this.bump(),S.push({type:Ht.pound,location:bt(s,this.clonePosition())})}else if(g===60&&!this.ignoreTag&&this.peek()===47){if(h)break;return this.error(mt.UNMATCHED_CLOSING_TAG,bt(this.clonePosition(),this.clonePosition()))}else if(g===60&&!this.ignoreTag&&Ds(this.peek()||0)){var n=this.parseTag(t,c);if(n.err)return n;S.push(n.val)}else{var n=this.parseLiteral(t,c);if(n.err)return n;S.push(n.val)}}}return{val:S,err:null}},e.prototype.parseTag=function(t,c){var h=this.clonePosition();this.bump();var S=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ht.literal,value:"<".concat(S,"/>"),location:bt(h,this.clonePosition())},err:null};if(this.bumpIf(">")){var g=this.parseMessage(t+1,c,!0);if(g.err)return g;var n=g.val,s=this.clonePosition();if(this.bumpIf("")){if(this.isEOF()||!Ds(this.char()))return this.error(mt.INVALID_TAG,bt(s,this.clonePosition()));var r=this.clonePosition(),o=this.parseTagName();return S!==o?this.error(mt.UNMATCHED_CLOSING_TAG,bt(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ht.tag,value:S,children:n,location:bt(h,this.clonePosition())},err:null}:this.error(mt.INVALID_TAG,bt(s,this.clonePosition())))}else return this.error(mt.UNCLOSED_TAG,bt(h,this.clonePosition()))}else return this.error(mt.INVALID_TAG,bt(h,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&b3(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,c){for(var h=this.clonePosition(),S="";;){var g=this.tryParseQuote(c);if(g){S+=g;continue}var n=this.tryParseUnquoted(t,c);if(n){S+=n;continue}var s=this.tryParseLeftAngleBracket();if(s){S+=s;continue}break}var r=bt(h,this.clonePosition());return{val:{type:Ht.literal,value:S,location:r},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!v3(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var c=[this.char()];for(this.bump();!this.isEOF();){var h=this.char();if(h===39)if(this.peek()===39)c.push(39),this.bump();else{this.bump();break}else c.push(h);this.bump()}return Hs.apply(void 0,c)},e.prototype.tryParseUnquoted=function(t,c){if(this.isEOF())return null;var h=this.char();return h===60||h===123||h===35&&(c==="plural"||c==="selectordinal")||h===125&&t>0?null:(this.bump(),Hs(h))},e.prototype.parseArgument=function(t,c){var h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(h,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(mt.EMPTY_ARGUMENT,bt(h,this.clonePosition()));var S=this.parseIdentifierIfPossible().value;if(!S)return this.error(mt.MALFORMED_ARGUMENT,bt(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ht.argument,value:S,location:bt(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(h,this.clonePosition())):this.parseArgumentOptions(t,c,S,h);default:return this.error(mt.MALFORMED_ARGUMENT,bt(h,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),c=this.offset(),h=js(this.message,c),S=c+h.length;this.bumpTo(S);var g=this.clonePosition(),n=bt(t,g);return{value:h,location:n}},e.prototype.parseArgumentOptions=function(t,c,h,S){var g,n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,r=this.clonePosition();switch(s){case"":return this.error(mt.EXPECT_ARGUMENT_TYPE,bt(n,r));case"number":case"date":case"time":{this.bumpSpace();var o=null;if(this.bumpIf(",")){this.bumpSpace();var i=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var a=m3(p.val);if(a.length===0)return this.error(mt.EXPECT_ARGUMENT_STYLE,bt(this.clonePosition(),this.clonePosition()));var f=bt(i,this.clonePosition());o={style:a,styleLocation:f}}var C=this.tryParseArgumentClose(S);if(C.err)return C;var w=bt(S,this.clonePosition());if(o&&Ol(o?.style,"::",0)){var m=y3(o.style.slice(2));if(s==="number"){var p=this.parseNumberSkeletonFromString(m,o.styleLocation);return p.err?p:{val:{type:Ht.number,value:h,location:w,style:p.val},err:null}}else{if(m.length===0)return this.error(mt.EXPECT_DATE_TIME_SKELETON,w);var v=m;this.locale&&(v=n3(m,this.locale));var a={type:yo.dateTime,pattern:v,location:o.styleLocation,parsedOptions:this.shouldParseSkeletons?qg(v):{}},l=s==="date"?Ht.date:Ht.time;return{val:{type:l,value:h,location:w,style:a},err:null}}}return{val:{type:s==="number"?Ht.number:s==="date"?Ht.date:Ht.time,value:h,location:w,style:(g=o?.style)!==null&&g!==void 0?g:null},err:null}}case"plural":case"selectordinal":case"select":{var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(mt.EXPECT_SELECT_ARGUMENT_OPTIONS,bt(u,tt({},u)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),d=0;if(s!=="select"&&y.value==="offset"){if(!this.bumpIf(":"))return this.error(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,bt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,mt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),y=this.parseIdentifierIfPossible(),d=p.val}var b=this.tryParsePluralOrSelectOptions(t,s,c,y);if(b.err)return b;var C=this.tryParseArgumentClose(S);if(C.err)return C;var _=bt(S,this.clonePosition());return s==="select"?{val:{type:Ht.select,value:h,options:Al(b.val),location:_},err:null}:{val:{type:Ht.plural,value:h,options:Al(b.val),offset:d,pluralType:s==="plural"?"cardinal":"ordinal",location:_},err:null}}default:return this.error(mt.INVALID_ARGUMENT_TYPE,bt(n,r))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,bt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,c=this.clonePosition();!this.isEOF();){var h=this.char();switch(h){case 39:{this.bump();var S=this.clonePosition();if(!this.bumpUntil("'"))return this.error(mt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,bt(S,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(c.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(c.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,c){var h=[];try{h=Yg(t)}catch{return this.error(mt.INVALID_NUMBER_SKELETON,c)}return{val:{type:yo.number,tokens:h,location:c,parsedOptions:this.shouldParseSkeletons?t3(h):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,c,h,S){for(var g,n=!1,s=[],r=new Set,o=S.value,i=S.location;;){if(o.length===0){var p=this.clonePosition();if(c!=="select"&&this.bumpIf("=")){var a=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,mt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(a.err)return a;i=bt(p,this.clonePosition()),o=this.message.slice(p.offset,this.offset())}else break}if(r.has(o))return this.error(c==="select"?mt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:mt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,i);o==="other"&&(n=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(c==="select"?mt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,bt(this.clonePosition(),this.clonePosition()));var C=this.parseMessage(t+1,c,h);if(C.err)return C;var w=this.tryParseArgumentClose(f);if(w.err)return w;s.push([o,{value:C.val,location:bt(f,this.clonePosition())}]),r.add(o),this.bumpSpace(),g=this.parseIdentifierIfPossible(),o=g.value,i=g.location}return s.length===0?this.error(c==="select"?mt.EXPECT_SELECT_ARGUMENT_SELECTOR:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,bt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(mt.MISSING_OTHER_CLAUSE,bt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,c){var h=1,S=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);for(var g=!1,n=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)g=!0,n=n*10+(s-48),this.bump();else break}var r=bt(S,this.clonePosition());return g?(n*=h,p3(n)?{val:n,err:null}:this.error(c,r)):this.error(t,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var c=Il(this.message,t);if(c===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return c},e.prototype.error=function(t,c){return{val:null,err:{kind:t,message:this.message,location:c}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ol(this.message,t,this.offset())){for(var c=0;c=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var c=this.offset();if(c===t)break;if(c>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),c=this.offset(),h=this.message.charCodeAt(c+(t>=65536?2:1));return h??null},e}();function Ds(e){return e>=97&&e<=122||e>=65&&e<=90}function v3(e){return Ds(e)||e===47}function b3(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Bl(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function w3(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Rs(e){e.forEach(function(t){if(delete t.location,vl(t)||bl(t))for(var c in t.options)delete t.options[c].location,Rs(t.options[c].value);else yl(t)&&Cl(t.style)||(ml(t)||gl(t))&&Ns(t.style)?delete t.style.location:wl(t)&&Rs(t.children)})}function C3(e,t){t===void 0&&(t={}),t=tt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var c=new g3(e,t).parse();if(c.err){var h=SyntaxError(mt[c.err.kind]);throw h.location=c.err.location,h.originalMessage=c.err.message,h}return t?.captureLocation||Rs(c.val),c.val}var zn;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(zn||(zn={}));var hr=function(e){Bn(t,e);function t(c,h,S){var g=e.call(this,c)||this;return g.code=h,g.originalMessage=S,g}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),kl=function(e){Bn(t,e);function t(c,h,S,g){return e.call(this,'Invalid values for "'.concat(c,'": "').concat(h,'". Options are "').concat(Object.keys(S).join('", "'),'"'),zn.INVALID_VALUE,g)||this}return t}(hr),S3=function(e){Bn(t,e);function t(c,h,S){return e.call(this,'Value for "'.concat(c,'" must be of type ').concat(h),zn.INVALID_VALUE,S)||this}return t}(hr),_3=function(e){Bn(t,e);function t(c,h){return e.call(this,'The intl string context variable "'.concat(c,'" was not provided to the string "').concat(h,'"'),zn.MISSING_VALUE,h)||this}return t}(hr),pn;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pn||(pn={}));function E3(e){return e.length<2?e:e.reduce(function(t,c){var h=t[t.length-1];return!h||h.type!==pn.literal||c.type!==pn.literal?t.push(c):h.value+=c.value,t},[])}function x3(e){return typeof e=="function"}function Zi(e,t,c,h,S,g,n){if(e.length===1&&hl(e[0]))return[{type:pn.literal,value:e[0].value}];for(var s=[],r=0,o=e;r"u")){var g=Intl.NumberFormat.supportedLocalesOf(o);return g.length>0?new Intl.Locale(g[0]):new Intl.Locale(typeof o=="string"?o:o[0])}},e.__parse=h3,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Pn;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Pn||(Pn={}));var Mo=function(e){Fr(o,e);function o(g,C,P){var E=this,n=P?P instanceof Error?P:new Error(String(P)):void 0;return E=e.call(this,"[@formatjs/intl Error ".concat(g,"] ").concat(C,` +`,zn.MISSING_INTL_API,n);var y=c.getPluralRules(t,{type:i.pluralType}).select(a-(i.offset||0));u=i.options[y]||i.options.other}if(!u)throw new kl(i.value,a,Object.keys(i.options),n);s.push.apply(s,Zi(u.value,t,c,h,S,a-(i.offset||0)));continue}}return E3(s)}function M3(e,t){return t?tt(tt(tt({},e||{}),t||{}),Object.keys(e).reduce(function(c,h){return c[h]=tt(tt({},e[h]),t[h]||{}),c},{})):e}function P3(e,t){return t?Object.keys(e).reduce(function(c,h){return c[h]=M3(e[h],t[h]),c},tt({},e)):e}function Vs(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,c){e[t]=c}}}}}function T3(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Un(function(){for(var t,c=[],h=0;h"u")){var c=Intl.NumberFormat.supportedLocalesOf(t);return c.length>0?new Intl.Locale(c[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=C3,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),kr;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(kr||(kr={}));var Qo=function(e){Bn(t,e);function t(c,h,S){var g=this,n=S?S instanceof Error?S:new Error(String(S)):void 0;return g=e.call(this,"[@formatjs/intl Error ".concat(c,"] ").concat(h,` `).concat(n?` `.concat(n.message,` -`).concat(n.stack):""))||this,E.code=g,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(E,o),E}return o}(Error),C3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.UNSUPPORTED_FORMATTER,g,C)||this}return o}(Mo),S3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.INVALID_CONFIG,g,C)||this}return o}(Mo),oc=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.MISSING_DATA,g,C)||this}return o}(Mo),Hr=function(e){Fr(o,e);function o(g,C,P){var E=e.call(this,Pn.FORMAT_ERROR,"".concat(g,` -Locale: `).concat(C,` -`),P)||this;return E.locale=C,E}return o}(Mo),ja=function(e){Fr(o,e);function o(g,C,P,E){var n=e.call(this,"".concat(g,` -MessageID: `).concat(P?.id,` -Default Message: `).concat(P?.defaultMessage,` -Description: `).concat(P?.description,` -`),C,E)||this;return n.descriptor=P,n.locale=C,n}return o}(Hr),_3=function(e){Fr(o,e);function o(g,C){var P=e.call(this,Pn.MISSING_TRANSLATION,'Missing message: "'.concat(g.id,'" for locale "').concat(C,'", using ').concat(g.defaultMessage?"default message (".concat(typeof g.defaultMessage=="string"?g.defaultMessage:g.defaultMessage.map(function(E){var n;return(n=E.value)!==null&&n!==void 0?n:JSON.stringify(E)}).join(),")"):"id"," as fallback."))||this;return P.descriptor=g,P}return o}(Mo);function M3(e,o,g){if(g===void 0&&(g=Error),!e)throw new g(o)}function Yn(e,o,g){return g===void 0&&(g={}),o.reduce(function(C,P){return P in e?C[P]=e[P]:P in g&&(C[P]=g[P]),C},{})}var E3=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},x3=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},P3={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:E3,onWarn:x3};function ic(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function An(e){return{create:function(){return{get:function(o){return e[o]},set:function(o,g){e[o]=g}}}}}function A3(e){e===void 0&&(e=ic());var o=Intl.RelativeTimeFormat,g=Intl.ListFormat,C=Intl.DisplayNames,P=qr(function(){for(var c,r=[],a=0;atypeof C=="object"));return o.map(g)}function Y3(e,o){const g=+On(e)-+On(o);return g<0?-1:g>0?1:g}function Q3(e){return Ra(e,Date.now())}function ey(e){return o=>{const C=(e?Math[e]:Math.trunc)(o);return C===0?0:C}}const ty={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ry=(e,o,g)=>{let C;const P=ty[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"in "+C:C+" ago":C};function It(e){return(o={})=>{const g=o.width?String(o.width):e.defaultWidth;return e.formats[g]||e.formats[e.defaultWidth]}}const ny={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},oy={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},iy={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ay={date:It({formats:ny,defaultWidth:"full"}),time:It({formats:oy,defaultWidth:"full"}),dateTime:It({formats:iy,defaultWidth:"full"})},sy={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},uy=(e,o,g,C)=>sy[e];function ft(e){return(o,g)=>{const C=g?.context?String(g.context):"standalone";let P;if(C==="formatting"&&e.formattingValues){const n=e.defaultFormattingWidth||e.defaultWidth,c=g?.width?String(g.width):n;P=e.formattingValues[c]||e.formattingValues[n]}else{const n=e.defaultWidth,c=g?.width?String(g.width):e.defaultWidth;P=e.values[c]||e.values[n]}const E=e.argumentCallback?e.argumentCallback(o):o;return P[E]}}const cy={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ly={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},dy={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},fy={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},hy={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},py={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},yy={ordinalNumber:(e,o)=>{const g=Number(e),C=g%100;if(C>20||C<10)switch(C%10){case 1:return g+"st";case 2:return g+"nd";case 3:return g+"rd"}return g+"th"},era:ft({values:cy,defaultWidth:"wide"}),quarter:ft({values:ly,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:dy,defaultWidth:"wide"}),day:ft({values:fy,defaultWidth:"wide"}),dayPeriod:ft({values:hy,defaultWidth:"wide",formattingValues:py,defaultFormattingWidth:"wide"})};function ht(e){return(o,g={})=>{const C=g.width,P=C&&e.matchPatterns[C]||e.matchPatterns[e.defaultMatchWidth],E=o.match(P);if(!E)return null;const n=E[0],c=C&&e.parsePatterns[C]||e.parsePatterns[e.defaultParseWidth],r=Array.isArray(c)?gy(c,y=>y.test(n)):my(c,y=>y.test(n));let a;a=e.valueCallback?e.valueCallback(r):r,a=g.valueCallback?g.valueCallback(a):a;const i=o.slice(n.length);return{value:a,rest:i}}}function my(e,o){for(const g in e)if(Object.prototype.hasOwnProperty.call(e,g)&&o(e[g]))return g}function gy(e,o){for(let g=0;g{const C=o.match(e.matchPattern);if(!C)return null;const P=C[0],E=o.match(e.parsePattern);if(!E)return null;let n=e.valueCallback?e.valueCallback(E[0]):E[0];n=g.valueCallback?g.valueCallback(n):n;const c=o.slice(P.length);return{value:n,rest:c}}}const vy=/^(\d+)(th|st|nd|rd)?/i,by=/\d+/i,wy={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Cy={any:[/^b/i,/^(a|c)/i]},Sy={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_y={any:[/1/i,/2/i,/3/i,/4/i]},My={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ey={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xy={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Py={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ay={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Oy={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ty={ordinalNumber:Yr({matchPattern:vy,parsePattern:by,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:wy,defaultMatchWidth:"wide",parsePatterns:Cy,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Sy,defaultMatchWidth:"wide",parsePatterns:_y,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:My,defaultMatchWidth:"wide",parsePatterns:Ey,defaultParseWidth:"any"}),day:ht({matchPatterns:xy,defaultMatchWidth:"wide",parsePatterns:Py,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Ay,defaultMatchWidth:"any",parsePatterns:Oy,defaultParseWidth:"any"})},Cc={code:"en-US",formatDistance:ry,formatLong:ay,formatRelative:uy,localize:yy,match:Ty,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Va(e,o){const g=e<0?"-":"",C=Math.abs(e).toString().padStart(o,"0");return g+C}function Iy(e,o,g){const C=gc(),P=g?.locale??C.locale??Cc,E=Y3(e,o);if(isNaN(E))throw new RangeError("Invalid time value");const n=Object.assign({},g,{addSuffix:g?.addSuffix,comparison:E}),[c,r]=wc(g?.in,...E>0?[o,e]:[e,o]),a=ey(g?.roundingMethod??"round"),i=r.getTime()-c.getTime(),y=i/fc,t=bc(r)-bc(c),d=(i-t)/fc,b=g?.unit;let m;if(b?m=b:y<1?m="second":y<60?m="minute":ytypeof e=="string",Po=()=>{let e,o;const g=new Promise((C,P)=>{e=C,o=P});return g.resolve=e,g.reject=o,g},Sc=e=>e==null?"":""+e,ky=(e,o,g)=>{e.forEach(C=>{o[C]&&(g[C]=o[C])})},By=/###/g,_c=e=>e&&e.indexOf("###")>-1?e.replace(By,"."):e,Mc=e=>!e||gt(e),Ao=(e,o,g)=>{const C=gt(o)?o.split("."):o;let P=0;for(;P{const{obj:C,k:P}=Ao(e,o,Object);if(C!==void 0||o.length===1){C[P]=g;return}let E=o[o.length-1],n=o.slice(0,o.length-1),c=Ao(e,n,Object);for(;c.obj===void 0&&n.length;)E=`${n[n.length-1]}.${E}`,n=n.slice(0,n.length-1),c=Ao(e,n,Object),c?.obj&&typeof c.obj[`${c.k}.${E}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${E}`]=g},Hy=(e,o,g,C)=>{const{obj:P,k:E}=Ao(e,o,Object);P[E]=P[E]||[],P[E].push(g)},mi=(e,o)=>{const{obj:g,k:C}=Ao(e,o);if(g&&Object.prototype.hasOwnProperty.call(g,C))return g[C]},jy=(e,o,g)=>{const C=mi(e,g);return C!==void 0?C:mi(o,g)},xc=(e,o,g)=>{for(const C in o)C!=="__proto__"&&C!=="constructor"&&(C in e?gt(e[C])||e[C]instanceof String||gt(o[C])||o[C]instanceof String?g&&(e[C]=o[C]):xc(e[C],o[C],g):e[C]=o[C]);return e},Qn=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Dy={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Ry=e=>gt(e)?e.replace(/[&<>"'\/]/g,o=>Dy[o]):e;class Vy{constructor(o){this.capacity=o,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(o){const g=this.regExpMap.get(o);if(g!==void 0)return g;const C=new RegExp(o);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(o,C),this.regExpQueue.push(o),C}}const Uy=[" ",",","?","!",";"],Fy=new Vy(20),zy=(e,o,g)=>{o=o||"",g=g||"";const C=Uy.filter(n=>o.indexOf(n)<0&&g.indexOf(n)<0);if(C.length===0)return!0;const P=Fy.getRegExp(`(${C.map(n=>n==="?"?"\\?":n).join("|")})`);let E=!P.test(e);if(!E){const n=e.indexOf(g);n>0&&!P.test(e.substring(0,n))&&(E=!0)}return E},Ua=(e,o,g=".")=>{if(!e)return;if(e[o])return Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;const C=o.split(g);let P=e;for(let E=0;E-1&&re?.replace("_","-"),Ky={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,o){console?.[e]?.apply?.(console,o)}};class gi{constructor(o,g={}){this.init(o,g)}init(o,g={}){this.prefix=g.prefix||"i18next:",this.logger=o||Ky,this.options=g,this.debug=g.debug}log(...o){return this.forward(o,"log","",!0)}warn(...o){return this.forward(o,"warn","",!0)}error(...o){return this.forward(o,"error","")}deprecate(...o){return this.forward(o,"warn","WARNING DEPRECATED: ",!0)}forward(o,g,C,P){return P&&!this.debug?null:(gt(o[0])&&(o[0]=`${C}${this.prefix} ${o[0]}`),this.logger[g](o))}create(o){return new gi(this.logger,{prefix:`${this.prefix}:${o}:`,...this.options})}clone(o){return o=o||this.options,o.prefix=o.prefix||this.prefix,new gi(this.logger,o)}}var Qr=new gi;class vi{constructor(){this.observers={}}on(o,g){return o.split(" ").forEach(C=>{this.observers[C]||(this.observers[C]=new Map);const P=this.observers[C].get(g)||0;this.observers[C].set(g,P+1)}),this}off(o,g){if(this.observers[o]){if(!g){delete this.observers[o];return}this.observers[o].delete(g)}}emit(o,...g){this.observers[o]&&Array.from(this.observers[o].entries()).forEach(([P,E])=>{for(let n=0;n{for(let n=0;n-1&&this.options.ns.splice(g,1)}getResource(o,g,C,P={}){const E=P.keySeparator!==void 0?P.keySeparator:this.options.keySeparator,n=P.ignoreJSONStructure!==void 0?P.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;o.indexOf(".")>-1?c=o.split("."):(c=[o,g],C&&(Array.isArray(C)?c.push(...C):gt(C)&&E?c.push(...C.split(E)):c.push(C)));const r=mi(this.data,c);return!r&&!g&&!C&&o.indexOf(".")>-1&&(o=c[0],g=c[1],C=c.slice(2).join(".")),r||!n||!gt(C)?r:Ua(this.data?.[o]?.[g],C,E)}addResource(o,g,C,P,E={silent:!1}){const n=E.keySeparator!==void 0?E.keySeparator:this.options.keySeparator;let c=[o,g];C&&(c=c.concat(n?C.split(n):C)),o.indexOf(".")>-1&&(c=o.split("."),P=g,g=c[1]),this.addNamespaces(g),Ec(this.data,c,P),E.silent||this.emit("added",o,g,C,P)}addResources(o,g,C,P={silent:!1}){for(const E in C)(gt(C[E])||Array.isArray(C[E]))&&this.addResource(o,g,E,C[E],{silent:!0});P.silent||this.emit("added",o,g,C)}addResourceBundle(o,g,C,P,E,n={silent:!1,skipCopy:!1}){let c=[o,g];o.indexOf(".")>-1&&(c=o.split("."),P=C,C=g,g=c[1]),this.addNamespaces(g);let r=mi(this.data,c)||{};n.skipCopy||(C=JSON.parse(JSON.stringify(C))),P?xc(r,C,E):r={...r,...C},Ec(this.data,c,r),n.silent||this.emit("added",o,g,C)}removeResourceBundle(o,g){this.hasResourceBundle(o,g)&&delete this.data[o][g],this.removeNamespaces(g),this.emit("removed",o,g)}hasResourceBundle(o,g){return this.getResource(o,g)!==void 0}getResourceBundle(o,g){return g||(g=this.options.defaultNS),this.getResource(o,g)}getDataByLanguage(o){return this.data[o]}hasLanguageSomeTranslations(o){const g=this.getDataByLanguage(o);return!!(g&&Object.keys(g)||[]).find(P=>g[P]&&Object.keys(g[P]).length>0)}toJSON(){return this.data}}var Ac={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,o,g,C,P){return e.forEach(E=>{o=this.processors[E]?.process(o,g,C,P)??o}),o}};const Oc={},Tc=e=>!gt(e)&&typeof e!="boolean"&&typeof e!="number";class bi extends vi{constructor(o,g={}){super(),ky(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],o,this),this.options=g,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Qr.create("translator")}changeLanguage(o){o&&(this.language=o)}exists(o,g={interpolation:{}}){const C={...g};return o==null?!1:this.resolve(o,C)?.res!==void 0}extractFromKey(o,g){let C=g.nsSeparator!==void 0?g.nsSeparator:this.options.nsSeparator;C===void 0&&(C=":");const P=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let E=g.ns||this.options.defaultNS||[];const n=C&&o.indexOf(C)>-1,c=!this.options.userDefinedKeySeparator&&!g.keySeparator&&!this.options.userDefinedNsSeparator&&!g.nsSeparator&&!zy(o,C,P);if(n&&!c){const r=o.match(this.interpolator.nestingRegexp);if(r&&r.length>0)return{key:o,namespaces:gt(E)?[E]:E};const a=o.split(C);(C!==P||C===P&&this.options.ns.indexOf(a[0])>-1)&&(E=a.shift()),o=a.join(P)}return{key:o,namespaces:gt(E)?[E]:E}}translate(o,g,C){let P=typeof g=="object"?{...g}:g;if(typeof P!="object"&&this.options.overloadTranslationOptionHandler&&(P=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(P={...P}),P||(P={}),o==null)return"";Array.isArray(o)||(o=[String(o)]);const E=P.returnDetails!==void 0?P.returnDetails:this.options.returnDetails,n=P.keySeparator!==void 0?P.keySeparator:this.options.keySeparator,{key:c,namespaces:r}=this.extractFromKey(o[o.length-1],P),a=r[r.length-1];let i=P.nsSeparator!==void 0?P.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const y=P.lng||this.language,t=P.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(y?.toLowerCase()==="cimode")return t?E?{res:`${a}${i}${c}`,usedKey:c,exactUsedKey:c,usedLng:y,usedNS:a,usedParams:this.getUsedParamsDetails(P)}:`${a}${i}${c}`:E?{res:c,usedKey:c,exactUsedKey:c,usedLng:y,usedNS:a,usedParams:this.getUsedParamsDetails(P)}:c;const d=this.resolve(o,P);let b=d?.res;const m=d?.usedKey||c,u=d?.exactUsedKey||c,f=["[object Number]","[object Function]","[object RegExp]"],l=P.joinArrays!==void 0?P.joinArrays:this.options.joinArrays,s=!this.i18nFormat||this.i18nFormat.handleAsObject,v=P.count!==void 0&&!gt(P.count),p=bi.hasDefaultValue(P),h=v?this.pluralResolver.getSuffix(y,P.count,P):"",O=P.ordinal&&v?this.pluralResolver.getSuffix(y,P.count,{ordinal:!1}):"",I=v&&!P.ordinal&&P.count===0,B=I&&P[`defaultValue${this.options.pluralSeparator}zero`]||P[`defaultValue${h}`]||P[`defaultValue${O}`]||P.defaultValue;let k=b;s&&!b&&p&&(k=B);const L=Tc(k),N=Object.prototype.toString.apply(k);if(s&&k&&L&&f.indexOf(N)<0&&!(gt(l)&&Array.isArray(k))){if(!P.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const H=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,k,{...P,ns:r}):`key '${c} (${this.language})' returned an object instead of string.`;return E?(d.res=H,d.usedParams=this.getUsedParamsDetails(P),d):H}if(n){const H=Array.isArray(k),j=H?[]:{},U=H?u:m;for(const _ in k)if(Object.prototype.hasOwnProperty.call(k,_)){const T=`${U}${n}${_}`;p&&!b?j[_]=this.translate(T,{...P,defaultValue:Tc(B)?B[_]:void 0,joinArrays:!1,ns:r}):j[_]=this.translate(T,{...P,joinArrays:!1,ns:r}),j[_]===T&&(j[_]=k[_])}b=j}}else if(s&>(l)&&Array.isArray(b))b=b.join(l),b&&(b=this.extendTranslation(b,o,P,C));else{let H=!1,j=!1;!this.isValidLookup(b)&&p&&(H=!0,b=B),this.isValidLookup(b)||(j=!0,b=c);const _=(P.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&j?void 0:b,T=p&&B!==b&&this.options.updateMissing;if(j||H||T){if(this.logger.log(T?"updateKey":"missingKey",y,a,c,T?B:b),n){const w=this.resolve(c,{...P,keySeparator:!1});w&&w.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let x=[];const M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,P.lng||this.language);if(this.options.saveMissingTo==="fallback"&&M&&M[0])for(let w=0;w{const V=p&&D!==b?D:_;this.options.missingKeyHandler?this.options.missingKeyHandler(w,a,A,V,T,P):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(w,a,A,V,T,P),this.emit("missingKey",w,a,A,b)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?x.forEach(w=>{const A=this.pluralResolver.getSuffixes(w,P);I&&P[`defaultValue${this.options.pluralSeparator}zero`]&&A.indexOf(`${this.options.pluralSeparator}zero`)<0&&A.push(`${this.options.pluralSeparator}zero`),A.forEach(D=>{S([w],c+D,P[`defaultValue${D}`]||B)})}):S(x,c,B))}b=this.extendTranslation(b,o,P,d,C),j&&b===c&&this.options.appendNamespaceToMissingKey&&(b=`${a}${i}${c}`),(j||H)&&this.options.parseMissingKeyHandler&&(b=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}${i}${c}`:c,H?b:void 0,P))}return E?(d.res=b,d.usedParams=this.getUsedParamsDetails(P),d):b}extendTranslation(o,g,C,P,E){if(this.i18nFormat?.parse)o=this.i18nFormat.parse(o,{...this.options.interpolation.defaultVariables,...C},C.lng||this.language||P.usedLng,P.usedNS,P.usedKey,{resolved:P});else if(!C.skipInterpolation){C.interpolation&&this.interpolator.init({...C,interpolation:{...this.options.interpolation,...C.interpolation}});const r=gt(o)&&(C?.interpolation?.skipOnVariables!==void 0?C.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(r){const y=o.match(this.interpolator.nestingRegexp);a=y&&y.length}let i=C.replace&&!gt(C.replace)?C.replace:C;if(this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),o=this.interpolator.interpolate(o,i,C.lng||this.language||P.usedLng,C),r){const y=o.match(this.interpolator.nestingRegexp),t=y&&y.length;aE?.[0]===y[0]&&!C.context?(this.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${g[0]}`),null):this.translate(...y,g),C)),C.interpolation&&this.interpolator.reset()}const n=C.postProcess||this.options.postProcess,c=gt(n)?[n]:n;return o!=null&&c?.length&&C.applyPostProcessor!==!1&&(o=Ac.handle(c,o,g,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...P,usedParams:this.getUsedParamsDetails(C)},...C}:C,this)),o}resolve(o,g={}){let C,P,E,n,c;return gt(o)&&(o=[o]),o.forEach(r=>{if(this.isValidLookup(C))return;const a=this.extractFromKey(r,g),i=a.key;P=i;let y=a.namespaces;this.options.fallbackNS&&(y=y.concat(this.options.fallbackNS));const t=g.count!==void 0&&!gt(g.count),d=t&&!g.ordinal&&g.count===0,b=g.context!==void 0&&(gt(g.context)||typeof g.context=="number")&&g.context!=="",m=g.lngs?g.lngs:this.languageUtils.toResolveHierarchy(g.lng||this.language,g.fallbackLng);y.forEach(u=>{this.isValidLookup(C)||(c=u,!Oc[`${m[0]}-${u}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(Oc[`${m[0]}-${u}`]=!0,this.logger.warn(`key "${P}" for languages "${m.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(f=>{if(this.isValidLookup(C))return;n=f;const l=[i];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(l,i,f,u,g);else{let v;t&&(v=this.pluralResolver.getSuffix(f,g.count,g));const p=`${this.options.pluralSeparator}zero`,h=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(t&&(l.push(i+v),g.ordinal&&v.indexOf(h)===0&&l.push(i+v.replace(h,this.options.pluralSeparator)),d&&l.push(i+p)),b){const O=`${i}${this.options.contextSeparator}${g.context}`;l.push(O),t&&(l.push(O+v),g.ordinal&&v.indexOf(h)===0&&l.push(O+v.replace(h,this.options.pluralSeparator)),d&&l.push(O+p))}}let s;for(;s=l.pop();)this.isValidLookup(C)||(E=s,C=this.getResource(f,u,s,g))}))})}),{res:C,usedKey:P,exactUsedKey:E,usedLng:n,usedNS:c}}isValidLookup(o){return o!==void 0&&!(!this.options.returnNull&&o===null)&&!(!this.options.returnEmptyString&&o==="")}getResource(o,g,C,P={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(o,g,C,P):this.resourceStore.getResource(o,g,C,P)}getUsedParamsDetails(o={}){const g=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],C=o.replace&&!gt(o.replace);let P=C?o.replace:o;if(C&&typeof o.count<"u"&&(P.count=o.count),this.options.interpolation.defaultVariables&&(P={...this.options.interpolation.defaultVariables,...P}),!C){P={...P};for(const E of g)delete P[E]}return P}static hasDefaultValue(o){const g="defaultValue";for(const C in o)if(Object.prototype.hasOwnProperty.call(o,C)&&g===C.substring(0,g.length)&&o[C]!==void 0)return!0;return!1}}class Ic{constructor(o){this.options=o,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Qr.create("languageUtils")}getScriptPartFromCode(o){if(o=Oo(o),!o||o.indexOf("-")<0)return null;const g=o.split("-");return g.length===2||(g.pop(),g[g.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(g.join("-"))}getLanguagePartFromCode(o){if(o=Oo(o),!o||o.indexOf("-")<0)return o;const g=o.split("-");return this.formatLanguageCode(g[0])}formatLanguageCode(o){if(gt(o)&&o.indexOf("-")>-1){let g;try{g=Intl.getCanonicalLocales(o)[0]}catch{}return g&&this.options.lowerCaseLng&&(g=g.toLowerCase()),g||(this.options.lowerCaseLng?o.toLowerCase():o)}return this.options.cleanCode||this.options.lowerCaseLng?o.toLowerCase():o}isSupportedCode(o){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(o=this.getLanguagePartFromCode(o)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(o)>-1}getBestMatchFromCodes(o){if(!o)return null;let g;return o.forEach(C=>{if(g)return;const P=this.formatLanguageCode(C);(!this.options.supportedLngs||this.isSupportedCode(P))&&(g=P)}),!g&&this.options.supportedLngs&&o.forEach(C=>{if(g)return;const P=this.getScriptPartFromCode(C);if(this.isSupportedCode(P))return g=P;const E=this.getLanguagePartFromCode(C);if(this.isSupportedCode(E))return g=E;g=this.options.supportedLngs.find(n=>{if(n===E)return n;if(!(n.indexOf("-")<0&&E.indexOf("-")<0)&&(n.indexOf("-")>0&&E.indexOf("-")<0&&n.substring(0,n.indexOf("-"))===E||n.indexOf(E)===0&&E.length>1))return n})}),g||(g=this.getFallbackCodes(this.options.fallbackLng)[0]),g}getFallbackCodes(o,g){if(!o)return[];if(typeof o=="function"&&(o=o(g)),gt(o)&&(o=[o]),Array.isArray(o))return o;if(!g)return o.default||[];let C=o[g];return C||(C=o[this.getScriptPartFromCode(g)]),C||(C=o[this.formatLanguageCode(g)]),C||(C=o[this.getLanguagePartFromCode(g)]),C||(C=o.default),C||[]}toResolveHierarchy(o,g){const C=this.getFallbackCodes((g===!1?[]:g)||this.options.fallbackLng||[],o),P=[],E=n=>{n&&(this.isSupportedCode(n)?P.push(n):this.logger.warn(`rejecting language code not found in supportedLngs: ${n}`))};return gt(o)&&(o.indexOf("-")>-1||o.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&E(this.formatLanguageCode(o)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&E(this.getScriptPartFromCode(o)),this.options.load!=="currentOnly"&&E(this.getLanguagePartFromCode(o))):gt(o)&&E(this.formatLanguageCode(o)),C.forEach(n=>{P.indexOf(n)<0&&E(this.formatLanguageCode(n))}),P}}const Nc={zero:0,one:1,two:2,few:3,many:4,other:5},Lc={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Wy{constructor(o,g={}){this.languageUtils=o,this.options=g,this.logger=Qr.create("pluralResolver"),this.pluralRulesCache={}}addRule(o,g){this.rules[o]=g}clearCache(){this.pluralRulesCache={}}getRule(o,g={}){const C=Oo(o==="dev"?"en":o),P=g.ordinal?"ordinal":"cardinal",E=JSON.stringify({cleanedCode:C,type:P});if(E in this.pluralRulesCache)return this.pluralRulesCache[E];let n;try{n=new Intl.PluralRules(C,{type:P})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Lc;if(!o.match(/-|_/))return Lc;const r=this.languageUtils.getLanguagePartFromCode(o);n=this.getRule(r,g)}return this.pluralRulesCache[E]=n,n}needsPlural(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(o,g,C={}){return this.getSuffixes(o,C).map(P=>`${g}${P}`)}getSuffixes(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?C.resolvedOptions().pluralCategories.sort((P,E)=>Nc[P]-Nc[E]).map(P=>`${this.options.prepend}${g.ordinal?`ordinal${this.options.prepend}`:""}${P}`):[]}getSuffix(o,g,C={}){const P=this.getRule(o,C);return P?`${this.options.prepend}${C.ordinal?`ordinal${this.options.prepend}`:""}${P.select(g)}`:(this.logger.warn(`no plural rule found for: ${o}`),this.getSuffix("dev",g,C))}}const kc=(e,o,g,C=".",P=!0)=>{let E=jy(e,o,g);return!E&&P&>(g)&&(E=Ua(e,g,C),E===void 0&&(E=Ua(o,g,C))),E},Fa=e=>e.replace(/\$/g,"$$$$");class Jy{constructor(o={}){this.logger=Qr.create("interpolator"),this.options=o,this.format=o?.interpolation?.format||(g=>g),this.init(o)}init(o={}){o.interpolation||(o.interpolation={escapeValue:!0});const{escape:g,escapeValue:C,useRawValueToEscape:P,prefix:E,prefixEscaped:n,suffix:c,suffixEscaped:r,formatSeparator:a,unescapeSuffix:i,unescapePrefix:y,nestingPrefix:t,nestingPrefixEscaped:d,nestingSuffix:b,nestingSuffixEscaped:m,nestingOptionsSeparator:u,maxReplaces:f,alwaysFormat:l}=o.interpolation;this.escape=g!==void 0?g:Ry,this.escapeValue=C!==void 0?C:!0,this.useRawValueToEscape=P!==void 0?P:!1,this.prefix=E?Qn(E):n||"{{",this.suffix=c?Qn(c):r||"}}",this.formatSeparator=a||",",this.unescapePrefix=i?"":y||"-",this.unescapeSuffix=this.unescapePrefix?"":i||"",this.nestingPrefix=t?Qn(t):d||Qn("$t("),this.nestingSuffix=b?Qn(b):m||Qn(")"),this.nestingOptionsSeparator=u||",",this.maxReplaces=f||1e3,this.alwaysFormat=l!==void 0?l:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const o=(g,C)=>g?.source===C?(g.lastIndex=0,g):new RegExp(C,"g");this.regexp=o(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=o(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=o(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(o,g,C,P){let E,n,c;const r=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},a=d=>{if(d.indexOf(this.formatSeparator)<0){const f=kc(g,r,d,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(f,void 0,C,{...P,...g,interpolationkey:d}):f}const b=d.split(this.formatSeparator),m=b.shift().trim(),u=b.join(this.formatSeparator).trim();return this.format(kc(g,r,m,this.options.keySeparator,this.options.ignoreJSONStructure),u,C,{...P,...g,interpolationkey:m})};this.resetRegExp();const i=P?.missingInterpolationHandler||this.options.missingInterpolationHandler,y=P?.interpolation?.skipOnVariables!==void 0?P.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:d=>Fa(d)},{regex:this.regexp,safeValue:d=>this.escapeValue?Fa(this.escape(d)):Fa(d)}].forEach(d=>{for(c=0;E=d.regex.exec(o);){const b=E[1].trim();if(n=a(b),n===void 0)if(typeof i=="function"){const u=i(o,E,P);n=gt(u)?u:""}else if(P&&Object.prototype.hasOwnProperty.call(P,b))n="";else if(y){n=E[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${o}`),n="";else!gt(n)&&!this.useRawValueToEscape&&(n=Sc(n));const m=d.safeValue(n);if(o=o.replace(E[0],m),y?(d.regex.lastIndex+=n.length,d.regex.lastIndex-=E[0].length):d.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),o}nest(o,g,C={}){let P,E,n;const c=(r,a)=>{const i=this.nestingOptionsSeparator;if(r.indexOf(i)<0)return r;const y=r.split(new RegExp(`${i}[ ]*{`));let t=`{${y[1]}`;r=y[0],t=this.interpolate(t,n);const d=t.match(/'/g),b=t.match(/"/g);((d?.length??0)%2===0&&!b||b.length%2!==0)&&(t=t.replace(/'/g,'"'));try{n=JSON.parse(t),a&&(n={...a,...n})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${r}`,m),`${r}${i}${t}`}return n.defaultValue&&n.defaultValue.indexOf(this.prefix)>-1&&delete n.defaultValue,r};for(;P=this.nestingRegexp.exec(o);){let r=[];n={...C},n=n.replace&&!gt(n.replace)?n.replace:n,n.applyPostProcessor=!1,delete n.defaultValue;const a=/{.*}/.test(P[1])?P[1].lastIndexOf("}")+1:P[1].indexOf(this.formatSeparator);if(a!==-1&&(r=P[1].slice(a).split(this.formatSeparator).map(i=>i.trim()).filter(Boolean),P[1]=P[1].slice(0,a)),E=g(c.call(this,P[1].trim(),n),n),E&&P[0]===o&&!gt(E))return E;gt(E)||(E=Sc(E)),E||(this.logger.warn(`missed to resolve ${P[1]} for nesting ${o}`),E=""),r.length&&(E=r.reduce((i,y)=>this.format(i,y,C.lng,{...C,interpolationkey:P[1].trim()}),E.trim())),o=o.replace(P[0],E),this.regexp.lastIndex=0}return o}}const $y=e=>{let o=e.toLowerCase().trim();const g={};if(e.indexOf("(")>-1){const C=e.split("(");o=C[0].toLowerCase().trim();const P=C[1].substring(0,C[1].length-1);o==="currency"&&P.indexOf(":")<0?g.currency||(g.currency=P.trim()):o==="relativetime"&&P.indexOf(":")<0?g.range||(g.range=P.trim()):P.split(";").forEach(n=>{if(n){const[c,...r]=n.split(":"),a=r.join(":").trim().replace(/^'+|'+$/g,""),i=c.trim();g[i]||(g[i]=a),a==="false"&&(g[i]=!1),a==="true"&&(g[i]=!0),isNaN(a)||(g[i]=parseInt(a,10))}})}return{formatName:o,formatOptions:g}},Bc=e=>{const o={};return(g,C,P)=>{let E=P;P&&P.interpolationkey&&P.formatParams&&P.formatParams[P.interpolationkey]&&P[P.interpolationkey]&&(E={...E,[P.interpolationkey]:void 0});const n=C+JSON.stringify(E);let c=o[n];return c||(c=e(Oo(C),P),o[n]=c),c(g)}},Gy=e=>(o,g,C)=>e(Oo(g),C)(o);class qy{constructor(o={}){this.logger=Qr.create("formatter"),this.options=o,this.init(o)}init(o,g={interpolation:{}}){this.formatSeparator=g.interpolation.formatSeparator||",";const C=g.cacheInBuiltFormats?Bc:Gy;this.formats={number:C((P,E)=>{const n=new Intl.NumberFormat(P,{...E});return c=>n.format(c)}),currency:C((P,E)=>{const n=new Intl.NumberFormat(P,{...E,style:"currency"});return c=>n.format(c)}),datetime:C((P,E)=>{const n=new Intl.DateTimeFormat(P,{...E});return c=>n.format(c)}),relativetime:C((P,E)=>{const n=new Intl.RelativeTimeFormat(P,{...E});return c=>n.format(c,E.range||"day")}),list:C((P,E)=>{const n=new Intl.ListFormat(P,{...E});return c=>n.format(c)})}}add(o,g){this.formats[o.toLowerCase().trim()]=g}addCached(o,g){this.formats[o.toLowerCase().trim()]=Bc(g)}format(o,g,C,P={}){const E=g.split(this.formatSeparator);if(E.length>1&&E[0].indexOf("(")>1&&E[0].indexOf(")")<0&&E.find(c=>c.indexOf(")")>-1)){const c=E.findIndex(r=>r.indexOf(")")>-1);E[0]=[E[0],...E.splice(1,c)].join(this.formatSeparator)}return E.reduce((c,r)=>{const{formatName:a,formatOptions:i}=$y(r);if(this.formats[a]){let y=c;try{const t=P?.formatParams?.[P.interpolationkey]||{},d=t.locale||t.lng||P.locale||P.lng||C;y=this.formats[a](c,d,{...i,...P,...t})}catch(t){this.logger.warn(t)}return y}else this.logger.warn(`there was no format function for ${a}`);return c},o)}}const Zy=(e,o)=>{e.pending[o]!==void 0&&(delete e.pending[o],e.pendingCount--)};class Xy extends vi{constructor(o,g,C,P={}){super(),this.backend=o,this.store=g,this.services=C,this.languageUtils=C.languageUtils,this.options=P,this.logger=Qr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=P.maxParallelReads||10,this.readingCalls=0,this.maxRetries=P.maxRetries>=0?P.maxRetries:5,this.retryTimeout=P.retryTimeout>=1?P.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(C,P.backend,P)}queueLoad(o,g,C,P){const E={},n={},c={},r={};return o.forEach(a=>{let i=!0;g.forEach(y=>{const t=`${a}|${y}`;!C.reload&&this.store.hasResourceBundle(a,y)?this.state[t]=2:this.state[t]<0||(this.state[t]===1?n[t]===void 0&&(n[t]=!0):(this.state[t]=1,i=!1,n[t]===void 0&&(n[t]=!0),E[t]===void 0&&(E[t]=!0),r[y]===void 0&&(r[y]=!0)))}),i||(c[a]=!0)}),(Object.keys(E).length||Object.keys(n).length)&&this.queue.push({pending:n,pendingCount:Object.keys(n).length,loaded:{},errors:[],callback:P}),{toLoad:Object.keys(E),pending:Object.keys(n),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(r)}}loaded(o,g,C){const P=o.split("|"),E=P[0],n=P[1];g&&this.emit("failedLoading",E,n,g),!g&&C&&this.store.addResourceBundle(E,n,C,void 0,void 0,{skipCopy:!0}),this.state[o]=g?-1:2,g&&C&&(this.state[o]=0);const c={};this.queue.forEach(r=>{Hy(r.loaded,[E],n),Zy(r,o),g&&r.errors.push(g),r.pendingCount===0&&!r.done&&(Object.keys(r.loaded).forEach(a=>{c[a]||(c[a]={});const i=r.loaded[a];i.length&&i.forEach(y=>{c[a][y]===void 0&&(c[a][y]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(r=>!r.done)}read(o,g,C,P=0,E=this.retryTimeout,n){if(!o.length)return n(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:o,ns:g,fcName:C,tried:P,wait:E,callback:n});return}this.readingCalls++;const c=(a,i)=>{if(this.readingCalls--,this.waitingReads.length>0){const y=this.waitingReads.shift();this.read(y.lng,y.ns,y.fcName,y.tried,y.wait,y.callback)}if(a&&i&&P{this.read.call(this,o,g,C,P+1,E*2,n)},E);return}n(a,i)},r=this.backend[C].bind(this.backend);if(r.length===2){try{const a=r(o,g);a&&typeof a.then=="function"?a.then(i=>c(null,i)).catch(c):c(null,a)}catch(a){c(a)}return}return r(o,g,c)}prepareLoading(o,g,C={},P){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),P&&P();gt(o)&&(o=this.languageUtils.toResolveHierarchy(o)),gt(g)&&(g=[g]);const E=this.queueLoad(o,g,C,P);if(!E.toLoad.length)return E.pending.length||P(),null;E.toLoad.forEach(n=>{this.loadOne(n)})}load(o,g,C){this.prepareLoading(o,g,{},C)}reload(o,g,C){this.prepareLoading(o,g,{reload:!0},C)}loadOne(o,g=""){const C=o.split("|"),P=C[0],E=C[1];this.read(P,E,"read",void 0,void 0,(n,c)=>{n&&this.logger.warn(`${g}loading namespace ${E} for language ${P} failed`,n),!n&&c&&this.logger.log(`${g}loaded namespace ${E} for language ${P}`,c),this.loaded(o,n,c)})}saveMissing(o,g,C,P,E,n={},c=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(g)){this.logger.warn(`did not save key "${C}" as the namespace "${g}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(C==null||C==="")){if(this.backend?.create){const r={...n,isUpdate:E},a=this.backend.create.bind(this.backend);if(a.length<6)try{let i;a.length===5?i=a(o,g,C,P,r):i=a(o,g,C,P),i&&typeof i.then=="function"?i.then(y=>c(null,y)).catch(c):c(null,i)}catch(i){c(i)}else a(o,g,C,P,c,r)}!o||!o[0]||this.store.addResource(o[0],g,C,P)}}}const Hc=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let o={};if(typeof e[1]=="object"&&(o=e[1]),gt(e[1])&&(o.defaultValue=e[1]),gt(e[2])&&(o.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const g=e[3]||e[2];Object.keys(g).forEach(C=>{o[C]=g[C]})}return o},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),jc=e=>(gt(e.ns)&&(e.ns=[e.ns]),gt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),gt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),wi=()=>{},Yy=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(g=>{typeof e[g]=="function"&&(e[g]=e[g].bind(e))})};class To extends vi{constructor(o={},g){if(super(),this.options=jc(o),this.services={},this.logger=Qr,this.modules={external:[]},Yy(this),g&&!this.isInitialized&&!o.isClone){if(!this.options.initAsync)return this.init(o,g),this;setTimeout(()=>{this.init(o,g)},0)}}init(o={},g){this.isInitializing=!0,typeof o=="function"&&(g=o,o={}),o.defaultNS==null&&o.ns&&(gt(o.ns)?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));const C=Hc();this.options={...C,...this.options,...jc(o)},this.options.interpolation={...C.interpolation,...this.options.interpolation},o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);const P=a=>a?typeof a=="function"?new a:a:null;if(!this.options.isClone){this.modules.logger?Qr.init(P(this.modules.logger),this.options):Qr.init(null,this.options);let a;this.modules.formatter?a=this.modules.formatter:a=qy;const i=new Ic(this.options);this.store=new Pc(this.options.resources,this.options);const y=this.services;y.logger=Qr,y.resourceStore=this.store,y.languageUtils=i,y.pluralResolver=new Wy(i,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==C.interpolation.format&&this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),a&&(!this.options.interpolation.format||this.options.interpolation.format===C.interpolation.format)&&(y.formatter=P(a),y.formatter.init&&y.formatter.init(y,this.options),this.options.interpolation.format=y.formatter.format.bind(y.formatter)),y.interpolator=new Jy(this.options),y.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},y.backendConnector=new Xy(P(this.modules.backend),y.resourceStore,y,this.options),y.backendConnector.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.languageDetector&&(y.languageDetector=P(this.modules.languageDetector),y.languageDetector.init&&y.languageDetector.init(y,this.options.detection,this.options)),this.modules.i18nFormat&&(y.i18nFormat=P(this.modules.i18nFormat),y.i18nFormat.init&&y.i18nFormat.init(this)),this.translator=new bi(this.services,this.options),this.translator.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.external.forEach(d=>{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,g||(g=wi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&a[0]!=="dev"&&(this.options.lng=a[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(a=>{this[a]=(...i)=>this.store[a](...i)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(a=>{this[a]=(...i)=>(this.store[a](...i),this)});const c=Po(),r=()=>{const a=(i,y)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(y),g(i,y)};if(this.languages&&!this.isInitialized)return a(null,this.t.bind(this));this.changeLanguage(this.options.lng,a)};return this.options.resources||!this.options.initAsync?r():setTimeout(r,0),c}loadResources(o,g=wi){let C=g;const P=gt(o)?o:this.language;if(typeof o=="function"&&(C=o),!this.options.resources||this.options.partialBundledLanguages){if(P?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return C();const E=[],n=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(a=>{a!=="cimode"&&E.indexOf(a)<0&&E.push(a)})};P?n(P):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(r=>n(r)),this.options.preload?.forEach?.(c=>n(c)),this.services.backendConnector.load(E,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),C(c)})}else C(null)}reloadResources(o,g,C){const P=Po();return typeof o=="function"&&(C=o,o=void 0),typeof g=="function"&&(C=g,g=void 0),o||(o=this.languages),g||(g=this.options.ns),C||(C=wi),this.services.backendConnector.reload(o,g,E=>{P.resolve(),C(E)}),P}use(o){if(!o)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!o.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return o.type==="backend"&&(this.modules.backend=o),(o.type==="logger"||o.log&&o.warn&&o.error)&&(this.modules.logger=o),o.type==="languageDetector"&&(this.modules.languageDetector=o),o.type==="i18nFormat"&&(this.modules.i18nFormat=o),o.type==="postProcessor"&&Ac.addPostProcessor(o),o.type==="formatter"&&(this.modules.formatter=o),o.type==="3rdParty"&&this.modules.external.push(o),this}setResolvedLanguage(o){if(!(!o||!this.languages)&&!(["cimode","dev"].indexOf(o)>-1)){for(let g=0;g-1)&&this.store.hasLanguageSomeTranslations(C)){this.resolvedLanguage=C;break}}!this.resolvedLanguage&&this.languages.indexOf(o)<0&&this.store.hasLanguageSomeTranslations(o)&&(this.resolvedLanguage=o,this.languages.unshift(o))}}changeLanguage(o,g){this.isLanguageChangingTo=o;const C=Po();this.emit("languageChanging",o);const P=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},E=(c,r)=>{r?this.isLanguageChangingTo===o&&(P(r),this.translator.changeLanguage(r),this.isLanguageChangingTo=void 0,this.emit("languageChanged",r),this.logger.log("languageChanged",r)):this.isLanguageChangingTo=void 0,C.resolve((...a)=>this.t(...a)),g&&g(c,(...a)=>this.t(...a))},n=c=>{!o&&!c&&this.services.languageDetector&&(c=[]);const r=gt(c)?c:c&&c[0],a=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(gt(c)?[c]:c);a&&(this.language||P(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,i=>{E(i,a)})};return!o&&this.services.languageDetector&&!this.services.languageDetector.async?n(this.services.languageDetector.detect()):!o&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(n):this.services.languageDetector.detect(n):n(o),C}getFixedT(o,g,C){const P=(E,n,...c)=>{let r;typeof n!="object"?r=this.options.overloadTranslationOptionHandler([E,n].concat(c)):r={...n},r.lng=r.lng||P.lng,r.lngs=r.lngs||P.lngs,r.ns=r.ns||P.ns,r.keyPrefix!==""&&(r.keyPrefix=r.keyPrefix||C||P.keyPrefix);const a=this.options.keySeparator||".";let i;return r.keyPrefix&&Array.isArray(E)?i=E.map(y=>`${r.keyPrefix}${a}${y}`):i=r.keyPrefix?`${r.keyPrefix}${a}${E}`:E,this.t(i,r)};return gt(o)?P.lng=o:P.lngs=o,P.ns=g,P.keyPrefix=C,P}t(...o){return this.translator?.translate(...o)}exists(...o){return this.translator?.exists(...o)}setDefaultNamespace(o){this.options.defaultNS=o}hasLoadedNamespace(o,g={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const C=g.lng||this.resolvedLanguage||this.languages[0],P=this.options?this.options.fallbackLng:!1,E=this.languages[this.languages.length-1];if(C.toLowerCase()==="cimode")return!0;const n=(c,r)=>{const a=this.services.backendConnector.state[`${c}|${r}`];return a===-1||a===0||a===2};if(g.precheck){const c=g.precheck(this,n);if(c!==void 0)return c}return!!(this.hasResourceBundle(C,o)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||n(C,o)&&(!P||n(E,o)))}loadNamespaces(o,g){const C=Po();return this.options.ns?(gt(o)&&(o=[o]),o.forEach(P=>{this.options.ns.indexOf(P)<0&&this.options.ns.push(P)}),this.loadResources(P=>{C.resolve(),g&&g(P)}),C):(g&&g(),Promise.resolve())}loadLanguages(o,g){const C=Po();gt(o)&&(o=[o]);const P=this.options.preload||[],E=o.filter(n=>P.indexOf(n)<0&&this.services.languageUtils.isSupportedCode(n));return E.length?(this.options.preload=P.concat(E),this.loadResources(n=>{C.resolve(),g&&g(n)}),C):(g&&g(),Promise.resolve())}dir(o){if(o||(o=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!o)return"rtl";try{const P=new Intl.Locale(o);if(P&&P.getTextInfo){const E=P.getTextInfo();if(E&&E.direction)return E.direction}}catch{}const g=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],C=this.services?.languageUtils||new Ic(Hc());return o.toLowerCase().indexOf("-latn")>1?"ltr":g.indexOf(C.getLanguagePartFromCode(o))>-1||o.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(o={},g){return new To(o,g)}cloneInstance(o={},g=wi){const C=o.forkResourceStore;C&&delete o.forkResourceStore;const P={...this.options,...o,isClone:!0},E=new To(P);if((o.debug!==void 0||o.prefix!==void 0)&&(E.logger=E.logger.clone(o)),["store","services","language"].forEach(c=>{E[c]=this[c]}),E.services={...this.services},E.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},C){const c=Object.keys(this.store.data).reduce((r,a)=>(r[a]={...this.store.data[a]},r[a]=Object.keys(r[a]).reduce((i,y)=>(i[y]={...r[a][y]},i),r[a]),r),{});E.store=new Pc(c,P),E.services.resourceStore=E.store}return E.translator=new bi(E.services,P),E.translator.on("*",(c,...r)=>{E.emit(c,...r)}),E.init(P,g),E.translator.options=P,E.translator.backendConnector.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},E}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const qt=To.createInstance();qt.createInstance=To.createInstance,qt.createInstance,qt.dir,qt.init,qt.loadResources,qt.reloadResources,qt.use,qt.changeLanguage,qt.getFixedT,qt.t,qt.exists,qt.setDefaultNamespace,qt.hasLoadedNamespace,qt.loadNamespaces,qt.loadLanguages;const Qy={lessThanXSeconds:{one:"bir saniyədən az",other:"{{count}} bir saniyədən az"},xSeconds:{one:"1 saniyə",other:"{{count}} saniyə"},halfAMinute:"yarım dəqiqə",lessThanXMinutes:{one:"bir dəqiqədən az",other:"{{count}} bir dəqiqədən az"},xMinutes:{one:"bir dəqiqə",other:"{{count}} dəqiqə"},aboutXHours:{one:"təxminən 1 saat",other:"təxminən {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"təxminən 1 həftə",other:"təxminən {{count}} həftə"},xWeeks:{one:"1 həftə",other:"{{count}} həftə"},aboutXMonths:{one:"təxminən 1 ay",other:"təxminən {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"təxminən 1 il",other:"təxminən {{count}} il"},xYears:{one:"1 il",other:"{{count}} il"},overXYears:{one:"1 ildən çox",other:"{{count}} ildən çox"},almostXYears:{one:"demək olar ki 1 il",other:"demək olar ki {{count}} il"}},em=(e,o,g)=>{let C;const P=Qy[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" əvvəl":C},tm={full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},rm={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},nm={full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},om={date:It({formats:tm,defaultWidth:"full"}),time:It({formats:rm,defaultWidth:"full"}),dateTime:It({formats:nm,defaultWidth:"full"})},im={lastWeek:"'sonuncu' eeee p -'də'",yesterday:"'dünən' p -'də'",today:"'bugün' p -'də'",tomorrow:"'sabah' p -'də'",nextWeek:"eeee p -'də'",other:"P"},am=(e,o,g,C)=>im[e],sm={narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},um={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},cm={narrow:["Y","F","M","A","M","İ","İ","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},lm={narrow:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],short:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],abbreviated:["Baz","Baz.e","Çər.a","Çər","Cüm.a","Cüm","Şə"],wide:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},dm={narrow:{am:"am",pm:"pm",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},fm={narrow:{am:"a",pm:"p",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},Io={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},hm=e=>{if(e===0)return e+"-ıncı";const o=e%10,g=e%100-o,C=e>=100?100:null;return Io[o]?Io[o]:Io[g]?Io[g]:C!==null?Io[C]:""},pm={ordinalNumber:(e,o)=>{const g=Number(e),C=hm(g);return g+C},era:ft({values:sm,defaultWidth:"wide"}),quarter:ft({values:um,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:cm,defaultWidth:"wide"}),day:ft({values:lm,defaultWidth:"wide"}),dayPeriod:ft({values:dm,defaultWidth:"wide",formattingValues:fm,defaultFormattingWidth:"wide"})},ym=/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,mm=/\d+/i,gm={narrow:/^(b|a)$/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i,wide:/^(bizim eradan əvvəl|bizim era)$/i},vm={any:[/^b$/i,/^(a|c)$/i]},bm={narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},wm={any:[/1/i,/2/i,/3/i,/4/i]},Cm={narrow:/^[(?-i)yfmaisond]$/i,abbreviated:/^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,wide:/^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i},Sm={narrow:[/^[(?-i)y]$/i,/^[(?-i)f]$/i,/^[(?-i)m]$/i,/^[(?-i)a]$/i,/^[(?-i)m]$/i,/^[(?-i)i]$/i,/^[(?-i)i]$/i,/^[(?-i)a]$/i,/^[(?-i)s]$/i,/^[(?-i)o]$/i,/^[(?-i)n]$/i,/^[(?-i)d]$/i],abbreviated:[/^Yan$/i,/^Fev$/i,/^Mar$/i,/^Apr$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avg$/i,/^Sen$/i,/^Okt$/i,/^Noy$/i,/^Dek$/i],wide:[/^Yanvar$/i,/^Fevral$/i,/^Mart$/i,/^Aprel$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avgust$/i,/^Sentyabr$/i,/^Oktyabr$/i,/^Noyabr$/i,/^Dekabr$/i]},_m={narrow:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,short:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,abbreviated:/^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i,wide:/^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i},Mm={narrow:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i],abbreviated:[/^Baz$/i,/^Baz\.e$/i,/^Çər\.a$/i,/^Çər$/i,/^Cüm\.a$/i,/^Cüm$/i,/^Şə$/i],wide:[/^Bazar$/i,/^Bazar ertəsi$/i,/^Çərşənbə axşamı$/i,/^Çərşənbə$/i,/^Cümə axşamı$/i,/^Cümə$/i,/^Şənbə$/i],any:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i]},Em={narrow:/^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,any:/^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i},xm={any:{am:/^a$/i,pm:/^p$/i,midnight:/^gecəyarı$/i,noon:/^gün$/i,morning:/səhər$/i,afternoon:/gündüz$/i,evening:/axşam$/i,night:/gecə$/i}},Pm={ordinalNumber:Yr({matchPattern:ym,parsePattern:mm,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:gm,defaultMatchWidth:"wide",parsePatterns:vm,defaultParseWidth:"any"}),quarter:ht({matchPatterns:bm,defaultMatchWidth:"wide",parsePatterns:wm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Cm,defaultMatchWidth:"wide",parsePatterns:Sm,defaultParseWidth:"narrow"}),day:ht({matchPatterns:_m,defaultMatchWidth:"wide",parsePatterns:Mm,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Em,defaultMatchWidth:"any",parsePatterns:xm,defaultParseWidth:"any"})},Am={code:"az",formatDistance:em,formatLong:om,formatRelative:am,localize:pm,match:Pm,options:{weekStartsOn:1,firstWeekContainsDate:1}},Om={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},Tm=(e,o,g)=>{let C;const P=Om[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"en "+C:"hace "+C:C},Im={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Nm={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Lm={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},km={date:It({formats:Im,defaultWidth:"full"}),time:It({formats:Nm,defaultWidth:"full"}),dateTime:It({formats:Lm,defaultWidth:"full"})},Bm={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Hm={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},jm=(e,o,g,C)=>o.getHours()!==1?Hm[e]:Bm[e],Dm={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},Rm={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Vm={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},Um={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},Fm={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},zm={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},Km={ordinalNumber:(e,o)=>Number(e)+"º",era:ft({values:Dm,defaultWidth:"wide"}),quarter:ft({values:Rm,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:Vm,defaultWidth:"wide"}),day:ft({values:Um,defaultWidth:"wide"}),dayPeriod:ft({values:Fm,defaultWidth:"wide",formattingValues:zm,defaultFormattingWidth:"wide"})},Wm=/^(\d+)(º)?/i,Jm=/\d+/i,$m={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},Gm={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},qm={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Zm={any:[/1/i,/2/i,/3/i,/4/i]},Xm={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},Ym={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},Qm={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},eg={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},tg={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},rg={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},ng={ordinalNumber:Yr({matchPattern:Wm,parsePattern:Jm,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:$m,defaultMatchWidth:"wide",parsePatterns:Gm,defaultParseWidth:"any"}),quarter:ht({matchPatterns:qm,defaultMatchWidth:"wide",parsePatterns:Zm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Xm,defaultMatchWidth:"wide",parsePatterns:Ym,defaultParseWidth:"any"}),day:ht({matchPatterns:Qm,defaultMatchWidth:"wide",parsePatterns:eg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:tg,defaultMatchWidth:"any",parsePatterns:rg,defaultParseWidth:"any"})},og={code:"es",formatDistance:Tm,formatLong:km,formatRelative:jm,localize:Km,match:ng,options:{weekStartsOn:1,firstWeekContainsDate:1}},ig={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},ag=(e,o,g)=>{let C;const P=ig[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"dans "+C:"il y a "+C:C},sg={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},ug={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},cg={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},lg={date:It({formats:sg,defaultWidth:"full"}),time:It({formats:ug,defaultWidth:"full"}),dateTime:It({formats:cg,defaultWidth:"full"})},dg={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},fg=(e,o,g,C)=>dg[e],hg={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},pg={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},yg={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},mg={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},gg={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},vg=(e,o)=>{const g=Number(e),C=o?.unit;if(g===0)return"0";const P=["year","week","hour","minute","second"];let E;return g===1?E=C&&P.includes(C)?"ère":"er":E="ème",g+E},bg=["MMM","MMMM"],wg={preprocessor:(e,o)=>e.getDate()===1||!o.some(C=>C.isToken&&bg.includes(C.value))?o:o.map(C=>C.isToken&&C.value==="do"?{isToken:!0,value:"d"}:C),ordinalNumber:vg,era:ft({values:hg,defaultWidth:"wide"}),quarter:ft({values:pg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:yg,defaultWidth:"wide"}),day:ft({values:mg,defaultWidth:"wide"}),dayPeriod:ft({values:gg,defaultWidth:"wide"})},Cg=/^(\d+)(ième|ère|ème|er|e)?/i,Sg=/\d+/i,_g={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},Mg={any:[/^av/i,/^ap/i]},Eg={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},xg={any:[/1/i,/2/i,/3/i,/4/i]},Pg={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Ag={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},Og={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},Tg={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Ig={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Ng={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Lg={ordinalNumber:Yr({matchPattern:Cg,parsePattern:Sg,valueCallback:e=>parseInt(e)}),era:ht({matchPatterns:_g,defaultMatchWidth:"wide",parsePatterns:Mg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Eg,defaultMatchWidth:"wide",parsePatterns:xg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Pg,defaultMatchWidth:"wide",parsePatterns:Ag,defaultParseWidth:"any"}),day:ht({matchPatterns:Og,defaultMatchWidth:"wide",parsePatterns:Tg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Ig,defaultMatchWidth:"any",parsePatterns:Ng,defaultParseWidth:"any"})},kg={code:"fr",formatDistance:ag,formatLong:lg,formatRelative:fg,localize:wg,match:Lg,options:{weekStartsOn:1,firstWeekContainsDate:4}},Bg={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},Hg=(e,o,g)=>{let C;const P=Bg[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"over "+C:C+" geleden":C},jg={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Dg={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Rg={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vg={date:It({formats:jg,defaultWidth:"full"}),time:It({formats:Dg,defaultWidth:"full"}),dateTime:It({formats:Rg,defaultWidth:"full"})},Ug={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Fg=(e,o,g,C)=>Ug[e],zg={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Kg={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Wg={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},Jg={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},$g={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},Gg={ordinalNumber:(e,o)=>Number(e)+"e",era:ft({values:zg,defaultWidth:"wide"}),quarter:ft({values:Kg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Wg,defaultWidth:"wide"}),day:ft({values:Jg,defaultWidth:"wide"}),dayPeriod:ft({values:$g,defaultWidth:"wide"})},qg=/^(\d+)e?/i,Zg=/\d+/i,Xg={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Yg={any:[/^v/,/^n/]},Qg={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},e4={any:[/1/i,/2/i,/3/i,/4/i]},t4={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},r4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},n4={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},o4={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},i4={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},a4={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},s4={ordinalNumber:Yr({matchPattern:qg,parsePattern:Zg,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Xg,defaultMatchWidth:"wide",parsePatterns:Yg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Qg,defaultMatchWidth:"wide",parsePatterns:e4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:t4,defaultMatchWidth:"wide",parsePatterns:r4,defaultParseWidth:"any"}),day:ht({matchPatterns:n4,defaultMatchWidth:"wide",parsePatterns:o4,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:i4,defaultMatchWidth:"any",parsePatterns:a4,defaultParseWidth:"any"})},u4={code:"nl",formatDistance:Hg,formatLong:Vg,formatRelative:Fg,localize:Gg,match:s4,options:{weekStartsOn:1,firstWeekContainsDate:4}},c4={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function l4(e,o){if(o===1)return e.one;const g=o%100;if(g<=20&&g>10)return e.other;const C=g%10;return C>=2&&C<=4?e.twoFour:e.other}function za(e,o,g){const C=l4(e,o);return(typeof C=="string"?C:C[g]).replace("{{count}}",String(o))}const d4=(e,o,g)=>{const C=c4[e];return g?.addSuffix?g.comparison&&g.comparison>0?"za "+za(C,o,"future"):za(C,o,"past")+" temu":za(C,o,"regular")},f4={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},h4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},p4={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y4={date:It({formats:f4,defaultWidth:"full"}),time:It({formats:h4,defaultWidth:"full"}),dateTime:It({formats:p4,defaultWidth:"full"})},m4={masculine:"ostatni",feminine:"ostatnia"},g4={masculine:"ten",feminine:"ta"},v4={masculine:"następny",feminine:"następna"},b4={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function Dc(e,o,g,C){let P;if(xo(o,g,C))P=g4;else if(e==="lastWeek")P=m4;else if(e==="nextWeek")P=v4;else throw new Error(`Cannot determine adjectives for token ${e}`);const E=o.getDay(),n=b4[E];return`'${P[n]}' eeee 'o' p`}const w4={lastWeek:Dc,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:Dc,other:"P"},C4=(e,o,g,C)=>{const P=w4[e];return typeof P=="function"?P(e,o,g,C):P},S4={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},_4={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},M4={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},E4={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},x4={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},P4={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},A4={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},O4={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},T4={ordinalNumber:(e,o)=>String(e),era:ft({values:S4,defaultWidth:"wide"}),quarter:ft({values:_4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:M4,defaultWidth:"wide",formattingValues:E4,defaultFormattingWidth:"wide"}),day:ft({values:x4,defaultWidth:"wide",formattingValues:P4,defaultFormattingWidth:"wide"}),dayPeriod:ft({values:A4,defaultWidth:"wide",formattingValues:O4,defaultFormattingWidth:"wide"})},I4=/^(\d+)?/i,N4=/\d+/i,L4={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},k4={any:[/^p/i,/^n/i]},B4={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},H4={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},j4={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},D4={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},R4={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},V4={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},U4={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},F4={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},z4={ordinalNumber:Yr({matchPattern:I4,parsePattern:N4,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:L4,defaultMatchWidth:"wide",parsePatterns:k4,defaultParseWidth:"any"}),quarter:ht({matchPatterns:B4,defaultMatchWidth:"wide",parsePatterns:H4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:j4,defaultMatchWidth:"wide",parsePatterns:D4,defaultParseWidth:"any"}),day:ht({matchPatterns:R4,defaultMatchWidth:"wide",parsePatterns:V4,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:U4,defaultMatchWidth:"any",parsePatterns:F4,defaultParseWidth:"any"})},K4={code:"pl",formatDistance:d4,formatLong:y4,formatRelative:C4,localize:T4,match:z4,options:{weekStartsOn:1,firstWeekContainsDate:4}};function No(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function dr(e){return(o,g)=>g?.addSuffix?g.comparison&&g.comparison>0?e.future?No(e.future,o):"через "+No(e.regular,o):e.past?No(e.past,o):No(e.regular,o)+" назад":No(e.regular,o)}const W4={lessThanXSeconds:dr({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:dr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,o)=>o?.addSuffix?o.comparison&&o.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:dr({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:dr({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:dr({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:dr({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:dr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:dr({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:dr({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:dr({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:dr({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:dr({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:dr({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:dr({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:dr({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},J4=(e,o,g)=>W4[e](o,g),$4={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},G4={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},q4={any:"{{date}}, {{time}}"},Z4={date:It({formats:$4,defaultWidth:"full"}),time:It({formats:G4,defaultWidth:"full"}),dateTime:It({formats:q4,defaultWidth:"any"})},Ka=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function X4(e){const o=Ka[e];switch(e){case 0:return"'в прошлое "+o+" в' p";case 1:case 2:case 4:return"'в прошлый "+o+" в' p";case 3:case 5:case 6:return"'в прошлую "+o+" в' p"}}function Rc(e){const o=Ka[e];return e===2?"'во "+o+" в' p":"'в "+o+" в' p"}function Y4(e){const o=Ka[e];switch(e){case 0:return"'в следующее "+o+" в' p";case 1:case 2:case 4:return"'в следующий "+o+" в' p";case 3:case 5:case 6:return"'в следующую "+o+" в' p"}}const Q4={lastWeek:(e,o,g)=>{const C=e.getDay();return xo(e,o,g)?Rc(C):X4(C)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,o,g)=>{const C=e.getDay();return xo(e,o,g)?Rc(C):Y4(C)},other:"P"},e6=(e,o,g,C)=>{const P=Q4[e];return typeof P=="function"?P(o,g,C):P},t6={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},r6={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},n6={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},o6={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},i6={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},a6={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},s6={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},u6={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;let P;return C==="date"?P="-е":C==="week"||C==="minute"||C==="second"?P="-я":P="-й",g+P},era:ft({values:t6,defaultWidth:"wide"}),quarter:ft({values:r6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:n6,defaultWidth:"wide",formattingValues:o6,defaultFormattingWidth:"wide"}),day:ft({values:i6,defaultWidth:"wide"}),dayPeriod:ft({values:a6,defaultWidth:"any",formattingValues:s6,defaultFormattingWidth:"wide"})},c6=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,l6=/\d+/i,d6={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},f6={any:[/^д/i,/^н/i]},h6={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},p6={any:[/1/i,/2/i,/3/i,/4/i]},y6={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},m6={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},g6={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},v6={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},b6={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},w6={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},C6={ordinalNumber:Yr({matchPattern:c6,parsePattern:l6,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:d6,defaultMatchWidth:"wide",parsePatterns:f6,defaultParseWidth:"any"}),quarter:ht({matchPatterns:h6,defaultMatchWidth:"wide",parsePatterns:p6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:y6,defaultMatchWidth:"wide",parsePatterns:m6,defaultParseWidth:"any"}),day:ht({matchPatterns:g6,defaultMatchWidth:"wide",parsePatterns:v6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:b6,defaultMatchWidth:"wide",parsePatterns:w6,defaultParseWidth:"any"})},S6={code:"ru",formatDistance:J4,formatLong:Z4,formatRelative:e6,localize:u6,match:C6,options:{weekStartsOn:1,firstWeekContainsDate:1}},_6={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},M6=(e,o,g)=>{let C;const P=_6[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" önce":C},E6={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},x6={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},P6={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},A6={date:It({formats:E6,defaultWidth:"full"}),time:It({formats:x6,defaultWidth:"full"}),dateTime:It({formats:P6,defaultWidth:"full"})},O6={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},T6=(e,o,g,C)=>O6[e],I6={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},N6={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},L6={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},k6={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},B6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},H6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},j6={ordinalNumber:(e,o)=>Number(e)+".",era:ft({values:I6,defaultWidth:"wide"}),quarter:ft({values:N6,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:L6,defaultWidth:"wide"}),day:ft({values:k6,defaultWidth:"wide"}),dayPeriod:ft({values:B6,defaultWidth:"wide",formattingValues:H6,defaultFormattingWidth:"wide"})},D6=/^(\d+)(\.)?/i,R6=/\d+/i,V6={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},U6={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},F6={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},z6={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},K6={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},W6={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},J6={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},$6={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},G6={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},q6={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},Z6={ordinalNumber:Yr({matchPattern:D6,parsePattern:R6,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:V6,defaultMatchWidth:"wide",parsePatterns:U6,defaultParseWidth:"any"}),quarter:ht({matchPatterns:F6,defaultMatchWidth:"wide",parsePatterns:z6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:K6,defaultMatchWidth:"wide",parsePatterns:W6,defaultParseWidth:"any"}),day:ht({matchPatterns:J6,defaultMatchWidth:"wide",parsePatterns:$6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:G6,defaultMatchWidth:"any",parsePatterns:q6,defaultParseWidth:"any"})},X6={code:"tr",formatDistance:M6,formatLong:A6,formatRelative:T6,localize:j6,match:Z6,options:{weekStartsOn:1,firstWeekContainsDate:1}};function Lo(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function fr(e){return(o,g)=>g&&g.addSuffix?g.comparison&&g.comparison>0?e.future?Lo(e.future,o):"за "+Lo(e.regular,o):e.past?Lo(e.past,o):Lo(e.regular,o)+" тому":Lo(e.regular,o)}const Y6=(e,o)=>o&&o.addSuffix?o.comparison&&o.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",Q6={lessThanXSeconds:fr({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:fr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:Y6,lessThanXMinutes:fr({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:fr({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:fr({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:fr({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:fr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:fr({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:fr({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:fr({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:fr({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:fr({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:fr({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:fr({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:fr({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},e5=(e,o,g)=>(g=g||{},Q6[e](o,g)),t5={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},r5={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},n5={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},o5={date:It({formats:t5,defaultWidth:"full"}),time:It({formats:r5,defaultWidth:"full"}),dateTime:It({formats:n5,defaultWidth:"full"})},Wa=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function i5(e){const o=Wa[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+o+" о' p";case 1:case 2:case 4:return"'у минулий "+o+" о' p"}}function Vc(e){return"'у "+Wa[e]+" о' p"}function a5(e){const o=Wa[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+o+" о' p";case 1:case 2:case 4:return"'у наступний "+o+" о' p"}}const s5={lastWeek:(e,o,g)=>{const C=On(e),P=C.getDay();return xo(C,o,g)?Vc(P):i5(P)},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:(e,o,g)=>{const C=On(e),P=C.getDay();return xo(C,o,g)?Vc(P):a5(P)},other:"P"},u5=(e,o,g,C)=>{const P=s5[e];return typeof P=="function"?P(o,g,C):P},c5={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},l5={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},d5={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},f5={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},h5={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},p5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},y5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},m5={ordinalNumber:(e,o)=>{const g=String(o?.unit),C=Number(e);let P;return g==="date"?C===3||C===23?P="-є":P="-е":g==="minute"||g==="second"||g==="hour"?P="-а":P="-й",C+P},era:ft({values:c5,defaultWidth:"wide"}),quarter:ft({values:l5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:d5,defaultWidth:"wide",formattingValues:f5,defaultFormattingWidth:"wide"}),day:ft({values:h5,defaultWidth:"wide"}),dayPeriod:ft({values:p5,defaultWidth:"any",formattingValues:y5,defaultFormattingWidth:"wide"})},g5=/^(\d+)(-?(е|й|є|а|я))?/i,v5=/\d+/i,b5={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},w5={any:[/^д/i,/^н/i]},C5={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},S5={any:[/1/i,/2/i,/3/i,/4/i]},_5={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},M5={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},E5={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},x5={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},P5={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},A5={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},O5={ordinalNumber:Yr({matchPattern:g5,parsePattern:v5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:b5,defaultMatchWidth:"wide",parsePatterns:w5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:C5,defaultMatchWidth:"wide",parsePatterns:S5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:_5,defaultMatchWidth:"wide",parsePatterns:M5,defaultParseWidth:"any"}),day:ht({matchPatterns:E5,defaultMatchWidth:"wide",parsePatterns:x5,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:P5,defaultMatchWidth:"wide",parsePatterns:A5,defaultParseWidth:"any"})},T5={code:"uk",formatDistance:e5,formatLong:o5,formatRelative:u5,localize:m5,match:O5,options:{weekStartsOn:1,firstWeekContainsDate:1}},I5={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},N5=(e,o,g)=>{let C;const P=I5[e];return typeof P=="string"?C=P:o===1?C=P.one:C=P.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" nữa":C+" trước":C},L5={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},k5={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},B5={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},H5={date:It({formats:L5,defaultWidth:"full"}),time:It({formats:k5,defaultWidth:"full"}),dateTime:It({formats:B5,defaultWidth:"full"})},j5={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},D5=(e,o,g,C)=>j5[e],R5={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},V5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},U5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},F5={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},z5={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},K5={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},W5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},J5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},$5={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;if(C==="quarter")switch(g){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(C==="day")switch(g){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(C==="week")return g===1?"thứ nhất":"thứ "+g;if(C==="dayOfYear")return g===1?"đầu tiên":"thứ "+g}return String(g)},era:ft({values:R5,defaultWidth:"wide"}),quarter:ft({values:V5,defaultWidth:"wide",formattingValues:U5,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:F5,defaultWidth:"wide",formattingValues:z5,defaultFormattingWidth:"wide"}),day:ft({values:K5,defaultWidth:"wide"}),dayPeriod:ft({values:W5,defaultWidth:"wide",formattingValues:J5,defaultFormattingWidth:"wide"})},G5=/^(\d+)/i,q5=/\d+/i,Z5={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},X5={any:[/^t/i,/^s/i]},Y5={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},Q5={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},e8={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},t8={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},r8={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},n8={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},o8={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},i8={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},a8={ordinalNumber:Yr({matchPattern:G5,parsePattern:q5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Z5,defaultMatchWidth:"wide",parsePatterns:X5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Y5,defaultMatchWidth:"wide",parsePatterns:Q5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:e8,defaultMatchWidth:"wide",parsePatterns:t8,defaultParseWidth:"wide"}),day:ht({matchPatterns:r8,defaultMatchWidth:"wide",parsePatterns:n8,defaultParseWidth:"wide"}),dayPeriod:ht({matchPatterns:o8,defaultMatchWidth:"wide",parsePatterns:i8,defaultParseWidth:"any"})},s8={code:"vi",formatDistance:N5,formatLong:H5,formatRelative:D5,localize:$5,match:a8,options:{weekStartsOn:1,firstWeekContainsDate:1}},u8=window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome"),Uc=Intl&&Intl.RelativeTimeFormat,c8=1e-5,Ja=4,$a=2,eo=5,Fc=9,l8={en:Cc,es:og,uk:T5,tr:X6,nl:u4,ru:S6,pl:K4,vi:s8,fr:kg,az:Am},d8=ic(),Tn=Z3({locale:"en-US",messages:{"components.transaction_status":"Success"}},d8),jr=(e,{precision:o,notation:g,compactDisplay:C}={})=>Tn.formatNumber(e,{minimumFractionDigits:o||0,maximumFractionDigits:o||0,notation:g,compactDisplay:C}),f8=["","k","M","B","T","e15","e18","e21","e24","e27","e30","e33","e36","e39","e42","e45","e48","e51","e54","e57","e60","e63","e66","e69","e72","e75","e78","e81","e84","e87","e90","e93","e96","e99","e101","e104"],zc=e=>{const o=Math.log10(Math.abs(e))/3|0;if([0,1,2].includes(o))return jr(e,{precision:eo});const C=f8[o],P=Math.pow(10,o*3);return(e/P).toFixed(5)+C},Kc=(e,o,{precision:g}={})=>Tn.formatNumber(e,{style:"currency",currency:o,minimumFractionDigits:g,maximumFractionDigits:g}),h8=(e,{precision:o}={})=>e.toFixed(o||2),Wc=e=>{const o=new Date(e),g=qt.language||"en";return`${new Intl.DateTimeFormat(g,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}).format(o)}`},p8={lessThanXSeconds:"second",xSeconds:"second",lessThanXMinutes:"minute",xMinutes:"minute",xHours:"hour",xDays:"day",xMonths:"month",xYears:"year"},y8=(e,o,g)=>{g=g||{};const C=g.locale.code||"en";return new Intl.RelativeTimeFormat(C,{style:"short"}).format(-o,p8[e]).replace(".","")},Ga=e=>{const o=new Date(e),g=qt.language!=="az"&&Uc;return`${Ny(o,{addSuffix:!0,locale:{...l8[qt.language],...g&&{formatDistance:y8}},roundingMethod:"floor"})}`},m8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric"})}, ${Tn.formatTime(o,{hour:"numeric",minute:"numeric"})}`},g8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric",weekday:"long"})}`},v8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric"})}`},b8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",year:"numeric"})}`};var Jc=(e=>(e.default="default",e.big="big",e))(Jc||{}),At=(e=>(e[e.FULL=0]="FULL",e[e.TINY=5]="TINY",e[e.LITTLE=10]="LITTLE",e[e.SMALL=15]="SMALL",e[e.MEDIUM=20]="MEDIUM",e[e.LARGE=25]="LARGE",e))(At||{});const $c=(e,o=5)=>{const g=e.length;if(g<=o)return e;const C=e.substring(0,o),P=e.substring(g-o);return`${C}...${P}`},Or=(e,o=5)=>{const[C,P]=e.split("-"),E=C.length;if(o===0||E<=13)return e;const n=$c(C,o);return P?`${n}-${P}`:`${n}`},w8=e=>Ly(e,{}),C8=e=>`${jr(e,{notation:"compact",compactDisplay:"short"})}`,S8=e=>jr(e,{precision:4}),qa=(e,o)=>e&&e.length>o?e.substring(0,o-1)+"...":e,Ci=(e,o=15)=>{const[g,C]=e.split(/(.cspr)$/),P=13,E=g.length;if(E===0||E<=P)return e;const n=g.substring(0,o),c=g.substring(E-o);return`${n}...${c}${C}`},_8=24,Si=({hash:e,href:o="./",csprName:g,hashLength:C=void 0,minified:P=!0,align:E="center"})=>{const n=g||e||"",c=g&&C===At.TINY?qa(g,_8):g,r=e?Or(e,C):null;return z.jsxs(De,{itemsSpacing:4,align:E,children:[z.jsx(Yt,{color:"primaryBlue",href:o,children:c||r}),z.jsx(_o,{value:n,minified:P})]})},M8=e=>xt({0:7.8,1:10,1.6:16,2:23,3:35,4:45,5:55},e),E8=Ce.default("div").withConfig({displayName:"truncate-box__StyledTruncateBox",componentId:"sc-17n13k-0"})(({size:e=2,lineHeight:o})=>({display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%",maxWidth:`${M8(e)}em`,"&:after":{content:"''",display:"block"},lineHeight:o?xt({sm:"1.5rem",xs:"1.25rem"},o):"unset"})),ko=wt.default.forwardRef((e,o)=>z.jsx(E8,{ref:o,...e}));var Za={exports:{}};/*! For license information please see lib.web.js.LICENSE.txt */var Gc;function x8(){return Gc||(Gc=1,function(e,o){(function(g,C){e.exports=C()})(self,()=>(()=>{var g={6667:(E,n,c)=>{c.d(n,{r:()=>r});const r="bignumber/5.7.0"},7457:(E,n,c)=>{c.d(n,{Os:()=>I,YR:()=>f,gH:()=>s,ii:()=>B});var r=c(9404),a=c.n(r),i=c(8905),y=c(7720),t=c(6667),d=a().BN;const b=new y.Vy(t.r),m={},u=9007199254740991;function f(k){return k!=null&&(s.isBigNumber(k)||typeof k=="number"&&k%1==0||typeof k=="string"&&!!k.match(/^-?[0-9]+$/)||(0,i.isHexString)(k)||typeof k=="bigint"||(0,i.isBytes)(k))}let l=!1;class s{constructor(L,N){L!==m&&b.throwError("cannot call constructor directly; use BigNumber.from",y.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=N,this._isBigNumber=!0,Object.freeze(this)}fromTwos(L){return p(h(this).fromTwos(L))}toTwos(L){return p(h(this).toTwos(L))}abs(){return this._hex[0]==="-"?s.from(this._hex.substring(1)):this}add(L){return p(h(this).add(h(L)))}sub(L){return p(h(this).sub(h(L)))}div(L){return s.from(L).isZero()&&O("division-by-zero","div"),p(h(this).div(h(L)))}mul(L){return p(h(this).mul(h(L)))}mod(L){const N=h(L);return N.isNeg()&&O("division-by-zero","mod"),p(h(this).umod(N))}pow(L){const N=h(L);return N.isNeg()&&O("negative-power","pow"),p(h(this).pow(N))}and(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","and"),p(h(this).and(N))}or(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","or"),p(h(this).or(N))}xor(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","xor"),p(h(this).xor(N))}mask(L){return(this.isNegative()||L<0)&&O("negative-width","mask"),p(h(this).maskn(L))}shl(L){return(this.isNegative()||L<0)&&O("negative-width","shl"),p(h(this).shln(L))}shr(L){return(this.isNegative()||L<0)&&O("negative-width","shr"),p(h(this).shrn(L))}eq(L){return h(this).eq(h(L))}lt(L){return h(this).lt(h(L))}lte(L){return h(this).lte(h(L))}gt(L){return h(this).gt(h(L))}gte(L){return h(this).gte(h(L))}isNegative(){return this._hex[0]==="-"}isZero(){return h(this).isZero()}toNumber(){try{return h(this).toNumber()}catch{O("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return b.throwError("this platform does not support BigInt",y.Vy.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?l||(l=!0,b.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?b.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",y.Vy.errors.UNEXPECTED_ARGUMENT,{}):b.throwError("BigNumber.toString does not accept parameters",y.Vy.errors.UNEXPECTED_ARGUMENT,{})),h(this).toString(10)}toHexString(){return this._hex}toJSON(L){return{type:"BigNumber",hex:this.toHexString()}}static from(L){if(L instanceof s)return L;if(typeof L=="string")return L.match(/^-?0x[0-9a-f]+$/i)?new s(m,v(L)):L.match(/^-?[0-9]+$/)?new s(m,v(new d(L))):b.throwArgumentError("invalid BigNumber string","value",L);if(typeof L=="number")return L%1&&O("underflow","BigNumber.from",L),(L>=u||L<=-u)&&O("overflow","BigNumber.from",L),s.from(String(L));const N=L;if(typeof N=="bigint")return s.from(N.toString());if((0,i.isBytes)(N))return s.from((0,i.hexlify)(N));if(N)if(N.toHexString){const H=N.toHexString();if(typeof H=="string")return s.from(H)}else{let H=N._hex;if(H==null&&N.type==="BigNumber"&&(H=N.hex),typeof H=="string"&&((0,i.isHexString)(H)||H[0]==="-"&&(0,i.isHexString)(H.substring(1))))return s.from(H)}return b.throwArgumentError("invalid BigNumber value","value",L)}static isBigNumber(L){return!(!L||!L._isBigNumber)}}function v(k){if(typeof k!="string")return v(k.toString(16));if(k[0]==="-")return(k=k.substring(1))[0]==="-"&&b.throwArgumentError("invalid hex","value",k),(k=v(k))==="0x00"?k:"-"+k;if(k.substring(0,2)!=="0x"&&(k="0x"+k),k==="0x")return"0x00";for(k.length%2&&(k="0x0"+k.substring(2));k.length>4&&k.substring(0,4)==="0x00";)k="0x"+k.substring(4);return k}function p(k){return s.from(v(k))}function h(k){const L=s.from(k).toHexString();return L[0]==="-"?new d("-"+L.substring(3),16):new d(L.substring(2),16)}function O(k,L,N){const H={fault:k,operation:L};return N!=null&&(H.value=N),b.throwError(k,y.Vy.errors.NUMERIC_FAULT,H)}function I(k){return new d(k,36).toString(16)}function B(k){return new d(k,16).toString(36)}},6077:(E,n,c)=>{c.r(n),c.d(n,{BigNumber:()=>r.gH,FixedFormat:()=>p,FixedNumber:()=>h,_base16To36:()=>r.ii,_base36To16:()=>r.Os,formatFixed:()=>s,parseFixed:()=>v});var r=c(7457),a=c(8905),i=c(7720),y=c(6667);const t=new i.Vy(y.r),d={},b=r.gH.from(0),m=r.gH.from(-1);function u(B,k,L,N){const H={fault:k,operation:L};return N!==void 0&&(H.value=N),t.throwError(B,i.Vy.errors.NUMERIC_FAULT,H)}let f="0";for(;f.length<256;)f+=f;function l(B){if(typeof B!="number")try{B=r.gH.from(B).toNumber()}catch{}return typeof B=="number"&&B>=0&&B<=256&&!(B%1)?"1"+f.substring(0,B):t.throwArgumentError("invalid decimal size","decimals",B)}function s(B,k){k==null&&(k=0);const L=l(k),N=(B=r.gH.from(B)).lt(b);N&&(B=B.mul(m));let H=B.mod(L).toString();for(;H.length2&&t.throwArgumentError("too many decimal points","value",B);let j=H[0],U=H[1];for(j||(j="0"),U||(U="0");U[U.length-1]==="0";)U=U.substring(0,U.length-1);for(U.length>L.length-1&&u("fractional component exceeds decimals","underflow","parseFixed"),U===""&&(U="0");U.lengthk[U]==null?T:(typeof k[U]!==_&&t.throwArgumentError("invalid fixed format ("+U+" not "+_+")","format."+U,k[U]),k[U]);L=j("signed","boolean",L),N=j("width","number",N),H=j("decimals","number",H)}return N%8&&t.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",N),H>80&&t.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",H),new p(d,L,N,H)}}class h{constructor(k,L,N,H){k!==d&&t.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=H,this._hex=L,this._value=N,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(k){this.format.name!==k.format.name&&t.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",k)}addUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.add(N),this.format.decimals,this.format)}subUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.sub(N),this.format.decimals,this.format)}mulUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(N).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(this.format._multiplier).div(N),this.format.decimals,this.format)}floor(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return this.isNegative()&&N&&(L=L.subUnsafe(O.toFormat(L.format))),L}ceiling(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return!this.isNegative()&&N&&(L=L.addUnsafe(O.toFormat(L.format))),L}round(k){k==null&&(k=0);const L=this.toString().split(".");if(L.length===1&&L.push("0"),(k<0||k>80||k%1)&&t.throwArgumentError("invalid decimal count","decimals",k),L[1].length<=k)return this;const N=h.from("1"+f.substring(0,k),this.format),H=I.toFormat(this.format);return this.mulUnsafe(N).addUnsafe(H).floor().divUnsafe(N)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(k){if(k==null)return this._hex;k%8&&t.throwArgumentError("invalid byte width","width",k);const L=r.gH.from(this._hex).fromTwos(this.format.width).toTwos(k).toHexString();return(0,a.hexZeroPad)(L,k/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(k){return h.fromString(this._value,k)}static fromValue(k,L,N){return N!=null||L==null||(0,r.YR)(L)||(N=L,L=null),L==null&&(L=0),N==null&&(N="fixed"),h.fromString(s(k,L),p.from(N))}static fromString(k,L){L==null&&(L="fixed");const N=p.from(L),H=v(k,N.decimals);!N.signed&&H.lt(b)&&u("unsigned value cannot be negative","overflow","value",k);let j=null;N.signed?j=H.toTwos(N.width).toHexString():(j=H.toHexString(),j=(0,a.hexZeroPad)(j,N.width/8));const U=s(H,N.decimals);return new h(d,j,U,N)}static fromBytes(k,L){L==null&&(L="fixed");const N=p.from(L);if((0,a.arrayify)(k).length>N.width/8)throw new Error("overflow");let H=r.gH.from(k);N.signed&&(H=H.fromTwos(N.width));const j=H.toTwos((N.signed?0:1)+N.width).toHexString(),U=s(H,N.decimals);return new h(d,j,U,N)}static from(k,L){if(typeof k=="string")return h.fromString(k,L);if((0,a.isBytes)(k))return h.fromBytes(k,L);try{return h.fromValue(k,0,L)}catch(N){if(N.code!==i.Vy.errors.INVALID_ARGUMENT)throw N}return t.throwArgumentError("invalid FixedNumber value","value",k)}static isFixedNumber(k){return!(!k||!k._isFixedNumber)}}const O=h.from(1),I=h.from("0.5")},8905:(E,n,c)=>{c.r(n),c.d(n,{arrayify:()=>b,concat:()=>m,hexConcat:()=>O,hexDataLength:()=>p,hexDataSlice:()=>h,hexStripZeros:()=>B,hexValue:()=>I,hexZeroPad:()=>k,hexlify:()=>v,isBytes:()=>d,isBytesLike:()=>y,isHexString:()=>l,joinSignature:()=>N,splitSignature:()=>L,stripZeros:()=>u,zeroPad:()=>f});const r=new(c(7720)).Vy("bytes/5.7.0");function a(H){return!!H.toHexString}function i(H){return H.slice||(H.slice=function(){const j=Array.prototype.slice.call(arguments);return i(new Uint8Array(Array.prototype.slice.apply(H,j)))}),H}function y(H){return l(H)&&!(H.length%2)||d(H)}function t(H){return typeof H=="number"&&H==H&&H%1==0}function d(H){if(H==null)return!1;if(H.constructor===Uint8Array)return!0;if(typeof H=="string"||!t(H.length)||H.length<0)return!1;for(let j=0;j=256)return!1}return!0}function b(H,j){if(j||(j={}),typeof H=="number"){r.checkSafeUint53(H,"invalid arrayify value");const U=[];for(;H;)U.unshift(255&H),H=parseInt(String(H/256));return U.length===0&&U.push(0),i(new Uint8Array(U))}if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H)&&(H=H.toHexString()),l(H)){let U=H.substring(2);U.length%2&&(j.hexPad==="left"?U="0"+U:j.hexPad==="right"?U+="0":r.throwArgumentError("hex data is odd-length","value",H));const _=[];for(let T=0;Tb(T)),U=j.reduce((T,x)=>T+x.length,0),_=new Uint8Array(U);return j.reduce((T,x)=>(_.set(x,T),T+x.length),0),i(_)}function u(H){let j=b(H);if(j.length===0)return j;let U=0;for(;Uj&&r.throwArgumentError("value out of range","value",arguments[0]);const U=new Uint8Array(j);return U.set(H,j-H.length),i(U)}function l(H,j){return!(typeof H!="string"||!H.match(/^0x[0-9A-Fa-f]*$/)||j&&H.length!==2+2*j)}const s="0123456789abcdef";function v(H,j){if(j||(j={}),typeof H=="number"){r.checkSafeUint53(H,"invalid hexlify value");let U="";for(;H;)U=s[15&H]+U,H=Math.floor(H/16);return U.length?(U.length%2&&(U="0"+U),"0x"+U):"0x00"}if(typeof H=="bigint")return(H=H.toString(16)).length%2?"0x0"+H:"0x"+H;if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H))return H.toHexString();if(l(H))return H.length%2&&(j.hexPad==="left"?H="0x0"+H.substring(2):j.hexPad==="right"?H+="0":r.throwArgumentError("hex data is odd-length","value",H)),H.toLowerCase();if(d(H)){let U="0x";for(let _=0;_>4]+s[15&T]}return U}return r.throwArgumentError("invalid hexlify value","value",H)}function p(H){if(typeof H!="string")H=v(H);else if(!l(H)||H.length%2)return null;return(H.length-2)/2}function h(H,j,U){return typeof H!="string"?H=v(H):(!l(H)||H.length%2)&&r.throwArgumentError("invalid hexData","value",H),j=2+2*j,U!=null?"0x"+H.substring(j,2+2*U):"0x"+H.substring(j)}function O(H){let j="0x";return H.forEach(U=>{j+=v(U).substring(2)}),j}function I(H){const j=B(v(H,{hexPad:"left"}));return j==="0x"?"0x0":j}function B(H){typeof H!="string"&&(H=v(H)),l(H)||r.throwArgumentError("invalid hex string","value",H),H=H.substring(2);let j=0;for(;j2*j+2&&r.throwArgumentError("value out of range","value",arguments[1]);H.length<2*j+2;)H="0x0"+H.substring(2);return H}function L(H){const j={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(y(H)){let U=b(H);U.length===64?(j.v=27+(U[32]>>7),U[32]&=127,j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64))):U.length===65?(j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64)),j.v=U[64]):r.throwArgumentError("invalid signature string","signature",H),j.v<27&&(j.v===0||j.v===1?j.v+=27:r.throwArgumentError("signature invalid v byte","signature",H)),j.recoveryParam=1-j.v%2,j.recoveryParam&&(U[32]|=128),j._vs=v(U.slice(32,64))}else{if(j.r=H.r,j.s=H.s,j.v=H.v,j.recoveryParam=H.recoveryParam,j._vs=H._vs,j._vs!=null){const T=f(b(j._vs),32);j._vs=v(T);const x=T[0]>=128?1:0;j.recoveryParam==null?j.recoveryParam=x:j.recoveryParam!==x&&r.throwArgumentError("signature recoveryParam mismatch _vs","signature",H),T[0]&=127;const M=v(T);j.s==null?j.s=M:j.s!==M&&r.throwArgumentError("signature v mismatch _vs","signature",H)}if(j.recoveryParam==null)j.v==null?r.throwArgumentError("signature missing v and recoveryParam","signature",H):j.v===0||j.v===1?j.recoveryParam=j.v:j.recoveryParam=1-j.v%2;else if(j.v==null)j.v=27+j.recoveryParam;else{const T=j.v===0||j.v===1?j.v:1-j.v%2;j.recoveryParam!==T&&r.throwArgumentError("signature recoveryParam mismatch v","signature",H)}j.r!=null&&l(j.r)?j.r=k(j.r,32):r.throwArgumentError("signature missing or invalid r","signature",H),j.s!=null&&l(j.s)?j.s=k(j.s,32):r.throwArgumentError("signature missing or invalid s","signature",H);const U=b(j.s);U[0]>=128&&r.throwArgumentError("signature s out of range","signature",H),j.recoveryParam&&(U[0]|=128);const _=v(U);j._vs&&(l(j._vs)||r.throwArgumentError("signature invalid _vs","signature",H),j._vs=k(j._vs,32)),j._vs==null?j._vs=_:j._vs!==_&&r.throwArgumentError("signature _vs mismatch v and s","signature",H)}return j.yParityAndS=j._vs,j.compact=j.r+j.yParityAndS.substring(2),j}function N(H){return v(m([(H=L(H)).r,H.s,H.recoveryParam?"0x1c":"0x1b"]))}},1551:(E,n,c)=>{c.r(n),c.d(n,{AddressZero:()=>r,EtherSymbol:()=>f,HashZero:()=>u,MaxUint256:()=>m,NegativeOne:()=>i,One:()=>t,Two:()=>d,WeiPerEther:()=>b,Zero:()=>y});const r="0x0000000000000000000000000000000000000000";var a=c(7457);const i=a.gH.from(-1),y=a.gH.from(0),t=a.gH.from(1),d=a.gH.from(2),b=a.gH.from("1000000000000000000"),m=a.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),u="0x0000000000000000000000000000000000000000000000000000000000000000",f="Ξ"},7720:(E,n,c)=>{c.d(n,{Vy:()=>f});let r=!1,a=!1;const i={debug:1,default:2,info:2,warning:3,error:4,off:5};let y=i.default,t=null;const d=function(){try{const l=[];if(["NFD","NFC","NFKD","NFKC"].forEach(s=>{try{if("test".normalize(s)!=="test")throw new Error("bad normalize")}catch{l.push(s)}}),l.length)throw new Error("missing "+l.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(l){return l.message}return null}();var b,m;(function(l){l.DEBUG="DEBUG",l.INFO="INFO",l.WARNING="WARNING",l.ERROR="ERROR",l.OFF="OFF"})(b||(b={})),function(l){l.UNKNOWN_ERROR="UNKNOWN_ERROR",l.NOT_IMPLEMENTED="NOT_IMPLEMENTED",l.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",l.NETWORK_ERROR="NETWORK_ERROR",l.SERVER_ERROR="SERVER_ERROR",l.TIMEOUT="TIMEOUT",l.BUFFER_OVERRUN="BUFFER_OVERRUN",l.NUMERIC_FAULT="NUMERIC_FAULT",l.MISSING_NEW="MISSING_NEW",l.INVALID_ARGUMENT="INVALID_ARGUMENT",l.MISSING_ARGUMENT="MISSING_ARGUMENT",l.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",l.CALL_EXCEPTION="CALL_EXCEPTION",l.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",l.NONCE_EXPIRED="NONCE_EXPIRED",l.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",l.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",l.TRANSACTION_REPLACED="TRANSACTION_REPLACED",l.ACTION_REJECTED="ACTION_REJECTED"}(m||(m={}));const u="0123456789abcdef";class f{constructor(s){Object.defineProperty(this,"version",{enumerable:!0,value:s,writable:!1})}_log(s,v){const p=s.toLowerCase();i[p]==null&&this.throwArgumentError("invalid log level name","logLevel",s),y>i[p]||console.log.apply(console,v)}debug(...s){this._log(f.levels.DEBUG,s)}info(...s){this._log(f.levels.INFO,s)}warn(...s){this._log(f.levels.WARNING,s)}makeError(s,v,p){if(a)return this.makeError("censored error",v,{});v||(v=f.errors.UNKNOWN_ERROR),p||(p={});const h=[];Object.keys(p).forEach(k=>{const L=p[k];try{if(L instanceof Uint8Array){let N="";for(let H=0;H>4],N+=u[15&L[H]];h.push(k+"=Uint8Array(0x"+N+")")}else h.push(k+"="+JSON.stringify(L))}catch{h.push(k+"="+JSON.stringify(p[k].toString()))}}),h.push(`code=${v}`),h.push(`version=${this.version}`);const O=s;let I="";switch(v){case m.NUMERIC_FAULT:{I="NUMERIC_FAULT";const k=s;switch(k){case"overflow":case"underflow":case"division-by-zero":I+="-"+k;break;case"negative-power":case"negative-width":I+="-unsupported";break;case"unbound-bitwise-result":I+="-unbound-result"}break}case m.CALL_EXCEPTION:case m.INSUFFICIENT_FUNDS:case m.MISSING_NEW:case m.NONCE_EXPIRED:case m.REPLACEMENT_UNDERPRICED:case m.TRANSACTION_REPLACED:case m.UNPREDICTABLE_GAS_LIMIT:I=v}I&&(s+=" [ See: https://links.ethers.org/v5-errors-"+I+" ]"),h.length&&(s+=" ("+h.join(", ")+")");const B=new Error(s);return B.reason=O,B.code=v,Object.keys(p).forEach(function(k){B[k]=p[k]}),B}throwError(s,v,p){throw this.makeError(s,v,p)}throwArgumentError(s,v,p){return this.throwError(s,f.errors.INVALID_ARGUMENT,{argument:v,value:p})}assert(s,v,p,h){s||this.throwError(v,p,h)}assertArgument(s,v,p,h){s||this.throwArgumentError(v,p,h)}checkNormalize(s){d&&this.throwError("platform missing String.prototype.normalize",f.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:d})}checkSafeUint53(s,v){typeof s=="number"&&(v==null&&(v="value not safe"),(s<0||s>=9007199254740991)&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:s}),s%1&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:s}))}checkArgumentCount(s,v,p){p=p?": "+p:"",sv&&this.throwError("too many arguments"+p,f.errors.UNEXPECTED_ARGUMENT,{count:s,expectedCount:v})}checkNew(s,v){s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}checkAbstract(s,v){s===v?this.throwError("cannot instantiate abstract class "+JSON.stringify(v.name)+" directly; use a sub-class",f.errors.UNSUPPORTED_OPERATION,{name:s.name,operation:"new"}):s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}static globalLogger(){return t||(t=new f("logger/5.7.0")),t}static setCensorship(s,v){if(!s&&v&&this.globalLogger().throwError("cannot permanently disable censorship",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),r){if(!s)return;this.globalLogger().throwError("error censorship permanent",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}a=!!s,r=!!v}static setLogLevel(s){const v=i[s.toLowerCase()];v!=null?y=v:f.globalLogger().warn("invalid log level - "+s)}static from(s){return new f(s)}}f.errors=m,f.levels=b},5111:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.curve25519=n.getSharedSecret=n.sync=n.verify=n.sign=n.getPublicKey=n.Signature=n.Point=n.RistrettoPoint=n.ExtendedPoint=n.CURVE=void 0;const r=c(3086),a=BigInt(0),i=BigInt(1),y=BigInt(2),t=BigInt(8),d=BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),b=Object.freeze({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),P:BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),l:d,n:d,h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960")});n.CURVE=b;const m=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),u=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),f=(BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"),BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")),l=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),s=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),v=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952");class p{constructor(W,X,ne,re){this.x=W,this.y=X,this.z=ne,this.t=re}static fromAffine(W){if(!(W instanceof N))throw new TypeError("ExtendedPoint#fromAffine: expected Point");return W.equals(N.ZERO)?p.ZERO:new p(W.x,W.y,i,V(W.x*W.y))}static toAffineBatch(W){const X=function(ne,re=b.P){const ye=new Array(ne.length),Te=R(ne.reduce((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=Pe,V(Pe*Be,re)),i),re);return ne.reduceRight((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=V(Pe*ye[Ve],re),V(Pe*Be,re)),Te),ye}(W.map(ne=>ne.z));return W.map((ne,re)=>ne.toAffine(X[re]))}static normalizeZ(W){return this.toAffineBatch(W).map(this.fromAffine)}equals(W){O(W);const{x:X,y:ne,z:re}=this,{x:ye,y:Te,z:Pe}=W,Be=V(X*Pe),Ve=V(ye*re),ke=V(ne*Pe),Ue=V(Te*re);return Be===Ve&&ke===Ue}negate(){return new p(V(-this.x),this.y,this.z,V(-this.t))}double(){const{x:W,y:X,z:ne}=this,{a:re}=b,ye=V(W*W),Te=V(X*X),Pe=V(y*V(ne*ne)),Be=V(re*ye),Ve=W+X,ke=V(V(Ve*Ve)-ye-Te),Ue=Be+Te,Xe=Ue-Pe,je=Be-Te,fe=V(ke*Xe),oe=V(Ue*je),de=V(ke*je),me=V(Xe*Ue);return new p(fe,oe,me,de)}add(W){O(W);const{x:X,y:ne,z:re,t:ye}=this,{x:Te,y:Pe,z:Be,t:Ve}=W,ke=V((ne-X)*(Pe+Te)),Ue=V((ne+X)*(Pe-Te)),Xe=V(Ue-ke);if(Xe===a)return this.double();const je=V(re*y*Ve),fe=V(ye*y*Be),oe=fe+je,de=Ue+ke,me=fe-je,_e=V(oe*Xe),Se=V(de*me),Ne=V(oe*me),He=V(Xe*de);return new p(_e,Se,He,Ne)}subtract(W){return this.add(W.negate())}precomputeWindow(W){const X=1+256/W,ne=[];let re=this,ye=re;for(let Te=0;Te>=Ue,fe>Be&&(fe-=ke,W+=i);const oe=je,de=je+Math.abs(fe)-1,me=Xe%2!=0,_e=fe<0;fe===0?Te=Te.add(h(me,re[oe])):ye=ye.add(h(_e,re[de]))}return p.normalizeZ([ye,Te])[0]}multiply(W,X){return this.wNAF(q(W,b.l),X)}multiplyUnsafe(W){let X=q(W,b.l,!1);const ne=p.BASE,re=p.ZERO;if(X===a)return re;if(this.equals(re)||X===i)return this;if(this.equals(ne))return this.wNAF(X);let ye=re,Te=this;for(;X>a;)X&i&&(ye=ye.add(Te)),Te=Te.double(),X>>=i;return ye}isSmallOrder(){return this.multiplyUnsafe(b.h).equals(p.ZERO)}isTorsionFree(){let W=this.multiplyUnsafe(b.l/y).double();return b.l%y&&(W=W.add(this)),W.equals(p.ZERO)}toAffine(W){const{x:X,y:ne,z:re}=this,ye=this.equals(p.ZERO);W==null&&(W=ye?t:R(re));const Te=V(X*W),Pe=V(ne*W),Be=V(re*W);if(ye)return N.ZERO;if(Be!==i)throw new Error("invZ was invalid");return new N(Te,Pe)}fromRistrettoBytes(){B()}toRistrettoBytes(){B()}fromRistrettoHash(){B()}}function h(J,W){const X=W.negate();return J?X:W}function O(J){if(!(J instanceof p))throw new TypeError("ExtendedPoint expected")}function I(J){if(!(J instanceof k))throw new TypeError("RistrettoPoint expected")}function B(){throw new Error("Legacy method: switch to RistrettoPoint")}n.ExtendedPoint=p,p.BASE=new p(b.Gx,b.Gy,i,V(b.Gx*b.Gy)),p.ZERO=new p(a,i,i,a);class k{constructor(W){this.ep=W}static calcElligatorRistrettoMap(W){const{d:X}=b,ne=V(u*W*W),re=V((ne+i)*s);let ye=BigInt(-1);const Te=V((ye-X*ne)*V(ne+X));let{isValid:Pe,value:Be}=G(re,Te),Ve=V(Be*W);S(Ve)||(Ve=V(-Ve)),Pe||(Be=Ve),Pe||(ye=ne);const ke=V(ye*(ne-i)*v-Te),Ue=Be*Be,Xe=V((Be+Be)*Te),je=V(ke*f),fe=V(i-Ue),oe=V(i+Ue);return new p(V(Xe*oe),V(fe*je),V(je*oe),V(Xe*fe))}static hashToCurve(W){const X=D((W=Z(W,64)).slice(0,32)),ne=this.calcElligatorRistrettoMap(X),re=D(W.slice(32,64)),ye=this.calcElligatorRistrettoMap(re);return new k(ne.add(ye))}static fromHex(W){W=Z(W,32);const{a:X,d:ne}=b,re="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",ye=D(W);if(!function(Se,Ne){if(Se.length!==Ne.length)return!1;for(let He=0;He=re)throw new Error("Expected 0 < hex < P");if(!X&&Te>=m)throw new Error("Expected 0 < hex < 2**256");const Pe=V(Te*Te),Be=V(Pe-i),Ve=V(ne*Pe+i);let{isValid:ke,value:Ue}=G(Be,Ve);if(!ke)throw new Error("Point.fromHex: invalid y coordinate");const Xe=(Ue&i)===i;return!!(128&W[31])!==Xe&&(Ue=V(-Ue)),new N(Ue,Te)}static async fromPrivateKey(W){return(await Ie(W)).point}toRawBytes(){const W=M(this.y);return W[31]|=this.x&i?128:0,W}toHex(){return _(this.toRawBytes())}toX25519(){const{y:W}=this;return M(V((i+W)*R(i-W)))}isTorsionFree(){return p.fromAffine(this).isTorsionFree()}equals(W){return this.x===W.x&&this.y===W.y}negate(){return new N(V(-this.x),this.y)}add(W){return p.fromAffine(this).add(p.fromAffine(W)).toAffine()}subtract(W){return this.add(W.negate())}multiply(W){return p.fromAffine(this).multiply(W,this).toAffine()}}n.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,i);class H{constructor(W,X){this.r=W,this.s=X,this.assertValidity()}static fromHex(W){const X=Z(W,64),ne=N.fromHex(X.slice(0,32),!1),re=w(X.slice(32,64));return new H(ne,re)}assertValidity(){const{r:W,s:X}=this;if(!(W instanceof N))throw new Error("Expected Point instance");return q(X,b.l,!1),this}toRawBytes(){const W=new Uint8Array(64);return W.set(this.r.toRawBytes()),W.set(M(this.s),32),W}toHex(){return _(this.toRawBytes())}}function j(...J){if(!J.every(ne=>ne instanceof Uint8Array))throw new Error("Expected Uint8Array list");if(J.length===1)return J[0];const W=J.reduce((ne,re)=>ne+re.length,0),X=new Uint8Array(W);for(let ne=0,re=0;neW.toString(16).padStart(2,"0"));function _(J){if(!(J instanceof Uint8Array))throw new Error("Uint8Array expected");let W="";for(let X=0;X=a?X:W+X}function R(J,W=b.P){if(J===a||W<=a)throw new Error(`invert: expected positive integers, got n=${J} mod=${W}`);let X=V(J,W),ne=W,re=a,ye=i;for(;X!==a;){const Te=ne/X,Pe=ne%X,Be=re-ye*Te;ne=X,X=Pe,re=ye,ye=Be}if(ne!==i)throw new Error("invert: does not exist");return V(re,W)}function F(J,W){const{P:X}=b;let ne=J;for(;W-- >a;)ne*=ne,ne%=X;return ne}function $(J){const{P:W}=b,X=BigInt(5),ne=BigInt(10),re=BigInt(20),ye=BigInt(40),Te=BigInt(80),Pe=J*J%W*J%W,Be=F(Pe,y)*Pe%W,Ve=F(Be,i)*J%W,ke=F(Ve,X)*Ve%W,Ue=F(ke,ne)*ke%W,Xe=F(Ue,re)*Ue%W,je=F(Xe,ye)*Xe%W,fe=F(je,Te)*je%W,oe=F(fe,Te)*je%W,de=F(oe,ne)*ke%W;return{pow_p_5_8:F(de,y)*J%W,b2:Pe}}function G(J,W){const X=V(W*W*W),ne=V(X*X*W);let re=V(J*X*$(J*ne).pow_p_5_8);const ye=V(W*re*re),Te=re,Pe=V(re*u),Be=ye===J,Ve=ye===V(-J),ke=ye===V(-J*u);return Be&&(re=Te),(Ve||ke)&&(re=Pe),S(re)&&(re=V(-re)),{isValid:Be||Ve,value:re}}function Q(J){return G(i,J)}function ee(J){return V(w(J),b.l)}function Z(J,W){const X=J instanceof Uint8Array?Uint8Array.from(J):T(J);if(typeof W=="number"&&X.length!==W)throw new Error(`Expected ${W} bytes`);return X}function q(J,W,X=!0){if(!W)throw new TypeError("Specify max value");if(typeof J=="number"&&Number.isSafeInteger(J)&&(J=BigInt(J)),typeof J=="bigint"&&J=a;Se--){const Ne=Pe>>Se&i;oe^=Ne,ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1],oe=Ne;const He=Ue+Xe,Le=V(He*He),Re=Ue-Xe,Ze=V(Re*Re),Fe=Le-Ze,Ge=je+fe,lt=V((je-fe)*He),Je=V(Ge*Re),it=lt+Je,vt=lt-Je;je=V(it*it),fe=V(Ve*V(vt*vt)),Ue=V(Le*Ze),Xe=V(Fe*(Le+V(Be*Fe)))}ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1];const{pow_p_5_8:de,b2:me}=$(Xe),_e=V(F(de,BigInt(3))*me);return V(Ue*_e)}(function(ne){const re=Z(ne,32);return re[31]&=127,w(re)}(W),w(ue(Z(J,32))));if(X===a)throw new Error("Invalid private or public key received");return M(V(X,b.P))},scalarMultBase:J=>n.curve25519.scalarMult(J,n.curve25519.BASE_POINT_U)};const K={node:r,web:typeof self=="object"&&"crypto"in self?self.crypto:void 0};n.utils={bytesToHex:_,hexToBytes:T,concatBytes:j,getExtendedPublicKey:Ie,mod:V,invert:R,TORSION_SUBGROUP:["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"],hashToPrivateScalar:J=>{if((J=Z(J)).length<40||J.length>1024)throw new Error("Expected 40-1024 bytes of private key as per FIPS 186");return V(w(J),b.l-i)+i},randomBytes:(J=32)=>{if(K.web)return K.web.getRandomValues(new Uint8Array(J));if(K.node){const{randomBytes:W}=K.node;return new Uint8Array(W(J).buffer)}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>n.utils.randomBytes(32),sha512:async(...J)=>{const W=j(...J);if(K.web){const X=await K.web.subtle.digest("SHA-512",W.buffer);return new Uint8Array(X)}if(K.node)return Uint8Array.from(K.node.createHash("sha512").update(W).digest());throw new Error("The environment doesn't have sha512 function")},precompute(J=8,W=N.BASE){const X=W.equals(N.BASE)?W:new N(W.x,W.y);return X._setWindowSize(J),X.multiply(y),X},sha512Sync:void 0},Object.defineProperties(n.utils,{sha512Sync:{configurable:!1,get:()=>ie,set(J){ie||(ie=J)}}})},7557:(E,n)=>{function c(b){if(!Number.isSafeInteger(b)||b<0)throw new Error(`Wrong positive integer: ${b}`)}function r(b){if(typeof b!="boolean")throw new Error(`Expected boolean, not ${b}`)}function a(b,...m){if(!(b instanceof Uint8Array))throw new Error("Expected Uint8Array");if(m.length>0&&!m.includes(b.length))throw new Error(`Expected Uint8Array of length ${m}, not of length=${b.length}`)}function i(b){if(typeof b!="function"||typeof b.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");c(b.outputLen),c(b.blockLen)}function y(b,m=!0){if(b.destroyed)throw new Error("Hash instance has been destroyed");if(m&&b.finished)throw new Error("Hash#digest() has already been called")}function t(b,m){a(b);const u=m.outputLen;if(b.length{Object.defineProperty(n,"__esModule",{value:!0}),n.BLAKE2=n.SIGMA=void 0;const r=c(7557),a=c(9175);n.SIGMA=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3]);class i extends a.Hash{constructor(t,d,b={},m,u,f){if(super(),this.blockLen=t,this.outputLen=d,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,r.default.number(t),r.default.number(d),r.default.number(m),d<0||d>m)throw new Error("outputLen bigger than keyLen");if(b.key!==void 0&&(b.key.length<1||b.key.length>m))throw new Error(`key must be up 1..${m} byte long or undefined`);if(b.salt!==void 0&&b.salt.length!==u)throw new Error(`salt must be ${u} byte long or undefined`);if(b.personalization!==void 0&&b.personalization.length!==f)throw new Error(`personalization must be ${f} byte long or undefined`);this.buffer32=(0,a.u32)(this.buffer=new Uint8Array(t))}update(t){r.default.exists(this);const{blockLen:d,buffer:b,buffer32:m}=this,u=(t=(0,a.toBytes)(t)).length,f=t.byteOffset,l=t.buffer;for(let s=0;sm[f]=u)}digest(){const{buffer:t,outputLen:d}=this;this.digestInto(t);const b=t.slice(0,d);return this.destroy(),b}_cloneInto(t){const{buffer:d,length:b,finished:m,destroyed:u,outputLen:f,pos:l}=this;return t||(t=new this.constructor({dkLen:f})),t.set(...this.get()),t.length=b,t.finished=m,t.destroyed=u,t.outputLen=f,t.buffer.set(d),t.pos=l,t}}n.BLAKE2=i},915:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.SHA2=void 0;const r=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d,b,m){super(),this.blockLen=t,this.outputLen=d,this.padOffset=b,this.isLE=m,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=(0,a.createView)(this.buffer)}update(t){r.default.exists(this);const{view:d,buffer:b,blockLen:m}=this,u=(t=(0,a.toBytes)(t)).length;for(let f=0;fm-f&&(this.process(b,0),f=0);for(let h=f;h>k&L),H=Number(I&L),j=B?4:0,U=B?0:4;h.setUint32(O+j,N,B),h.setUint32(O+U,H,B)})(b,m-8,BigInt(8*this.length),u),this.process(b,0);const l=(0,a.createView)(t),s=this.outputLen;if(s%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const v=s/4,p=this.get();if(v>p.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h{Object.defineProperty(n,"__esModule",{value:!0}),n.add=n.toBig=n.split=n.fromBig=void 0;const c=BigInt(2**32-1),r=BigInt(32);function a(d,b=!1){return b?{h:Number(d&c),l:Number(d>>r&c)}:{h:0|Number(d>>r&c),l:0|Number(d&c)}}function i(d,b=!1){let m=new Uint32Array(d.length),u=new Uint32Array(d.length);for(let f=0;f>>0)+(u>>>0);return{h:d+m+(f/4294967296|0)|0,l:0|f}}n.fromBig=a,n.split=i,n.toBig=(d,b)=>BigInt(d>>>0)<>>0),n.add=y;const t={fromBig:a,split:i,toBig:n.toBig,shrSH:(d,b,m)=>d>>>m,shrSL:(d,b,m)=>d<<32-m|b>>>m,rotrSH:(d,b,m)=>d>>>m|b<<32-m,rotrSL:(d,b,m)=>d<<32-m|b>>>m,rotrBH:(d,b,m)=>d<<64-m|b>>>m-32,rotrBL:(d,b,m)=>d>>>m-32|b<<64-m,rotr32H:(d,b)=>b,rotr32L:(d,b)=>d,rotlSH:(d,b,m)=>d<>>32-m,rotlSL:(d,b,m)=>b<>>32-m,rotlBH:(d,b,m)=>b<>>64-m,rotlBL:(d,b,m)=>d<>>64-m,add:y,add3L:(d,b,m)=>(d>>>0)+(b>>>0)+(m>>>0),add3H:(d,b,m,u)=>b+m+u+(d/2**32|0)|0,add4L:(d,b,m,u)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0),add4H:(d,b,m,u,f)=>b+m+u+f+(d/2**32|0)|0,add5H:(d,b,m,u,f,l)=>b+m+u+f+l+(d/2**32|0)|0,add5L:(d,b,m,u,f)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0)+(f>>>0)};n.default=t},6719:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.blake2b=void 0;const r=c(6742),a=c(2318),i=c(9175),y=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),t=new Uint32Array(32);function d(u,f,l,s,v,p){const h=v[p],O=v[p+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotr32H(U,j),Dl:a.default.rotr32L(U,j)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrSH(L,k,24),Bl:a.default.rotrSL(L,k,24)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}function b(u,f,l,s,v,p){const h=v[p],O=v[p+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotrSH(U,j,16),Dl:a.default.rotrSL(U,j,16)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrBH(L,k,63),Bl:a.default.rotrBL(L,k,63)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}class m extends r.BLAKE2{constructor(f={}){super(128,f.dkLen===void 0?64:f.dkLen,f,64,16,16),this.v0l=0|y[0],this.v0h=0|y[1],this.v1l=0|y[2],this.v1h=0|y[3],this.v2l=0|y[4],this.v2h=0|y[5],this.v3l=0|y[6],this.v3h=0|y[7],this.v4l=0|y[8],this.v4h=0|y[9],this.v5l=0|y[10],this.v5h=0|y[11],this.v6l=0|y[12],this.v6h=0|y[13],this.v7l=0|y[14],this.v7h=0|y[15];const l=f.key?f.key.length:0;if(this.v0l^=this.outputLen|l<<8|65536|16777216,f.salt){const s=(0,i.u32)((0,i.toBytes)(f.salt));this.v4l^=s[0],this.v4h^=s[1],this.v5l^=s[2],this.v5h^=s[3]}if(f.personalization){const s=(0,i.u32)((0,i.toBytes)(f.personalization));this.v6l^=s[0],this.v6h^=s[1],this.v7l^=s[2],this.v7h^=s[3]}if(f.key){const s=new Uint8Array(this.blockLen);s.set((0,i.toBytes)(f.key)),this.update(s)}}get(){let{v0l:f,v0h:l,v1l:s,v1h:v,v2l:p,v2h:h,v3l:O,v3h:I,v4l:B,v4h:k,v5l:L,v5h:N,v6l:H,v6h:j,v7l:U,v7h:_}=this;return[f,l,s,v,p,h,O,I,B,k,L,N,H,j,U,_]}set(f,l,s,v,p,h,O,I,B,k,L,N,H,j,U,_){this.v0l=0|f,this.v0h=0|l,this.v1l=0|s,this.v1h=0|v,this.v2l=0|p,this.v2h=0|h,this.v3l=0|O,this.v3h=0|I,this.v4l=0|B,this.v4h=0|k,this.v5l=0|L,this.v5h=0|N,this.v6l=0|H,this.v6h=0|j,this.v7l=0|U,this.v7h=0|_}compress(f,l,s){this.get().forEach((I,B)=>t[B]=I),t.set(y,16);let{h:v,l:p}=a.default.fromBig(BigInt(this.length));t[24]=y[8]^p,t[25]=y[9]^v,s&&(t[28]=~t[28],t[29]=~t[29]);let h=0;const O=r.SIGMA;for(let I=0;I<12;I++)d(0,4,8,12,f,l+2*O[h++]),b(0,4,8,12,f,l+2*O[h++]),d(1,5,9,13,f,l+2*O[h++]),b(1,5,9,13,f,l+2*O[h++]),d(2,6,10,14,f,l+2*O[h++]),b(2,6,10,14,f,l+2*O[h++]),d(3,7,11,15,f,l+2*O[h++]),b(3,7,11,15,f,l+2*O[h++]),d(0,5,10,15,f,l+2*O[h++]),b(0,5,10,15,f,l+2*O[h++]),d(1,6,11,12,f,l+2*O[h++]),b(1,6,11,12,f,l+2*O[h++]),d(2,7,8,13,f,l+2*O[h++]),b(2,7,8,13,f,l+2*O[h++]),d(3,4,9,14,f,l+2*O[h++]),b(3,4,9,14,f,l+2*O[h++]);this.v0l^=t[0]^t[16],this.v0h^=t[1]^t[17],this.v1l^=t[2]^t[18],this.v1h^=t[3]^t[19],this.v2l^=t[4]^t[20],this.v2h^=t[5]^t[21],this.v3l^=t[6]^t[22],this.v3h^=t[7]^t[23],this.v4l^=t[8]^t[24],this.v4h^=t[9]^t[25],this.v5l^=t[10]^t[26],this.v5h^=t[11]^t[27],this.v6l^=t[12]^t[28],this.v6h^=t[13]^t[29],this.v7l^=t[14]^t[30],this.v7h^=t[15]^t[31],t.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}n.blake2b=(0,i.wrapConstructorWithOpts)(u=>new m(u))},5145:(E,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.crypto=void 0,n.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0},9615:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.hmac=n.HMAC=void 0;const r=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d){super(),this.finished=!1,this.destroyed=!1,r.default.hash(t);const b=(0,a.toBytes)(d);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const m=this.blockLen,u=new Uint8Array(m);u.set(b.length>m?t.create().update(b).digest():b);for(let f=0;fnew i(y,t).update(d).digest(),n.hmac.create=(y,t)=>new i(y,t)},2623:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.sha224=n.sha256=void 0;const r=c(915),a=c(9175),i=(u,f,l)=>u&f^u&l^f&l,y=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),d=new Uint32Array(64);class b extends r.SHA2{constructor(){super(64,32,8,!1),this.A=0|t[0],this.B=0|t[1],this.C=0|t[2],this.D=0|t[3],this.E=0|t[4],this.F=0|t[5],this.G=0|t[6],this.H=0|t[7]}get(){const{A:f,B:l,C:s,D:v,E:p,F:h,G:O,H:I}=this;return[f,l,s,v,p,h,O,I]}set(f,l,s,v,p,h,O,I){this.A=0|f,this.B=0|l,this.C=0|s,this.D=0|v,this.E=0|p,this.F=0|h,this.G=0|O,this.H=0|I}process(f,l){for(let N=0;N<16;N++,l+=4)d[N]=f.getUint32(l,!1);for(let N=16;N<64;N++){const H=d[N-15],j=d[N-2],U=(0,a.rotr)(H,7)^(0,a.rotr)(H,18)^H>>>3,_=(0,a.rotr)(j,17)^(0,a.rotr)(j,19)^j>>>10;d[N]=_+d[N-7]+U+d[N-16]|0}let{A:s,B:v,C:p,D:h,E:O,F:I,G:B,H:k}=this;for(let N=0;N<64;N++){const H=k+((0,a.rotr)(O,6)^(0,a.rotr)(O,11)^(0,a.rotr)(O,25))+((L=O)&I^~L&B)+y[N]+d[N]|0,j=((0,a.rotr)(s,2)^(0,a.rotr)(s,13)^(0,a.rotr)(s,22))+i(s,v,p)|0;k=B,B=I,I=O,O=h+H|0,h=p,p=v,v=s,s=H+j|0}var L;s=s+this.A|0,v=v+this.B|0,p=p+this.C|0,h=h+this.D|0,O=O+this.E|0,I=I+this.F|0,B=B+this.G|0,k=k+this.H|0,this.set(s,v,p,h,O,I,B,k)}roundClean(){d.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class m extends b{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}n.sha256=(0,a.wrapConstructor)(()=>new b),n.sha224=(0,a.wrapConstructor)(()=>new m)},102:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.sha384=n.sha512_256=n.sha512_224=n.sha512=n.SHA512=void 0;const r=c(915),a=c(2318),i=c(9175),[y,t]=a.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(s=>BigInt(s))),d=new Uint32Array(80),b=new Uint32Array(80);class m extends r.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:v,Al:p,Bh:h,Bl:O,Ch:I,Cl:B,Dh:k,Dl:L,Eh:N,El:H,Fh:j,Fl:U,Gh:_,Gl:T,Hh:x,Hl:M}=this;return[v,p,h,O,I,B,k,L,N,H,j,U,_,T,x,M]}set(v,p,h,O,I,B,k,L,N,H,j,U,_,T,x,M){this.Ah=0|v,this.Al=0|p,this.Bh=0|h,this.Bl=0|O,this.Ch=0|I,this.Cl=0|B,this.Dh=0|k,this.Dl=0|L,this.Eh=0|N,this.El=0|H,this.Fh=0|j,this.Fl=0|U,this.Gh=0|_,this.Gl=0|T,this.Hh=0|x,this.Hl=0|M}process(v,p){for(let A=0;A<16;A++,p+=4)d[A]=v.getUint32(p),b[A]=v.getUint32(p+=4);for(let A=16;A<80;A++){const D=0|d[A-15],V=0|b[A-15],R=a.default.rotrSH(D,V,1)^a.default.rotrSH(D,V,8)^a.default.shrSH(D,V,7),F=a.default.rotrSL(D,V,1)^a.default.rotrSL(D,V,8)^a.default.shrSL(D,V,7),$=0|d[A-2],G=0|b[A-2],Q=a.default.rotrSH($,G,19)^a.default.rotrBH($,G,61)^a.default.shrSH($,G,6),ee=a.default.rotrSL($,G,19)^a.default.rotrBL($,G,61)^a.default.shrSL($,G,6),Z=a.default.add4L(F,ee,b[A-7],b[A-16]),q=a.default.add4H(Z,R,Q,d[A-7],d[A-16]);d[A]=0|q,b[A]=0|Z}let{Ah:h,Al:O,Bh:I,Bl:B,Ch:k,Cl:L,Dh:N,Dl:H,Eh:j,El:U,Fh:_,Fl:T,Gh:x,Gl:M,Hh:S,Hl:w}=this;for(let A=0;A<80;A++){const D=a.default.rotrSH(j,U,14)^a.default.rotrSH(j,U,18)^a.default.rotrBH(j,U,41),V=a.default.rotrSL(j,U,14)^a.default.rotrSL(j,U,18)^a.default.rotrBL(j,U,41),R=j&_^~j&x,F=U&T^~U&M,$=a.default.add5L(w,V,F,t[A],b[A]),G=a.default.add5H($,S,D,R,y[A],d[A]),Q=0|$,ee=a.default.rotrSH(h,O,28)^a.default.rotrBH(h,O,34)^a.default.rotrBH(h,O,39),Z=a.default.rotrSL(h,O,28)^a.default.rotrBL(h,O,34)^a.default.rotrBL(h,O,39),q=h&I^h&k^I&k,ue=O&B^O&L^B&L;S=0|x,w=0|M,x=0|_,M=0|T,_=0|j,T=0|U,{h:j,l:U}=a.default.add(0|N,0|H,0|G,0|Q),N=0|k,H=0|L,k=0|I,L=0|B,I=0|h,B=0|O;const ce=a.default.add3L(Q,Z,ue);h=a.default.add3H(ce,G,ee,q),O=0|ce}({h,l:O}=a.default.add(0|this.Ah,0|this.Al,0|h,0|O)),{h:I,l:B}=a.default.add(0|this.Bh,0|this.Bl,0|I,0|B),{h:k,l:L}=a.default.add(0|this.Ch,0|this.Cl,0|k,0|L),{h:N,l:H}=a.default.add(0|this.Dh,0|this.Dl,0|N,0|H),{h:j,l:U}=a.default.add(0|this.Eh,0|this.El,0|j,0|U),{h:_,l:T}=a.default.add(0|this.Fh,0|this.Fl,0|_,0|T),{h:x,l:M}=a.default.add(0|this.Gh,0|this.Gl,0|x,0|M),{h:S,l:w}=a.default.add(0|this.Hh,0|this.Hl,0|S,0|w),this.set(h,O,I,B,k,L,N,H,j,U,_,T,x,M,S,w)}roundClean(){d.fill(0),b.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}n.SHA512=m;class u extends m{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class f extends m{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class l extends m{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}n.sha512=(0,i.wrapConstructor)(()=>new m),n.sha512_224=(0,i.wrapConstructor)(()=>new u),n.sha512_256=(0,i.wrapConstructor)(()=>new f),n.sha384=(0,i.wrapConstructor)(()=>new l)},9175:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.randomBytes=n.wrapXOFConstructorWithOpts=n.wrapConstructorWithOpts=n.wrapConstructor=n.checkOpts=n.Hash=n.concatBytes=n.toBytes=n.utf8ToBytes=n.asyncLoop=n.nextTick=n.hexToBytes=n.bytesToHex=n.isLE=n.rotr=n.createView=n.u32=n.u8=void 0;const r=c(5145),a=d=>d instanceof Uint8Array;if(n.u8=d=>new Uint8Array(d.buffer,d.byteOffset,d.byteLength),n.u32=d=>new Uint32Array(d.buffer,d.byteOffset,Math.floor(d.byteLength/4)),n.createView=d=>new DataView(d.buffer,d.byteOffset,d.byteLength),n.rotr=(d,b)=>d<<32-b|d>>>b,n.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!n.isLE)throw new Error("Non little-endian hardware is not supported");const i=Array.from({length:256},(d,b)=>b.toString(16).padStart(2,"0"));function y(d){if(typeof d!="string")throw new Error("utf8ToBytes expected string, got "+typeof d);return new Uint8Array(new TextEncoder().encode(d))}function t(d){if(typeof d=="string"&&(d=y(d)),!a(d))throw new Error("expected Uint8Array, got "+typeof d);return d}n.bytesToHex=function(d){if(!a(d))throw new Error("Uint8Array expected");let b="";for(let m=0;m{},n.asyncLoop=async function(d,b,m){let u=Date.now();for(let f=0;f=0&&lu+f.length,0));let m=0;return d.forEach(u=>{if(!a(u))throw new Error("Uint8Array expected");b.set(u,m),m+=u.length}),b},n.Hash=class{clone(){return this._cloneInto()}},n.checkOpts=function(d,b){if(b!==void 0&&(typeof b!="object"||(m=b,Object.prototype.toString.call(m)!=="[object Object]"||m.constructor!==Object)))throw new Error("Options should be object or undefined");var m;return Object.assign(d,b)},n.wrapConstructor=function(d){const b=u=>d().update(t(u)).digest(),m=d();return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=()=>d(),b},n.wrapConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},n.wrapXOFConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},n.randomBytes=function(d=32){if(r.crypto&&typeof r.crypto.getRandomValues=="function")return r.crypto.getRandomValues(new Uint8Array(d));throw new Error("crypto.getRandomValues must be defined")}},9598:(E,n,c)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.utils=n.schnorr=n.verify=n.signSync=n.sign=n.getSharedSecret=n.recoverPublicKey=n.getPublicKey=n.Signature=n.Point=n.CURVE=void 0;const r=c(4923),a=BigInt(0),i=BigInt(1),y=BigInt(2),t=BigInt(3),d=BigInt(8),b=Object.freeze({a,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:i,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")});n.CURVE=b;const m=(fe,oe)=>(fe+oe/y)/oe,u={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(fe){const{n:oe}=b,de=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),me=-i*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),_e=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),Se=de,Ne=BigInt("0x100000000000000000000000000000000"),He=m(Se*fe,oe),Le=m(-me*fe,oe);let Re=G(fe-He*de-Le*_e,oe),Ze=G(-He*me-Le*Se,oe);const Fe=Re>Ne,Ge=Ze>Ne;if(Fe&&(Re=oe-Re),Ge&&(Ze=oe-Ze),Re>Ne||Ze>Ne)throw new Error("splitScalarEndo: Endomorphism failed, k="+fe);return{k1neg:Fe,k1:Re,k2neg:Ge,k2:Ze}}},f=32,l=32,s=f+1,v=2*f+1;function p(fe){const{a:oe,b:de}=b,me=G(fe*fe),_e=G(me*fe);return G(_e+oe*fe+de)}const h=b.a===a;class O extends Error{constructor(oe){super(oe)}}function I(fe){if(!(fe instanceof B))throw new TypeError("JacobianPoint expected")}class B{constructor(oe,de,me){this.x=oe,this.y=de,this.z=me}static fromAffine(oe){if(!(oe instanceof N))throw new TypeError("JacobianPoint#fromAffine: expected Point");return oe.equals(N.ZERO)?B.ZERO:new B(oe.x,oe.y,i)}static toAffineBatch(oe){const de=function(me,_e=b.P){const Se=new Array(me.length),Ne=ee(me.reduce((He,Le,Re)=>Le===a?He:(Se[Re]=He,G(He*Le,_e)),i),_e);return me.reduceRight((He,Le,Re)=>Le===a?He:(Se[Re]=G(He*Se[Re],_e),G(He*Le,_e)),Ne),Se}(oe.map(me=>me.z));return oe.map((me,_e)=>me.toAffine(de[_e]))}static normalizeZ(oe){return B.toAffineBatch(oe).map(B.fromAffine)}equals(oe){I(oe);const{x:de,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe,Le=G(_e*_e),Re=G(He*He),Ze=G(de*Re),Fe=G(Se*Le),Ge=G(G(me*He)*Re),lt=G(G(Ne*_e)*Le);return Ze===Fe&&Ge===lt}negate(){return new B(this.x,G(-this.y),this.z)}double(){const{x:oe,y:de,z:me}=this,_e=G(oe*oe),Se=G(de*de),Ne=G(Se*Se),He=oe+Se,Le=G(y*(G(He*He)-_e-Ne)),Re=G(t*_e),Ze=G(Re*Re),Fe=G(Ze-y*Le),Ge=G(Re*(Le-Fe)-d*Ne),lt=G(y*de*me);return new B(Fe,Ge,lt)}add(oe){I(oe);const{x:de,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe;if(Se===a||Ne===a)return this;if(de===a||me===a)return oe;const Le=G(_e*_e),Re=G(He*He),Ze=G(de*Re),Fe=G(Se*Le),Ge=G(G(me*He)*Re),lt=G(G(Ne*_e)*Le),Je=G(Fe-Ze),it=G(lt-Ge);if(Je===a)return it===a?this.double():B.ZERO;const vt=G(Je*Je),Ye=G(Je*vt),ut=G(Ze*vt),_t=G(it*it-Ye-y*ut),Qe=G(it*(ut-_t)-Ge*Ye),st=G(_e*He*Je);return new B(_t,Qe,st)}subtract(oe){return this.add(oe.negate())}multiplyUnsafe(oe){const de=B.ZERO;if(typeof oe=="bigint"&&oe===a)return de;let me=$(oe);if(me===i)return this;if(!h){let Fe=de,Ge=this;for(;me>a;)me&i&&(Fe=Fe.add(Ge)),Ge=Ge.double(),me>>=i;return Fe}let{k1neg:_e,k1:Se,k2neg:Ne,k2:He}=u.splitScalar(me),Le=de,Re=de,Ze=this;for(;Se>a||He>a;)Se&i&&(Le=Le.add(Ze)),He&i&&(Re=Re.add(Ze)),Ze=Ze.double(),Se>>=i,He>>=i;return _e&&(Le=Le.negate()),Ne&&(Re=Re.negate()),Re=new B(G(Re.x*u.beta),Re.y,Re.z),Le.add(Re)}precomputeWindow(oe){const de=h?128/oe+1:256/oe+1,me=[];let _e=this,Se=_e;for(let Ne=0;Ne>=Fe,Je>Le&&(Je-=Ze,oe+=i);const it=lt,vt=lt+Math.abs(Je)-1,Ye=Ge%2!=0,ut=Je<0;Je===0?Ne=Ne.add(k(Ye,_e[it])):Se=Se.add(k(ut,_e[vt]))}return{p:Se,f:Ne}}multiply(oe,de){let me,_e,Se=$(oe);if(h){const{k1neg:Ne,k1:He,k2neg:Le,k2:Re}=u.splitScalar(Se);let{p:Ze,f:Fe}=this.wNAF(He,de),{p:Ge,f:lt}=this.wNAF(Re,de);Ze=k(Ne,Ze),Ge=k(Le,Ge),Ge=new B(G(Ge.x*u.beta),Ge.y,Ge.z),me=Ze.add(Ge),_e=Fe.add(lt)}else{const{p:Ne,f:He}=this.wNAF(Se,de);me=Ne,_e=He}return B.normalizeZ([me,_e])[0]}toAffine(oe){const{x:de,y:me,z:_e}=this,Se=this.equals(B.ZERO);oe==null&&(oe=Se?d:ee(_e));const Ne=oe,He=G(Ne*Ne),Le=G(He*Ne),Re=G(de*He),Ze=G(me*Le),Fe=G(_e*Ne);if(Se)return N.ZERO;if(Fe!==i)throw new Error("invZ was invalid");return new N(Re,Ze)}}function k(fe,oe){const de=oe.negate();return fe?de:oe}B.BASE=new B(b.Gx,b.Gy,i),B.ZERO=new B(a,i,a);const L=new WeakMap;class N{constructor(oe,de){this.x=oe,this.y=de}_setWindowSize(oe){this._WINDOW_SIZE=oe,L.delete(this)}hasEvenY(){return this.y%y===a}static fromCompressedHex(oe){const de=oe.length===32,me=R(de?oe:oe.subarray(1));if(!ie(me))throw new Error("Point is not on curve");let _e=function(He){const{P:Le}=b,Re=BigInt(6),Ze=BigInt(11),Fe=BigInt(22),Ge=BigInt(23),lt=BigInt(44),Je=BigInt(88),it=He*He*He%Le,vt=it*it*He%Le,Ye=Q(vt,t)*vt%Le,ut=Q(Ye,t)*vt%Le,_t=Q(ut,y)*it%Le,Qe=Q(_t,Ze)*_t%Le,st=Q(Qe,Fe)*Qe%Le,Pt=Q(st,lt)*st%Le,rt=Q(Pt,Je)*Pt%Le,yt=Q(rt,lt)*st%Le,jt=Q(yt,t)*vt%Le,tt=Q(jt,Ge)*Qe%Le,dt=Q(tt,Re)*it%Le,Mt=Q(dt,y);if(Mt*Mt%Le!==He)throw new Error("Cannot find square root");return Mt}(p(me));const Se=(_e&i)===i;de?Se&&(_e=G(-_e)):!(1&~oe[0])!==Se&&(_e=G(-_e));const Ne=new N(me,_e);return Ne.assertValidity(),Ne}static fromUncompressedHex(oe){const de=R(oe.subarray(1,f+1)),me=R(oe.subarray(f+1,2*f+1)),_e=new N(de,me);return _e.assertValidity(),_e}static fromHex(oe){const de=F(oe),me=de.length,_e=de[0];if(me===f)return this.fromCompressedHex(de);if(me===s&&(_e===2||_e===3))return this.fromCompressedHex(de);if(me===v&&_e===4)return this.fromUncompressedHex(de);throw new Error(`Point.fromHex: received invalid point. Expected 32-${s} compressed bytes or ${v} uncompressed bytes, not ${me}`)}static fromPrivateKey(oe){return N.BASE.multiply(Ie(oe))}static fromSignature(oe,de,me){const{r:_e,s:Se}=te(de);if(![0,1,2,3].includes(me))throw new Error("Cannot recover: invalid recovery bit");const Ne=Z(F(oe)),{n:He}=b,Le=me===2||me===3?_e+He:_e,Re=ee(Le,He),Ze=G(-Ne*Re,He),Fe=G(Se*Re,He),Ge=1&me?"03":"02",lt=N.fromHex(Ge+S(Le)),Je=N.BASE.multiplyAndAddUnsafe(lt,Ze,Fe);if(!Je)throw new Error("Cannot recover signature: point at infinify");return Je.assertValidity(),Je}toRawBytes(oe=!1){return V(this.toHex(oe))}toHex(oe=!1){const de=S(this.x);return oe?`${this.hasEvenY()?"02":"03"}${de}`:`04${de}${S(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const oe="Point is not on elliptic curve",{x:de,y:me}=this;if(!ie(de)||!ie(me))throw new Error(oe);const _e=G(me*me);if(G(_e-p(de))!==a)throw new Error(oe)}equals(oe){return this.x===oe.x&&this.y===oe.y}negate(){return new N(this.x,G(-this.y))}double(){return B.fromAffine(this).double().toAffine()}add(oe){return B.fromAffine(this).add(B.fromAffine(oe)).toAffine()}subtract(oe){return this.add(oe.negate())}multiply(oe){return B.fromAffine(this).multiply(oe,this).toAffine()}multiplyAndAddUnsafe(oe,de,me){const _e=B.fromAffine(this),Se=de===a||de===i||this!==N.BASE?_e.multiplyUnsafe(de):_e.multiply(de),Ne=B.fromAffine(oe).multiplyUnsafe(me),He=Se.add(Ne);return He.equals(B.ZERO)?void 0:He.toAffine()}}function H(fe){return Number.parseInt(fe[0],16)>=8?"00"+fe:fe}function j(fe){if(fe.length<2||fe[0]!==2)throw new Error(`Invalid signature integer tag: ${x(fe)}`);const oe=fe[1],de=fe.subarray(2,oe+2);if(!oe||de.length!==oe)throw new Error("Invalid signature integer: wrong length");if(de[0]===0&&de[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:R(de),left:fe.subarray(oe+2)}}n.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,a);class U{constructor(oe,de){this.r=oe,this.s=de,this.assertValidity()}static fromCompact(oe){const de=oe instanceof Uint8Array,me="Signature.fromCompact";if(typeof oe!="string"&&!de)throw new TypeError(`${me}: Expected string or Uint8Array`);const _e=de?x(oe):oe;if(_e.length!==128)throw new Error(`${me}: Expected 64-byte hex`);return new U(D(_e.slice(0,64)),D(_e.slice(64,128)))}static fromDER(oe){const de=oe instanceof Uint8Array;if(typeof oe!="string"&&!de)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:me,s:_e}=function(Se){if(Se.length<2||Se[0]!=48)throw new Error(`Invalid signature tag: ${x(Se)}`);if(Se[1]!==Se.length-2)throw new Error("Invalid signature: incorrect length");const{data:Ne,left:He}=j(Se.subarray(2)),{data:Le,left:Re}=j(He);if(Re.length)throw new Error(`Invalid signature: left bytes after parsing: ${x(Re)}`);return{r:Ne,s:Le}}(de?oe:V(oe));return new U(me,_e)}static fromHex(oe){return this.fromDER(oe)}assertValidity(){const{r:oe,s:de}=this;if(!le(oe))throw new Error("Invalid Signature: r must be 0 < r < n");if(!le(de))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){const oe=b.n>>i;return this.s>oe}normalizeS(){return this.hasHighS()?new U(this.r,G(-this.s,b.n)):this}toDERRawBytes(){return V(this.toDERHex())}toDERHex(){const oe=H(A(this.s)),de=H(A(this.r)),me=oe.length/2,_e=de.length/2,Se=A(me),Ne=A(_e);return`30${A(_e+me+4)}02${Ne}${de}02${Se}${oe}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return V(this.toCompactHex())}toCompactHex(){return S(this.r)+S(this.s)}}function _(...fe){if(!fe.every(me=>me instanceof Uint8Array))throw new Error("Uint8Array list expected");if(fe.length===1)return fe[0];const oe=fe.reduce((me,_e)=>me+_e.length,0),de=new Uint8Array(oe);for(let me=0,_e=0;meoe.toString(16).padStart(2,"0"));function x(fe){if(!(fe instanceof Uint8Array))throw new Error("Expected Uint8Array");let oe="";for(let de=0;de0)return BigInt(fe);if(typeof fe=="bigint"&&le(fe))return fe;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function G(fe,oe=b.P){const de=fe%oe;return de>=a?de:oe+de}function Q(fe,oe){const{P:de}=b;let me=fe;for(;oe-- >a;)me*=me,me%=de;return me}function ee(fe,oe=b.P){if(fe===a||oe<=a)throw new Error(`invert: expected positive integers, got n=${fe} mod=${oe}`);let de=G(fe,oe),me=oe,_e=a,Se=i;for(;de!==a;){const Ne=me/de,He=me%de,Le=_e-Se*Ne;me=de,de=He,_e=Se,Se=Le}if(me!==i)throw new Error("invert: does not exist");return G(_e,oe)}function Z(fe,oe=!1){const de=function(_e){const Se=8*_e.length-8*l,Ne=R(_e);return Se>0?Ne>>BigInt(Se):Ne}(fe);if(oe)return de;const{n:me}=b;return de>=me?de-me:de}let q,ue;class ce{constructor(oe,de){if(this.hashLen=oe,this.qByteLen=de,typeof oe!="number"||oe<2)throw new Error("hashLen must be a number");if(typeof de!="number"||de<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(oe).fill(1),this.k=new Uint8Array(oe).fill(0),this.counter=0}hmac(...oe){return n.utils.hmacSha256(this.k,...oe)}hmacSync(...oe){return ue(this.k,...oe)}checkSync(){if(typeof ue!="function")throw new O("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}async reseed(oe=new Uint8Array){this.k=await this.hmac(this.v,Uint8Array.from([0]),oe),this.v=await this.hmac(this.v),oe.length!==0&&(this.k=await this.hmac(this.v,Uint8Array.from([1]),oe),this.v=await this.hmac(this.v))}reseedSync(oe=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),oe),this.v=this.hmacSync(this.v),oe.length!==0&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),oe),this.v=this.hmacSync(this.v))}async generate(){this.incr();let oe=0;const de=[];for(;oe0)oe=BigInt(fe);else if(typeof fe=="string"){if(fe.length!==2*l)throw new Error("Expected 32 bytes of private key");oe=D(fe)}else{if(!(fe instanceof Uint8Array))throw new TypeError("Expected valid private key");if(fe.length!==l)throw new Error("Expected 32 bytes of private key");oe=R(fe)}if(!le(oe))throw new Error("Expected private key: 0 < key < n");return oe}function Ee(fe){return fe instanceof N?(fe.assertValidity(),fe):N.fromHex(fe)}function te(fe){if(fe instanceof U)return fe.assertValidity(),fe;try{return U.fromDER(fe)}catch{return U.fromCompact(fe)}}function ge(fe){const oe=fe instanceof Uint8Array,de=typeof fe=="string",me=(oe||de)&&fe.length;return oe?me===s||me===v:de?me===2*s||me===2*v:fe instanceof N}function we(fe){return R(fe.length>f?fe.slice(0,f):fe)}function K(fe){const oe=we(fe),de=G(oe,b.n);return J(de{fe=F(fe);const oe=l+8;if(fe.length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return w(G(R(fe),b.n-i)+i)},randomBytes:(fe=32)=>{if(Ue.web)return Ue.web.getRandomValues(new Uint8Array(fe));if(Ue.node){const{randomBytes:oe}=Ue.node;return Uint8Array.from(oe(fe))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>n.utils.hashToPrivateKey(n.utils.randomBytes(l+8)),precompute(fe=8,oe=N.BASE){const de=oe===N.BASE?oe:new N(oe.x,oe.y);return de._setWindowSize(fe),de.multiply(t),de},sha256:async(...fe)=>{if(Ue.web){const oe=await Ue.web.subtle.digest("SHA-256",_(...fe));return new Uint8Array(oe)}if(Ue.node){const{createHash:oe}=Ue.node,de=oe("sha256");return fe.forEach(me=>de.update(me)),Uint8Array.from(de.digest())}throw new Error("The environment doesn't have sha256 function")},hmacSha256:async(fe,...oe)=>{if(Ue.web){const de=await Ue.web.subtle.importKey("raw",fe,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),me=_(...oe),_e=await Ue.web.subtle.sign("HMAC",de,me);return new Uint8Array(_e)}if(Ue.node){const{createHmac:de}=Ue.node,me=de("sha256",fe);return oe.forEach(_e=>me.update(_e)),Uint8Array.from(me.digest())}throw new Error("The environment doesn't have hmac-sha256 function")},sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:async(fe,...oe)=>{let de=je[fe];if(de===void 0){const me=await n.utils.sha256(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));de=_(me,me),je[fe]=de}return n.utils.sha256(de,...oe)},taggedHashSync:(fe,...oe)=>{if(typeof q!="function")throw new O("sha256Sync is undefined, you need to set it");let de=je[fe];if(de===void 0){const me=q(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));de=_(me,me),je[fe]=de}return q(de,...oe)},_JacobianPoint:B},Object.defineProperties(n.utils,{sha256Sync:{configurable:!1,get:()=>q,set(fe){q||(q=fe)}},hmacSha256Sync:{configurable:!1,get:()=>ue,set(fe){ue||(ue=fe)}}})},7568:(E,n,c)=>{const r=n;r.bignum=c(2344),r.define=c(7363).define,r.base=c(9673),r.constants=c(2153),r.decoders=c(5234),r.encoders=c(4669)},7363:(E,n,c)=>{const r=c(4669),a=c(5234),i=c(6698);function y(t,d){this.name=t,this.body=d,this.decoders={},this.encoders={}}n.define=function(t,d){return new y(t,d)},y.prototype._createNamed=function(t){const d=this.name;function b(m){this._initNamed(m,d)}return i(b,t),b.prototype._initNamed=function(m,u){t.call(this,m,u)},new b(this)},y.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(a[t])),this.decoders[t]},y.prototype.decode=function(t,d,b){return this._getDecoder(d).decode(t,b)},y.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(r[t])),this.encoders[t]},y.prototype.encode=function(t,d,b){return this._getEncoder(d).encode(t,b)}},7227:(E,n,c)=>{const r=c(6698),a=c(9220).a,i=c(4774).Buffer;function y(d,b){a.call(this,b),i.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error("Input not Buffer")}function t(d,b){if(Array.isArray(d))this.length=0,this.value=d.map(function(m){return t.isEncoderBuffer(m)||(m=new t(m,b)),this.length+=m.length,m},this);else if(typeof d=="number"){if(!(0<=d&&d<=255))return b.error("non-byte EncoderBuffer value");this.value=d,this.length=1}else if(typeof d=="string")this.value=d,this.length=i.byteLength(d);else{if(!i.isBuffer(d))return b.error("Unsupported type: "+typeof d);this.value=d,this.length=d.length}}r(y,a),n.t=y,y.isDecoderBuffer=function(d){return d instanceof y||typeof d=="object"&&i.isBuffer(d.base)&&d.constructor.name==="DecoderBuffer"&&typeof d.offset=="number"&&typeof d.length=="number"&&typeof d.save=="function"&&typeof d.restore=="function"&&typeof d.isEmpty=="function"&&typeof d.readUInt8=="function"&&typeof d.skip=="function"&&typeof d.raw=="function"},y.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},y.prototype.restore=function(d){const b=new y(this.base);return b.offset=d.offset,b.length=this.offset,this.offset=d.offset,a.prototype.restore.call(this,d.reporter),b},y.prototype.isEmpty=function(){return this.offset===this.length},y.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},y.prototype.skip=function(d,b){if(!(this.offset+d<=this.length))return this.error(b||"DecoderBuffer overrun");const m=new y(this.base);return m._reporterState=this._reporterState,m.offset=this.offset,m.length=this.offset+d,this.offset+=d,m},y.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},n.d=t,t.isEncoderBuffer=function(d){return d instanceof t||typeof d=="object"&&d.constructor.name==="EncoderBuffer"&&typeof d.length=="number"&&typeof d.join=="function"},t.prototype.join=function(d,b){return d||(d=i.alloc(this.length)),b||(b=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(m){m.join(d,b),b+=m.length}):(typeof this.value=="number"?d[b]=this.value:typeof this.value=="string"?d.write(this.value,b):i.isBuffer(this.value)&&this.value.copy(d,b),b+=this.length)),d}},9673:(E,n,c)=>{const r=n;r.Reporter=c(9220).a,r.DecoderBuffer=c(7227).t,r.EncoderBuffer=c(7227).d,r.Node=c(993)},993:(E,n,c)=>{const r=c(9220).a,a=c(7227).d,i=c(7227).t,y=c(3349),t=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],d=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(t);function b(u,f,l){const s={};this._baseState=s,s.name=l,s.enc=u,s.parent=f||null,s.children=null,s.tag=null,s.args=null,s.reverseArgs=null,s.choice=null,s.optional=!1,s.any=!1,s.obj=!1,s.use=null,s.useDecoder=null,s.key=null,s.default=null,s.explicit=null,s.implicit=null,s.contains=null,s.parent||(s.children=[],this._wrap())}E.exports=b;const m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];b.prototype.clone=function(){const u=this._baseState,f={};m.forEach(function(s){f[s]=u[s]});const l=new this.constructor(f.parent);return l._baseState=f,l},b.prototype._wrap=function(){const u=this._baseState;d.forEach(function(f){this[f]=function(){const l=new this.constructor(this);return u.children.push(l),l[f].apply(l,arguments)}},this)},b.prototype._init=function(u){const f=this._baseState;y(f.parent===null),u.call(this),f.children=f.children.filter(function(l){return l._baseState.parent===this},this),y.equal(f.children.length,1,"Root node can have only one child")},b.prototype._useArgs=function(u){const f=this._baseState,l=u.filter(function(s){return s instanceof this.constructor},this);u=u.filter(function(s){return!(s instanceof this.constructor)},this),l.length!==0&&(y(f.children===null),f.children=l,l.forEach(function(s){s._baseState.parent=this},this)),u.length!==0&&(y(f.args===null),f.args=u,f.reverseArgs=u.map(function(s){if(typeof s!="object"||s.constructor!==Object)return s;const v={};return Object.keys(s).forEach(function(p){p==(0|p)&&(p|=0);const h=s[p];v[h]=p}),v}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(u){b.prototype[u]=function(){const f=this._baseState;throw new Error(u+" not implemented for encoding: "+f.enc)}}),t.forEach(function(u){b.prototype[u]=function(){const f=this._baseState,l=Array.prototype.slice.call(arguments);return y(f.tag===null),f.tag=u,this._useArgs(l),this}}),b.prototype.use=function(u){y(u);const f=this._baseState;return y(f.use===null),f.use=u,this},b.prototype.optional=function(){return this._baseState.optional=!0,this},b.prototype.def=function(u){const f=this._baseState;return y(f.default===null),f.default=u,f.optional=!0,this},b.prototype.explicit=function(u){const f=this._baseState;return y(f.explicit===null&&f.implicit===null),f.explicit=u,this},b.prototype.implicit=function(u){const f=this._baseState;return y(f.explicit===null&&f.implicit===null),f.implicit=u,this},b.prototype.obj=function(){const u=this._baseState,f=Array.prototype.slice.call(arguments);return u.obj=!0,f.length!==0&&this._useArgs(f),this},b.prototype.key=function(u){const f=this._baseState;return y(f.key===null),f.key=u,this},b.prototype.any=function(){return this._baseState.any=!0,this},b.prototype.choice=function(u){const f=this._baseState;return y(f.choice===null),f.choice=u,this._useArgs(Object.keys(u).map(function(l){return u[l]})),this},b.prototype.contains=function(u){const f=this._baseState;return y(f.use===null),f.contains=u,this},b.prototype._decode=function(u,f){const l=this._baseState;if(l.parent===null)return u.wrapResult(l.children[0]._decode(u,f));let s,v=l.default,p=!0,h=null;if(l.key!==null&&(h=u.enterKey(l.key)),l.optional){let O=null;if(l.explicit!==null?O=l.explicit:l.implicit!==null?O=l.implicit:l.tag!==null&&(O=l.tag),O!==null||l.any){if(p=this._peekTag(u,O,l.any),u.isError(p))return p}else{const I=u.save();try{l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f),p=!0}catch{p=!1}u.restore(I)}}if(l.obj&&p&&(s=u.enterObject()),p){if(l.explicit!==null){const I=this._decodeTag(u,l.explicit);if(u.isError(I))return I;u=I}const O=u.offset;if(l.use===null&&l.choice===null){let I;l.any&&(I=u.save());const B=this._decodeTag(u,l.implicit!==null?l.implicit:l.tag,l.any);if(u.isError(B))return B;l.any?v=u.raw(I):u=B}if(f&&f.track&&l.tag!==null&&f.track(u.path(),O,u.length,"tagged"),f&&f.track&&l.tag!==null&&f.track(u.path(),u.offset,u.length,"content"),l.any||(v=l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f)),u.isError(v))return v;if(l.any||l.choice!==null||l.children===null||l.children.forEach(function(I){I._decode(u,f)}),l.contains&&(l.tag==="octstr"||l.tag==="bitstr")){const I=new i(v);v=this._getUse(l.contains,u._reporterState.obj)._decode(I,f)}}return l.obj&&p&&(v=u.leaveObject(s)),l.key===null||v===null&&p!==!0?h!==null&&u.exitKey(h):u.leaveKey(h,l.key,v),v},b.prototype._decodeGeneric=function(u,f,l){const s=this._baseState;return u==="seq"||u==="set"?null:u==="seqof"||u==="setof"?this._decodeList(f,u,s.args[0],l):/str$/.test(u)?this._decodeStr(f,u,l):u==="objid"&&s.args?this._decodeObjid(f,s.args[0],s.args[1],l):u==="objid"?this._decodeObjid(f,null,null,l):u==="gentime"||u==="utctime"?this._decodeTime(f,u,l):u==="null_"?this._decodeNull(f,l):u==="bool"?this._decodeBool(f,l):u==="objDesc"?this._decodeStr(f,u,l):u==="int"||u==="enum"?this._decodeInt(f,s.args&&s.args[0],l):s.use!==null?this._getUse(s.use,f._reporterState.obj)._decode(f,l):f.error("unknown tag: "+u)},b.prototype._getUse=function(u,f){const l=this._baseState;return l.useDecoder=this._use(u,f),y(l.useDecoder._baseState.parent===null),l.useDecoder=l.useDecoder._baseState.children[0],l.implicit!==l.useDecoder._baseState.implicit&&(l.useDecoder=l.useDecoder.clone(),l.useDecoder._baseState.implicit=l.implicit),l.useDecoder},b.prototype._decodeChoice=function(u,f){const l=this._baseState;let s=null,v=!1;return Object.keys(l.choice).some(function(p){const h=u.save(),O=l.choice[p];try{const I=O._decode(u,f);if(u.isError(I))return!1;s={type:p,value:I},v=!0}catch{return u.restore(h),!1}return!0},this),v?s:u.error("Choice not matched")},b.prototype._createEncoderBuffer=function(u){return new a(u,this.reporter)},b.prototype._encode=function(u,f,l){const s=this._baseState;if(s.default!==null&&s.default===u)return;const v=this._encodeValue(u,f,l);return v===void 0||this._skipDefault(v,f,l)?void 0:v},b.prototype._encodeValue=function(u,f,l){const s=this._baseState;if(s.parent===null)return s.children[0]._encode(u,f||new r);let v=null;if(this.reporter=f,s.optional&&u===void 0){if(s.default===null)return;u=s.default}let p=null,h=!1;if(s.any)v=this._createEncoderBuffer(u);else if(s.choice)v=this._encodeChoice(u,f);else if(s.contains)p=this._getUse(s.contains,l)._encode(u,f),h=!0;else if(s.children)p=s.children.map(function(O){if(O._baseState.tag==="null_")return O._encode(null,f,u);if(O._baseState.key===null)return f.error("Child should have a key");const I=f.enterKey(O._baseState.key);if(typeof u!="object")return f.error("Child expected, but input is not object");const B=O._encode(u[O._baseState.key],f,u);return f.leaveKey(I),B},this).filter(function(O){return O}),p=this._createEncoderBuffer(p);else if(s.tag==="seqof"||s.tag==="setof"){if(!s.args||s.args.length!==1)return f.error("Too many args for : "+s.tag);if(!Array.isArray(u))return f.error("seqof/setof, but data is not Array");const O=this.clone();O._baseState.implicit=null,p=this._createEncoderBuffer(u.map(function(I){const B=this._baseState;return this._getUse(B.args[0],u)._encode(I,f)},O))}else s.use!==null?v=this._getUse(s.use,l)._encode(u,f):(p=this._encodePrimitive(s.tag,u),h=!0);if(!s.any&&s.choice===null){const O=s.implicit!==null?s.implicit:s.tag,I=s.implicit===null?"universal":"context";O===null?s.use===null&&f.error("Tag could be omitted only for .use()"):s.use===null&&(v=this._encodeComposite(O,h,I,p))}return s.explicit!==null&&(v=this._encodeComposite(s.explicit,!1,"context",v)),v},b.prototype._encodeChoice=function(u,f){const l=this._baseState,s=l.choice[u.type];return s||y(!1,u.type+" not found in "+JSON.stringify(Object.keys(l.choice))),s._encode(u.value,f)},b.prototype._encodePrimitive=function(u,f){const l=this._baseState;if(/str$/.test(u))return this._encodeStr(f,u);if(u==="objid"&&l.args)return this._encodeObjid(f,l.reverseArgs[0],l.args[1]);if(u==="objid")return this._encodeObjid(f,null,null);if(u==="gentime"||u==="utctime")return this._encodeTime(f,u);if(u==="null_")return this._encodeNull();if(u==="int"||u==="enum")return this._encodeInt(f,l.args&&l.reverseArgs[0]);if(u==="bool")return this._encodeBool(f);if(u==="objDesc")return this._encodeStr(f,u);throw new Error("Unsupported tag: "+u)},b.prototype._isNumstr=function(u){return/^[0-9 ]*$/.test(u)},b.prototype._isPrintstr=function(u){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(u)}},9220:(E,n,c)=>{const r=c(6698);function a(y){this._reporterState={obj:null,path:[],options:y||{},errors:[]}}function i(y,t){this.path=y,this.rethrow(t)}n.a=a,a.prototype.isError=function(y){return y instanceof i},a.prototype.save=function(){const y=this._reporterState;return{obj:y.obj,pathLen:y.path.length}},a.prototype.restore=function(y){const t=this._reporterState;t.obj=y.obj,t.path=t.path.slice(0,y.pathLen)},a.prototype.enterKey=function(y){return this._reporterState.path.push(y)},a.prototype.exitKey=function(y){const t=this._reporterState;t.path=t.path.slice(0,y-1)},a.prototype.leaveKey=function(y,t,d){const b=this._reporterState;this.exitKey(y),b.obj!==null&&(b.obj[t]=d)},a.prototype.path=function(){return this._reporterState.path.join("/")},a.prototype.enterObject=function(){const y=this._reporterState,t=y.obj;return y.obj={},t},a.prototype.leaveObject=function(y){const t=this._reporterState,d=t.obj;return t.obj=y,d},a.prototype.error=function(y){let t;const d=this._reporterState,b=y instanceof i;if(t=b?y:new i(d.path.map(function(m){return"["+JSON.stringify(m)+"]"}).join(""),y.message||y,y.stack),!d.options.partial)throw t;return b||d.errors.push(t),t},a.prototype.wrapResult=function(y){const t=this._reporterState;return t.options.partial?{result:this.isError(y)?null:y,errors:t.errors}:y},r(i,Error),i.prototype.rethrow=function(y){if(this.message=y+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},4598:(E,n)=>{function c(r){const a={};return Object.keys(r).forEach(function(i){(0|i)==i&&(i|=0);const y=r[i];a[y]=i}),a}n.tagClass={0:"universal",1:"application",2:"context",3:"private"},n.tagClassByName=c(n.tagClass),n.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},n.tagByName=c(n.tag)},2153:(E,n,c)=>{const r=n;r._reverse=function(a){const i={};return Object.keys(a).forEach(function(y){(0|y)==y&&(y|=0);const t=a[y];i[t]=y}),i},r.der=c(4598)},2010:(E,n,c)=>{const r=c(6698),a=c(2344),i=c(7227).t,y=c(993),t=c(4598);function d(f){this.enc="der",this.name=f.name,this.entity=f,this.tree=new b,this.tree._init(f.body)}function b(f){y.call(this,"der",f)}function m(f,l){let s=f.readUInt8(l);if(f.isError(s))return s;const v=t.tagClass[s>>6],p=!(32&s);if(31&~s)s&=31;else{let h=s;for(s=0;!(128&~h);){if(h=f.readUInt8(l),f.isError(h))return h;s<<=7,s|=127&h}}return{cls:v,primitive:p,tag:s,tagStr:t.tag[s]}}function u(f,l,s){let v=f.readUInt8(s);if(f.isError(v))return v;if(!l&&v===128)return null;if(!(128&v))return v;const p=127&v;if(p>4)return f.error("length octect is too long");v=0;for(let h=0;h{const r=n;r.der=c(2010),r.pem=c(8903)},8903:(E,n,c)=>{const r=c(6698),a=c(4774).Buffer,i=c(2010);function y(t){i.call(this,t),this.enc="pem"}r(y,i),E.exports=y,y.prototype.decode=function(t,d){const b=t.toString().split(/[\r\n]+/g),m=d.label.toUpperCase(),u=/^-----(BEGIN|END) ([^-]+)-----$/;let f=-1,l=-1;for(let p=0;p{const r=c(6698),a=c(4774).Buffer,i=c(993),y=c(4598);function t(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new d,this.tree._init(m.body)}function d(m){i.call(this,"der",m)}function b(m){return m<10?"0"+m:m}E.exports=t,t.prototype.encode=function(m,u){return this.tree._encode(m,u).join()},r(d,i),d.prototype._encodeComposite=function(m,u,f,l){const s=function(h,O,I,B){let k;if(h==="seqof"?h="seq":h==="setof"&&(h="set"),y.tagByName.hasOwnProperty(h))k=y.tagByName[h];else{if(typeof h!="number"||(0|h)!==h)return B.error("Unknown tag: "+h);k=h}return k>=31?B.error("Multi-octet tag encoding unsupported"):(O||(k|=32),k|=y.tagClassByName[I||"universal"]<<6,k)}(m,u,f,this.reporter);if(l.length<128){const h=a.alloc(2);return h[0]=s,h[1]=l.length,this._createEncoderBuffer([h,l])}let v=1;for(let h=l.length;h>=256;h>>=8)v++;const p=a.alloc(2+v);p[0]=s,p[1]=128|v;for(let h=1+v,O=l.length;O>0;h--,O>>=8)p[h]=255&O;return this._createEncoderBuffer([p,l])},d.prototype._encodeStr=function(m,u){if(u==="bitstr")return this._createEncoderBuffer([0|m.unused,m.data]);if(u==="bmpstr"){const f=a.alloc(2*m.length);for(let l=0;l=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}let l=0;for(let p=0;p=128;h>>=7)l++}const s=a.alloc(l);let v=s.length-1;for(let p=m.length-1;p>=0;p--){let h=m[p];for(s[v--]=127&h;(h>>=7)>0;)s[v--]=128|127&h}return this._createEncoderBuffer(s)},d.prototype._encodeTime=function(m,u){let f;const l=new Date(m);return u==="gentime"?f=[b(l.getUTCFullYear()),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):u==="utctime"?f=[b(l.getUTCFullYear()%100),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(f,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(m,u){if(typeof m=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=u[m]}if(typeof m!="number"&&!a.isBuffer(m)){const s=m.toArray();!m.sign&&128&s[0]&&s.unshift(0),m=a.from(s)}if(a.isBuffer(m)){let s=m.length;m.length===0&&s++;const v=a.alloc(s);return m.copy(v),m.length===0&&(v[0]=0),this._createEncoderBuffer(v)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);let f=1;for(let s=m;s>=256;s>>=8)f++;const l=new Array(f);for(let s=l.length-1;s>=0;s--)l[s]=255&m,m>>=8;return 128&l[0]&&l.unshift(0),this._createEncoderBuffer(a.from(l))},d.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},d.prototype._use=function(m,u){return typeof m=="function"&&(m=m(u)),m._getEncoder("der").tree},d.prototype._skipDefault=function(m,u,f){const l=this._baseState;let s;if(l.default===null)return!1;const v=m.join();if(l.defaultBuffer===void 0&&(l.defaultBuffer=this._encodeValue(l.default,u,f).join()),v.length!==l.defaultBuffer.length)return!1;for(s=0;s{const r=n;r.der=c(82),r.pem=c(735)},735:(E,n,c)=>{const r=c(6698),a=c(82);function i(y){a.call(this,y),this.enc="pem"}r(i,a),E.exports=i,i.prototype.encode=function(y,t){const d=a.prototype.encode.call(this,y).toString("base64"),b=["-----BEGIN "+t.label+"-----"];for(let m=0;m=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),A=T;A=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,A=w%M,D=Math.min(w,w-A)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],A=S*w,D=67108863&A,V=A/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(A=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&A}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,A,D=T==="le",V=new _(S),R=this.clone();if(D){for(A=0;!R.isZero();A++)w=R.andln(255),R.iushrn(8),V[A]=w;for(;A=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M0&&(this.words[M]=~this.words[M]&67108863>>26-x),this.strip()},t.prototype.notn=function(_){return this.clone().inotn(_)},t.prototype.setn=function(_,T){i(typeof _=="number"&&_>=0);var x=_/26|0,M=_%26;return this._expand(x+1),this.words[x]=T?this.words[x]|1<_.length?(x=this,M=_):(x=_,M=this);for(var S=0,w=0;w>>26;for(;S!==0&&w>>26;if(this.length=x.length,S!==0)this.words[this.length]=S,this.length++;else if(x!==this)for(;w_.length?this.clone().iadd(_):_.clone().iadd(this)},t.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var T=this.iadd(_);return _.negative=1,T._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var x,M,S=this.cmp(_);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(x=this,M=_):(x=_,M=this);for(var w=0,A=0;A>26,this.words[A]=67108863&T;for(;w!==0&&A>26,this.words[A]=67108863&T;if(w===0&&A>>13,Q=0|A[1],ee=8191&Q,Z=Q>>>13,q=0|A[2],ue=8191&q,ce=q>>>13,le=0|A[3],ie=8191&le,he=le>>>13,Ie=0|A[4],Ee=8191&Ie,te=Ie>>>13,ge=0|A[5],we=8191&ge,K=ge>>>13,J=0|A[6],W=8191&J,X=J>>>13,ne=0|A[7],re=8191&ne,ye=ne>>>13,Te=0|A[8],Pe=8191&Te,Be=Te>>>13,Ve=0|A[9],ke=8191&Ve,Ue=Ve>>>13,Xe=0|D[0],je=8191&Xe,fe=Xe>>>13,oe=0|D[1],de=8191&oe,me=oe>>>13,_e=0|D[2],Se=8191&_e,Ne=_e>>>13,He=0|D[3],Le=8191&He,Re=He>>>13,Ze=0|D[4],Fe=8191&Ze,Ge=Ze>>>13,lt=0|D[5],Je=8191<,it=lt>>>13,vt=0|D[6],Ye=8191&vt,ut=vt>>>13,_t=0|D[7],Qe=8191&_t,st=_t>>>13,Pt=0|D[8],rt=8191&Pt,yt=Pt>>>13,jt=0|D[9],tt=8191&jt,dt=jt>>>13;x.negative=_.negative^T.negative,x.length=19;var Mt=(R+(M=Math.imul($,je))|0)+((8191&(S=(S=Math.imul($,fe))+Math.imul(G,je)|0))<<13)|0;R=((w=Math.imul(G,fe))+(S>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,M=Math.imul(ee,je),S=(S=Math.imul(ee,fe))+Math.imul(Z,je)|0,w=Math.imul(Z,fe);var Dt=(R+(M=M+Math.imul($,de)|0)|0)+((8191&(S=(S=S+Math.imul($,me)|0)+Math.imul(G,de)|0))<<13)|0;R=((w=w+Math.imul(G,me)|0)+(S>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,M=Math.imul(ue,je),S=(S=Math.imul(ue,fe))+Math.imul(ce,je)|0,w=Math.imul(ce,fe),M=M+Math.imul(ee,de)|0,S=(S=S+Math.imul(ee,me)|0)+Math.imul(Z,de)|0,w=w+Math.imul(Z,me)|0;var Cr=(R+(M=M+Math.imul($,Se)|0)|0)+((8191&(S=(S=S+Math.imul($,Ne)|0)+Math.imul(G,Se)|0))<<13)|0;R=((w=w+Math.imul(G,Ne)|0)+(S>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(ie,je),S=(S=Math.imul(ie,fe))+Math.imul(he,je)|0,w=Math.imul(he,fe),M=M+Math.imul(ue,de)|0,S=(S=S+Math.imul(ue,me)|0)+Math.imul(ce,de)|0,w=w+Math.imul(ce,me)|0,M=M+Math.imul(ee,Se)|0,S=(S=S+Math.imul(ee,Ne)|0)+Math.imul(Z,Se)|0,w=w+Math.imul(Z,Ne)|0;var Sr=(R+(M=M+Math.imul($,Le)|0)|0)+((8191&(S=(S=S+Math.imul($,Re)|0)+Math.imul(G,Le)|0))<<13)|0;R=((w=w+Math.imul(G,Re)|0)+(S>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,M=Math.imul(Ee,je),S=(S=Math.imul(Ee,fe))+Math.imul(te,je)|0,w=Math.imul(te,fe),M=M+Math.imul(ie,de)|0,S=(S=S+Math.imul(ie,me)|0)+Math.imul(he,de)|0,w=w+Math.imul(he,me)|0,M=M+Math.imul(ue,Se)|0,S=(S=S+Math.imul(ue,Ne)|0)+Math.imul(ce,Se)|0,w=w+Math.imul(ce,Ne)|0,M=M+Math.imul(ee,Le)|0,S=(S=S+Math.imul(ee,Re)|0)+Math.imul(Z,Le)|0,w=w+Math.imul(Z,Re)|0;var Lr=(R+(M=M+Math.imul($,Fe)|0)|0)+((8191&(S=(S=S+Math.imul($,Ge)|0)+Math.imul(G,Fe)|0))<<13)|0;R=((w=w+Math.imul(G,Ge)|0)+(S>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,M=Math.imul(we,je),S=(S=Math.imul(we,fe))+Math.imul(K,je)|0,w=Math.imul(K,fe),M=M+Math.imul(Ee,de)|0,S=(S=S+Math.imul(Ee,me)|0)+Math.imul(te,de)|0,w=w+Math.imul(te,me)|0,M=M+Math.imul(ie,Se)|0,S=(S=S+Math.imul(ie,Ne)|0)+Math.imul(he,Se)|0,w=w+Math.imul(he,Ne)|0,M=M+Math.imul(ue,Le)|0,S=(S=S+Math.imul(ue,Re)|0)+Math.imul(ce,Le)|0,w=w+Math.imul(ce,Re)|0,M=M+Math.imul(ee,Fe)|0,S=(S=S+Math.imul(ee,Ge)|0)+Math.imul(Z,Fe)|0,w=w+Math.imul(Z,Ge)|0;var mr=(R+(M=M+Math.imul($,Je)|0)|0)+((8191&(S=(S=S+Math.imul($,it)|0)+Math.imul(G,Je)|0))<<13)|0;R=((w=w+Math.imul(G,it)|0)+(S>>>13)|0)+(mr>>>26)|0,mr&=67108863,M=Math.imul(W,je),S=(S=Math.imul(W,fe))+Math.imul(X,je)|0,w=Math.imul(X,fe),M=M+Math.imul(we,de)|0,S=(S=S+Math.imul(we,me)|0)+Math.imul(K,de)|0,w=w+Math.imul(K,me)|0,M=M+Math.imul(Ee,Se)|0,S=(S=S+Math.imul(Ee,Ne)|0)+Math.imul(te,Se)|0,w=w+Math.imul(te,Ne)|0,M=M+Math.imul(ie,Le)|0,S=(S=S+Math.imul(ie,Re)|0)+Math.imul(he,Le)|0,w=w+Math.imul(he,Re)|0,M=M+Math.imul(ue,Fe)|0,S=(S=S+Math.imul(ue,Ge)|0)+Math.imul(ce,Fe)|0,w=w+Math.imul(ce,Ge)|0,M=M+Math.imul(ee,Je)|0,S=(S=S+Math.imul(ee,it)|0)+Math.imul(Z,Je)|0,w=w+Math.imul(Z,it)|0;var ar=(R+(M=M+Math.imul($,Ye)|0)|0)+((8191&(S=(S=S+Math.imul($,ut)|0)+Math.imul(G,Ye)|0))<<13)|0;R=((w=w+Math.imul(G,ut)|0)+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(re,je),S=(S=Math.imul(re,fe))+Math.imul(ye,je)|0,w=Math.imul(ye,fe),M=M+Math.imul(W,de)|0,S=(S=S+Math.imul(W,me)|0)+Math.imul(X,de)|0,w=w+Math.imul(X,me)|0,M=M+Math.imul(we,Se)|0,S=(S=S+Math.imul(we,Ne)|0)+Math.imul(K,Se)|0,w=w+Math.imul(K,Ne)|0,M=M+Math.imul(Ee,Le)|0,S=(S=S+Math.imul(Ee,Re)|0)+Math.imul(te,Le)|0,w=w+Math.imul(te,Re)|0,M=M+Math.imul(ie,Fe)|0,S=(S=S+Math.imul(ie,Ge)|0)+Math.imul(he,Fe)|0,w=w+Math.imul(he,Ge)|0,M=M+Math.imul(ue,Je)|0,S=(S=S+Math.imul(ue,it)|0)+Math.imul(ce,Je)|0,w=w+Math.imul(ce,it)|0,M=M+Math.imul(ee,Ye)|0,S=(S=S+Math.imul(ee,ut)|0)+Math.imul(Z,Ye)|0,w=w+Math.imul(Z,ut)|0;var _r=(R+(M=M+Math.imul($,Qe)|0)|0)+((8191&(S=(S=S+Math.imul($,st)|0)+Math.imul(G,Qe)|0))<<13)|0;R=((w=w+Math.imul(G,st)|0)+(S>>>13)|0)+(_r>>>26)|0,_r&=67108863,M=Math.imul(Pe,je),S=(S=Math.imul(Pe,fe))+Math.imul(Be,je)|0,w=Math.imul(Be,fe),M=M+Math.imul(re,de)|0,S=(S=S+Math.imul(re,me)|0)+Math.imul(ye,de)|0,w=w+Math.imul(ye,me)|0,M=M+Math.imul(W,Se)|0,S=(S=S+Math.imul(W,Ne)|0)+Math.imul(X,Se)|0,w=w+Math.imul(X,Ne)|0,M=M+Math.imul(we,Le)|0,S=(S=S+Math.imul(we,Re)|0)+Math.imul(K,Le)|0,w=w+Math.imul(K,Re)|0,M=M+Math.imul(Ee,Fe)|0,S=(S=S+Math.imul(Ee,Ge)|0)+Math.imul(te,Fe)|0,w=w+Math.imul(te,Ge)|0,M=M+Math.imul(ie,Je)|0,S=(S=S+Math.imul(ie,it)|0)+Math.imul(he,Je)|0,w=w+Math.imul(he,it)|0,M=M+Math.imul(ue,Ye)|0,S=(S=S+Math.imul(ue,ut)|0)+Math.imul(ce,Ye)|0,w=w+Math.imul(ce,ut)|0,M=M+Math.imul(ee,Qe)|0,S=(S=S+Math.imul(ee,st)|0)+Math.imul(Z,Qe)|0,w=w+Math.imul(Z,st)|0;var Mr=(R+(M=M+Math.imul($,rt)|0)|0)+((8191&(S=(S=S+Math.imul($,yt)|0)+Math.imul(G,rt)|0))<<13)|0;R=((w=w+Math.imul(G,yt)|0)+(S>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,M=Math.imul(ke,je),S=(S=Math.imul(ke,fe))+Math.imul(Ue,je)|0,w=Math.imul(Ue,fe),M=M+Math.imul(Pe,de)|0,S=(S=S+Math.imul(Pe,me)|0)+Math.imul(Be,de)|0,w=w+Math.imul(Be,me)|0,M=M+Math.imul(re,Se)|0,S=(S=S+Math.imul(re,Ne)|0)+Math.imul(ye,Se)|0,w=w+Math.imul(ye,Ne)|0,M=M+Math.imul(W,Le)|0,S=(S=S+Math.imul(W,Re)|0)+Math.imul(X,Le)|0,w=w+Math.imul(X,Re)|0,M=M+Math.imul(we,Fe)|0,S=(S=S+Math.imul(we,Ge)|0)+Math.imul(K,Fe)|0,w=w+Math.imul(K,Ge)|0,M=M+Math.imul(Ee,Je)|0,S=(S=S+Math.imul(Ee,it)|0)+Math.imul(te,Je)|0,w=w+Math.imul(te,it)|0,M=M+Math.imul(ie,Ye)|0,S=(S=S+Math.imul(ie,ut)|0)+Math.imul(he,Ye)|0,w=w+Math.imul(he,ut)|0,M=M+Math.imul(ue,Qe)|0,S=(S=S+Math.imul(ue,st)|0)+Math.imul(ce,Qe)|0,w=w+Math.imul(ce,st)|0,M=M+Math.imul(ee,rt)|0,S=(S=S+Math.imul(ee,yt)|0)+Math.imul(Z,rt)|0,w=w+Math.imul(Z,yt)|0;var Er=(R+(M=M+Math.imul($,tt)|0)|0)+((8191&(S=(S=S+Math.imul($,dt)|0)+Math.imul(G,tt)|0))<<13)|0;R=((w=w+Math.imul(G,dt)|0)+(S>>>13)|0)+(Er>>>26)|0,Er&=67108863,M=Math.imul(ke,de),S=(S=Math.imul(ke,me))+Math.imul(Ue,de)|0,w=Math.imul(Ue,me),M=M+Math.imul(Pe,Se)|0,S=(S=S+Math.imul(Pe,Ne)|0)+Math.imul(Be,Se)|0,w=w+Math.imul(Be,Ne)|0,M=M+Math.imul(re,Le)|0,S=(S=S+Math.imul(re,Re)|0)+Math.imul(ye,Le)|0,w=w+Math.imul(ye,Re)|0,M=M+Math.imul(W,Fe)|0,S=(S=S+Math.imul(W,Ge)|0)+Math.imul(X,Fe)|0,w=w+Math.imul(X,Ge)|0,M=M+Math.imul(we,Je)|0,S=(S=S+Math.imul(we,it)|0)+Math.imul(K,Je)|0,w=w+Math.imul(K,it)|0,M=M+Math.imul(Ee,Ye)|0,S=(S=S+Math.imul(Ee,ut)|0)+Math.imul(te,Ye)|0,w=w+Math.imul(te,ut)|0,M=M+Math.imul(ie,Qe)|0,S=(S=S+Math.imul(ie,st)|0)+Math.imul(he,Qe)|0,w=w+Math.imul(he,st)|0,M=M+Math.imul(ue,rt)|0,S=(S=S+Math.imul(ue,yt)|0)+Math.imul(ce,rt)|0,w=w+Math.imul(ce,yt)|0;var kr=(R+(M=M+Math.imul(ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ee,dt)|0)+Math.imul(Z,tt)|0))<<13)|0;R=((w=w+Math.imul(Z,dt)|0)+(S>>>13)|0)+(kr>>>26)|0,kr&=67108863,M=Math.imul(ke,Se),S=(S=Math.imul(ke,Ne))+Math.imul(Ue,Se)|0,w=Math.imul(Ue,Ne),M=M+Math.imul(Pe,Le)|0,S=(S=S+Math.imul(Pe,Re)|0)+Math.imul(Be,Le)|0,w=w+Math.imul(Be,Re)|0,M=M+Math.imul(re,Fe)|0,S=(S=S+Math.imul(re,Ge)|0)+Math.imul(ye,Fe)|0,w=w+Math.imul(ye,Ge)|0,M=M+Math.imul(W,Je)|0,S=(S=S+Math.imul(W,it)|0)+Math.imul(X,Je)|0,w=w+Math.imul(X,it)|0,M=M+Math.imul(we,Ye)|0,S=(S=S+Math.imul(we,ut)|0)+Math.imul(K,Ye)|0,w=w+Math.imul(K,ut)|0,M=M+Math.imul(Ee,Qe)|0,S=(S=S+Math.imul(Ee,st)|0)+Math.imul(te,Qe)|0,w=w+Math.imul(te,st)|0,M=M+Math.imul(ie,rt)|0,S=(S=S+Math.imul(ie,yt)|0)+Math.imul(he,rt)|0,w=w+Math.imul(he,yt)|0;var xr=(R+(M=M+Math.imul(ue,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ue,dt)|0)+Math.imul(ce,tt)|0))<<13)|0;R=((w=w+Math.imul(ce,dt)|0)+(S>>>13)|0)+(xr>>>26)|0,xr&=67108863,M=Math.imul(ke,Le),S=(S=Math.imul(ke,Re))+Math.imul(Ue,Le)|0,w=Math.imul(Ue,Re),M=M+Math.imul(Pe,Fe)|0,S=(S=S+Math.imul(Pe,Ge)|0)+Math.imul(Be,Fe)|0,w=w+Math.imul(Be,Ge)|0,M=M+Math.imul(re,Je)|0,S=(S=S+Math.imul(re,it)|0)+Math.imul(ye,Je)|0,w=w+Math.imul(ye,it)|0,M=M+Math.imul(W,Ye)|0,S=(S=S+Math.imul(W,ut)|0)+Math.imul(X,Ye)|0,w=w+Math.imul(X,ut)|0,M=M+Math.imul(we,Qe)|0,S=(S=S+Math.imul(we,st)|0)+Math.imul(K,Qe)|0,w=w+Math.imul(K,st)|0,M=M+Math.imul(Ee,rt)|0,S=(S=S+Math.imul(Ee,yt)|0)+Math.imul(te,rt)|0,w=w+Math.imul(te,yt)|0;var gr=(R+(M=M+Math.imul(ie,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ie,dt)|0)+Math.imul(he,tt)|0))<<13)|0;R=((w=w+Math.imul(he,dt)|0)+(S>>>13)|0)+(gr>>>26)|0,gr&=67108863,M=Math.imul(ke,Fe),S=(S=Math.imul(ke,Ge))+Math.imul(Ue,Fe)|0,w=Math.imul(Ue,Ge),M=M+Math.imul(Pe,Je)|0,S=(S=S+Math.imul(Pe,it)|0)+Math.imul(Be,Je)|0,w=w+Math.imul(Be,it)|0,M=M+Math.imul(re,Ye)|0,S=(S=S+Math.imul(re,ut)|0)+Math.imul(ye,Ye)|0,w=w+Math.imul(ye,ut)|0,M=M+Math.imul(W,Qe)|0,S=(S=S+Math.imul(W,st)|0)+Math.imul(X,Qe)|0,w=w+Math.imul(X,st)|0,M=M+Math.imul(we,rt)|0,S=(S=S+Math.imul(we,yt)|0)+Math.imul(K,rt)|0,w=w+Math.imul(K,yt)|0;var Pr=(R+(M=M+Math.imul(Ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Ee,dt)|0)+Math.imul(te,tt)|0))<<13)|0;R=((w=w+Math.imul(te,dt)|0)+(S>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,M=Math.imul(ke,Je),S=(S=Math.imul(ke,it))+Math.imul(Ue,Je)|0,w=Math.imul(Ue,it),M=M+Math.imul(Pe,Ye)|0,S=(S=S+Math.imul(Pe,ut)|0)+Math.imul(Be,Ye)|0,w=w+Math.imul(Be,ut)|0,M=M+Math.imul(re,Qe)|0,S=(S=S+Math.imul(re,st)|0)+Math.imul(ye,Qe)|0,w=w+Math.imul(ye,st)|0,M=M+Math.imul(W,rt)|0,S=(S=S+Math.imul(W,yt)|0)+Math.imul(X,rt)|0,w=w+Math.imul(X,yt)|0;var sr=(R+(M=M+Math.imul(we,tt)|0)|0)+((8191&(S=(S=S+Math.imul(we,dt)|0)+Math.imul(K,tt)|0))<<13)|0;R=((w=w+Math.imul(K,dt)|0)+(S>>>13)|0)+(sr>>>26)|0,sr&=67108863,M=Math.imul(ke,Ye),S=(S=Math.imul(ke,ut))+Math.imul(Ue,Ye)|0,w=Math.imul(Ue,ut),M=M+Math.imul(Pe,Qe)|0,S=(S=S+Math.imul(Pe,st)|0)+Math.imul(Be,Qe)|0,w=w+Math.imul(Be,st)|0,M=M+Math.imul(re,rt)|0,S=(S=S+Math.imul(re,yt)|0)+Math.imul(ye,rt)|0,w=w+Math.imul(ye,yt)|0;var Ar=(R+(M=M+Math.imul(W,tt)|0)|0)+((8191&(S=(S=S+Math.imul(W,dt)|0)+Math.imul(X,tt)|0))<<13)|0;R=((w=w+Math.imul(X,dt)|0)+(S>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,M=Math.imul(ke,Qe),S=(S=Math.imul(ke,st))+Math.imul(Ue,Qe)|0,w=Math.imul(Ue,st),M=M+Math.imul(Pe,rt)|0,S=(S=S+Math.imul(Pe,yt)|0)+Math.imul(Be,rt)|0,w=w+Math.imul(Be,yt)|0;var ur=(R+(M=M+Math.imul(re,tt)|0)|0)+((8191&(S=(S=S+Math.imul(re,dt)|0)+Math.imul(ye,tt)|0))<<13)|0;R=((w=w+Math.imul(ye,dt)|0)+(S>>>13)|0)+(ur>>>26)|0,ur&=67108863,M=Math.imul(ke,rt),S=(S=Math.imul(ke,yt))+Math.imul(Ue,rt)|0,w=Math.imul(Ue,yt);var zt=(R+(M=M+Math.imul(Pe,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Pe,dt)|0)+Math.imul(Be,tt)|0))<<13)|0;R=((w=w+Math.imul(Be,dt)|0)+(S>>>13)|0)+(zt>>>26)|0,zt&=67108863;var cr=(R+(M=Math.imul(ke,tt))|0)+((8191&(S=(S=Math.imul(ke,dt))+Math.imul(Ue,tt)|0))<<13)|0;return R=((w=Math.imul(Ue,dt))+(S>>>13)|0)+(cr>>>26)|0,cr&=67108863,V[0]=Mt,V[1]=Dt,V[2]=Cr,V[3]=Sr,V[4]=Lr,V[5]=mr,V[6]=ar,V[7]=_r,V[8]=Mr,V[9]=Er,V[10]=kr,V[11]=xr,V[12]=gr,V[13]=Pr,V[14]=sr,V[15]=Ar,V[16]=ur,V[17]=zt,V[18]=cr,R!==0&&(V[19]=R,x.length++),x};function h(_,T,x){return new O().mulp(_,T,x)}function O(_,T){this.x=_,this.y=T}Math.imul||(p=v),t.prototype.mulTo=function(_,T){var x,M=this.length+_.length;return x=this.length===10&&_.length===10?p(this,_,T):M<63?v(this,_,T):M<1024?function(S,w,A){A.negative=w.negative^S.negative,A.length=S.length+w.length;for(var D=0,V=0,R=0;R>>26)|0)>>>26,F&=67108863}A.words[R]=$,D=F,F=V}return D!==0?A.words[R]=D:A.length--,A.strip()}(this,_,T):h(this,_,T),x},O.prototype.makeRBT=function(_){for(var T=new Array(_),x=t.prototype._countBits(_)-1,M=0;M<_;M++)T[M]=this.revBin(M,x,_);return T},O.prototype.revBin=function(_,T,x){if(_===0||_===x-1)return _;for(var M=0,S=0;S>=1;return M},O.prototype.permute=function(_,T,x,M,S,w){for(var A=0;A>>=1)S++;return 1<>>=13,x[2*w+1]=8191&S,S>>>=13;for(w=2*T;w>=26,T+=M/67108864|0,T+=S>>>26,this.words[x]=67108863&S}return T!==0&&(this.words[x]=T,this.length++),this},t.prototype.muln=function(_){return this.clone().imuln(_)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(_){var T=function(w){for(var A=new Array(w.bitLength()),D=0;D>>R}return A}(_);if(T.length===0)return new t(1);for(var x=this,M=0;M=0);var T,x=_%26,M=(_-x)/26,S=67108863>>>26-x<<26-x;if(x!==0){var w=0;for(T=0;T>>26-x}w&&(this.words[T]=w,this.length++)}if(M!==0){for(T=this.length-1;T>=0;T--)this.words[T+M]=this.words[T];for(T=0;T=0),M=T?(T-T%26)/26:0;var S=_%26,w=Math.min((_-S)/26,this.length),A=67108863^67108863>>>S<w)for(this.length-=w,V=0;V=0&&(R!==0||V>=M);V--){var F=0|this.words[V];this.words[V]=R<<26-S|F>>>S,R=F&A}return D&&R!==0&&(D.words[D.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(_,T,x){return i(this.negative===0),this.iushrn(_,T,x)},t.prototype.shln=function(_){return this.clone().ishln(_)},t.prototype.ushln=function(_){return this.clone().iushln(_)},t.prototype.shrn=function(_){return this.clone().ishrn(_)},t.prototype.ushrn=function(_){return this.clone().iushrn(_)},t.prototype.testn=function(_){i(typeof _=="number"&&_>=0);var T=_%26,x=(_-T)/26,M=1<=0);var T=_%26,x=(_-T)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(T!==0&&x++,this.length=Math.min(x,this.length),T!==0){var M=67108863^67108863>>>T<=67108864;T++)this.words[T]-=67108864,T===this.length-1?this.words[T+1]=1:this.words[T+1]++;return this.length=Math.max(this.length,T+1),this},t.prototype.isubn=function(_){if(i(typeof _=="number"),i(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T=0;T>26)-(D/67108864|0),this.words[M+x]=67108863&S}for(;M>26,this.words[M+x]=67108863&S;if(A===0)return this.strip();for(i(A===-1),A=0,M=0;M>26,this.words[M]=67108863&S;return this.negative=1,this.strip()},t.prototype._wordDiv=function(_,T){var x=(this.length,_.length),M=this.clone(),S=_,w=0|S.words[S.length-1];(x=26-this._countBits(w))!=0&&(S=S.ushln(x),M.iushln(x),w=0|S.words[S.length-1]);var A,D=M.length-S.length;if(T!=="mod"){(A=new t(null)).length=D+1,A.words=new Array(A.length);for(var V=0;V=0;F--){var $=67108864*(0|M.words[S.length+F])+(0|M.words[S.length+F-1]);for($=Math.min($/w|0,67108863),M._ishlnsubmul(S,$,F);M.negative!==0;)$--,M.negative=0,M._ishlnsubmul(S,1,F),M.isZero()||(M.negative^=1);A&&(A.words[F]=$)}return A&&A.strip(),M.strip(),T!=="div"&&x!==0&&M.iushrn(x),{div:A||null,mod:M}},t.prototype.divmod=function(_,T,x){return i(!_.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&_.negative===0?(w=this.neg().divmod(_,T),T!=="mod"&&(M=w.div.neg()),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.iadd(_)),{div:M,mod:S}):this.negative===0&&_.negative!==0?(w=this.divmod(_.neg(),T),T!=="mod"&&(M=w.div.neg()),{div:M,mod:w.mod}):this.negative&_.negative?(w=this.neg().divmod(_.neg(),T),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.isub(_)),{div:w.div,mod:S}):_.length>this.length||this.cmp(_)<0?{div:new t(0),mod:this}:_.length===1?T==="div"?{div:this.divn(_.words[0]),mod:null}:T==="mod"?{div:null,mod:new t(this.modn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new t(this.modn(_.words[0]))}:this._wordDiv(_,T);var M,S,w},t.prototype.div=function(_){return this.divmod(_,"div",!1).div},t.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},t.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},t.prototype.divRound=function(_){var T=this.divmod(_);if(T.mod.isZero())return T.div;var x=T.div.negative!==0?T.mod.isub(_):T.mod,M=_.ushrn(1),S=_.andln(1),w=x.cmp(M);return w<0||S===1&&w===0?T.div:T.div.negative!==0?T.div.isubn(1):T.div.iaddn(1)},t.prototype.modn=function(_){i(_<=67108863);for(var T=67108864%_,x=0,M=this.length-1;M>=0;M--)x=(T*x+(0|this.words[M]))%_;return x},t.prototype.idivn=function(_){i(_<=67108863);for(var T=0,x=this.length-1;x>=0;x--){var M=(0|this.words[x])+67108864*T;this.words[x]=M/_|0,T=M%_}return this.strip()},t.prototype.divn=function(_){return this.clone().idivn(_)},t.prototype.egcd=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M=new t(1),S=new t(0),w=new t(0),A=new t(1),D=0;T.isEven()&&x.isEven();)T.iushrn(1),x.iushrn(1),++D;for(var V=x.clone(),R=T.clone();!T.isZero();){for(var F=0,$=1;!(T.words[0]&$)&&F<26;++F,$<<=1);if(F>0)for(T.iushrn(F);F-- >0;)(M.isOdd()||S.isOdd())&&(M.iadd(V),S.isub(R)),M.iushrn(1),S.iushrn(1);for(var G=0,Q=1;!(x.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(x.iushrn(G);G-- >0;)(w.isOdd()||A.isOdd())&&(w.iadd(V),A.isub(R)),w.iushrn(1),A.iushrn(1);T.cmp(x)>=0?(T.isub(x),M.isub(w),S.isub(A)):(x.isub(T),w.isub(M),A.isub(S))}return{a:w,b:A,gcd:x.iushln(D)}},t.prototype._invmp=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M,S=new t(1),w=new t(0),A=x.clone();T.cmpn(1)>0&&x.cmpn(1)>0;){for(var D=0,V=1;!(T.words[0]&V)&&D<26;++D,V<<=1);if(D>0)for(T.iushrn(D);D-- >0;)S.isOdd()&&S.iadd(A),S.iushrn(1);for(var R=0,F=1;!(x.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(x.iushrn(R);R-- >0;)w.isOdd()&&w.iadd(A),w.iushrn(1);T.cmp(x)>=0?(T.isub(x),S.isub(w)):(x.isub(T),w.isub(S))}return(M=T.cmpn(1)===0?S:w).cmpn(0)<0&&M.iadd(_),M},t.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var T=this.clone(),x=_.clone();T.negative=0,x.negative=0;for(var M=0;T.isEven()&&x.isEven();M++)T.iushrn(1),x.iushrn(1);for(;;){for(;T.isEven();)T.iushrn(1);for(;x.isEven();)x.iushrn(1);var S=T.cmp(x);if(S<0){var w=T;T=x,x=w}else if(S===0||x.cmpn(1)===0)break;T.isub(x)}return x.iushln(M)},t.prototype.invm=function(_){return this.egcd(_).a.umod(_)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(_){return this.words[0]&_},t.prototype.bincn=function(_){i(typeof _=="number");var T=_%26,x=(_-T)/26,M=1<>>26,A&=67108863,this.words[w]=A}return S!==0&&(this.words[w]=S,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(_){var T,x=_<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;if(this.strip(),this.length>1)T=1;else{x&&(_=-_),i(_<=67108863,"Number is too big");var M=0|this.words[0];T=M===_?0:M<_?-1:1}return this.negative!==0?0|-T:T},t.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var T=this.ucmp(_);return this.negative!==0?0|-T:T},t.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var T=0,x=this.length-1;x>=0;x--){var M=0|this.words[x],S=0|_.words[x];if(M!==S){MS&&(T=1);break}}return T},t.prototype.gtn=function(_){return this.cmpn(_)===1},t.prototype.gt=function(_){return this.cmp(_)===1},t.prototype.gten=function(_){return this.cmpn(_)>=0},t.prototype.gte=function(_){return this.cmp(_)>=0},t.prototype.ltn=function(_){return this.cmpn(_)===-1},t.prototype.lt=function(_){return this.cmp(_)===-1},t.prototype.lten=function(_){return this.cmpn(_)<=0},t.prototype.lte=function(_){return this.cmp(_)<=0},t.prototype.eqn=function(_){return this.cmpn(_)===0},t.prototype.eq=function(_){return this.cmp(_)===0},t.red=function(_){return new j(_)},t.prototype.toRed=function(_){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(_){return this.red=_,this},t.prototype.forceRed=function(_){return i(!this.red,"Already a number in reduction context"),this._forceRed(_)},t.prototype.redAdd=function(_){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},t.prototype.redIAdd=function(_){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},t.prototype.redSub=function(_){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},t.prototype.redISub=function(_){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},t.prototype.redShl=function(_){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},t.prototype.redMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},t.prototype.redIMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(_){return i(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var I={k256:null,p224:null,p192:null,p25519:null};function B(_,T){this.name=_,this.p=new t(T,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function L(){B.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function N(){B.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function H(){B.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(_){if(typeof _=="string"){var T=t._prime(_);this.m=T.p,this.prime=T}else i(_.gtn(1),"modulus must be greater than 1"),this.m=_,this.prime=null}function U(_){j.call(this,_),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}B.prototype._tmp=function(){var _=new t(null);return _.words=new Array(Math.ceil(this.n/13)),_},B.prototype.ireduce=function(_){var T,x=_;do this.split(x,this.tmp),T=(x=(x=this.imulK(x)).iadd(this.tmp)).bitLength();while(T>this.n);var M=T0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},B.prototype.split=function(_,T){_.iushrn(this.n,0,T)},B.prototype.imulK=function(_){return _.imul(this.k)},y(k,B),k.prototype.split=function(_,T){for(var x=4194303,M=Math.min(_.length,9),S=0;S>>22,w=A}w>>>=22,_.words[S-10]=w,w===0&&_.length>10?_.length-=10:_.length-=9},k.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var T=0,x=0;x<_.length;x++){var M=0|_.words[x];T+=977*M,_.words[x]=67108863&T,T=64*M+(T/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_},y(L,B),y(N,B),y(H,B),H.prototype.imulK=function(_){for(var T=0,x=0;x<_.length;x++){var M=19*(0|_.words[x])+T,S=67108863&M;M>>>=26,_.words[x]=S,T=M}return T!==0&&(_.words[_.length++]=T),_},t._prime=function(_){if(I[_])return I[_];var T;if(_==="k256")T=new k;else if(_==="p224")T=new L;else if(_==="p192")T=new N;else{if(_!=="p25519")throw new Error("Unknown prime "+_);T=new H}return I[_]=T,T},j.prototype._verify1=function(_){i(_.negative===0,"red works only with positives"),i(_.red,"red works only with red numbers")},j.prototype._verify2=function(_,T){i(!(_.negative|T.negative),"red works only with positives"),i(_.red&&_.red===T.red,"red works only with red numbers")},j.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):_.umod(this.m)._forceRed(this)},j.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},j.prototype.add=function(_,T){this._verify2(_,T);var x=_.add(T);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},j.prototype.iadd=function(_,T){this._verify2(_,T);var x=_.iadd(T);return x.cmp(this.m)>=0&&x.isub(this.m),x},j.prototype.sub=function(_,T){this._verify2(_,T);var x=_.sub(T);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},j.prototype.isub=function(_,T){this._verify2(_,T);var x=_.isub(T);return x.cmpn(0)<0&&x.iadd(this.m),x},j.prototype.shl=function(_,T){return this._verify1(_),this.imod(_.ushln(T))},j.prototype.imul=function(_,T){return this._verify2(_,T),this.imod(_.imul(T))},j.prototype.mul=function(_,T){return this._verify2(_,T),this.imod(_.mul(T))},j.prototype.isqr=function(_){return this.imul(_,_.clone())},j.prototype.sqr=function(_){return this.mul(_,_)},j.prototype.sqrt=function(_){if(_.isZero())return _.clone();var T=this.m.andln(3);if(i(T%2==1),T===3){var x=this.m.add(new t(1)).iushrn(2);return this.pow(_,x)}for(var M=this.m.subn(1),S=0;!M.isZero()&&M.andln(1)===0;)S++,M.iushrn(1);i(!M.isZero());var w=new t(1).toRed(this),A=w.redNeg(),D=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new t(2*V*V).toRed(this);this.pow(V,D).cmp(A)!==0;)V.redIAdd(A);for(var R=this.pow(V,M),F=this.pow(_,M.addn(1).iushrn(1)),$=this.pow(_,M),G=S;$.cmp(w)!==0;){for(var Q=$,ee=0;Q.cmp(w)!==0;ee++)Q=Q.redSqr();i(ee=0;M--){for(var V=T.words[M],R=D-1;R>=0;R--){var F=V>>R&1;S!==x[0]&&(S=this.sqr(S)),F!==0||w!==0?(w<<=1,w|=F,(++A==4||M===0&&R===0)&&(S=this.mul(S,x[w]),A=0,w=0)):A=0}D=26}return S},j.prototype.convertTo=function(_){var T=_.umod(this.m);return T===_?T.clone():T},j.prototype.convertFrom=function(_){var T=_.clone();return T.red=null,T},t.mont=function(_){return new U(_)},y(U,j),U.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},U.prototype.convertFrom=function(_){var T=this.imod(_.mul(this.rinv));return T.red=null,T},U.prototype.imul=function(_,T){if(_.isZero()||T.isZero())return _.words[0]=0,_.length=1,_;var x=_.imul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.mul=function(_,T){if(_.isZero()||T.isZero())return new t(0)._forceRed(this);var x=_.mul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.invm=function(_){return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},7526:(E,n)=>{n.byteLength=function(b){var m=t(b),u=m[0],f=m[1];return 3*(u+f)/4-f},n.toByteArray=function(b){var m,u,f=t(b),l=f[0],s=f[1],v=new a(function(O,I,B){return 3*(I+B)/4-B}(0,l,s)),p=0,h=s>0?l-4:l;for(u=0;u>16&255,v[p++]=m>>8&255,v[p++]=255&m;return s===2&&(m=r[b.charCodeAt(u)]<<2|r[b.charCodeAt(u+1)]>>4,v[p++]=255&m),s===1&&(m=r[b.charCodeAt(u)]<<10|r[b.charCodeAt(u+1)]<<4|r[b.charCodeAt(u+2)]>>2,v[p++]=m>>8&255,v[p++]=255&m),v},n.fromByteArray=function(b){for(var m,u=b.length,f=u%3,l=[],s=16383,v=0,p=u-f;vp?p:v+s));return f===1?(m=b[u-1],l.push(c[m>>2]+c[m<<4&63]+"==")):f===2&&(m=(b[u-2]<<8)+b[u-1],l.push(c[m>>10]+c[m>>4&63]+c[m<<2&63]+"=")),l.join("")};for(var c=[],r=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)c[y]=i[y],r[i.charCodeAt(y)]=y;function t(b){var m=b.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=b.indexOf("=");return u===-1&&(u=m),[u,u===m?0:4-u%4]}function d(b,m,u){for(var f,l,s=[],v=m;v>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]);return s.join("")}r[45]=62,r[95]=63},9404:function(E,n,c){(function(r,a){function i(x,M){if(!x)throw new Error(M||"Assertion failed")}function y(x,M){x.super_=M;var S=function(){};S.prototype=M.prototype,x.prototype=new S,x.prototype.constructor=x}function t(x,M,S){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(S=M,M=10),this._init(x||0,M||10,S||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(7790).Buffer}catch{}function b(x,M){var S=x.charCodeAt(M);return S>=48&&S<=57?S-48:S>=65&&S<=70?S-55:S>=97&&S<=102?S-87:void i(!1,"Invalid character in "+x)}function m(x,M,S){var w=b(x,S);return S-1>=M&&(w|=b(x,S-1)<<4),w}function u(x,M,S,w){for(var A=0,D=0,V=Math.min(x.length,S),R=M;R=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&D0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,S){if(typeof x=="number")return this._initNumber(x,M,S);if(typeof x=="object")return this._initArray(x,M,S);M==="hex"&&(M=16),i(M===(0|M)&&M>=2&&M<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w=0;w-=3)D=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[A]|=D<>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);else if(S==="le")for(w=0,A=0;w>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);return this._strip()},t.prototype._parseHex=function(x,M,S){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var w=0;w=M;w-=2)A=m(x,M,w)<=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;else for(w=(x.length-M)%2==0?M+1:M;w=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;this._strip()},t.prototype._parseBase=function(x,M,S){this.words=[0],this.length=1;for(var w=0,A=1;A<=67108863;A*=M)w++;w--,A=A/M|0;for(var D=x.length-S,V=D%w,R=Math.min(D,D-V)+S,F=0,$=S;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{t.prototype.inspect=l}else t.prototype.inspect=l;function l(){return(this.red?""}var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(x,M,S){S.negative=M.negative^x.negative;var w=x.length+M.length|0;S.length=w,w=w-1|0;var A=0|x.words[0],D=0|M.words[0],V=A*D,R=67108863&V,F=V/67108864|0;S.words[0]=R;for(var $=1;$>>26,Q=67108863&F,ee=Math.min($,M.length-1),Z=Math.max(0,$-x.length+1);Z<=ee;Z++){var q=$-Z|0;G+=(V=(A=0|x.words[q])*(D=0|M.words[Z])+Q)/67108864|0,Q=67108863&V}S.words[$]=0|Q,F=0|G}return F!==0?S.words[$]=0|F:S.length--,S._strip()}t.prototype.toString=function(x,M){var S;if(M=0|M||1,(x=x||10)===16||x==="hex"){S="";for(var w=0,A=0,D=0;D>>24-w&16777215,(w+=2)>=26&&(w-=26,D--),S=A!==0||D!==this.length-1?s[6-R.length]+R+S:R+S}for(A!==0&&(S=A.toString(16)+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(x===(0|x)&&x>=2&&x<=36){var F=v[x],$=p[x];S="";var G=this.clone();for(G.negative=0;!G.isZero();){var Q=G.modrn($).toString(x);S=(G=G.idivn($)).isZero()?Q+S:s[F-Q.length]+Q+S}for(this.isZero()&&(S="0"+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(x,M){return this.toArrayLike(d,x,M)}),t.prototype.toArray=function(x,M){return this.toArrayLike(Array,x,M)},t.prototype.toArrayLike=function(x,M,S){this._strip();var w=this.byteLength(),A=S||Math.max(1,w);i(w<=A,"byte array longer than desired length"),i(A>0,"Requested array length <= 0");var D=function(V,R){return V.allocUnsafe?V.allocUnsafe(R):new V(R)}(x,A);return this["_toArrayLike"+(M==="le"?"LE":"BE")](D,w),D},t.prototype._toArrayLikeLE=function(x,M){for(var S=0,w=0,A=0,D=0;A>8&255),S>16&255),D===6?(S>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S=0&&(x[S--]=V>>8&255),S>=0&&(x[S--]=V>>16&255),D===6?(S>=0&&(x[S--]=V>>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S>=0)for(x[S--]=w;S>=0;)x[S--]=0},Math.clz32?t.prototype._countBits=function(x){return 32-Math.clz32(x)}:t.prototype._countBits=function(x){var M=x,S=0;return M>=4096&&(S+=13,M>>>=13),M>=64&&(S+=7,M>>>=7),M>=8&&(S+=4,M>>>=4),M>=2&&(S+=2,M>>>=2),S+M},t.prototype._zeroBits=function(x){if(x===0)return 26;var M=x,S=0;return 8191&M||(S+=13,M>>>=13),127&M||(S+=7,M>>>=7),15&M||(S+=4,M>>>=4),3&M||(S+=2,M>>>=2),1&M||S++,S},t.prototype.bitLength=function(){var x=this.words[this.length-1],M=this._countBits(x);return 26*(this.length-1)+M},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,M=0;Mx.length?this.clone().ior(x):x.clone().ior(this)},t.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},t.prototype.iuand=function(x){var M;M=this.length>x.length?x:this;for(var S=0;Sx.length?this.clone().iand(x):x.clone().iand(this)},t.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},t.prototype.iuxor=function(x){var M,S;this.length>x.length?(M=this,S=x):(M=x,S=this);for(var w=0;wx.length?this.clone().ixor(x):x.clone().ixor(this)},t.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},t.prototype.inotn=function(x){i(typeof x=="number"&&x>=0);var M=0|Math.ceil(x/26),S=x%26;this._expand(M),S>0&&M--;for(var w=0;w0&&(this.words[w]=~this.words[w]&67108863>>26-S),this._strip()},t.prototype.notn=function(x){return this.clone().inotn(x)},t.prototype.setn=function(x,M){i(typeof x=="number"&&x>=0);var S=x/26|0,w=x%26;return this._expand(S+1),this.words[S]=M?this.words[S]|1<x.length?(S=this,w=x):(S=x,w=this);for(var A=0,D=0;D>>26;for(;A!==0&&D>>26;if(this.length=S.length,A!==0)this.words[this.length]=A,this.length++;else if(S!==this)for(;Dx.length?this.clone().iadd(x):x.clone().iadd(this)},t.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var M=this.iadd(x);return x.negative=1,M._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var S,w,A=this.cmp(x);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(S=this,w=x):(S=x,w=this);for(var D=0,V=0;V>26,this.words[V]=67108863&M;for(;D!==0&&V>26,this.words[V]=67108863&M;if(D===0&&V>>13,Z=0|V[1],q=8191&Z,ue=Z>>>13,ce=0|V[2],le=8191&ce,ie=ce>>>13,he=0|V[3],Ie=8191&he,Ee=he>>>13,te=0|V[4],ge=8191&te,we=te>>>13,K=0|V[5],J=8191&K,W=K>>>13,X=0|V[6],ne=8191&X,re=X>>>13,ye=0|V[7],Te=8191&ye,Pe=ye>>>13,Be=0|V[8],Ve=8191&Be,ke=Be>>>13,Ue=0|V[9],Xe=8191&Ue,je=Ue>>>13,fe=0|R[0],oe=8191&fe,de=fe>>>13,me=0|R[1],_e=8191&me,Se=me>>>13,Ne=0|R[2],He=8191&Ne,Le=Ne>>>13,Re=0|R[3],Ze=8191&Re,Fe=Re>>>13,Ge=0|R[4],lt=8191&Ge,Je=Ge>>>13,it=0|R[5],vt=8191&it,Ye=it>>>13,ut=0|R[6],_t=8191&ut,Qe=ut>>>13,st=0|R[7],Pt=8191&st,rt=st>>>13,yt=0|R[8],jt=8191&yt,tt=yt>>>13,dt=0|R[9],Mt=8191&dt,Dt=dt>>>13;S.negative=x.negative^M.negative,S.length=19;var Cr=($+(w=Math.imul(Q,oe))|0)+((8191&(A=(A=Math.imul(Q,de))+Math.imul(ee,oe)|0))<<13)|0;$=((D=Math.imul(ee,de))+(A>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,w=Math.imul(q,oe),A=(A=Math.imul(q,de))+Math.imul(ue,oe)|0,D=Math.imul(ue,de);var Sr=($+(w=w+Math.imul(Q,_e)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Se)|0)+Math.imul(ee,_e)|0))<<13)|0;$=((D=D+Math.imul(ee,Se)|0)+(A>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,w=Math.imul(le,oe),A=(A=Math.imul(le,de))+Math.imul(ie,oe)|0,D=Math.imul(ie,de),w=w+Math.imul(q,_e)|0,A=(A=A+Math.imul(q,Se)|0)+Math.imul(ue,_e)|0,D=D+Math.imul(ue,Se)|0;var Lr=($+(w=w+Math.imul(Q,He)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Le)|0)+Math.imul(ee,He)|0))<<13)|0;$=((D=D+Math.imul(ee,Le)|0)+(A>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(Ie,oe),A=(A=Math.imul(Ie,de))+Math.imul(Ee,oe)|0,D=Math.imul(Ee,de),w=w+Math.imul(le,_e)|0,A=(A=A+Math.imul(le,Se)|0)+Math.imul(ie,_e)|0,D=D+Math.imul(ie,Se)|0,w=w+Math.imul(q,He)|0,A=(A=A+Math.imul(q,Le)|0)+Math.imul(ue,He)|0,D=D+Math.imul(ue,Le)|0;var mr=($+(w=w+Math.imul(Q,Ze)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Fe)|0)+Math.imul(ee,Ze)|0))<<13)|0;$=((D=D+Math.imul(ee,Fe)|0)+(A>>>13)|0)+(mr>>>26)|0,mr&=67108863,w=Math.imul(ge,oe),A=(A=Math.imul(ge,de))+Math.imul(we,oe)|0,D=Math.imul(we,de),w=w+Math.imul(Ie,_e)|0,A=(A=A+Math.imul(Ie,Se)|0)+Math.imul(Ee,_e)|0,D=D+Math.imul(Ee,Se)|0,w=w+Math.imul(le,He)|0,A=(A=A+Math.imul(le,Le)|0)+Math.imul(ie,He)|0,D=D+Math.imul(ie,Le)|0,w=w+Math.imul(q,Ze)|0,A=(A=A+Math.imul(q,Fe)|0)+Math.imul(ue,Ze)|0,D=D+Math.imul(ue,Fe)|0;var ar=($+(w=w+Math.imul(Q,lt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Je)|0)+Math.imul(ee,lt)|0))<<13)|0;$=((D=D+Math.imul(ee,Je)|0)+(A>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(J,oe),A=(A=Math.imul(J,de))+Math.imul(W,oe)|0,D=Math.imul(W,de),w=w+Math.imul(ge,_e)|0,A=(A=A+Math.imul(ge,Se)|0)+Math.imul(we,_e)|0,D=D+Math.imul(we,Se)|0,w=w+Math.imul(Ie,He)|0,A=(A=A+Math.imul(Ie,Le)|0)+Math.imul(Ee,He)|0,D=D+Math.imul(Ee,Le)|0,w=w+Math.imul(le,Ze)|0,A=(A=A+Math.imul(le,Fe)|0)+Math.imul(ie,Ze)|0,D=D+Math.imul(ie,Fe)|0,w=w+Math.imul(q,lt)|0,A=(A=A+Math.imul(q,Je)|0)+Math.imul(ue,lt)|0,D=D+Math.imul(ue,Je)|0;var _r=($+(w=w+Math.imul(Q,vt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Ye)|0)+Math.imul(ee,vt)|0))<<13)|0;$=((D=D+Math.imul(ee,Ye)|0)+(A>>>13)|0)+(_r>>>26)|0,_r&=67108863,w=Math.imul(ne,oe),A=(A=Math.imul(ne,de))+Math.imul(re,oe)|0,D=Math.imul(re,de),w=w+Math.imul(J,_e)|0,A=(A=A+Math.imul(J,Se)|0)+Math.imul(W,_e)|0,D=D+Math.imul(W,Se)|0,w=w+Math.imul(ge,He)|0,A=(A=A+Math.imul(ge,Le)|0)+Math.imul(we,He)|0,D=D+Math.imul(we,Le)|0,w=w+Math.imul(Ie,Ze)|0,A=(A=A+Math.imul(Ie,Fe)|0)+Math.imul(Ee,Ze)|0,D=D+Math.imul(Ee,Fe)|0,w=w+Math.imul(le,lt)|0,A=(A=A+Math.imul(le,Je)|0)+Math.imul(ie,lt)|0,D=D+Math.imul(ie,Je)|0,w=w+Math.imul(q,vt)|0,A=(A=A+Math.imul(q,Ye)|0)+Math.imul(ue,vt)|0,D=D+Math.imul(ue,Ye)|0;var Mr=($+(w=w+Math.imul(Q,_t)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Qe)|0)+Math.imul(ee,_t)|0))<<13)|0;$=((D=D+Math.imul(ee,Qe)|0)+(A>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,w=Math.imul(Te,oe),A=(A=Math.imul(Te,de))+Math.imul(Pe,oe)|0,D=Math.imul(Pe,de),w=w+Math.imul(ne,_e)|0,A=(A=A+Math.imul(ne,Se)|0)+Math.imul(re,_e)|0,D=D+Math.imul(re,Se)|0,w=w+Math.imul(J,He)|0,A=(A=A+Math.imul(J,Le)|0)+Math.imul(W,He)|0,D=D+Math.imul(W,Le)|0,w=w+Math.imul(ge,Ze)|0,A=(A=A+Math.imul(ge,Fe)|0)+Math.imul(we,Ze)|0,D=D+Math.imul(we,Fe)|0,w=w+Math.imul(Ie,lt)|0,A=(A=A+Math.imul(Ie,Je)|0)+Math.imul(Ee,lt)|0,D=D+Math.imul(Ee,Je)|0,w=w+Math.imul(le,vt)|0,A=(A=A+Math.imul(le,Ye)|0)+Math.imul(ie,vt)|0,D=D+Math.imul(ie,Ye)|0,w=w+Math.imul(q,_t)|0,A=(A=A+Math.imul(q,Qe)|0)+Math.imul(ue,_t)|0,D=D+Math.imul(ue,Qe)|0;var Er=($+(w=w+Math.imul(Q,Pt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,rt)|0)+Math.imul(ee,Pt)|0))<<13)|0;$=((D=D+Math.imul(ee,rt)|0)+(A>>>13)|0)+(Er>>>26)|0,Er&=67108863,w=Math.imul(Ve,oe),A=(A=Math.imul(Ve,de))+Math.imul(ke,oe)|0,D=Math.imul(ke,de),w=w+Math.imul(Te,_e)|0,A=(A=A+Math.imul(Te,Se)|0)+Math.imul(Pe,_e)|0,D=D+Math.imul(Pe,Se)|0,w=w+Math.imul(ne,He)|0,A=(A=A+Math.imul(ne,Le)|0)+Math.imul(re,He)|0,D=D+Math.imul(re,Le)|0,w=w+Math.imul(J,Ze)|0,A=(A=A+Math.imul(J,Fe)|0)+Math.imul(W,Ze)|0,D=D+Math.imul(W,Fe)|0,w=w+Math.imul(ge,lt)|0,A=(A=A+Math.imul(ge,Je)|0)+Math.imul(we,lt)|0,D=D+Math.imul(we,Je)|0,w=w+Math.imul(Ie,vt)|0,A=(A=A+Math.imul(Ie,Ye)|0)+Math.imul(Ee,vt)|0,D=D+Math.imul(Ee,Ye)|0,w=w+Math.imul(le,_t)|0,A=(A=A+Math.imul(le,Qe)|0)+Math.imul(ie,_t)|0,D=D+Math.imul(ie,Qe)|0,w=w+Math.imul(q,Pt)|0,A=(A=A+Math.imul(q,rt)|0)+Math.imul(ue,Pt)|0,D=D+Math.imul(ue,rt)|0;var kr=($+(w=w+Math.imul(Q,jt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,tt)|0)+Math.imul(ee,jt)|0))<<13)|0;$=((D=D+Math.imul(ee,tt)|0)+(A>>>13)|0)+(kr>>>26)|0,kr&=67108863,w=Math.imul(Xe,oe),A=(A=Math.imul(Xe,de))+Math.imul(je,oe)|0,D=Math.imul(je,de),w=w+Math.imul(Ve,_e)|0,A=(A=A+Math.imul(Ve,Se)|0)+Math.imul(ke,_e)|0,D=D+Math.imul(ke,Se)|0,w=w+Math.imul(Te,He)|0,A=(A=A+Math.imul(Te,Le)|0)+Math.imul(Pe,He)|0,D=D+Math.imul(Pe,Le)|0,w=w+Math.imul(ne,Ze)|0,A=(A=A+Math.imul(ne,Fe)|0)+Math.imul(re,Ze)|0,D=D+Math.imul(re,Fe)|0,w=w+Math.imul(J,lt)|0,A=(A=A+Math.imul(J,Je)|0)+Math.imul(W,lt)|0,D=D+Math.imul(W,Je)|0,w=w+Math.imul(ge,vt)|0,A=(A=A+Math.imul(ge,Ye)|0)+Math.imul(we,vt)|0,D=D+Math.imul(we,Ye)|0,w=w+Math.imul(Ie,_t)|0,A=(A=A+Math.imul(Ie,Qe)|0)+Math.imul(Ee,_t)|0,D=D+Math.imul(Ee,Qe)|0,w=w+Math.imul(le,Pt)|0,A=(A=A+Math.imul(le,rt)|0)+Math.imul(ie,Pt)|0,D=D+Math.imul(ie,rt)|0,w=w+Math.imul(q,jt)|0,A=(A=A+Math.imul(q,tt)|0)+Math.imul(ue,jt)|0,D=D+Math.imul(ue,tt)|0;var xr=($+(w=w+Math.imul(Q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Dt)|0)+Math.imul(ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(ee,Dt)|0)+(A>>>13)|0)+(xr>>>26)|0,xr&=67108863,w=Math.imul(Xe,_e),A=(A=Math.imul(Xe,Se))+Math.imul(je,_e)|0,D=Math.imul(je,Se),w=w+Math.imul(Ve,He)|0,A=(A=A+Math.imul(Ve,Le)|0)+Math.imul(ke,He)|0,D=D+Math.imul(ke,Le)|0,w=w+Math.imul(Te,Ze)|0,A=(A=A+Math.imul(Te,Fe)|0)+Math.imul(Pe,Ze)|0,D=D+Math.imul(Pe,Fe)|0,w=w+Math.imul(ne,lt)|0,A=(A=A+Math.imul(ne,Je)|0)+Math.imul(re,lt)|0,D=D+Math.imul(re,Je)|0,w=w+Math.imul(J,vt)|0,A=(A=A+Math.imul(J,Ye)|0)+Math.imul(W,vt)|0,D=D+Math.imul(W,Ye)|0,w=w+Math.imul(ge,_t)|0,A=(A=A+Math.imul(ge,Qe)|0)+Math.imul(we,_t)|0,D=D+Math.imul(we,Qe)|0,w=w+Math.imul(Ie,Pt)|0,A=(A=A+Math.imul(Ie,rt)|0)+Math.imul(Ee,Pt)|0,D=D+Math.imul(Ee,rt)|0,w=w+Math.imul(le,jt)|0,A=(A=A+Math.imul(le,tt)|0)+Math.imul(ie,jt)|0,D=D+Math.imul(ie,tt)|0;var gr=($+(w=w+Math.imul(q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(q,Dt)|0)+Math.imul(ue,Mt)|0))<<13)|0;$=((D=D+Math.imul(ue,Dt)|0)+(A>>>13)|0)+(gr>>>26)|0,gr&=67108863,w=Math.imul(Xe,He),A=(A=Math.imul(Xe,Le))+Math.imul(je,He)|0,D=Math.imul(je,Le),w=w+Math.imul(Ve,Ze)|0,A=(A=A+Math.imul(Ve,Fe)|0)+Math.imul(ke,Ze)|0,D=D+Math.imul(ke,Fe)|0,w=w+Math.imul(Te,lt)|0,A=(A=A+Math.imul(Te,Je)|0)+Math.imul(Pe,lt)|0,D=D+Math.imul(Pe,Je)|0,w=w+Math.imul(ne,vt)|0,A=(A=A+Math.imul(ne,Ye)|0)+Math.imul(re,vt)|0,D=D+Math.imul(re,Ye)|0,w=w+Math.imul(J,_t)|0,A=(A=A+Math.imul(J,Qe)|0)+Math.imul(W,_t)|0,D=D+Math.imul(W,Qe)|0,w=w+Math.imul(ge,Pt)|0,A=(A=A+Math.imul(ge,rt)|0)+Math.imul(we,Pt)|0,D=D+Math.imul(we,rt)|0,w=w+Math.imul(Ie,jt)|0,A=(A=A+Math.imul(Ie,tt)|0)+Math.imul(Ee,jt)|0,D=D+Math.imul(Ee,tt)|0;var Pr=($+(w=w+Math.imul(le,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(le,Dt)|0)+Math.imul(ie,Mt)|0))<<13)|0;$=((D=D+Math.imul(ie,Dt)|0)+(A>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,w=Math.imul(Xe,Ze),A=(A=Math.imul(Xe,Fe))+Math.imul(je,Ze)|0,D=Math.imul(je,Fe),w=w+Math.imul(Ve,lt)|0,A=(A=A+Math.imul(Ve,Je)|0)+Math.imul(ke,lt)|0,D=D+Math.imul(ke,Je)|0,w=w+Math.imul(Te,vt)|0,A=(A=A+Math.imul(Te,Ye)|0)+Math.imul(Pe,vt)|0,D=D+Math.imul(Pe,Ye)|0,w=w+Math.imul(ne,_t)|0,A=(A=A+Math.imul(ne,Qe)|0)+Math.imul(re,_t)|0,D=D+Math.imul(re,Qe)|0,w=w+Math.imul(J,Pt)|0,A=(A=A+Math.imul(J,rt)|0)+Math.imul(W,Pt)|0,D=D+Math.imul(W,rt)|0,w=w+Math.imul(ge,jt)|0,A=(A=A+Math.imul(ge,tt)|0)+Math.imul(we,jt)|0,D=D+Math.imul(we,tt)|0;var sr=($+(w=w+Math.imul(Ie,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ie,Dt)|0)+Math.imul(Ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(Ee,Dt)|0)+(A>>>13)|0)+(sr>>>26)|0,sr&=67108863,w=Math.imul(Xe,lt),A=(A=Math.imul(Xe,Je))+Math.imul(je,lt)|0,D=Math.imul(je,Je),w=w+Math.imul(Ve,vt)|0,A=(A=A+Math.imul(Ve,Ye)|0)+Math.imul(ke,vt)|0,D=D+Math.imul(ke,Ye)|0,w=w+Math.imul(Te,_t)|0,A=(A=A+Math.imul(Te,Qe)|0)+Math.imul(Pe,_t)|0,D=D+Math.imul(Pe,Qe)|0,w=w+Math.imul(ne,Pt)|0,A=(A=A+Math.imul(ne,rt)|0)+Math.imul(re,Pt)|0,D=D+Math.imul(re,rt)|0,w=w+Math.imul(J,jt)|0,A=(A=A+Math.imul(J,tt)|0)+Math.imul(W,jt)|0,D=D+Math.imul(W,tt)|0;var Ar=($+(w=w+Math.imul(ge,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ge,Dt)|0)+Math.imul(we,Mt)|0))<<13)|0;$=((D=D+Math.imul(we,Dt)|0)+(A>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,w=Math.imul(Xe,vt),A=(A=Math.imul(Xe,Ye))+Math.imul(je,vt)|0,D=Math.imul(je,Ye),w=w+Math.imul(Ve,_t)|0,A=(A=A+Math.imul(Ve,Qe)|0)+Math.imul(ke,_t)|0,D=D+Math.imul(ke,Qe)|0,w=w+Math.imul(Te,Pt)|0,A=(A=A+Math.imul(Te,rt)|0)+Math.imul(Pe,Pt)|0,D=D+Math.imul(Pe,rt)|0,w=w+Math.imul(ne,jt)|0,A=(A=A+Math.imul(ne,tt)|0)+Math.imul(re,jt)|0,D=D+Math.imul(re,tt)|0;var ur=($+(w=w+Math.imul(J,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(J,Dt)|0)+Math.imul(W,Mt)|0))<<13)|0;$=((D=D+Math.imul(W,Dt)|0)+(A>>>13)|0)+(ur>>>26)|0,ur&=67108863,w=Math.imul(Xe,_t),A=(A=Math.imul(Xe,Qe))+Math.imul(je,_t)|0,D=Math.imul(je,Qe),w=w+Math.imul(Ve,Pt)|0,A=(A=A+Math.imul(Ve,rt)|0)+Math.imul(ke,Pt)|0,D=D+Math.imul(ke,rt)|0,w=w+Math.imul(Te,jt)|0,A=(A=A+Math.imul(Te,tt)|0)+Math.imul(Pe,jt)|0,D=D+Math.imul(Pe,tt)|0;var zt=($+(w=w+Math.imul(ne,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ne,Dt)|0)+Math.imul(re,Mt)|0))<<13)|0;$=((D=D+Math.imul(re,Dt)|0)+(A>>>13)|0)+(zt>>>26)|0,zt&=67108863,w=Math.imul(Xe,Pt),A=(A=Math.imul(Xe,rt))+Math.imul(je,Pt)|0,D=Math.imul(je,rt),w=w+Math.imul(Ve,jt)|0,A=(A=A+Math.imul(Ve,tt)|0)+Math.imul(ke,jt)|0,D=D+Math.imul(ke,tt)|0;var cr=($+(w=w+Math.imul(Te,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Te,Dt)|0)+Math.imul(Pe,Mt)|0))<<13)|0;$=((D=D+Math.imul(Pe,Dt)|0)+(A>>>13)|0)+(cr>>>26)|0,cr&=67108863,w=Math.imul(Xe,jt),A=(A=Math.imul(Xe,tt))+Math.imul(je,jt)|0,D=Math.imul(je,tt);var Mn=($+(w=w+Math.imul(Ve,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ve,Dt)|0)+Math.imul(ke,Mt)|0))<<13)|0;$=((D=D+Math.imul(ke,Dt)|0)+(A>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var Jn=($+(w=Math.imul(Xe,Mt))|0)+((8191&(A=(A=Math.imul(Xe,Dt))+Math.imul(je,Mt)|0))<<13)|0;return $=((D=Math.imul(je,Dt))+(A>>>13)|0)+(Jn>>>26)|0,Jn&=67108863,F[0]=Cr,F[1]=Sr,F[2]=Lr,F[3]=mr,F[4]=ar,F[5]=_r,F[6]=Mr,F[7]=Er,F[8]=kr,F[9]=xr,F[10]=gr,F[11]=Pr,F[12]=sr,F[13]=Ar,F[14]=ur,F[15]=zt,F[16]=cr,F[17]=Mn,F[18]=Jn,$!==0&&(F[19]=$,S.length++),S};function I(x,M,S){S.negative=M.negative^x.negative,S.length=x.length+M.length;for(var w=0,A=0,D=0;D>>26)|0)>>>26,V&=67108863}S.words[D]=R,w=V,V=A}return w!==0?S.words[D]=w:S.length--,S._strip()}function B(x,M,S){return I(x,M,S)}Math.imul||(O=h),t.prototype.mulTo=function(x,M){var S=this.length+x.length;return this.length===10&&x.length===10?O(this,x,M):S<63?h(this,x,M):S<1024?I(this,x,M):B(this,x,M)},t.prototype.mul=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),this.mulTo(x,M)},t.prototype.mulf=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),B(this,x,M)},t.prototype.imul=function(x){return this.clone().mulTo(x,this)},t.prototype.imuln=function(x){var M=x<0;M&&(x=-x),i(typeof x=="number"),i(x<67108864);for(var S=0,w=0;w>=26,S+=A/67108864|0,S+=D>>>26,this.words[w]=67108863&D}return S!==0&&(this.words[w]=S,this.length++),M?this.ineg():this},t.prototype.muln=function(x){return this.clone().imuln(x)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(x){var M=function(D){for(var V=new Array(D.bitLength()),R=0;R>>$&1}return V}(x);if(M.length===0)return new t(1);for(var S=this,w=0;w=0);var M,S=x%26,w=(x-S)/26,A=67108863>>>26-S<<26-S;if(S!==0){var D=0;for(M=0;M>>26-S}D&&(this.words[M]=D,this.length++)}if(w!==0){for(M=this.length-1;M>=0;M--)this.words[M+w]=this.words[M];for(M=0;M=0),w=M?(M-M%26)/26:0;var A=x%26,D=Math.min((x-A)/26,this.length),V=67108863^67108863>>>A<D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-A|G>>>A,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&A}for(;w>26,this.words[w+S]=67108863&A;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&A;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),A=x,D=0|A.words[A.length-1];(S=26-this._countBits(D))!=0&&(A=A.ushln(S),w.iushln(S),D=0|A.words[A.length-1]);var V,R=w.length-A.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[A.length+G])+(0|w.words[A.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(A,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(A,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.iadd(x)),{div:w,mod:A}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.isub(x)),{div:D.div,mod:A}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,A,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),A=x.andln(1),D=S.cmp(w);return D<0||A===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,A=this.length-1;A>=0;A--)w=(S*w+(0|this.words[A]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var A=(0|this.words[w])+67108864*S;this.words[w]=A/x|0,S=A%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),A=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||A.isOdd())&&(w.iadd(F),A.isub($)),w.iushrn(1),A.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),A.isub(V)):(S.isub(M),D.isub(w),V.isub(A))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,A=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)A.isOdd()&&A.iadd(V),A.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),A.isub(D)):(S.isub(M),D.isub(A))}return(w=M.cmpn(1)===0?A:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var A=M.cmp(S);if(A<0){var D=M;M=S,S=D}else if(A===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return A!==0&&(this.words[D]=A,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],A=0|x.words[S];if(w!==A){wA&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},y(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),A=0;A>>22,D=V}D>>>=22,x.words[A-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=A,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),A=0;!w.isZero()&&w.andln(1)===0;)A++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=A;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;A!==S[0]&&(A=this.sqr(A)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(A=this.mul(A,S[D]),V=0,D=0)):V=0}R=26}return A},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},y(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,n,c)=>{var r;function a(y){this.rand=y}if(E.exports=function(y){return r||(r=new a(null)),r.generate(y)},E.exports.Rand=a,a.prototype.generate=function(y){return this._rand(y)},a.prototype._rand=function(y){if(this.rand.getBytes)return this.rand.getBytes(y);for(var t=new Uint8Array(y),d=0;d{const r=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=d,n.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},n.INSPECT_MAX_BYTES=50;const y=2147483647;function t(K){if(K>y)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Te=0|v(re,ye);let Pe=t(Te);const Be=Pe.write(re,ye);return Be!==Te&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Te=t(ye);return Te.length===0||re.copy(Te,0,0,ye),Te}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return le(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:le(K).length;J=(""+J).toLowerCase(),ne=!0}}function p(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Te=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Te/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reTe&&(W=Te-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Te);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?r.fromByteArray(K):r.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Te<=W){let Pe,Be,Ve,ke;switch(Te){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Te=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Te}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Te="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Te=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function A(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Te,K)}(function(ye,Te,Pe){q(Te,"offset"),ye[Te]!==void 0&&ye[Te+Pe]!==void 0||ue(Te,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function ue(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ce=/[^+/0-9A-Za-z-_]/g;function le(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return r.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ce,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},8075:(E,n,c)=>{var r=c(453),a=c(487),i=a(r("String.prototype.indexOf"));E.exports=function(y,t){var d=r(y,!!t);return typeof d=="function"&&i(y,".prototype.")>-1?a(d):d}},487:(E,n,c)=>{var r=c(6743),a=c(453),i=c(6897),y=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||r.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new y("a function is required");var s=b(r,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(r,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,n,c)=>{var r=c(655),a=c(8068),i=c(9675),y=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!y&&y(t,d);if(r)r(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,n,c)=>{var r=n;r.version=c(9255).rE,r.utils=c(7011),r.rand=c(5037),r.curve=c(894),r.curves=c(480),r.ec=c(7447),r.eddsa=c(8650)},6677:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.getNAF,y=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new r(u.p,16),this.red=u.prime?r.red(u.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=u.n&&new r(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)p=(p<<1)+l[O];h.push(p)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,p=p.dblp(O),h<0)break;var I=v[h];t(I!==0),p=m.type==="affine"?I>0?p.mixedAdd(s[I-1>>1]):p.mixedAdd(s[-I-1>>1].neg()):I>0?p.add(s[I-1>>1]):p.add(s[-I-1>>1].neg())}return m.type==="affine"?p.toP():p},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,p,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=y(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),p=0;p=0;v--){for(var w=0;v>=0;){var A=!0;for(p=0;p=0&&w++,M=M.dblp(w),v<0)break;for(p=0;p0?h=I[p][D-1>>1]:D<0&&(h=I[p][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,y.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){y.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,y),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=p.fromRed().isOdd();return(u&&!h||!u&&h)&&(p=p.redNeg()),this.point(m,p)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return p.fromRed().isOdd()!==u&&(p=p.redNeg()),this.point(p,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,y.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),p=v.redSub(f),h=l.redSub(u),O=s.redMul(p),I=v.redMul(h),B=s.redMul(h),k=p.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,p=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=p.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=p.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(p.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),p=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(p),B=h.redMul(O),k=v.redMul(O),L=p.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),p=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(p),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(p),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(p.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(p.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,n,c)=>{var r=n;r.base=c(6677),r.short=c(9188),r.mont=c(370),r.edwards=c(1298)},370:(E,n,c)=>{var r=c(8490),a=c(6698),i=c(6677),y=c(7011);function t(b){i.call(this,"mont",b),this.a=new r(b.a,16).toRed(this.red),this.b=new r(b.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(m,16),this.z=new r(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(y.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),p=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(p,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,n,c)=>{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(u){y.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){y.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){y.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,y),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(p){return{a:new a(p.a,16),b:new a(p.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,p,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}p=I.neg(),h=B;var S=s.sqr().add(v.sqr());return p.sqr().add(h.sqr()).cmp(S)>=0&&(p=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),p.negative&&(p=p.neg(),h=h.neg()),[{a:s,b:v},{a:p,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),p=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=p.mul(s.a),I=v.mul(l.b),B=p.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,p=0;p":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),p=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(p)).redISub(this.y);return this.curve.point(p,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,y.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),p=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=p.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(p.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,p=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(p);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,n,c)=>{var r,a=n,i=c(7952),y=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new y.short(m):m.type==="edwards"?this.curve=new y.edwards(m):this.curve=new y.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=c(4011)}catch{r=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},7447:(E,n,c)=>{var r=c(8490),a=c(2723),i=c(7011),y=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(y,f),"Unknown curve "+f),f=y[f]),f instanceof y.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new r(2));;){var p=new r(l.generate(s));if(!(p.cmp(v)>0))return p.iaddn(1),this.keyFromPrivate(p)}},u.prototype._truncateToN=function(f,l,s){var v;if(r.isBN(f)||typeof f=="number")v=(f=new r(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new r(f,16);else{var p=f.toString();v=p.length+1>>>1,f=new r(p,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!r.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var p=0;p=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,p){p||(p={}),f=this._truncateToN(f,!1,p.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var p=this.n,h=new r(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(p),N=p.sub(h).mul(L).umod(p),H=I.mul(L).umod(p);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var p=0;p<4;p++){var h;try{h=this.recoverPubKey(f,l,p)}catch{continue}if(h.eq(s))return p}throw new Error("Unable to find valid recovery factor")}},1200:(E,n,c)=>{var r=c(8490),a=c(7011).assert;function i(y,t){this.ec=y,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(y,t,d){return t instanceof i?t:new i(y,{pub:t,pubEnc:d})},i.fromPrivate=function(y,t,d){return t instanceof i?t:new i(y,{priv:t,privEnc:d})},i.prototype.validate=function(){var y=this.getPublic();return y.isInfinity()?{result:!1,reason:"Invalid public key"}:y.validate()?y.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(y,t){return typeof y=="string"&&(t=y,y=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,y):this.pub},i.prototype.getPrivate=function(y){return y==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(y,t){this.priv=new r(y,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(y,t){if(y.x||y.y)return this.ec.curve.type==="mont"?a(y.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(y.x&&y.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(y.x,y.y));this.pub=this.ec.curve.decodePoint(y,t)},i.prototype.derive=function(y){return y.validate()||a(y.validate(),"public point not validated"),y.mul(this.priv).getX()},i.prototype.sign=function(y,t,d){return this.ec.sign(y,this,t,d)},i.prototype.verify=function(y,t,d){return this.ec.verify(y,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert;function y(u,f){if(u instanceof y)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new r(u.r,16),this.s=new r(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,p=0,h=f.place;p>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=y,y.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var p=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(p[0]===0){if(!(128&p[1]))return!1;p=p.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new r(p),this.s=new r(O),this.recoveryParam=null,!0},y.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),p=[48];return m(p,v.length),p=p.concat(v),a.encode(p,u)}},8650:(E,n,c)=>{var r=c(7952),a=c(480),i=c(7011),y=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(y(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=r.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),p=this.encodePoint(v),h=this.hashInt(p,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:p})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),p=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(p)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var r=c(7011),a=r.assert,i=r.parseBytes,y=r.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},y(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),y(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),y(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),y(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),y(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),y(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),r.encode(this.secret(),d)},t.prototype.getPublic=function(d){return r.encode(this.pubBytes(),d)},E.exports=t},220:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert,y=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof r&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}y(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),y(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),y(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),y(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,n,c)=>{var r=n,a=c(8490),i=c(3349),y=c(4367);r.assert=i,r.toArray=y.toArray,r.zero2=y.zero2,r.toHex=y.toHex,r.encode=y.encode,r.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},r.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,p=d.andln(3)+f&3;v===3&&(v=-1),p===3&&(p=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||p!==2?v:-v:0,b[0].push(l),s=1&p?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?p:-p:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},r.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},r.parseBytes=function(t){return typeof t=="string"?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,n,c){(function(r,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function y(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),A=T;A=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<
"u"&&(E=e.call(this,C),o.set(P,E)),E}function Lu(e,o,g){var C=Array.prototype.slice.call(arguments,3),P=g(C),E=o.get(P);return typeof E>"u"&&(E=e.apply(this,C),o.set(P,E)),E}function ku(e,o,g,C,P){return g.bind(o,e,C,P)}function Lp(e,o){var g=e.length===1?Np:Lu;return ku(e,this,g,o.cache.create(),o.serializer)}function kp(e,o){return ku(e,this,Lu,o.cache.create(),o.serializer)}var Bp=function(){return JSON.stringify(arguments)},Hp=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(o){return this.cache[o]},e.prototype.set=function(o,g){this.cache[o]=g},e}(),jp={create:function(){return new Hp}},Zr={variadic:kp},St;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(St||(St={}));var Ut;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ut||(Ut={}));var Xn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Xn||(Xn={}));function Bu(e){return e.type===Ut.literal}function Dp(e){return e.type===Ut.argument}function Hu(e){return e.type===Ut.number}function ju(e){return e.type===Ut.date}function Du(e){return e.type===Ut.time}function Ru(e){return e.type===Ut.select}function Vu(e){return e.type===Ut.plural}function Rp(e){return e.type===Ut.pound}function Uu(e){return e.type===Ut.tag}function Fu(e){return!!(e&&typeof e=="object"&&e.type===Xn.number)}function Oa(e){return!!(e&&typeof e=="object"&&e.type===Xn.dateTime)}var zu=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Vp=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Up(e){var o={};return e.replace(Vp,function(g){var C=g.length;switch(g[0]){case"G":o.era=C===4?"long":C===5?"narrow":"short";break;case"y":o.year=C===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":o.month=["numeric","2-digit","short","long","narrow"][C-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][C-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=C===4?"long":C===5?"narrow":"short";break;case"e":if(C<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"c":if(C<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][C-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][C-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][C-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][C-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":o.minute=["numeric","2-digit"][C-1];break;case"s":o.second=["numeric","2-digit"][C-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=C<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),o}var Fp=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function zp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var o=e.split(Fp).filter(function(t){return t.length>0}),g=[],C=0,P=o;C
{const r=n;r.der=c(2010),r.pem=c(8903)},8903:(E,n,c)=>{const r=c(6698),a=c(4774).Buffer,i=c(2010);function y(t){i.call(this,t),this.enc="pem"}r(y,i),E.exports=y,y.prototype.decode=function(t,d){const b=t.toString().split(/[\r\n]+/g),m=d.label.toUpperCase(),u=/^-----(BEGIN|END) ([^-]+)-----$/;let f=-1,l=-1;for(let p=0;p{const r=c(6698),a=c(4774).Buffer,i=c(993),y=c(4598);function t(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new d,this.tree._init(m.body)}function d(m){i.call(this,"der",m)}function b(m){return m<10?"0"+m:m}E.exports=t,t.prototype.encode=function(m,u){return this.tree._encode(m,u).join()},r(d,i),d.prototype._encodeComposite=function(m,u,f,l){const s=function(h,O,I,B){let k;if(h==="seqof"?h="seq":h==="setof"&&(h="set"),y.tagByName.hasOwnProperty(h))k=y.tagByName[h];else{if(typeof h!="number"||(0|h)!==h)return B.error("Unknown tag: "+h);k=h}return k>=31?B.error("Multi-octet tag encoding unsupported"):(O||(k|=32),k|=y.tagClassByName[I||"universal"]<<6,k)}(m,u,f,this.reporter);if(l.length<128){const h=a.alloc(2);return h[0]=s,h[1]=l.length,this._createEncoderBuffer([h,l])}let v=1;for(let h=l.length;h>=256;h>>=8)v++;const p=a.alloc(2+v);p[0]=s,p[1]=128|v;for(let h=1+v,O=l.length;O>0;h--,O>>=8)p[h]=255&O;return this._createEncoderBuffer([p,l])},d.prototype._encodeStr=function(m,u){if(u==="bitstr")return this._createEncoderBuffer([0|m.unused,m.data]);if(u==="bmpstr"){const f=a.alloc(2*m.length);for(let l=0;l=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}let l=0;for(let p=0;p=128;h>>=7)l++}const s=a.alloc(l);let v=s.length-1;for(let p=m.length-1;p>=0;p--){let h=m[p];for(s[v--]=127&h;(h>>=7)>0;)s[v--]=128|127&h}return this._createEncoderBuffer(s)},d.prototype._encodeTime=function(m,u){let f;const l=new Date(m);return u==="gentime"?f=[b(l.getUTCFullYear()),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):u==="utctime"?f=[b(l.getUTCFullYear()%100),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(f,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(m,u){if(typeof m=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=u[m]}if(typeof m!="number"&&!a.isBuffer(m)){const s=m.toArray();!m.sign&&128&s[0]&&s.unshift(0),m=a.from(s)}if(a.isBuffer(m)){let s=m.length;m.length===0&&s++;const v=a.alloc(s);return m.copy(v),m.length===0&&(v[0]=0),this._createEncoderBuffer(v)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);let f=1;for(let s=m;s>=256;s>>=8)f++;const l=new Array(f);for(let s=l.length-1;s>=0;s--)l[s]=255&m,m>>=8;return 128&l[0]&&l.unshift(0),this._createEncoderBuffer(a.from(l))},d.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},d.prototype._use=function(m,u){return typeof m=="function"&&(m=m(u)),m._getEncoder("der").tree},d.prototype._skipDefault=function(m,u,f){const l=this._baseState;let s;if(l.default===null)return!1;const v=m.join();if(l.defaultBuffer===void 0&&(l.defaultBuffer=this._encodeValue(l.default,u,f).join()),v.length!==l.defaultBuffer.length)return!1;for(s=0;s{const r=n;r.der=c(82),r.pem=c(735)},735:(E,n,c)=>{const r=c(6698),a=c(82);function i(y){a.call(this,y),this.enc="pem"}r(i,a),E.exports=i,i.prototype.encode=function(y,t){const d=a.prototype.encode.call(this,y).toString("base64"),b=["-----BEGIN "+t.label+"-----"];for(let m=0;m=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),A=T;A=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,A=w%M,D=Math.min(w,w-A)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],A=S*w,D=67108863&A,V=A/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(A=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&A}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,A,D=T==="le",V=new _(S),R=this.clone();if(D){for(A=0;!R.isZero();A++)w=R.andln(255),R.iushrn(8),V[A]=w;for(;A=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M0&&(this.words[M]=~this.words[M]&67108863>>26-x),this.strip()},t.prototype.notn=function(_){return this.clone().inotn(_)},t.prototype.setn=function(_,T){i(typeof _=="number"&&_>=0);var x=_/26|0,M=_%26;return this._expand(x+1),this.words[x]=T?this.words[x]|1<_.length?(x=this,M=_):(x=_,M=this);for(var S=0,w=0;w>>26;for(;S!==0&&w>>26;if(this.length=x.length,S!==0)this.words[this.length]=S,this.length++;else if(x!==this)for(;w_.length?this.clone().iadd(_):_.clone().iadd(this)},t.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var T=this.iadd(_);return _.negative=1,T._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var x,M,S=this.cmp(_);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(x=this,M=_):(x=_,M=this);for(var w=0,A=0;A>26,this.words[A]=67108863&T;for(;w!==0&&A>26,this.words[A]=67108863&T;if(w===0&&A>>13,Q=0|A[1],ee=8191&Q,Z=Q>>>13,q=0|A[2],ue=8191&q,ce=q>>>13,le=0|A[3],ie=8191&le,he=le>>>13,Ie=0|A[4],Ee=8191&Ie,te=Ie>>>13,ge=0|A[5],we=8191&ge,K=ge>>>13,J=0|A[6],W=8191&J,X=J>>>13,ne=0|A[7],re=8191&ne,ye=ne>>>13,Te=0|A[8],Pe=8191&Te,Be=Te>>>13,Ve=0|A[9],ke=8191&Ve,Ue=Ve>>>13,Xe=0|D[0],je=8191&Xe,fe=Xe>>>13,oe=0|D[1],de=8191&oe,me=oe>>>13,_e=0|D[2],Se=8191&_e,Ne=_e>>>13,He=0|D[3],Le=8191&He,Re=He>>>13,Ze=0|D[4],Fe=8191&Ze,Ge=Ze>>>13,lt=0|D[5],Je=8191<,it=lt>>>13,vt=0|D[6],Ye=8191&vt,ut=vt>>>13,_t=0|D[7],Qe=8191&_t,st=_t>>>13,Pt=0|D[8],rt=8191&Pt,yt=Pt>>>13,jt=0|D[9],tt=8191&jt,dt=jt>>>13;x.negative=_.negative^T.negative,x.length=19;var Mt=(R+(M=Math.imul($,je))|0)+((8191&(S=(S=Math.imul($,fe))+Math.imul(G,je)|0))<<13)|0;R=((w=Math.imul(G,fe))+(S>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,M=Math.imul(ee,je),S=(S=Math.imul(ee,fe))+Math.imul(Z,je)|0,w=Math.imul(Z,fe);var Dt=(R+(M=M+Math.imul($,de)|0)|0)+((8191&(S=(S=S+Math.imul($,me)|0)+Math.imul(G,de)|0))<<13)|0;R=((w=w+Math.imul(G,me)|0)+(S>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,M=Math.imul(ue,je),S=(S=Math.imul(ue,fe))+Math.imul(ce,je)|0,w=Math.imul(ce,fe),M=M+Math.imul(ee,de)|0,S=(S=S+Math.imul(ee,me)|0)+Math.imul(Z,de)|0,w=w+Math.imul(Z,me)|0;var Cr=(R+(M=M+Math.imul($,Se)|0)|0)+((8191&(S=(S=S+Math.imul($,Ne)|0)+Math.imul(G,Se)|0))<<13)|0;R=((w=w+Math.imul(G,Ne)|0)+(S>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(ie,je),S=(S=Math.imul(ie,fe))+Math.imul(he,je)|0,w=Math.imul(he,fe),M=M+Math.imul(ue,de)|0,S=(S=S+Math.imul(ue,me)|0)+Math.imul(ce,de)|0,w=w+Math.imul(ce,me)|0,M=M+Math.imul(ee,Se)|0,S=(S=S+Math.imul(ee,Ne)|0)+Math.imul(Z,Se)|0,w=w+Math.imul(Z,Ne)|0;var Sr=(R+(M=M+Math.imul($,Le)|0)|0)+((8191&(S=(S=S+Math.imul($,Re)|0)+Math.imul(G,Le)|0))<<13)|0;R=((w=w+Math.imul(G,Re)|0)+(S>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,M=Math.imul(Ee,je),S=(S=Math.imul(Ee,fe))+Math.imul(te,je)|0,w=Math.imul(te,fe),M=M+Math.imul(ie,de)|0,S=(S=S+Math.imul(ie,me)|0)+Math.imul(he,de)|0,w=w+Math.imul(he,me)|0,M=M+Math.imul(ue,Se)|0,S=(S=S+Math.imul(ue,Ne)|0)+Math.imul(ce,Se)|0,w=w+Math.imul(ce,Ne)|0,M=M+Math.imul(ee,Le)|0,S=(S=S+Math.imul(ee,Re)|0)+Math.imul(Z,Le)|0,w=w+Math.imul(Z,Re)|0;var Lr=(R+(M=M+Math.imul($,Fe)|0)|0)+((8191&(S=(S=S+Math.imul($,Ge)|0)+Math.imul(G,Fe)|0))<<13)|0;R=((w=w+Math.imul(G,Ge)|0)+(S>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,M=Math.imul(we,je),S=(S=Math.imul(we,fe))+Math.imul(K,je)|0,w=Math.imul(K,fe),M=M+Math.imul(Ee,de)|0,S=(S=S+Math.imul(Ee,me)|0)+Math.imul(te,de)|0,w=w+Math.imul(te,me)|0,M=M+Math.imul(ie,Se)|0,S=(S=S+Math.imul(ie,Ne)|0)+Math.imul(he,Se)|0,w=w+Math.imul(he,Ne)|0,M=M+Math.imul(ue,Le)|0,S=(S=S+Math.imul(ue,Re)|0)+Math.imul(ce,Le)|0,w=w+Math.imul(ce,Re)|0,M=M+Math.imul(ee,Fe)|0,S=(S=S+Math.imul(ee,Ge)|0)+Math.imul(Z,Fe)|0,w=w+Math.imul(Z,Ge)|0;var mr=(R+(M=M+Math.imul($,Je)|0)|0)+((8191&(S=(S=S+Math.imul($,it)|0)+Math.imul(G,Je)|0))<<13)|0;R=((w=w+Math.imul(G,it)|0)+(S>>>13)|0)+(mr>>>26)|0,mr&=67108863,M=Math.imul(W,je),S=(S=Math.imul(W,fe))+Math.imul(X,je)|0,w=Math.imul(X,fe),M=M+Math.imul(we,de)|0,S=(S=S+Math.imul(we,me)|0)+Math.imul(K,de)|0,w=w+Math.imul(K,me)|0,M=M+Math.imul(Ee,Se)|0,S=(S=S+Math.imul(Ee,Ne)|0)+Math.imul(te,Se)|0,w=w+Math.imul(te,Ne)|0,M=M+Math.imul(ie,Le)|0,S=(S=S+Math.imul(ie,Re)|0)+Math.imul(he,Le)|0,w=w+Math.imul(he,Re)|0,M=M+Math.imul(ue,Fe)|0,S=(S=S+Math.imul(ue,Ge)|0)+Math.imul(ce,Fe)|0,w=w+Math.imul(ce,Ge)|0,M=M+Math.imul(ee,Je)|0,S=(S=S+Math.imul(ee,it)|0)+Math.imul(Z,Je)|0,w=w+Math.imul(Z,it)|0;var ar=(R+(M=M+Math.imul($,Ye)|0)|0)+((8191&(S=(S=S+Math.imul($,ut)|0)+Math.imul(G,Ye)|0))<<13)|0;R=((w=w+Math.imul(G,ut)|0)+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(re,je),S=(S=Math.imul(re,fe))+Math.imul(ye,je)|0,w=Math.imul(ye,fe),M=M+Math.imul(W,de)|0,S=(S=S+Math.imul(W,me)|0)+Math.imul(X,de)|0,w=w+Math.imul(X,me)|0,M=M+Math.imul(we,Se)|0,S=(S=S+Math.imul(we,Ne)|0)+Math.imul(K,Se)|0,w=w+Math.imul(K,Ne)|0,M=M+Math.imul(Ee,Le)|0,S=(S=S+Math.imul(Ee,Re)|0)+Math.imul(te,Le)|0,w=w+Math.imul(te,Re)|0,M=M+Math.imul(ie,Fe)|0,S=(S=S+Math.imul(ie,Ge)|0)+Math.imul(he,Fe)|0,w=w+Math.imul(he,Ge)|0,M=M+Math.imul(ue,Je)|0,S=(S=S+Math.imul(ue,it)|0)+Math.imul(ce,Je)|0,w=w+Math.imul(ce,it)|0,M=M+Math.imul(ee,Ye)|0,S=(S=S+Math.imul(ee,ut)|0)+Math.imul(Z,Ye)|0,w=w+Math.imul(Z,ut)|0;var _r=(R+(M=M+Math.imul($,Qe)|0)|0)+((8191&(S=(S=S+Math.imul($,st)|0)+Math.imul(G,Qe)|0))<<13)|0;R=((w=w+Math.imul(G,st)|0)+(S>>>13)|0)+(_r>>>26)|0,_r&=67108863,M=Math.imul(Pe,je),S=(S=Math.imul(Pe,fe))+Math.imul(Be,je)|0,w=Math.imul(Be,fe),M=M+Math.imul(re,de)|0,S=(S=S+Math.imul(re,me)|0)+Math.imul(ye,de)|0,w=w+Math.imul(ye,me)|0,M=M+Math.imul(W,Se)|0,S=(S=S+Math.imul(W,Ne)|0)+Math.imul(X,Se)|0,w=w+Math.imul(X,Ne)|0,M=M+Math.imul(we,Le)|0,S=(S=S+Math.imul(we,Re)|0)+Math.imul(K,Le)|0,w=w+Math.imul(K,Re)|0,M=M+Math.imul(Ee,Fe)|0,S=(S=S+Math.imul(Ee,Ge)|0)+Math.imul(te,Fe)|0,w=w+Math.imul(te,Ge)|0,M=M+Math.imul(ie,Je)|0,S=(S=S+Math.imul(ie,it)|0)+Math.imul(he,Je)|0,w=w+Math.imul(he,it)|0,M=M+Math.imul(ue,Ye)|0,S=(S=S+Math.imul(ue,ut)|0)+Math.imul(ce,Ye)|0,w=w+Math.imul(ce,ut)|0,M=M+Math.imul(ee,Qe)|0,S=(S=S+Math.imul(ee,st)|0)+Math.imul(Z,Qe)|0,w=w+Math.imul(Z,st)|0;var Mr=(R+(M=M+Math.imul($,rt)|0)|0)+((8191&(S=(S=S+Math.imul($,yt)|0)+Math.imul(G,rt)|0))<<13)|0;R=((w=w+Math.imul(G,yt)|0)+(S>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,M=Math.imul(ke,je),S=(S=Math.imul(ke,fe))+Math.imul(Ue,je)|0,w=Math.imul(Ue,fe),M=M+Math.imul(Pe,de)|0,S=(S=S+Math.imul(Pe,me)|0)+Math.imul(Be,de)|0,w=w+Math.imul(Be,me)|0,M=M+Math.imul(re,Se)|0,S=(S=S+Math.imul(re,Ne)|0)+Math.imul(ye,Se)|0,w=w+Math.imul(ye,Ne)|0,M=M+Math.imul(W,Le)|0,S=(S=S+Math.imul(W,Re)|0)+Math.imul(X,Le)|0,w=w+Math.imul(X,Re)|0,M=M+Math.imul(we,Fe)|0,S=(S=S+Math.imul(we,Ge)|0)+Math.imul(K,Fe)|0,w=w+Math.imul(K,Ge)|0,M=M+Math.imul(Ee,Je)|0,S=(S=S+Math.imul(Ee,it)|0)+Math.imul(te,Je)|0,w=w+Math.imul(te,it)|0,M=M+Math.imul(ie,Ye)|0,S=(S=S+Math.imul(ie,ut)|0)+Math.imul(he,Ye)|0,w=w+Math.imul(he,ut)|0,M=M+Math.imul(ue,Qe)|0,S=(S=S+Math.imul(ue,st)|0)+Math.imul(ce,Qe)|0,w=w+Math.imul(ce,st)|0,M=M+Math.imul(ee,rt)|0,S=(S=S+Math.imul(ee,yt)|0)+Math.imul(Z,rt)|0,w=w+Math.imul(Z,yt)|0;var Er=(R+(M=M+Math.imul($,tt)|0)|0)+((8191&(S=(S=S+Math.imul($,dt)|0)+Math.imul(G,tt)|0))<<13)|0;R=((w=w+Math.imul(G,dt)|0)+(S>>>13)|0)+(Er>>>26)|0,Er&=67108863,M=Math.imul(ke,de),S=(S=Math.imul(ke,me))+Math.imul(Ue,de)|0,w=Math.imul(Ue,me),M=M+Math.imul(Pe,Se)|0,S=(S=S+Math.imul(Pe,Ne)|0)+Math.imul(Be,Se)|0,w=w+Math.imul(Be,Ne)|0,M=M+Math.imul(re,Le)|0,S=(S=S+Math.imul(re,Re)|0)+Math.imul(ye,Le)|0,w=w+Math.imul(ye,Re)|0,M=M+Math.imul(W,Fe)|0,S=(S=S+Math.imul(W,Ge)|0)+Math.imul(X,Fe)|0,w=w+Math.imul(X,Ge)|0,M=M+Math.imul(we,Je)|0,S=(S=S+Math.imul(we,it)|0)+Math.imul(K,Je)|0,w=w+Math.imul(K,it)|0,M=M+Math.imul(Ee,Ye)|0,S=(S=S+Math.imul(Ee,ut)|0)+Math.imul(te,Ye)|0,w=w+Math.imul(te,ut)|0,M=M+Math.imul(ie,Qe)|0,S=(S=S+Math.imul(ie,st)|0)+Math.imul(he,Qe)|0,w=w+Math.imul(he,st)|0,M=M+Math.imul(ue,rt)|0,S=(S=S+Math.imul(ue,yt)|0)+Math.imul(ce,rt)|0,w=w+Math.imul(ce,yt)|0;var kr=(R+(M=M+Math.imul(ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ee,dt)|0)+Math.imul(Z,tt)|0))<<13)|0;R=((w=w+Math.imul(Z,dt)|0)+(S>>>13)|0)+(kr>>>26)|0,kr&=67108863,M=Math.imul(ke,Se),S=(S=Math.imul(ke,Ne))+Math.imul(Ue,Se)|0,w=Math.imul(Ue,Ne),M=M+Math.imul(Pe,Le)|0,S=(S=S+Math.imul(Pe,Re)|0)+Math.imul(Be,Le)|0,w=w+Math.imul(Be,Re)|0,M=M+Math.imul(re,Fe)|0,S=(S=S+Math.imul(re,Ge)|0)+Math.imul(ye,Fe)|0,w=w+Math.imul(ye,Ge)|0,M=M+Math.imul(W,Je)|0,S=(S=S+Math.imul(W,it)|0)+Math.imul(X,Je)|0,w=w+Math.imul(X,it)|0,M=M+Math.imul(we,Ye)|0,S=(S=S+Math.imul(we,ut)|0)+Math.imul(K,Ye)|0,w=w+Math.imul(K,ut)|0,M=M+Math.imul(Ee,Qe)|0,S=(S=S+Math.imul(Ee,st)|0)+Math.imul(te,Qe)|0,w=w+Math.imul(te,st)|0,M=M+Math.imul(ie,rt)|0,S=(S=S+Math.imul(ie,yt)|0)+Math.imul(he,rt)|0,w=w+Math.imul(he,yt)|0;var xr=(R+(M=M+Math.imul(ue,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ue,dt)|0)+Math.imul(ce,tt)|0))<<13)|0;R=((w=w+Math.imul(ce,dt)|0)+(S>>>13)|0)+(xr>>>26)|0,xr&=67108863,M=Math.imul(ke,Le),S=(S=Math.imul(ke,Re))+Math.imul(Ue,Le)|0,w=Math.imul(Ue,Re),M=M+Math.imul(Pe,Fe)|0,S=(S=S+Math.imul(Pe,Ge)|0)+Math.imul(Be,Fe)|0,w=w+Math.imul(Be,Ge)|0,M=M+Math.imul(re,Je)|0,S=(S=S+Math.imul(re,it)|0)+Math.imul(ye,Je)|0,w=w+Math.imul(ye,it)|0,M=M+Math.imul(W,Ye)|0,S=(S=S+Math.imul(W,ut)|0)+Math.imul(X,Ye)|0,w=w+Math.imul(X,ut)|0,M=M+Math.imul(we,Qe)|0,S=(S=S+Math.imul(we,st)|0)+Math.imul(K,Qe)|0,w=w+Math.imul(K,st)|0,M=M+Math.imul(Ee,rt)|0,S=(S=S+Math.imul(Ee,yt)|0)+Math.imul(te,rt)|0,w=w+Math.imul(te,yt)|0;var gr=(R+(M=M+Math.imul(ie,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ie,dt)|0)+Math.imul(he,tt)|0))<<13)|0;R=((w=w+Math.imul(he,dt)|0)+(S>>>13)|0)+(gr>>>26)|0,gr&=67108863,M=Math.imul(ke,Fe),S=(S=Math.imul(ke,Ge))+Math.imul(Ue,Fe)|0,w=Math.imul(Ue,Ge),M=M+Math.imul(Pe,Je)|0,S=(S=S+Math.imul(Pe,it)|0)+Math.imul(Be,Je)|0,w=w+Math.imul(Be,it)|0,M=M+Math.imul(re,Ye)|0,S=(S=S+Math.imul(re,ut)|0)+Math.imul(ye,Ye)|0,w=w+Math.imul(ye,ut)|0,M=M+Math.imul(W,Qe)|0,S=(S=S+Math.imul(W,st)|0)+Math.imul(X,Qe)|0,w=w+Math.imul(X,st)|0,M=M+Math.imul(we,rt)|0,S=(S=S+Math.imul(we,yt)|0)+Math.imul(K,rt)|0,w=w+Math.imul(K,yt)|0;var Pr=(R+(M=M+Math.imul(Ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Ee,dt)|0)+Math.imul(te,tt)|0))<<13)|0;R=((w=w+Math.imul(te,dt)|0)+(S>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,M=Math.imul(ke,Je),S=(S=Math.imul(ke,it))+Math.imul(Ue,Je)|0,w=Math.imul(Ue,it),M=M+Math.imul(Pe,Ye)|0,S=(S=S+Math.imul(Pe,ut)|0)+Math.imul(Be,Ye)|0,w=w+Math.imul(Be,ut)|0,M=M+Math.imul(re,Qe)|0,S=(S=S+Math.imul(re,st)|0)+Math.imul(ye,Qe)|0,w=w+Math.imul(ye,st)|0,M=M+Math.imul(W,rt)|0,S=(S=S+Math.imul(W,yt)|0)+Math.imul(X,rt)|0,w=w+Math.imul(X,yt)|0;var sr=(R+(M=M+Math.imul(we,tt)|0)|0)+((8191&(S=(S=S+Math.imul(we,dt)|0)+Math.imul(K,tt)|0))<<13)|0;R=((w=w+Math.imul(K,dt)|0)+(S>>>13)|0)+(sr>>>26)|0,sr&=67108863,M=Math.imul(ke,Ye),S=(S=Math.imul(ke,ut))+Math.imul(Ue,Ye)|0,w=Math.imul(Ue,ut),M=M+Math.imul(Pe,Qe)|0,S=(S=S+Math.imul(Pe,st)|0)+Math.imul(Be,Qe)|0,w=w+Math.imul(Be,st)|0,M=M+Math.imul(re,rt)|0,S=(S=S+Math.imul(re,yt)|0)+Math.imul(ye,rt)|0,w=w+Math.imul(ye,yt)|0;var Ar=(R+(M=M+Math.imul(W,tt)|0)|0)+((8191&(S=(S=S+Math.imul(W,dt)|0)+Math.imul(X,tt)|0))<<13)|0;R=((w=w+Math.imul(X,dt)|0)+(S>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,M=Math.imul(ke,Qe),S=(S=Math.imul(ke,st))+Math.imul(Ue,Qe)|0,w=Math.imul(Ue,st),M=M+Math.imul(Pe,rt)|0,S=(S=S+Math.imul(Pe,yt)|0)+Math.imul(Be,rt)|0,w=w+Math.imul(Be,yt)|0;var ur=(R+(M=M+Math.imul(re,tt)|0)|0)+((8191&(S=(S=S+Math.imul(re,dt)|0)+Math.imul(ye,tt)|0))<<13)|0;R=((w=w+Math.imul(ye,dt)|0)+(S>>>13)|0)+(ur>>>26)|0,ur&=67108863,M=Math.imul(ke,rt),S=(S=Math.imul(ke,yt))+Math.imul(Ue,rt)|0,w=Math.imul(Ue,yt);var zt=(R+(M=M+Math.imul(Pe,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Pe,dt)|0)+Math.imul(Be,tt)|0))<<13)|0;R=((w=w+Math.imul(Be,dt)|0)+(S>>>13)|0)+(zt>>>26)|0,zt&=67108863;var cr=(R+(M=Math.imul(ke,tt))|0)+((8191&(S=(S=Math.imul(ke,dt))+Math.imul(Ue,tt)|0))<<13)|0;return R=((w=Math.imul(Ue,dt))+(S>>>13)|0)+(cr>>>26)|0,cr&=67108863,V[0]=Mt,V[1]=Dt,V[2]=Cr,V[3]=Sr,V[4]=Lr,V[5]=mr,V[6]=ar,V[7]=_r,V[8]=Mr,V[9]=Er,V[10]=kr,V[11]=xr,V[12]=gr,V[13]=Pr,V[14]=sr,V[15]=Ar,V[16]=ur,V[17]=zt,V[18]=cr,R!==0&&(V[19]=R,x.length++),x};function h(_,T,x){return new O().mulp(_,T,x)}function O(_,T){this.x=_,this.y=T}Math.imul||(p=v),t.prototype.mulTo=function(_,T){var x,M=this.length+_.length;return x=this.length===10&&_.length===10?p(this,_,T):M<63?v(this,_,T):M<1024?function(S,w,A){A.negative=w.negative^S.negative,A.length=S.length+w.length;for(var D=0,V=0,R=0;R>>26)|0)>>>26,F&=67108863}A.words[R]=$,D=F,F=V}return D!==0?A.words[R]=D:A.length--,A.strip()}(this,_,T):h(this,_,T),x},O.prototype.makeRBT=function(_){for(var T=new Array(_),x=t.prototype._countBits(_)-1,M=0;M<_;M++)T[M]=this.revBin(M,x,_);return T},O.prototype.revBin=function(_,T,x){if(_===0||_===x-1)return _;for(var M=0,S=0;S>=1;return M},O.prototype.permute=function(_,T,x,M,S,w){for(var A=0;A>>=1)S++;return 1<>>=13,x[2*w+1]=8191&S,S>>>=13;for(w=2*T;w>=26,T+=M/67108864|0,T+=S>>>26,this.words[x]=67108863&S}return T!==0&&(this.words[x]=T,this.length++),this},t.prototype.muln=function(_){return this.clone().imuln(_)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(_){var T=function(w){for(var A=new Array(w.bitLength()),D=0;D>>R}return A}(_);if(T.length===0)return new t(1);for(var x=this,M=0;M=0);var T,x=_%26,M=(_-x)/26,S=67108863>>>26-x<<26-x;if(x!==0){var w=0;for(T=0;T>>26-x}w&&(this.words[T]=w,this.length++)}if(M!==0){for(T=this.length-1;T>=0;T--)this.words[T+M]=this.words[T];for(T=0;T=0),M=T?(T-T%26)/26:0;var S=_%26,w=Math.min((_-S)/26,this.length),A=67108863^67108863>>>S<w)for(this.length-=w,V=0;V=0&&(R!==0||V>=M);V--){var F=0|this.words[V];this.words[V]=R<<26-S|F>>>S,R=F&A}return D&&R!==0&&(D.words[D.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(_,T,x){return i(this.negative===0),this.iushrn(_,T,x)},t.prototype.shln=function(_){return this.clone().ishln(_)},t.prototype.ushln=function(_){return this.clone().iushln(_)},t.prototype.shrn=function(_){return this.clone().ishrn(_)},t.prototype.ushrn=function(_){return this.clone().iushrn(_)},t.prototype.testn=function(_){i(typeof _=="number"&&_>=0);var T=_%26,x=(_-T)/26,M=1<=0);var T=_%26,x=(_-T)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(T!==0&&x++,this.length=Math.min(x,this.length),T!==0){var M=67108863^67108863>>>T<=67108864;T++)this.words[T]-=67108864,T===this.length-1?this.words[T+1]=1:this.words[T+1]++;return this.length=Math.max(this.length,T+1),this},t.prototype.isubn=function(_){if(i(typeof _=="number"),i(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T=0;T>26)-(D/67108864|0),this.words[M+x]=67108863&S}for(;M>26,this.words[M+x]=67108863&S;if(A===0)return this.strip();for(i(A===-1),A=0,M=0;M>26,this.words[M]=67108863&S;return this.negative=1,this.strip()},t.prototype._wordDiv=function(_,T){var x=(this.length,_.length),M=this.clone(),S=_,w=0|S.words[S.length-1];(x=26-this._countBits(w))!=0&&(S=S.ushln(x),M.iushln(x),w=0|S.words[S.length-1]);var A,D=M.length-S.length;if(T!=="mod"){(A=new t(null)).length=D+1,A.words=new Array(A.length);for(var V=0;V=0;F--){var $=67108864*(0|M.words[S.length+F])+(0|M.words[S.length+F-1]);for($=Math.min($/w|0,67108863),M._ishlnsubmul(S,$,F);M.negative!==0;)$--,M.negative=0,M._ishlnsubmul(S,1,F),M.isZero()||(M.negative^=1);A&&(A.words[F]=$)}return A&&A.strip(),M.strip(),T!=="div"&&x!==0&&M.iushrn(x),{div:A||null,mod:M}},t.prototype.divmod=function(_,T,x){return i(!_.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&_.negative===0?(w=this.neg().divmod(_,T),T!=="mod"&&(M=w.div.neg()),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.iadd(_)),{div:M,mod:S}):this.negative===0&&_.negative!==0?(w=this.divmod(_.neg(),T),T!=="mod"&&(M=w.div.neg()),{div:M,mod:w.mod}):this.negative&_.negative?(w=this.neg().divmod(_.neg(),T),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.isub(_)),{div:w.div,mod:S}):_.length>this.length||this.cmp(_)<0?{div:new t(0),mod:this}:_.length===1?T==="div"?{div:this.divn(_.words[0]),mod:null}:T==="mod"?{div:null,mod:new t(this.modn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new t(this.modn(_.words[0]))}:this._wordDiv(_,T);var M,S,w},t.prototype.div=function(_){return this.divmod(_,"div",!1).div},t.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},t.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},t.prototype.divRound=function(_){var T=this.divmod(_);if(T.mod.isZero())return T.div;var x=T.div.negative!==0?T.mod.isub(_):T.mod,M=_.ushrn(1),S=_.andln(1),w=x.cmp(M);return w<0||S===1&&w===0?T.div:T.div.negative!==0?T.div.isubn(1):T.div.iaddn(1)},t.prototype.modn=function(_){i(_<=67108863);for(var T=67108864%_,x=0,M=this.length-1;M>=0;M--)x=(T*x+(0|this.words[M]))%_;return x},t.prototype.idivn=function(_){i(_<=67108863);for(var T=0,x=this.length-1;x>=0;x--){var M=(0|this.words[x])+67108864*T;this.words[x]=M/_|0,T=M%_}return this.strip()},t.prototype.divn=function(_){return this.clone().idivn(_)},t.prototype.egcd=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M=new t(1),S=new t(0),w=new t(0),A=new t(1),D=0;T.isEven()&&x.isEven();)T.iushrn(1),x.iushrn(1),++D;for(var V=x.clone(),R=T.clone();!T.isZero();){for(var F=0,$=1;!(T.words[0]&$)&&F<26;++F,$<<=1);if(F>0)for(T.iushrn(F);F-- >0;)(M.isOdd()||S.isOdd())&&(M.iadd(V),S.isub(R)),M.iushrn(1),S.iushrn(1);for(var G=0,Q=1;!(x.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(x.iushrn(G);G-- >0;)(w.isOdd()||A.isOdd())&&(w.iadd(V),A.isub(R)),w.iushrn(1),A.iushrn(1);T.cmp(x)>=0?(T.isub(x),M.isub(w),S.isub(A)):(x.isub(T),w.isub(M),A.isub(S))}return{a:w,b:A,gcd:x.iushln(D)}},t.prototype._invmp=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M,S=new t(1),w=new t(0),A=x.clone();T.cmpn(1)>0&&x.cmpn(1)>0;){for(var D=0,V=1;!(T.words[0]&V)&&D<26;++D,V<<=1);if(D>0)for(T.iushrn(D);D-- >0;)S.isOdd()&&S.iadd(A),S.iushrn(1);for(var R=0,F=1;!(x.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(x.iushrn(R);R-- >0;)w.isOdd()&&w.iadd(A),w.iushrn(1);T.cmp(x)>=0?(T.isub(x),S.isub(w)):(x.isub(T),w.isub(S))}return(M=T.cmpn(1)===0?S:w).cmpn(0)<0&&M.iadd(_),M},t.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var T=this.clone(),x=_.clone();T.negative=0,x.negative=0;for(var M=0;T.isEven()&&x.isEven();M++)T.iushrn(1),x.iushrn(1);for(;;){for(;T.isEven();)T.iushrn(1);for(;x.isEven();)x.iushrn(1);var S=T.cmp(x);if(S<0){var w=T;T=x,x=w}else if(S===0||x.cmpn(1)===0)break;T.isub(x)}return x.iushln(M)},t.prototype.invm=function(_){return this.egcd(_).a.umod(_)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(_){return this.words[0]&_},t.prototype.bincn=function(_){i(typeof _=="number");var T=_%26,x=(_-T)/26,M=1<>>26,A&=67108863,this.words[w]=A}return S!==0&&(this.words[w]=S,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(_){var T,x=_<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;if(this.strip(),this.length>1)T=1;else{x&&(_=-_),i(_<=67108863,"Number is too big");var M=0|this.words[0];T=M===_?0:M<_?-1:1}return this.negative!==0?0|-T:T},t.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var T=this.ucmp(_);return this.negative!==0?0|-T:T},t.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var T=0,x=this.length-1;x>=0;x--){var M=0|this.words[x],S=0|_.words[x];if(M!==S){MS&&(T=1);break}}return T},t.prototype.gtn=function(_){return this.cmpn(_)===1},t.prototype.gt=function(_){return this.cmp(_)===1},t.prototype.gten=function(_){return this.cmpn(_)>=0},t.prototype.gte=function(_){return this.cmp(_)>=0},t.prototype.ltn=function(_){return this.cmpn(_)===-1},t.prototype.lt=function(_){return this.cmp(_)===-1},t.prototype.lten=function(_){return this.cmpn(_)<=0},t.prototype.lte=function(_){return this.cmp(_)<=0},t.prototype.eqn=function(_){return this.cmpn(_)===0},t.prototype.eq=function(_){return this.cmp(_)===0},t.red=function(_){return new j(_)},t.prototype.toRed=function(_){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(_){return this.red=_,this},t.prototype.forceRed=function(_){return i(!this.red,"Already a number in reduction context"),this._forceRed(_)},t.prototype.redAdd=function(_){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},t.prototype.redIAdd=function(_){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},t.prototype.redSub=function(_){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},t.prototype.redISub=function(_){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},t.prototype.redShl=function(_){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},t.prototype.redMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},t.prototype.redIMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(_){return i(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var I={k256:null,p224:null,p192:null,p25519:null};function B(_,T){this.name=_,this.p=new t(T,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function L(){B.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function N(){B.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function H(){B.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(_){if(typeof _=="string"){var T=t._prime(_);this.m=T.p,this.prime=T}else i(_.gtn(1),"modulus must be greater than 1"),this.m=_,this.prime=null}function U(_){j.call(this,_),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}B.prototype._tmp=function(){var _=new t(null);return _.words=new Array(Math.ceil(this.n/13)),_},B.prototype.ireduce=function(_){var T,x=_;do this.split(x,this.tmp),T=(x=(x=this.imulK(x)).iadd(this.tmp)).bitLength();while(T>this.n);var M=T0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},B.prototype.split=function(_,T){_.iushrn(this.n,0,T)},B.prototype.imulK=function(_){return _.imul(this.k)},y(k,B),k.prototype.split=function(_,T){for(var x=4194303,M=Math.min(_.length,9),S=0;S>>22,w=A}w>>>=22,_.words[S-10]=w,w===0&&_.length>10?_.length-=10:_.length-=9},k.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var T=0,x=0;x<_.length;x++){var M=0|_.words[x];T+=977*M,_.words[x]=67108863&T,T=64*M+(T/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_},y(L,B),y(N,B),y(H,B),H.prototype.imulK=function(_){for(var T=0,x=0;x<_.length;x++){var M=19*(0|_.words[x])+T,S=67108863&M;M>>>=26,_.words[x]=S,T=M}return T!==0&&(_.words[_.length++]=T),_},t._prime=function(_){if(I[_])return I[_];var T;if(_==="k256")T=new k;else if(_==="p224")T=new L;else if(_==="p192")T=new N;else{if(_!=="p25519")throw new Error("Unknown prime "+_);T=new H}return I[_]=T,T},j.prototype._verify1=function(_){i(_.negative===0,"red works only with positives"),i(_.red,"red works only with red numbers")},j.prototype._verify2=function(_,T){i(!(_.negative|T.negative),"red works only with positives"),i(_.red&&_.red===T.red,"red works only with red numbers")},j.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):_.umod(this.m)._forceRed(this)},j.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},j.prototype.add=function(_,T){this._verify2(_,T);var x=_.add(T);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},j.prototype.iadd=function(_,T){this._verify2(_,T);var x=_.iadd(T);return x.cmp(this.m)>=0&&x.isub(this.m),x},j.prototype.sub=function(_,T){this._verify2(_,T);var x=_.sub(T);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},j.prototype.isub=function(_,T){this._verify2(_,T);var x=_.isub(T);return x.cmpn(0)<0&&x.iadd(this.m),x},j.prototype.shl=function(_,T){return this._verify1(_),this.imod(_.ushln(T))},j.prototype.imul=function(_,T){return this._verify2(_,T),this.imod(_.imul(T))},j.prototype.mul=function(_,T){return this._verify2(_,T),this.imod(_.mul(T))},j.prototype.isqr=function(_){return this.imul(_,_.clone())},j.prototype.sqr=function(_){return this.mul(_,_)},j.prototype.sqrt=function(_){if(_.isZero())return _.clone();var T=this.m.andln(3);if(i(T%2==1),T===3){var x=this.m.add(new t(1)).iushrn(2);return this.pow(_,x)}for(var M=this.m.subn(1),S=0;!M.isZero()&&M.andln(1)===0;)S++,M.iushrn(1);i(!M.isZero());var w=new t(1).toRed(this),A=w.redNeg(),D=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new t(2*V*V).toRed(this);this.pow(V,D).cmp(A)!==0;)V.redIAdd(A);for(var R=this.pow(V,M),F=this.pow(_,M.addn(1).iushrn(1)),$=this.pow(_,M),G=S;$.cmp(w)!==0;){for(var Q=$,ee=0;Q.cmp(w)!==0;ee++)Q=Q.redSqr();i(ee=0;M--){for(var V=T.words[M],R=D-1;R>=0;R--){var F=V>>R&1;S!==x[0]&&(S=this.sqr(S)),F!==0||w!==0?(w<<=1,w|=F,(++A==4||M===0&&R===0)&&(S=this.mul(S,x[w]),A=0,w=0)):A=0}D=26}return S},j.prototype.convertTo=function(_){var T=_.umod(this.m);return T===_?T.clone():T},j.prototype.convertFrom=function(_){var T=_.clone();return T.red=null,T},t.mont=function(_){return new U(_)},y(U,j),U.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},U.prototype.convertFrom=function(_){var T=this.imod(_.mul(this.rinv));return T.red=null,T},U.prototype.imul=function(_,T){if(_.isZero()||T.isZero())return _.words[0]=0,_.length=1,_;var x=_.imul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.mul=function(_,T){if(_.isZero()||T.isZero())return new t(0)._forceRed(this);var x=_.mul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.invm=function(_){return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},7526:(E,n)=>{n.byteLength=function(b){var m=t(b),u=m[0],f=m[1];return 3*(u+f)/4-f},n.toByteArray=function(b){var m,u,f=t(b),l=f[0],s=f[1],v=new a(function(O,I,B){return 3*(I+B)/4-B}(0,l,s)),p=0,h=s>0?l-4:l;for(u=0;u>16&255,v[p++]=m>>8&255,v[p++]=255&m;return s===2&&(m=r[b.charCodeAt(u)]<<2|r[b.charCodeAt(u+1)]>>4,v[p++]=255&m),s===1&&(m=r[b.charCodeAt(u)]<<10|r[b.charCodeAt(u+1)]<<4|r[b.charCodeAt(u+2)]>>2,v[p++]=m>>8&255,v[p++]=255&m),v},n.fromByteArray=function(b){for(var m,u=b.length,f=u%3,l=[],s=16383,v=0,p=u-f;vp?p:v+s));return f===1?(m=b[u-1],l.push(c[m>>2]+c[m<<4&63]+"==")):f===2&&(m=(b[u-2]<<8)+b[u-1],l.push(c[m>>10]+c[m>>4&63]+c[m<<2&63]+"=")),l.join("")};for(var c=[],r=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)c[y]=i[y],r[i.charCodeAt(y)]=y;function t(b){var m=b.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=b.indexOf("=");return u===-1&&(u=m),[u,u===m?0:4-u%4]}function d(b,m,u){for(var f,l,s=[],v=m;v>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]);return s.join("")}r[45]=62,r[95]=63},9404:function(E,n,c){(function(r,a){function i(x,M){if(!x)throw new Error(M||"Assertion failed")}function y(x,M){x.super_=M;var S=function(){};S.prototype=M.prototype,x.prototype=new S,x.prototype.constructor=x}function t(x,M,S){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(S=M,M=10),this._init(x||0,M||10,S||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(7790).Buffer}catch{}function b(x,M){var S=x.charCodeAt(M);return S>=48&&S<=57?S-48:S>=65&&S<=70?S-55:S>=97&&S<=102?S-87:void i(!1,"Invalid character in "+x)}function m(x,M,S){var w=b(x,S);return S-1>=M&&(w|=b(x,S-1)<<4),w}function u(x,M,S,w){for(var A=0,D=0,V=Math.min(x.length,S),R=M;R=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&D0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,S){if(typeof x=="number")return this._initNumber(x,M,S);if(typeof x=="object")return this._initArray(x,M,S);M==="hex"&&(M=16),i(M===(0|M)&&M>=2&&M<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w=0;w-=3)D=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[A]|=D<>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);else if(S==="le")for(w=0,A=0;w>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);return this._strip()},t.prototype._parseHex=function(x,M,S){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var w=0;w=M;w-=2)A=m(x,M,w)<=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;else for(w=(x.length-M)%2==0?M+1:M;w=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;this._strip()},t.prototype._parseBase=function(x,M,S){this.words=[0],this.length=1;for(var w=0,A=1;A<=67108863;A*=M)w++;w--,A=A/M|0;for(var D=x.length-S,V=D%w,R=Math.min(D,D-V)+S,F=0,$=S;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{t.prototype.inspect=l}else t.prototype.inspect=l;function l(){return(this.red?""}var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(x,M,S){S.negative=M.negative^x.negative;var w=x.length+M.length|0;S.length=w,w=w-1|0;var A=0|x.words[0],D=0|M.words[0],V=A*D,R=67108863&V,F=V/67108864|0;S.words[0]=R;for(var $=1;$>>26,Q=67108863&F,ee=Math.min($,M.length-1),Z=Math.max(0,$-x.length+1);Z<=ee;Z++){var q=$-Z|0;G+=(V=(A=0|x.words[q])*(D=0|M.words[Z])+Q)/67108864|0,Q=67108863&V}S.words[$]=0|Q,F=0|G}return F!==0?S.words[$]=0|F:S.length--,S._strip()}t.prototype.toString=function(x,M){var S;if(M=0|M||1,(x=x||10)===16||x==="hex"){S="";for(var w=0,A=0,D=0;D>>24-w&16777215,(w+=2)>=26&&(w-=26,D--),S=A!==0||D!==this.length-1?s[6-R.length]+R+S:R+S}for(A!==0&&(S=A.toString(16)+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(x===(0|x)&&x>=2&&x<=36){var F=v[x],$=p[x];S="";var G=this.clone();for(G.negative=0;!G.isZero();){var Q=G.modrn($).toString(x);S=(G=G.idivn($)).isZero()?Q+S:s[F-Q.length]+Q+S}for(this.isZero()&&(S="0"+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(x,M){return this.toArrayLike(d,x,M)}),t.prototype.toArray=function(x,M){return this.toArrayLike(Array,x,M)},t.prototype.toArrayLike=function(x,M,S){this._strip();var w=this.byteLength(),A=S||Math.max(1,w);i(w<=A,"byte array longer than desired length"),i(A>0,"Requested array length <= 0");var D=function(V,R){return V.allocUnsafe?V.allocUnsafe(R):new V(R)}(x,A);return this["_toArrayLike"+(M==="le"?"LE":"BE")](D,w),D},t.prototype._toArrayLikeLE=function(x,M){for(var S=0,w=0,A=0,D=0;A>8&255),S>16&255),D===6?(S>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S=0&&(x[S--]=V>>8&255),S>=0&&(x[S--]=V>>16&255),D===6?(S>=0&&(x[S--]=V>>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S>=0)for(x[S--]=w;S>=0;)x[S--]=0},Math.clz32?t.prototype._countBits=function(x){return 32-Math.clz32(x)}:t.prototype._countBits=function(x){var M=x,S=0;return M>=4096&&(S+=13,M>>>=13),M>=64&&(S+=7,M>>>=7),M>=8&&(S+=4,M>>>=4),M>=2&&(S+=2,M>>>=2),S+M},t.prototype._zeroBits=function(x){if(x===0)return 26;var M=x,S=0;return 8191&M||(S+=13,M>>>=13),127&M||(S+=7,M>>>=7),15&M||(S+=4,M>>>=4),3&M||(S+=2,M>>>=2),1&M||S++,S},t.prototype.bitLength=function(){var x=this.words[this.length-1],M=this._countBits(x);return 26*(this.length-1)+M},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,M=0;Mx.length?this.clone().ior(x):x.clone().ior(this)},t.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},t.prototype.iuand=function(x){var M;M=this.length>x.length?x:this;for(var S=0;Sx.length?this.clone().iand(x):x.clone().iand(this)},t.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},t.prototype.iuxor=function(x){var M,S;this.length>x.length?(M=this,S=x):(M=x,S=this);for(var w=0;wx.length?this.clone().ixor(x):x.clone().ixor(this)},t.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},t.prototype.inotn=function(x){i(typeof x=="number"&&x>=0);var M=0|Math.ceil(x/26),S=x%26;this._expand(M),S>0&&M--;for(var w=0;w0&&(this.words[w]=~this.words[w]&67108863>>26-S),this._strip()},t.prototype.notn=function(x){return this.clone().inotn(x)},t.prototype.setn=function(x,M){i(typeof x=="number"&&x>=0);var S=x/26|0,w=x%26;return this._expand(S+1),this.words[S]=M?this.words[S]|1<x.length?(S=this,w=x):(S=x,w=this);for(var A=0,D=0;D>>26;for(;A!==0&&D>>26;if(this.length=S.length,A!==0)this.words[this.length]=A,this.length++;else if(S!==this)for(;Dx.length?this.clone().iadd(x):x.clone().iadd(this)},t.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var M=this.iadd(x);return x.negative=1,M._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var S,w,A=this.cmp(x);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(S=this,w=x):(S=x,w=this);for(var D=0,V=0;V>26,this.words[V]=67108863&M;for(;D!==0&&V>26,this.words[V]=67108863&M;if(D===0&&V>>13,Z=0|V[1],q=8191&Z,ue=Z>>>13,ce=0|V[2],le=8191&ce,ie=ce>>>13,he=0|V[3],Ie=8191&he,Ee=he>>>13,te=0|V[4],ge=8191&te,we=te>>>13,K=0|V[5],J=8191&K,W=K>>>13,X=0|V[6],ne=8191&X,re=X>>>13,ye=0|V[7],Te=8191&ye,Pe=ye>>>13,Be=0|V[8],Ve=8191&Be,ke=Be>>>13,Ue=0|V[9],Xe=8191&Ue,je=Ue>>>13,fe=0|R[0],oe=8191&fe,de=fe>>>13,me=0|R[1],_e=8191&me,Se=me>>>13,Ne=0|R[2],He=8191&Ne,Le=Ne>>>13,Re=0|R[3],Ze=8191&Re,Fe=Re>>>13,Ge=0|R[4],lt=8191&Ge,Je=Ge>>>13,it=0|R[5],vt=8191&it,Ye=it>>>13,ut=0|R[6],_t=8191&ut,Qe=ut>>>13,st=0|R[7],Pt=8191&st,rt=st>>>13,yt=0|R[8],jt=8191&yt,tt=yt>>>13,dt=0|R[9],Mt=8191&dt,Dt=dt>>>13;S.negative=x.negative^M.negative,S.length=19;var Cr=($+(w=Math.imul(Q,oe))|0)+((8191&(A=(A=Math.imul(Q,de))+Math.imul(ee,oe)|0))<<13)|0;$=((D=Math.imul(ee,de))+(A>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,w=Math.imul(q,oe),A=(A=Math.imul(q,de))+Math.imul(ue,oe)|0,D=Math.imul(ue,de);var Sr=($+(w=w+Math.imul(Q,_e)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Se)|0)+Math.imul(ee,_e)|0))<<13)|0;$=((D=D+Math.imul(ee,Se)|0)+(A>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,w=Math.imul(le,oe),A=(A=Math.imul(le,de))+Math.imul(ie,oe)|0,D=Math.imul(ie,de),w=w+Math.imul(q,_e)|0,A=(A=A+Math.imul(q,Se)|0)+Math.imul(ue,_e)|0,D=D+Math.imul(ue,Se)|0;var Lr=($+(w=w+Math.imul(Q,He)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Le)|0)+Math.imul(ee,He)|0))<<13)|0;$=((D=D+Math.imul(ee,Le)|0)+(A>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(Ie,oe),A=(A=Math.imul(Ie,de))+Math.imul(Ee,oe)|0,D=Math.imul(Ee,de),w=w+Math.imul(le,_e)|0,A=(A=A+Math.imul(le,Se)|0)+Math.imul(ie,_e)|0,D=D+Math.imul(ie,Se)|0,w=w+Math.imul(q,He)|0,A=(A=A+Math.imul(q,Le)|0)+Math.imul(ue,He)|0,D=D+Math.imul(ue,Le)|0;var mr=($+(w=w+Math.imul(Q,Ze)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Fe)|0)+Math.imul(ee,Ze)|0))<<13)|0;$=((D=D+Math.imul(ee,Fe)|0)+(A>>>13)|0)+(mr>>>26)|0,mr&=67108863,w=Math.imul(ge,oe),A=(A=Math.imul(ge,de))+Math.imul(we,oe)|0,D=Math.imul(we,de),w=w+Math.imul(Ie,_e)|0,A=(A=A+Math.imul(Ie,Se)|0)+Math.imul(Ee,_e)|0,D=D+Math.imul(Ee,Se)|0,w=w+Math.imul(le,He)|0,A=(A=A+Math.imul(le,Le)|0)+Math.imul(ie,He)|0,D=D+Math.imul(ie,Le)|0,w=w+Math.imul(q,Ze)|0,A=(A=A+Math.imul(q,Fe)|0)+Math.imul(ue,Ze)|0,D=D+Math.imul(ue,Fe)|0;var ar=($+(w=w+Math.imul(Q,lt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Je)|0)+Math.imul(ee,lt)|0))<<13)|0;$=((D=D+Math.imul(ee,Je)|0)+(A>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(J,oe),A=(A=Math.imul(J,de))+Math.imul(W,oe)|0,D=Math.imul(W,de),w=w+Math.imul(ge,_e)|0,A=(A=A+Math.imul(ge,Se)|0)+Math.imul(we,_e)|0,D=D+Math.imul(we,Se)|0,w=w+Math.imul(Ie,He)|0,A=(A=A+Math.imul(Ie,Le)|0)+Math.imul(Ee,He)|0,D=D+Math.imul(Ee,Le)|0,w=w+Math.imul(le,Ze)|0,A=(A=A+Math.imul(le,Fe)|0)+Math.imul(ie,Ze)|0,D=D+Math.imul(ie,Fe)|0,w=w+Math.imul(q,lt)|0,A=(A=A+Math.imul(q,Je)|0)+Math.imul(ue,lt)|0,D=D+Math.imul(ue,Je)|0;var _r=($+(w=w+Math.imul(Q,vt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Ye)|0)+Math.imul(ee,vt)|0))<<13)|0;$=((D=D+Math.imul(ee,Ye)|0)+(A>>>13)|0)+(_r>>>26)|0,_r&=67108863,w=Math.imul(ne,oe),A=(A=Math.imul(ne,de))+Math.imul(re,oe)|0,D=Math.imul(re,de),w=w+Math.imul(J,_e)|0,A=(A=A+Math.imul(J,Se)|0)+Math.imul(W,_e)|0,D=D+Math.imul(W,Se)|0,w=w+Math.imul(ge,He)|0,A=(A=A+Math.imul(ge,Le)|0)+Math.imul(we,He)|0,D=D+Math.imul(we,Le)|0,w=w+Math.imul(Ie,Ze)|0,A=(A=A+Math.imul(Ie,Fe)|0)+Math.imul(Ee,Ze)|0,D=D+Math.imul(Ee,Fe)|0,w=w+Math.imul(le,lt)|0,A=(A=A+Math.imul(le,Je)|0)+Math.imul(ie,lt)|0,D=D+Math.imul(ie,Je)|0,w=w+Math.imul(q,vt)|0,A=(A=A+Math.imul(q,Ye)|0)+Math.imul(ue,vt)|0,D=D+Math.imul(ue,Ye)|0;var Mr=($+(w=w+Math.imul(Q,_t)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Qe)|0)+Math.imul(ee,_t)|0))<<13)|0;$=((D=D+Math.imul(ee,Qe)|0)+(A>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,w=Math.imul(Te,oe),A=(A=Math.imul(Te,de))+Math.imul(Pe,oe)|0,D=Math.imul(Pe,de),w=w+Math.imul(ne,_e)|0,A=(A=A+Math.imul(ne,Se)|0)+Math.imul(re,_e)|0,D=D+Math.imul(re,Se)|0,w=w+Math.imul(J,He)|0,A=(A=A+Math.imul(J,Le)|0)+Math.imul(W,He)|0,D=D+Math.imul(W,Le)|0,w=w+Math.imul(ge,Ze)|0,A=(A=A+Math.imul(ge,Fe)|0)+Math.imul(we,Ze)|0,D=D+Math.imul(we,Fe)|0,w=w+Math.imul(Ie,lt)|0,A=(A=A+Math.imul(Ie,Je)|0)+Math.imul(Ee,lt)|0,D=D+Math.imul(Ee,Je)|0,w=w+Math.imul(le,vt)|0,A=(A=A+Math.imul(le,Ye)|0)+Math.imul(ie,vt)|0,D=D+Math.imul(ie,Ye)|0,w=w+Math.imul(q,_t)|0,A=(A=A+Math.imul(q,Qe)|0)+Math.imul(ue,_t)|0,D=D+Math.imul(ue,Qe)|0;var Er=($+(w=w+Math.imul(Q,Pt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,rt)|0)+Math.imul(ee,Pt)|0))<<13)|0;$=((D=D+Math.imul(ee,rt)|0)+(A>>>13)|0)+(Er>>>26)|0,Er&=67108863,w=Math.imul(Ve,oe),A=(A=Math.imul(Ve,de))+Math.imul(ke,oe)|0,D=Math.imul(ke,de),w=w+Math.imul(Te,_e)|0,A=(A=A+Math.imul(Te,Se)|0)+Math.imul(Pe,_e)|0,D=D+Math.imul(Pe,Se)|0,w=w+Math.imul(ne,He)|0,A=(A=A+Math.imul(ne,Le)|0)+Math.imul(re,He)|0,D=D+Math.imul(re,Le)|0,w=w+Math.imul(J,Ze)|0,A=(A=A+Math.imul(J,Fe)|0)+Math.imul(W,Ze)|0,D=D+Math.imul(W,Fe)|0,w=w+Math.imul(ge,lt)|0,A=(A=A+Math.imul(ge,Je)|0)+Math.imul(we,lt)|0,D=D+Math.imul(we,Je)|0,w=w+Math.imul(Ie,vt)|0,A=(A=A+Math.imul(Ie,Ye)|0)+Math.imul(Ee,vt)|0,D=D+Math.imul(Ee,Ye)|0,w=w+Math.imul(le,_t)|0,A=(A=A+Math.imul(le,Qe)|0)+Math.imul(ie,_t)|0,D=D+Math.imul(ie,Qe)|0,w=w+Math.imul(q,Pt)|0,A=(A=A+Math.imul(q,rt)|0)+Math.imul(ue,Pt)|0,D=D+Math.imul(ue,rt)|0;var kr=($+(w=w+Math.imul(Q,jt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,tt)|0)+Math.imul(ee,jt)|0))<<13)|0;$=((D=D+Math.imul(ee,tt)|0)+(A>>>13)|0)+(kr>>>26)|0,kr&=67108863,w=Math.imul(Xe,oe),A=(A=Math.imul(Xe,de))+Math.imul(je,oe)|0,D=Math.imul(je,de),w=w+Math.imul(Ve,_e)|0,A=(A=A+Math.imul(Ve,Se)|0)+Math.imul(ke,_e)|0,D=D+Math.imul(ke,Se)|0,w=w+Math.imul(Te,He)|0,A=(A=A+Math.imul(Te,Le)|0)+Math.imul(Pe,He)|0,D=D+Math.imul(Pe,Le)|0,w=w+Math.imul(ne,Ze)|0,A=(A=A+Math.imul(ne,Fe)|0)+Math.imul(re,Ze)|0,D=D+Math.imul(re,Fe)|0,w=w+Math.imul(J,lt)|0,A=(A=A+Math.imul(J,Je)|0)+Math.imul(W,lt)|0,D=D+Math.imul(W,Je)|0,w=w+Math.imul(ge,vt)|0,A=(A=A+Math.imul(ge,Ye)|0)+Math.imul(we,vt)|0,D=D+Math.imul(we,Ye)|0,w=w+Math.imul(Ie,_t)|0,A=(A=A+Math.imul(Ie,Qe)|0)+Math.imul(Ee,_t)|0,D=D+Math.imul(Ee,Qe)|0,w=w+Math.imul(le,Pt)|0,A=(A=A+Math.imul(le,rt)|0)+Math.imul(ie,Pt)|0,D=D+Math.imul(ie,rt)|0,w=w+Math.imul(q,jt)|0,A=(A=A+Math.imul(q,tt)|0)+Math.imul(ue,jt)|0,D=D+Math.imul(ue,tt)|0;var xr=($+(w=w+Math.imul(Q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Dt)|0)+Math.imul(ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(ee,Dt)|0)+(A>>>13)|0)+(xr>>>26)|0,xr&=67108863,w=Math.imul(Xe,_e),A=(A=Math.imul(Xe,Se))+Math.imul(je,_e)|0,D=Math.imul(je,Se),w=w+Math.imul(Ve,He)|0,A=(A=A+Math.imul(Ve,Le)|0)+Math.imul(ke,He)|0,D=D+Math.imul(ke,Le)|0,w=w+Math.imul(Te,Ze)|0,A=(A=A+Math.imul(Te,Fe)|0)+Math.imul(Pe,Ze)|0,D=D+Math.imul(Pe,Fe)|0,w=w+Math.imul(ne,lt)|0,A=(A=A+Math.imul(ne,Je)|0)+Math.imul(re,lt)|0,D=D+Math.imul(re,Je)|0,w=w+Math.imul(J,vt)|0,A=(A=A+Math.imul(J,Ye)|0)+Math.imul(W,vt)|0,D=D+Math.imul(W,Ye)|0,w=w+Math.imul(ge,_t)|0,A=(A=A+Math.imul(ge,Qe)|0)+Math.imul(we,_t)|0,D=D+Math.imul(we,Qe)|0,w=w+Math.imul(Ie,Pt)|0,A=(A=A+Math.imul(Ie,rt)|0)+Math.imul(Ee,Pt)|0,D=D+Math.imul(Ee,rt)|0,w=w+Math.imul(le,jt)|0,A=(A=A+Math.imul(le,tt)|0)+Math.imul(ie,jt)|0,D=D+Math.imul(ie,tt)|0;var gr=($+(w=w+Math.imul(q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(q,Dt)|0)+Math.imul(ue,Mt)|0))<<13)|0;$=((D=D+Math.imul(ue,Dt)|0)+(A>>>13)|0)+(gr>>>26)|0,gr&=67108863,w=Math.imul(Xe,He),A=(A=Math.imul(Xe,Le))+Math.imul(je,He)|0,D=Math.imul(je,Le),w=w+Math.imul(Ve,Ze)|0,A=(A=A+Math.imul(Ve,Fe)|0)+Math.imul(ke,Ze)|0,D=D+Math.imul(ke,Fe)|0,w=w+Math.imul(Te,lt)|0,A=(A=A+Math.imul(Te,Je)|0)+Math.imul(Pe,lt)|0,D=D+Math.imul(Pe,Je)|0,w=w+Math.imul(ne,vt)|0,A=(A=A+Math.imul(ne,Ye)|0)+Math.imul(re,vt)|0,D=D+Math.imul(re,Ye)|0,w=w+Math.imul(J,_t)|0,A=(A=A+Math.imul(J,Qe)|0)+Math.imul(W,_t)|0,D=D+Math.imul(W,Qe)|0,w=w+Math.imul(ge,Pt)|0,A=(A=A+Math.imul(ge,rt)|0)+Math.imul(we,Pt)|0,D=D+Math.imul(we,rt)|0,w=w+Math.imul(Ie,jt)|0,A=(A=A+Math.imul(Ie,tt)|0)+Math.imul(Ee,jt)|0,D=D+Math.imul(Ee,tt)|0;var Pr=($+(w=w+Math.imul(le,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(le,Dt)|0)+Math.imul(ie,Mt)|0))<<13)|0;$=((D=D+Math.imul(ie,Dt)|0)+(A>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,w=Math.imul(Xe,Ze),A=(A=Math.imul(Xe,Fe))+Math.imul(je,Ze)|0,D=Math.imul(je,Fe),w=w+Math.imul(Ve,lt)|0,A=(A=A+Math.imul(Ve,Je)|0)+Math.imul(ke,lt)|0,D=D+Math.imul(ke,Je)|0,w=w+Math.imul(Te,vt)|0,A=(A=A+Math.imul(Te,Ye)|0)+Math.imul(Pe,vt)|0,D=D+Math.imul(Pe,Ye)|0,w=w+Math.imul(ne,_t)|0,A=(A=A+Math.imul(ne,Qe)|0)+Math.imul(re,_t)|0,D=D+Math.imul(re,Qe)|0,w=w+Math.imul(J,Pt)|0,A=(A=A+Math.imul(J,rt)|0)+Math.imul(W,Pt)|0,D=D+Math.imul(W,rt)|0,w=w+Math.imul(ge,jt)|0,A=(A=A+Math.imul(ge,tt)|0)+Math.imul(we,jt)|0,D=D+Math.imul(we,tt)|0;var sr=($+(w=w+Math.imul(Ie,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ie,Dt)|0)+Math.imul(Ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(Ee,Dt)|0)+(A>>>13)|0)+(sr>>>26)|0,sr&=67108863,w=Math.imul(Xe,lt),A=(A=Math.imul(Xe,Je))+Math.imul(je,lt)|0,D=Math.imul(je,Je),w=w+Math.imul(Ve,vt)|0,A=(A=A+Math.imul(Ve,Ye)|0)+Math.imul(ke,vt)|0,D=D+Math.imul(ke,Ye)|0,w=w+Math.imul(Te,_t)|0,A=(A=A+Math.imul(Te,Qe)|0)+Math.imul(Pe,_t)|0,D=D+Math.imul(Pe,Qe)|0,w=w+Math.imul(ne,Pt)|0,A=(A=A+Math.imul(ne,rt)|0)+Math.imul(re,Pt)|0,D=D+Math.imul(re,rt)|0,w=w+Math.imul(J,jt)|0,A=(A=A+Math.imul(J,tt)|0)+Math.imul(W,jt)|0,D=D+Math.imul(W,tt)|0;var Ar=($+(w=w+Math.imul(ge,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ge,Dt)|0)+Math.imul(we,Mt)|0))<<13)|0;$=((D=D+Math.imul(we,Dt)|0)+(A>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,w=Math.imul(Xe,vt),A=(A=Math.imul(Xe,Ye))+Math.imul(je,vt)|0,D=Math.imul(je,Ye),w=w+Math.imul(Ve,_t)|0,A=(A=A+Math.imul(Ve,Qe)|0)+Math.imul(ke,_t)|0,D=D+Math.imul(ke,Qe)|0,w=w+Math.imul(Te,Pt)|0,A=(A=A+Math.imul(Te,rt)|0)+Math.imul(Pe,Pt)|0,D=D+Math.imul(Pe,rt)|0,w=w+Math.imul(ne,jt)|0,A=(A=A+Math.imul(ne,tt)|0)+Math.imul(re,jt)|0,D=D+Math.imul(re,tt)|0;var ur=($+(w=w+Math.imul(J,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(J,Dt)|0)+Math.imul(W,Mt)|0))<<13)|0;$=((D=D+Math.imul(W,Dt)|0)+(A>>>13)|0)+(ur>>>26)|0,ur&=67108863,w=Math.imul(Xe,_t),A=(A=Math.imul(Xe,Qe))+Math.imul(je,_t)|0,D=Math.imul(je,Qe),w=w+Math.imul(Ve,Pt)|0,A=(A=A+Math.imul(Ve,rt)|0)+Math.imul(ke,Pt)|0,D=D+Math.imul(ke,rt)|0,w=w+Math.imul(Te,jt)|0,A=(A=A+Math.imul(Te,tt)|0)+Math.imul(Pe,jt)|0,D=D+Math.imul(Pe,tt)|0;var zt=($+(w=w+Math.imul(ne,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ne,Dt)|0)+Math.imul(re,Mt)|0))<<13)|0;$=((D=D+Math.imul(re,Dt)|0)+(A>>>13)|0)+(zt>>>26)|0,zt&=67108863,w=Math.imul(Xe,Pt),A=(A=Math.imul(Xe,rt))+Math.imul(je,Pt)|0,D=Math.imul(je,rt),w=w+Math.imul(Ve,jt)|0,A=(A=A+Math.imul(Ve,tt)|0)+Math.imul(ke,jt)|0,D=D+Math.imul(ke,tt)|0;var cr=($+(w=w+Math.imul(Te,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Te,Dt)|0)+Math.imul(Pe,Mt)|0))<<13)|0;$=((D=D+Math.imul(Pe,Dt)|0)+(A>>>13)|0)+(cr>>>26)|0,cr&=67108863,w=Math.imul(Xe,jt),A=(A=Math.imul(Xe,tt))+Math.imul(je,jt)|0,D=Math.imul(je,tt);var Mn=($+(w=w+Math.imul(Ve,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ve,Dt)|0)+Math.imul(ke,Mt)|0))<<13)|0;$=((D=D+Math.imul(ke,Dt)|0)+(A>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var Jn=($+(w=Math.imul(Xe,Mt))|0)+((8191&(A=(A=Math.imul(Xe,Dt))+Math.imul(je,Mt)|0))<<13)|0;return $=((D=Math.imul(je,Dt))+(A>>>13)|0)+(Jn>>>26)|0,Jn&=67108863,F[0]=Cr,F[1]=Sr,F[2]=Lr,F[3]=mr,F[4]=ar,F[5]=_r,F[6]=Mr,F[7]=Er,F[8]=kr,F[9]=xr,F[10]=gr,F[11]=Pr,F[12]=sr,F[13]=Ar,F[14]=ur,F[15]=zt,F[16]=cr,F[17]=Mn,F[18]=Jn,$!==0&&(F[19]=$,S.length++),S};function I(x,M,S){S.negative=M.negative^x.negative,S.length=x.length+M.length;for(var w=0,A=0,D=0;D>>26)|0)>>>26,V&=67108863}S.words[D]=R,w=V,V=A}return w!==0?S.words[D]=w:S.length--,S._strip()}function B(x,M,S){return I(x,M,S)}Math.imul||(O=h),t.prototype.mulTo=function(x,M){var S=this.length+x.length;return this.length===10&&x.length===10?O(this,x,M):S<63?h(this,x,M):S<1024?I(this,x,M):B(this,x,M)},t.prototype.mul=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),this.mulTo(x,M)},t.prototype.mulf=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),B(this,x,M)},t.prototype.imul=function(x){return this.clone().mulTo(x,this)},t.prototype.imuln=function(x){var M=x<0;M&&(x=-x),i(typeof x=="number"),i(x<67108864);for(var S=0,w=0;w>=26,S+=A/67108864|0,S+=D>>>26,this.words[w]=67108863&D}return S!==0&&(this.words[w]=S,this.length++),M?this.ineg():this},t.prototype.muln=function(x){return this.clone().imuln(x)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(x){var M=function(D){for(var V=new Array(D.bitLength()),R=0;R>>$&1}return V}(x);if(M.length===0)return new t(1);for(var S=this,w=0;w=0);var M,S=x%26,w=(x-S)/26,A=67108863>>>26-S<<26-S;if(S!==0){var D=0;for(M=0;M>>26-S}D&&(this.words[M]=D,this.length++)}if(w!==0){for(M=this.length-1;M>=0;M--)this.words[M+w]=this.words[M];for(M=0;M=0),w=M?(M-M%26)/26:0;var A=x%26,D=Math.min((x-A)/26,this.length),V=67108863^67108863>>>A<D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-A|G>>>A,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&A}for(;w>26,this.words[w+S]=67108863&A;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&A;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),A=x,D=0|A.words[A.length-1];(S=26-this._countBits(D))!=0&&(A=A.ushln(S),w.iushln(S),D=0|A.words[A.length-1]);var V,R=w.length-A.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[A.length+G])+(0|w.words[A.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(A,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(A,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.iadd(x)),{div:w,mod:A}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.isub(x)),{div:D.div,mod:A}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,A,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),A=x.andln(1),D=S.cmp(w);return D<0||A===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,A=this.length-1;A>=0;A--)w=(S*w+(0|this.words[A]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var A=(0|this.words[w])+67108864*S;this.words[w]=A/x|0,S=A%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),A=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||A.isOdd())&&(w.iadd(F),A.isub($)),w.iushrn(1),A.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),A.isub(V)):(S.isub(M),D.isub(w),V.isub(A))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,A=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)A.isOdd()&&A.iadd(V),A.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),A.isub(D)):(S.isub(M),D.isub(A))}return(w=M.cmpn(1)===0?A:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var A=M.cmp(S);if(A<0){var D=M;M=S,S=D}else if(A===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return A!==0&&(this.words[D]=A,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],A=0|x.words[S];if(w!==A){wA&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},y(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),A=0;A>>22,D=V}D>>>=22,x.words[A-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=A,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),A=0;!w.isZero()&&w.andln(1)===0;)A++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=A;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;A!==S[0]&&(A=this.sqr(A)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(A=this.mul(A,S[D]),V=0,D=0)):V=0}R=26}return A},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},y(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,n,c)=>{var r;function a(y){this.rand=y}if(E.exports=function(y){return r||(r=new a(null)),r.generate(y)},E.exports.Rand=a,a.prototype.generate=function(y){return this._rand(y)},a.prototype._rand=function(y){if(this.rand.getBytes)return this.rand.getBytes(y);for(var t=new Uint8Array(y),d=0;d{const r=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=d,n.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},n.INSPECT_MAX_BYTES=50;const y=2147483647;function t(K){if(K>y)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Te=0|v(re,ye);let Pe=t(Te);const Be=Pe.write(re,ye);return Be!==Te&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Te=t(ye);return Te.length===0||re.copy(Te,0,0,ye),Te}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return le(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:le(K).length;J=(""+J).toLowerCase(),ne=!0}}function p(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Te=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Te/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reTe&&(W=Te-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Te);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?r.fromByteArray(K):r.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Te<=W){let Pe,Be,Ve,ke;switch(Te){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Te=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Te}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Te="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Te=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function A(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Te,K)}(function(ye,Te,Pe){q(Te,"offset"),ye[Te]!==void 0&&ye[Te+Pe]!==void 0||ue(Te,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function ue(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ce=/[^+/0-9A-Za-z-_]/g;function le(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return r.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ce,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},8075:(E,n,c)=>{var r=c(453),a=c(487),i=a(r("String.prototype.indexOf"));E.exports=function(y,t){var d=r(y,!!t);return typeof d=="function"&&i(y,".prototype.")>-1?a(d):d}},487:(E,n,c)=>{var r=c(6743),a=c(453),i=c(6897),y=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||r.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new y("a function is required");var s=b(r,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(r,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,n,c)=>{var r=c(655),a=c(8068),i=c(9675),y=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!y&&y(t,d);if(r)r(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,n,c)=>{var r=n;r.version=c(9255).rE,r.utils=c(7011),r.rand=c(5037),r.curve=c(894),r.curves=c(480),r.ec=c(7447),r.eddsa=c(8650)},6677:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.getNAF,y=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new r(u.p,16),this.red=u.prime?r.red(u.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=u.n&&new r(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)p=(p<<1)+l[O];h.push(p)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,p=p.dblp(O),h<0)break;var I=v[h];t(I!==0),p=m.type==="affine"?I>0?p.mixedAdd(s[I-1>>1]):p.mixedAdd(s[-I-1>>1].neg()):I>0?p.add(s[I-1>>1]):p.add(s[-I-1>>1].neg())}return m.type==="affine"?p.toP():p},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,p,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=y(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),p=0;p=0;v--){for(var w=0;v>=0;){var A=!0;for(p=0;p=0&&w++,M=M.dblp(w),v<0)break;for(p=0;p0?h=I[p][D-1>>1]:D<0&&(h=I[p][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,y.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){y.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,y),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=p.fromRed().isOdd();return(u&&!h||!u&&h)&&(p=p.redNeg()),this.point(m,p)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return p.fromRed().isOdd()!==u&&(p=p.redNeg()),this.point(p,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,y.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),p=v.redSub(f),h=l.redSub(u),O=s.redMul(p),I=v.redMul(h),B=s.redMul(h),k=p.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,p=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=p.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=p.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(p.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),p=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(p),B=h.redMul(O),k=v.redMul(O),L=p.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),p=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(p),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(p),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(p.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(p.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,n,c)=>{var r=n;r.base=c(6677),r.short=c(9188),r.mont=c(370),r.edwards=c(1298)},370:(E,n,c)=>{var r=c(8490),a=c(6698),i=c(6677),y=c(7011);function t(b){i.call(this,"mont",b),this.a=new r(b.a,16).toRed(this.red),this.b=new r(b.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(m,16),this.z=new r(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(y.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),p=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(p,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,n,c)=>{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(u){y.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){y.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){y.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,y),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(p){return{a:new a(p.a,16),b:new a(p.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,p,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}p=I.neg(),h=B;var S=s.sqr().add(v.sqr());return p.sqr().add(h.sqr()).cmp(S)>=0&&(p=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),p.negative&&(p=p.neg(),h=h.neg()),[{a:s,b:v},{a:p,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),p=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=p.mul(s.a),I=v.mul(l.b),B=p.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,p=0;p":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),p=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(p)).redISub(this.y);return this.curve.point(p,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,y.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),p=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=p.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(p.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,p=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(p);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,n,c)=>{var r,a=n,i=c(7952),y=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new y.short(m):m.type==="edwards"?this.curve=new y.edwards(m):this.curve=new y.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=c(4011)}catch{r=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},7447:(E,n,c)=>{var r=c(8490),a=c(2723),i=c(7011),y=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(y,f),"Unknown curve "+f),f=y[f]),f instanceof y.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new r(2));;){var p=new r(l.generate(s));if(!(p.cmp(v)>0))return p.iaddn(1),this.keyFromPrivate(p)}},u.prototype._truncateToN=function(f,l,s){var v;if(r.isBN(f)||typeof f=="number")v=(f=new r(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new r(f,16);else{var p=f.toString();v=p.length+1>>>1,f=new r(p,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!r.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var p=0;p=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,p){p||(p={}),f=this._truncateToN(f,!1,p.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var p=this.n,h=new r(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(p),N=p.sub(h).mul(L).umod(p),H=I.mul(L).umod(p);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var p=0;p<4;p++){var h;try{h=this.recoverPubKey(f,l,p)}catch{continue}if(h.eq(s))return p}throw new Error("Unable to find valid recovery factor")}},1200:(E,n,c)=>{var r=c(8490),a=c(7011).assert;function i(y,t){this.ec=y,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(y,t,d){return t instanceof i?t:new i(y,{pub:t,pubEnc:d})},i.fromPrivate=function(y,t,d){return t instanceof i?t:new i(y,{priv:t,privEnc:d})},i.prototype.validate=function(){var y=this.getPublic();return y.isInfinity()?{result:!1,reason:"Invalid public key"}:y.validate()?y.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(y,t){return typeof y=="string"&&(t=y,y=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,y):this.pub},i.prototype.getPrivate=function(y){return y==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(y,t){this.priv=new r(y,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(y,t){if(y.x||y.y)return this.ec.curve.type==="mont"?a(y.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(y.x&&y.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(y.x,y.y));this.pub=this.ec.curve.decodePoint(y,t)},i.prototype.derive=function(y){return y.validate()||a(y.validate(),"public point not validated"),y.mul(this.priv).getX()},i.prototype.sign=function(y,t,d){return this.ec.sign(y,this,t,d)},i.prototype.verify=function(y,t,d){return this.ec.verify(y,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert;function y(u,f){if(u instanceof y)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new r(u.r,16),this.s=new r(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,p=0,h=f.place;p>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=y,y.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var p=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(p[0]===0){if(!(128&p[1]))return!1;p=p.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new r(p),this.s=new r(O),this.recoveryParam=null,!0},y.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),p=[48];return m(p,v.length),p=p.concat(v),a.encode(p,u)}},8650:(E,n,c)=>{var r=c(7952),a=c(480),i=c(7011),y=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(y(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=r.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),p=this.encodePoint(v),h=this.hashInt(p,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:p})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),p=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(p)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var r=c(7011),a=r.assert,i=r.parseBytes,y=r.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},y(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),y(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),y(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),y(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),y(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),y(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),r.encode(this.secret(),d)},t.prototype.getPublic=function(d){return r.encode(this.pubBytes(),d)},E.exports=t},220:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert,y=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof r&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}y(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),y(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),y(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),y(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,n,c)=>{var r=n,a=c(8490),i=c(3349),y=c(4367);r.assert=i,r.toArray=y.toArray,r.zero2=y.zero2,r.toHex=y.toHex,r.encode=y.encode,r.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},r.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,p=d.andln(3)+f&3;v===3&&(v=-1),p===3&&(p=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||p!==2?v:-v:0,b[0].push(l),s=1&p?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?p:-p:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},r.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},r.parseBytes=function(t){return typeof t=="string"?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,n,c){(function(r,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function y(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),A=T;A=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<
p?p:v+s));return f===1?(m=b[u-1],l.push(c[m>>2]+c[m<<4&63]+"==")):f===2&&(m=(b[u-2]<<8)+b[u-1],l.push(c[m>>10]+c[m>>4&63]+c[m<<2&63]+"=")),l.join("")};for(var c=[],r=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)c[y]=i[y],r[i.charCodeAt(y)]=y;function t(b){var m=b.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=b.indexOf("=");return u===-1&&(u=m),[u,u===m?0:4-u%4]}function d(b,m,u){for(var f,l,s=[],v=m;v>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]);return s.join("")}r[45]=62,r[95]=63},9404:function(E,n,c){(function(r,a){function i(x,M){if(!x)throw new Error(M||"Assertion failed")}function y(x,M){x.super_=M;var S=function(){};S.prototype=M.prototype,x.prototype=new S,x.prototype.constructor=x}function t(x,M,S){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(S=M,M=10),this._init(x||0,M||10,S||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(7790).Buffer}catch{}function b(x,M){var S=x.charCodeAt(M);return S>=48&&S<=57?S-48:S>=65&&S<=70?S-55:S>=97&&S<=102?S-87:void i(!1,"Invalid character in "+x)}function m(x,M,S){var w=b(x,S);return S-1>=M&&(w|=b(x,S-1)<<4),w}function u(x,M,S,w){for(var A=0,D=0,V=Math.min(x.length,S),R=M;R=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&D0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,S){if(typeof x=="number")return this._initNumber(x,M,S);if(typeof x=="object")return this._initArray(x,M,S);M==="hex"&&(M=16),i(M===(0|M)&&M>=2&&M<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w=0;w-=3)D=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[A]|=D<>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);else if(S==="le")for(w=0,A=0;w>>26-V&67108863,(V+=24)>=26&&(V-=26,A++);return this._strip()},t.prototype._parseHex=function(x,M,S){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var w=0;w=M;w-=2)A=m(x,M,w)<=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;else for(w=(x.length-M)%2==0?M+1:M;w=18?(D-=18,V+=1,this.words[V]|=A>>>26):D+=8;this._strip()},t.prototype._parseBase=function(x,M,S){this.words=[0],this.length=1;for(var w=0,A=1;A<=67108863;A*=M)w++;w--,A=A/M|0;for(var D=x.length-S,V=D%w,R=Math.min(D,D-V)+S,F=0,$=S;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{t.prototype.inspect=l}else t.prototype.inspect=l;function l(){return(this.red?""}var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(x,M,S){S.negative=M.negative^x.negative;var w=x.length+M.length|0;S.length=w,w=w-1|0;var A=0|x.words[0],D=0|M.words[0],V=A*D,R=67108863&V,F=V/67108864|0;S.words[0]=R;for(var $=1;$>>26,Q=67108863&F,ee=Math.min($,M.length-1),Z=Math.max(0,$-x.length+1);Z<=ee;Z++){var q=$-Z|0;G+=(V=(A=0|x.words[q])*(D=0|M.words[Z])+Q)/67108864|0,Q=67108863&V}S.words[$]=0|Q,F=0|G}return F!==0?S.words[$]=0|F:S.length--,S._strip()}t.prototype.toString=function(x,M){var S;if(M=0|M||1,(x=x||10)===16||x==="hex"){S="";for(var w=0,A=0,D=0;D>>24-w&16777215,(w+=2)>=26&&(w-=26,D--),S=A!==0||D!==this.length-1?s[6-R.length]+R+S:R+S}for(A!==0&&(S=A.toString(16)+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(x===(0|x)&&x>=2&&x<=36){var F=v[x],$=p[x];S="";var G=this.clone();for(G.negative=0;!G.isZero();){var Q=G.modrn($).toString(x);S=(G=G.idivn($)).isZero()?Q+S:s[F-Q.length]+Q+S}for(this.isZero()&&(S="0"+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(x,M){return this.toArrayLike(d,x,M)}),t.prototype.toArray=function(x,M){return this.toArrayLike(Array,x,M)},t.prototype.toArrayLike=function(x,M,S){this._strip();var w=this.byteLength(),A=S||Math.max(1,w);i(w<=A,"byte array longer than desired length"),i(A>0,"Requested array length <= 0");var D=function(V,R){return V.allocUnsafe?V.allocUnsafe(R):new V(R)}(x,A);return this["_toArrayLike"+(M==="le"?"LE":"BE")](D,w),D},t.prototype._toArrayLikeLE=function(x,M){for(var S=0,w=0,A=0,D=0;A>8&255),S>16&255),D===6?(S>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S=0&&(x[S--]=V>>8&255),S>=0&&(x[S--]=V>>16&255),D===6?(S>=0&&(x[S--]=V>>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S>=0)for(x[S--]=w;S>=0;)x[S--]=0},Math.clz32?t.prototype._countBits=function(x){return 32-Math.clz32(x)}:t.prototype._countBits=function(x){var M=x,S=0;return M>=4096&&(S+=13,M>>>=13),M>=64&&(S+=7,M>>>=7),M>=8&&(S+=4,M>>>=4),M>=2&&(S+=2,M>>>=2),S+M},t.prototype._zeroBits=function(x){if(x===0)return 26;var M=x,S=0;return 8191&M||(S+=13,M>>>=13),127&M||(S+=7,M>>>=7),15&M||(S+=4,M>>>=4),3&M||(S+=2,M>>>=2),1&M||S++,S},t.prototype.bitLength=function(){var x=this.words[this.length-1],M=this._countBits(x);return 26*(this.length-1)+M},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,M=0;Mx.length?this.clone().ior(x):x.clone().ior(this)},t.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},t.prototype.iuand=function(x){var M;M=this.length>x.length?x:this;for(var S=0;Sx.length?this.clone().iand(x):x.clone().iand(this)},t.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},t.prototype.iuxor=function(x){var M,S;this.length>x.length?(M=this,S=x):(M=x,S=this);for(var w=0;wx.length?this.clone().ixor(x):x.clone().ixor(this)},t.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},t.prototype.inotn=function(x){i(typeof x=="number"&&x>=0);var M=0|Math.ceil(x/26),S=x%26;this._expand(M),S>0&&M--;for(var w=0;w0&&(this.words[w]=~this.words[w]&67108863>>26-S),this._strip()},t.prototype.notn=function(x){return this.clone().inotn(x)},t.prototype.setn=function(x,M){i(typeof x=="number"&&x>=0);var S=x/26|0,w=x%26;return this._expand(S+1),this.words[S]=M?this.words[S]|1<x.length?(S=this,w=x):(S=x,w=this);for(var A=0,D=0;D>>26;for(;A!==0&&D>>26;if(this.length=S.length,A!==0)this.words[this.length]=A,this.length++;else if(S!==this)for(;Dx.length?this.clone().iadd(x):x.clone().iadd(this)},t.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var M=this.iadd(x);return x.negative=1,M._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var S,w,A=this.cmp(x);if(A===0)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(S=this,w=x):(S=x,w=this);for(var D=0,V=0;V>26,this.words[V]=67108863&M;for(;D!==0&&V>26,this.words[V]=67108863&M;if(D===0&&V>>13,Z=0|V[1],q=8191&Z,ue=Z>>>13,ce=0|V[2],le=8191&ce,ie=ce>>>13,he=0|V[3],Ie=8191&he,Ee=he>>>13,te=0|V[4],ge=8191&te,we=te>>>13,K=0|V[5],J=8191&K,W=K>>>13,X=0|V[6],ne=8191&X,re=X>>>13,ye=0|V[7],Te=8191&ye,Pe=ye>>>13,Be=0|V[8],Ve=8191&Be,ke=Be>>>13,Ue=0|V[9],Xe=8191&Ue,je=Ue>>>13,fe=0|R[0],oe=8191&fe,de=fe>>>13,me=0|R[1],_e=8191&me,Se=me>>>13,Ne=0|R[2],He=8191&Ne,Le=Ne>>>13,Re=0|R[3],Ze=8191&Re,Fe=Re>>>13,Ge=0|R[4],lt=8191&Ge,Je=Ge>>>13,it=0|R[5],vt=8191&it,Ye=it>>>13,ut=0|R[6],_t=8191&ut,Qe=ut>>>13,st=0|R[7],Pt=8191&st,rt=st>>>13,yt=0|R[8],jt=8191&yt,tt=yt>>>13,dt=0|R[9],Mt=8191&dt,Dt=dt>>>13;S.negative=x.negative^M.negative,S.length=19;var Cr=($+(w=Math.imul(Q,oe))|0)+((8191&(A=(A=Math.imul(Q,de))+Math.imul(ee,oe)|0))<<13)|0;$=((D=Math.imul(ee,de))+(A>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,w=Math.imul(q,oe),A=(A=Math.imul(q,de))+Math.imul(ue,oe)|0,D=Math.imul(ue,de);var Sr=($+(w=w+Math.imul(Q,_e)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Se)|0)+Math.imul(ee,_e)|0))<<13)|0;$=((D=D+Math.imul(ee,Se)|0)+(A>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,w=Math.imul(le,oe),A=(A=Math.imul(le,de))+Math.imul(ie,oe)|0,D=Math.imul(ie,de),w=w+Math.imul(q,_e)|0,A=(A=A+Math.imul(q,Se)|0)+Math.imul(ue,_e)|0,D=D+Math.imul(ue,Se)|0;var Lr=($+(w=w+Math.imul(Q,He)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Le)|0)+Math.imul(ee,He)|0))<<13)|0;$=((D=D+Math.imul(ee,Le)|0)+(A>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(Ie,oe),A=(A=Math.imul(Ie,de))+Math.imul(Ee,oe)|0,D=Math.imul(Ee,de),w=w+Math.imul(le,_e)|0,A=(A=A+Math.imul(le,Se)|0)+Math.imul(ie,_e)|0,D=D+Math.imul(ie,Se)|0,w=w+Math.imul(q,He)|0,A=(A=A+Math.imul(q,Le)|0)+Math.imul(ue,He)|0,D=D+Math.imul(ue,Le)|0;var mr=($+(w=w+Math.imul(Q,Ze)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Fe)|0)+Math.imul(ee,Ze)|0))<<13)|0;$=((D=D+Math.imul(ee,Fe)|0)+(A>>>13)|0)+(mr>>>26)|0,mr&=67108863,w=Math.imul(ge,oe),A=(A=Math.imul(ge,de))+Math.imul(we,oe)|0,D=Math.imul(we,de),w=w+Math.imul(Ie,_e)|0,A=(A=A+Math.imul(Ie,Se)|0)+Math.imul(Ee,_e)|0,D=D+Math.imul(Ee,Se)|0,w=w+Math.imul(le,He)|0,A=(A=A+Math.imul(le,Le)|0)+Math.imul(ie,He)|0,D=D+Math.imul(ie,Le)|0,w=w+Math.imul(q,Ze)|0,A=(A=A+Math.imul(q,Fe)|0)+Math.imul(ue,Ze)|0,D=D+Math.imul(ue,Fe)|0;var ar=($+(w=w+Math.imul(Q,lt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Je)|0)+Math.imul(ee,lt)|0))<<13)|0;$=((D=D+Math.imul(ee,Je)|0)+(A>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(J,oe),A=(A=Math.imul(J,de))+Math.imul(W,oe)|0,D=Math.imul(W,de),w=w+Math.imul(ge,_e)|0,A=(A=A+Math.imul(ge,Se)|0)+Math.imul(we,_e)|0,D=D+Math.imul(we,Se)|0,w=w+Math.imul(Ie,He)|0,A=(A=A+Math.imul(Ie,Le)|0)+Math.imul(Ee,He)|0,D=D+Math.imul(Ee,Le)|0,w=w+Math.imul(le,Ze)|0,A=(A=A+Math.imul(le,Fe)|0)+Math.imul(ie,Ze)|0,D=D+Math.imul(ie,Fe)|0,w=w+Math.imul(q,lt)|0,A=(A=A+Math.imul(q,Je)|0)+Math.imul(ue,lt)|0,D=D+Math.imul(ue,Je)|0;var _r=($+(w=w+Math.imul(Q,vt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Ye)|0)+Math.imul(ee,vt)|0))<<13)|0;$=((D=D+Math.imul(ee,Ye)|0)+(A>>>13)|0)+(_r>>>26)|0,_r&=67108863,w=Math.imul(ne,oe),A=(A=Math.imul(ne,de))+Math.imul(re,oe)|0,D=Math.imul(re,de),w=w+Math.imul(J,_e)|0,A=(A=A+Math.imul(J,Se)|0)+Math.imul(W,_e)|0,D=D+Math.imul(W,Se)|0,w=w+Math.imul(ge,He)|0,A=(A=A+Math.imul(ge,Le)|0)+Math.imul(we,He)|0,D=D+Math.imul(we,Le)|0,w=w+Math.imul(Ie,Ze)|0,A=(A=A+Math.imul(Ie,Fe)|0)+Math.imul(Ee,Ze)|0,D=D+Math.imul(Ee,Fe)|0,w=w+Math.imul(le,lt)|0,A=(A=A+Math.imul(le,Je)|0)+Math.imul(ie,lt)|0,D=D+Math.imul(ie,Je)|0,w=w+Math.imul(q,vt)|0,A=(A=A+Math.imul(q,Ye)|0)+Math.imul(ue,vt)|0,D=D+Math.imul(ue,Ye)|0;var Mr=($+(w=w+Math.imul(Q,_t)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Qe)|0)+Math.imul(ee,_t)|0))<<13)|0;$=((D=D+Math.imul(ee,Qe)|0)+(A>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,w=Math.imul(Te,oe),A=(A=Math.imul(Te,de))+Math.imul(Pe,oe)|0,D=Math.imul(Pe,de),w=w+Math.imul(ne,_e)|0,A=(A=A+Math.imul(ne,Se)|0)+Math.imul(re,_e)|0,D=D+Math.imul(re,Se)|0,w=w+Math.imul(J,He)|0,A=(A=A+Math.imul(J,Le)|0)+Math.imul(W,He)|0,D=D+Math.imul(W,Le)|0,w=w+Math.imul(ge,Ze)|0,A=(A=A+Math.imul(ge,Fe)|0)+Math.imul(we,Ze)|0,D=D+Math.imul(we,Fe)|0,w=w+Math.imul(Ie,lt)|0,A=(A=A+Math.imul(Ie,Je)|0)+Math.imul(Ee,lt)|0,D=D+Math.imul(Ee,Je)|0,w=w+Math.imul(le,vt)|0,A=(A=A+Math.imul(le,Ye)|0)+Math.imul(ie,vt)|0,D=D+Math.imul(ie,Ye)|0,w=w+Math.imul(q,_t)|0,A=(A=A+Math.imul(q,Qe)|0)+Math.imul(ue,_t)|0,D=D+Math.imul(ue,Qe)|0;var Er=($+(w=w+Math.imul(Q,Pt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,rt)|0)+Math.imul(ee,Pt)|0))<<13)|0;$=((D=D+Math.imul(ee,rt)|0)+(A>>>13)|0)+(Er>>>26)|0,Er&=67108863,w=Math.imul(Ve,oe),A=(A=Math.imul(Ve,de))+Math.imul(ke,oe)|0,D=Math.imul(ke,de),w=w+Math.imul(Te,_e)|0,A=(A=A+Math.imul(Te,Se)|0)+Math.imul(Pe,_e)|0,D=D+Math.imul(Pe,Se)|0,w=w+Math.imul(ne,He)|0,A=(A=A+Math.imul(ne,Le)|0)+Math.imul(re,He)|0,D=D+Math.imul(re,Le)|0,w=w+Math.imul(J,Ze)|0,A=(A=A+Math.imul(J,Fe)|0)+Math.imul(W,Ze)|0,D=D+Math.imul(W,Fe)|0,w=w+Math.imul(ge,lt)|0,A=(A=A+Math.imul(ge,Je)|0)+Math.imul(we,lt)|0,D=D+Math.imul(we,Je)|0,w=w+Math.imul(Ie,vt)|0,A=(A=A+Math.imul(Ie,Ye)|0)+Math.imul(Ee,vt)|0,D=D+Math.imul(Ee,Ye)|0,w=w+Math.imul(le,_t)|0,A=(A=A+Math.imul(le,Qe)|0)+Math.imul(ie,_t)|0,D=D+Math.imul(ie,Qe)|0,w=w+Math.imul(q,Pt)|0,A=(A=A+Math.imul(q,rt)|0)+Math.imul(ue,Pt)|0,D=D+Math.imul(ue,rt)|0;var kr=($+(w=w+Math.imul(Q,jt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,tt)|0)+Math.imul(ee,jt)|0))<<13)|0;$=((D=D+Math.imul(ee,tt)|0)+(A>>>13)|0)+(kr>>>26)|0,kr&=67108863,w=Math.imul(Xe,oe),A=(A=Math.imul(Xe,de))+Math.imul(je,oe)|0,D=Math.imul(je,de),w=w+Math.imul(Ve,_e)|0,A=(A=A+Math.imul(Ve,Se)|0)+Math.imul(ke,_e)|0,D=D+Math.imul(ke,Se)|0,w=w+Math.imul(Te,He)|0,A=(A=A+Math.imul(Te,Le)|0)+Math.imul(Pe,He)|0,D=D+Math.imul(Pe,Le)|0,w=w+Math.imul(ne,Ze)|0,A=(A=A+Math.imul(ne,Fe)|0)+Math.imul(re,Ze)|0,D=D+Math.imul(re,Fe)|0,w=w+Math.imul(J,lt)|0,A=(A=A+Math.imul(J,Je)|0)+Math.imul(W,lt)|0,D=D+Math.imul(W,Je)|0,w=w+Math.imul(ge,vt)|0,A=(A=A+Math.imul(ge,Ye)|0)+Math.imul(we,vt)|0,D=D+Math.imul(we,Ye)|0,w=w+Math.imul(Ie,_t)|0,A=(A=A+Math.imul(Ie,Qe)|0)+Math.imul(Ee,_t)|0,D=D+Math.imul(Ee,Qe)|0,w=w+Math.imul(le,Pt)|0,A=(A=A+Math.imul(le,rt)|0)+Math.imul(ie,Pt)|0,D=D+Math.imul(ie,rt)|0,w=w+Math.imul(q,jt)|0,A=(A=A+Math.imul(q,tt)|0)+Math.imul(ue,jt)|0,D=D+Math.imul(ue,tt)|0;var xr=($+(w=w+Math.imul(Q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Q,Dt)|0)+Math.imul(ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(ee,Dt)|0)+(A>>>13)|0)+(xr>>>26)|0,xr&=67108863,w=Math.imul(Xe,_e),A=(A=Math.imul(Xe,Se))+Math.imul(je,_e)|0,D=Math.imul(je,Se),w=w+Math.imul(Ve,He)|0,A=(A=A+Math.imul(Ve,Le)|0)+Math.imul(ke,He)|0,D=D+Math.imul(ke,Le)|0,w=w+Math.imul(Te,Ze)|0,A=(A=A+Math.imul(Te,Fe)|0)+Math.imul(Pe,Ze)|0,D=D+Math.imul(Pe,Fe)|0,w=w+Math.imul(ne,lt)|0,A=(A=A+Math.imul(ne,Je)|0)+Math.imul(re,lt)|0,D=D+Math.imul(re,Je)|0,w=w+Math.imul(J,vt)|0,A=(A=A+Math.imul(J,Ye)|0)+Math.imul(W,vt)|0,D=D+Math.imul(W,Ye)|0,w=w+Math.imul(ge,_t)|0,A=(A=A+Math.imul(ge,Qe)|0)+Math.imul(we,_t)|0,D=D+Math.imul(we,Qe)|0,w=w+Math.imul(Ie,Pt)|0,A=(A=A+Math.imul(Ie,rt)|0)+Math.imul(Ee,Pt)|0,D=D+Math.imul(Ee,rt)|0,w=w+Math.imul(le,jt)|0,A=(A=A+Math.imul(le,tt)|0)+Math.imul(ie,jt)|0,D=D+Math.imul(ie,tt)|0;var gr=($+(w=w+Math.imul(q,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(q,Dt)|0)+Math.imul(ue,Mt)|0))<<13)|0;$=((D=D+Math.imul(ue,Dt)|0)+(A>>>13)|0)+(gr>>>26)|0,gr&=67108863,w=Math.imul(Xe,He),A=(A=Math.imul(Xe,Le))+Math.imul(je,He)|0,D=Math.imul(je,Le),w=w+Math.imul(Ve,Ze)|0,A=(A=A+Math.imul(Ve,Fe)|0)+Math.imul(ke,Ze)|0,D=D+Math.imul(ke,Fe)|0,w=w+Math.imul(Te,lt)|0,A=(A=A+Math.imul(Te,Je)|0)+Math.imul(Pe,lt)|0,D=D+Math.imul(Pe,Je)|0,w=w+Math.imul(ne,vt)|0,A=(A=A+Math.imul(ne,Ye)|0)+Math.imul(re,vt)|0,D=D+Math.imul(re,Ye)|0,w=w+Math.imul(J,_t)|0,A=(A=A+Math.imul(J,Qe)|0)+Math.imul(W,_t)|0,D=D+Math.imul(W,Qe)|0,w=w+Math.imul(ge,Pt)|0,A=(A=A+Math.imul(ge,rt)|0)+Math.imul(we,Pt)|0,D=D+Math.imul(we,rt)|0,w=w+Math.imul(Ie,jt)|0,A=(A=A+Math.imul(Ie,tt)|0)+Math.imul(Ee,jt)|0,D=D+Math.imul(Ee,tt)|0;var Pr=($+(w=w+Math.imul(le,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(le,Dt)|0)+Math.imul(ie,Mt)|0))<<13)|0;$=((D=D+Math.imul(ie,Dt)|0)+(A>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,w=Math.imul(Xe,Ze),A=(A=Math.imul(Xe,Fe))+Math.imul(je,Ze)|0,D=Math.imul(je,Fe),w=w+Math.imul(Ve,lt)|0,A=(A=A+Math.imul(Ve,Je)|0)+Math.imul(ke,lt)|0,D=D+Math.imul(ke,Je)|0,w=w+Math.imul(Te,vt)|0,A=(A=A+Math.imul(Te,Ye)|0)+Math.imul(Pe,vt)|0,D=D+Math.imul(Pe,Ye)|0,w=w+Math.imul(ne,_t)|0,A=(A=A+Math.imul(ne,Qe)|0)+Math.imul(re,_t)|0,D=D+Math.imul(re,Qe)|0,w=w+Math.imul(J,Pt)|0,A=(A=A+Math.imul(J,rt)|0)+Math.imul(W,Pt)|0,D=D+Math.imul(W,rt)|0,w=w+Math.imul(ge,jt)|0,A=(A=A+Math.imul(ge,tt)|0)+Math.imul(we,jt)|0,D=D+Math.imul(we,tt)|0;var sr=($+(w=w+Math.imul(Ie,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ie,Dt)|0)+Math.imul(Ee,Mt)|0))<<13)|0;$=((D=D+Math.imul(Ee,Dt)|0)+(A>>>13)|0)+(sr>>>26)|0,sr&=67108863,w=Math.imul(Xe,lt),A=(A=Math.imul(Xe,Je))+Math.imul(je,lt)|0,D=Math.imul(je,Je),w=w+Math.imul(Ve,vt)|0,A=(A=A+Math.imul(Ve,Ye)|0)+Math.imul(ke,vt)|0,D=D+Math.imul(ke,Ye)|0,w=w+Math.imul(Te,_t)|0,A=(A=A+Math.imul(Te,Qe)|0)+Math.imul(Pe,_t)|0,D=D+Math.imul(Pe,Qe)|0,w=w+Math.imul(ne,Pt)|0,A=(A=A+Math.imul(ne,rt)|0)+Math.imul(re,Pt)|0,D=D+Math.imul(re,rt)|0,w=w+Math.imul(J,jt)|0,A=(A=A+Math.imul(J,tt)|0)+Math.imul(W,jt)|0,D=D+Math.imul(W,tt)|0;var Ar=($+(w=w+Math.imul(ge,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ge,Dt)|0)+Math.imul(we,Mt)|0))<<13)|0;$=((D=D+Math.imul(we,Dt)|0)+(A>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,w=Math.imul(Xe,vt),A=(A=Math.imul(Xe,Ye))+Math.imul(je,vt)|0,D=Math.imul(je,Ye),w=w+Math.imul(Ve,_t)|0,A=(A=A+Math.imul(Ve,Qe)|0)+Math.imul(ke,_t)|0,D=D+Math.imul(ke,Qe)|0,w=w+Math.imul(Te,Pt)|0,A=(A=A+Math.imul(Te,rt)|0)+Math.imul(Pe,Pt)|0,D=D+Math.imul(Pe,rt)|0,w=w+Math.imul(ne,jt)|0,A=(A=A+Math.imul(ne,tt)|0)+Math.imul(re,jt)|0,D=D+Math.imul(re,tt)|0;var ur=($+(w=w+Math.imul(J,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(J,Dt)|0)+Math.imul(W,Mt)|0))<<13)|0;$=((D=D+Math.imul(W,Dt)|0)+(A>>>13)|0)+(ur>>>26)|0,ur&=67108863,w=Math.imul(Xe,_t),A=(A=Math.imul(Xe,Qe))+Math.imul(je,_t)|0,D=Math.imul(je,Qe),w=w+Math.imul(Ve,Pt)|0,A=(A=A+Math.imul(Ve,rt)|0)+Math.imul(ke,Pt)|0,D=D+Math.imul(ke,rt)|0,w=w+Math.imul(Te,jt)|0,A=(A=A+Math.imul(Te,tt)|0)+Math.imul(Pe,jt)|0,D=D+Math.imul(Pe,tt)|0;var zt=($+(w=w+Math.imul(ne,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(ne,Dt)|0)+Math.imul(re,Mt)|0))<<13)|0;$=((D=D+Math.imul(re,Dt)|0)+(A>>>13)|0)+(zt>>>26)|0,zt&=67108863,w=Math.imul(Xe,Pt),A=(A=Math.imul(Xe,rt))+Math.imul(je,Pt)|0,D=Math.imul(je,rt),w=w+Math.imul(Ve,jt)|0,A=(A=A+Math.imul(Ve,tt)|0)+Math.imul(ke,jt)|0,D=D+Math.imul(ke,tt)|0;var cr=($+(w=w+Math.imul(Te,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Te,Dt)|0)+Math.imul(Pe,Mt)|0))<<13)|0;$=((D=D+Math.imul(Pe,Dt)|0)+(A>>>13)|0)+(cr>>>26)|0,cr&=67108863,w=Math.imul(Xe,jt),A=(A=Math.imul(Xe,tt))+Math.imul(je,jt)|0,D=Math.imul(je,tt);var Mn=($+(w=w+Math.imul(Ve,Mt)|0)|0)+((8191&(A=(A=A+Math.imul(Ve,Dt)|0)+Math.imul(ke,Mt)|0))<<13)|0;$=((D=D+Math.imul(ke,Dt)|0)+(A>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var Jn=($+(w=Math.imul(Xe,Mt))|0)+((8191&(A=(A=Math.imul(Xe,Dt))+Math.imul(je,Mt)|0))<<13)|0;return $=((D=Math.imul(je,Dt))+(A>>>13)|0)+(Jn>>>26)|0,Jn&=67108863,F[0]=Cr,F[1]=Sr,F[2]=Lr,F[3]=mr,F[4]=ar,F[5]=_r,F[6]=Mr,F[7]=Er,F[8]=kr,F[9]=xr,F[10]=gr,F[11]=Pr,F[12]=sr,F[13]=Ar,F[14]=ur,F[15]=zt,F[16]=cr,F[17]=Mn,F[18]=Jn,$!==0&&(F[19]=$,S.length++),S};function I(x,M,S){S.negative=M.negative^x.negative,S.length=x.length+M.length;for(var w=0,A=0,D=0;D>>26)|0)>>>26,V&=67108863}S.words[D]=R,w=V,V=A}return w!==0?S.words[D]=w:S.length--,S._strip()}function B(x,M,S){return I(x,M,S)}Math.imul||(O=h),t.prototype.mulTo=function(x,M){var S=this.length+x.length;return this.length===10&&x.length===10?O(this,x,M):S<63?h(this,x,M):S<1024?I(this,x,M):B(this,x,M)},t.prototype.mul=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),this.mulTo(x,M)},t.prototype.mulf=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),B(this,x,M)},t.prototype.imul=function(x){return this.clone().mulTo(x,this)},t.prototype.imuln=function(x){var M=x<0;M&&(x=-x),i(typeof x=="number"),i(x<67108864);for(var S=0,w=0;w>=26,S+=A/67108864|0,S+=D>>>26,this.words[w]=67108863&D}return S!==0&&(this.words[w]=S,this.length++),M?this.ineg():this},t.prototype.muln=function(x){return this.clone().imuln(x)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(x){var M=function(D){for(var V=new Array(D.bitLength()),R=0;R>>$&1}return V}(x);if(M.length===0)return new t(1);for(var S=this,w=0;w=0);var M,S=x%26,w=(x-S)/26,A=67108863>>>26-S<<26-S;if(S!==0){var D=0;for(M=0;M>>26-S}D&&(this.words[M]=D,this.length++)}if(w!==0){for(M=this.length-1;M>=0;M--)this.words[M+w]=this.words[M];for(M=0;M=0),w=M?(M-M%26)/26:0;var A=x%26,D=Math.min((x-A)/26,this.length),V=67108863^67108863>>>A<D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-A|G>>>A,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&A}for(;w>26,this.words[w+S]=67108863&A;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&A;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),A=x,D=0|A.words[A.length-1];(S=26-this._countBits(D))!=0&&(A=A.ushln(S),w.iushln(S),D=0|A.words[A.length-1]);var V,R=w.length-A.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[A.length+G])+(0|w.words[A.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(A,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(A,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.iadd(x)),{div:w,mod:A}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(A=D.mod.neg(),S&&A.negative!==0&&A.isub(x)),{div:D.div,mod:A}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,A,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),A=x.andln(1),D=S.cmp(w);return D<0||A===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,A=this.length-1;A>=0;A--)w=(S*w+(0|this.words[A]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var A=(0|this.words[w])+67108864*S;this.words[w]=A/x|0,S=A%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),A=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||A.isOdd())&&(w.iadd(F),A.isub($)),w.iushrn(1),A.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),A.isub(V)):(S.isub(M),D.isub(w),V.isub(A))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,A=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)A.isOdd()&&A.iadd(V),A.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),A.isub(D)):(S.isub(M),D.isub(A))}return(w=M.cmpn(1)===0?A:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var A=M.cmp(S);if(A<0){var D=M;M=S,S=D}else if(A===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return A!==0&&(this.words[D]=A,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],A=0|x.words[S];if(w!==A){wA&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},y(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),A=0;A>>22,D=V}D>>>=22,x.words[A-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=A,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),A=0;!w.isZero()&&w.andln(1)===0;)A++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=A;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;A!==S[0]&&(A=this.sqr(A)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(A=this.mul(A,S[D]),V=0,D=0)):V=0}R=26}return A},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},y(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=S.isub(w).iushrn(this.shift),D=A;return A.cmp(this.m)>=0?D=A.isub(this.m):A.cmpn(0)<0&&(D=A.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,n,c)=>{var r;function a(y){this.rand=y}if(E.exports=function(y){return r||(r=new a(null)),r.generate(y)},E.exports.Rand=a,a.prototype.generate=function(y){return this._rand(y)},a.prototype._rand=function(y){if(this.rand.getBytes)return this.rand.getBytes(y);for(var t=new Uint8Array(y),d=0;d{const r=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=d,n.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},n.INSPECT_MAX_BYTES=50;const y=2147483647;function t(K){if(K>y)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Te=0|v(re,ye);let Pe=t(Te);const Be=Pe.write(re,ye);return Be!==Te&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Te=t(ye);return Te.length===0||re.copy(Te,0,0,ye),Te}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return le(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:le(K).length;J=(""+J).toLowerCase(),ne=!0}}function p(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Te=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Te/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reTe&&(W=Te-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Te);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?r.fromByteArray(K):r.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Te<=W){let Pe,Be,Ve,ke;switch(Te){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Te=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Te}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Te="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Te=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function A(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||ue(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||A(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Te=Math.pow(2,8*W-1);A(this,K,J,W,Te-1,-Te)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||A(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Te,K)}(function(ye,Te,Pe){q(Te,"offset"),ye[Te]!==void 0&&ye[Te+Pe]!==void 0||ue(Te,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function ue(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ce=/[^+/0-9A-Za-z-_]/g;function le(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return r.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ce,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},8075:(E,n,c)=>{var r=c(453),a=c(487),i=a(r("String.prototype.indexOf"));E.exports=function(y,t){var d=r(y,!!t);return typeof d=="function"&&i(y,".prototype.")>-1?a(d):d}},487:(E,n,c)=>{var r=c(6743),a=c(453),i=c(6897),y=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||r.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new y("a function is required");var s=b(r,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(r,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,n,c)=>{var r=c(655),a=c(8068),i=c(9675),y=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!y&&y(t,d);if(r)r(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,n,c)=>{var r=n;r.version=c(9255).rE,r.utils=c(7011),r.rand=c(5037),r.curve=c(894),r.curves=c(480),r.ec=c(7447),r.eddsa=c(8650)},6677:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.getNAF,y=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new r(u.p,16),this.red=u.prime?r.red(u.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=u.n&&new r(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)p=(p<<1)+l[O];h.push(p)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,p=p.dblp(O),h<0)break;var I=v[h];t(I!==0),p=m.type==="affine"?I>0?p.mixedAdd(s[I-1>>1]):p.mixedAdd(s[-I-1>>1].neg()):I>0?p.add(s[I-1>>1]):p.add(s[-I-1>>1].neg())}return m.type==="affine"?p.toP():p},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,p,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=y(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),p=0;p=0;v--){for(var w=0;v>=0;){var A=!0;for(p=0;p=0&&w++,M=M.dblp(w),v<0)break;for(p=0;p0?h=I[p][D-1>>1]:D<0&&(h=I[p][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,y.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){y.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,y),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=p.fromRed().isOdd();return(u&&!h||!u&&h)&&(p=p.redNeg()),this.point(m,p)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var p=v.redSqrt();if(p.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return p.fromRed().isOdd()!==u&&(p=p.redNeg()),this.point(p,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,y.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),p=v.redSub(f),h=l.redSub(u),O=s.redMul(p),I=v.redMul(h),B=s.redMul(h),k=p.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,p=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=p.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=p.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(p.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),p=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(p),B=h.redMul(O),k=v.redMul(O),L=p.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),p=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(p),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(p),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(p.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(p.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,n,c)=>{var r=n;r.base=c(6677),r.short=c(9188),r.mont=c(370),r.edwards=c(1298)},370:(E,n,c)=>{var r=c(8490),a=c(6698),i=c(6677),y=c(7011);function t(b){i.call(this,"mont",b),this.a=new r(b.a,16).toRed(this.red),this.b=new r(b.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(m,16),this.z=new r(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(y.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),p=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(p,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,n,c)=>{var r=c(7011),a=c(8490),i=c(6698),y=c(6677),t=r.assert;function d(u){y.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){y.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){y.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,y),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(p){return{a:new a(p.a,16),b:new a(p.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,p,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}p=I.neg(),h=B;var S=s.sqr().add(v.sqr());return p.sqr().add(h.sqr()).cmp(S)>=0&&(p=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),p.negative&&(p=p.neg(),h=h.neg()),[{a:s,b:v},{a:p,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),p=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=p.mul(s.a),I=v.mul(l.b),B=p.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,p=0;p":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),p=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(p)).redISub(this.y);return this.curve.point(p,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,y.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),p=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=p.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(p.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,p=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(p);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,n,c)=>{var r,a=n,i=c(7952),y=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new y.short(m):m.type==="edwards"?this.curve=new y.edwards(m):this.curve=new y.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=c(4011)}catch{r=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},7447:(E,n,c)=>{var r=c(8490),a=c(2723),i=c(7011),y=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(y,f),"Unknown curve "+f),f=y[f]),f instanceof y.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new r(2));;){var p=new r(l.generate(s));if(!(p.cmp(v)>0))return p.iaddn(1),this.keyFromPrivate(p)}},u.prototype._truncateToN=function(f,l,s){var v;if(r.isBN(f)||typeof f=="number")v=(f=new r(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new r(f,16);else{var p=f.toString();v=p.length+1>>>1,f=new r(p,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!r.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var p=0;p=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,p){p||(p={}),f=this._truncateToN(f,!1,p.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var p=this.n,h=new r(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(p),N=p.sub(h).mul(L).umod(p),H=I.mul(L).umod(p);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var p=0;p<4;p++){var h;try{h=this.recoverPubKey(f,l,p)}catch{continue}if(h.eq(s))return p}throw new Error("Unable to find valid recovery factor")}},1200:(E,n,c)=>{var r=c(8490),a=c(7011).assert;function i(y,t){this.ec=y,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(y,t,d){return t instanceof i?t:new i(y,{pub:t,pubEnc:d})},i.fromPrivate=function(y,t,d){return t instanceof i?t:new i(y,{priv:t,privEnc:d})},i.prototype.validate=function(){var y=this.getPublic();return y.isInfinity()?{result:!1,reason:"Invalid public key"}:y.validate()?y.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(y,t){return typeof y=="string"&&(t=y,y=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,y):this.pub},i.prototype.getPrivate=function(y){return y==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(y,t){this.priv=new r(y,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(y,t){if(y.x||y.y)return this.ec.curve.type==="mont"?a(y.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(y.x&&y.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(y.x,y.y));this.pub=this.ec.curve.decodePoint(y,t)},i.prototype.derive=function(y){return y.validate()||a(y.validate(),"public point not validated"),y.mul(this.priv).getX()},i.prototype.sign=function(y,t,d){return this.ec.sign(y,this,t,d)},i.prototype.verify=function(y,t,d){return this.ec.verify(y,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert;function y(u,f){if(u instanceof y)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new r(u.r,16),this.s=new r(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,p=0,h=f.place;p>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=y,y.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var p=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(p[0]===0){if(!(128&p[1]))return!1;p=p.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new r(p),this.s=new r(O),this.recoveryParam=null,!0},y.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),p=[48];return m(p,v.length),p=p.concat(v),a.encode(p,u)}},8650:(E,n,c)=>{var r=c(7952),a=c(480),i=c(7011),y=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(y(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=r.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),p=this.encodePoint(v),h=this.hashInt(p,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:p})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),p=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(p)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var r=c(7011),a=r.assert,i=r.parseBytes,y=r.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},y(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),y(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),y(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),y(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),y(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),y(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),r.encode(this.secret(),d)},t.prototype.getPublic=function(d){return r.encode(this.pubBytes(),d)},E.exports=t},220:(E,n,c)=>{var r=c(8490),a=c(7011),i=a.assert,y=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof r&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}y(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),y(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),y(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),y(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,n,c)=>{var r=n,a=c(8490),i=c(3349),y=c(4367);r.assert=i,r.toArray=y.toArray,r.zero2=y.zero2,r.toHex=y.toHex,r.encode=y.encode,r.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},r.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,p=d.andln(3)+f&3;v===3&&(v=-1),p===3&&(p=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||p!==2?v:-v:0,b[0].push(l),s=1&p?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?p:-p:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},r.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},r.parseBytes=function(t){return typeof t=="string"?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,n,c){(function(r,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function y(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof r=="object"?r.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),A=T;A=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-A&67108863,(A+=24)>=26&&(A-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,A+=1,this.words[A]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<