import { B as S, g as M, __tla as __tla_0 } from "./index-D8CPb0fZ.js";
import { __tla as __tla_1 } from "./index-CpJLUeaS.js";
let D_, $_;
let __tla = Promise.all([
  (() => {
    try {
      return __tla_0;
    } catch {
    }
  })(),
  (() => {
    try {
      return __tla_1;
    } catch {
    }
  })()
]).then(async () => {
  const F = "/assets/integrity_js_bg-CICzaQ1O.wasm", j = async (e = {}, _) => {
    let n;
    if (_.startsWith("data:")) {
      const t = _.replace(/^data:.*?base64,/, "");
      let r;
      if (typeof S == "function" && typeof S.from == "function") r = S.from(t, "base64");
      else if (typeof atob == "function") {
        const o = atob(t);
        r = new Uint8Array(o.length);
        for (let b = 0; b < o.length; b++) r[b] = o.charCodeAt(b);
      } else throw new Error("Cannot decode base64-encoded data URL");
      n = await WebAssembly.instantiate(r, e);
    } else {
      const t = await fetch(_), r = t.headers.get("Content-Type") || "";
      if ("instantiateStreaming" in WebAssembly && r.startsWith("application/wasm")) n = await WebAssembly.instantiateStreaming(t, e);
      else {
        const o = await t.arrayBuffer();
        n = await WebAssembly.instantiate(o, e);
      }
    }
    return n.instance.exports;
  };
  D_ = function(e, _) {
    const n = w(e, c.__wbindgen_malloc, c.__wbindgen_realloc), t = d;
    return c.verify_statement(n, t, _);
  };
  $_ = function(e, _) {
    const n = w(e, c.__wbindgen_malloc, c.__wbindgen_realloc), t = d, r = w(_, c.__wbindgen_malloc, c.__wbindgen_realloc), o = d;
    return c.verify_vc(n, t, r, o);
  };
  function B(e, _) {
    return Error(g(e, _));
  }
  function R(e, _) {
    const n = String(_), t = w(n, c.__wbindgen_malloc, c.__wbindgen_realloc), r = d;
    i().setInt32(e + 4 * 1, r, true), i().setInt32(e + 4 * 0, t, true);
  }
  function E(e, _) {
    const n = _, t = typeof n == "bigint" ? n : void 0;
    i().setBigInt64(e + 8 * 1, u(t) ? BigInt(0) : t, true), i().setInt32(e + 4 * 0, !u(t), true);
  }
  function U(e) {
    const _ = e, n = typeof _ == "boolean" ? _ : void 0;
    return u(n) ? 16777215 : n ? 1 : 0;
  }
  function L(e, _) {
    const n = I(_), t = w(n, c.__wbindgen_malloc, c.__wbindgen_realloc), r = d;
    i().setInt32(e + 4 * 1, r, true), i().setInt32(e + 4 * 0, t, true);
  }
  function q(e, _) {
    return e in _;
  }
  function C(e) {
    return typeof e == "bigint";
  }
  function W(e) {
    return typeof e == "function";
  }
  function D(e) {
    return e === null;
  }
  function $(e) {
    const _ = e;
    return typeof _ == "object" && _ !== null;
  }
  function N(e) {
    return typeof e == "string";
  }
  function V(e) {
    return e === void 0;
  }
  function z(e, _) {
    return e === _;
  }
  function G(e, _) {
    return e == _;
  }
  function H(e, _) {
    const n = _, t = typeof n == "number" ? n : void 0;
    i().setFloat64(e + 8 * 1, u(t) ? 0 : t, true), i().setInt32(e + 4 * 0, !u(t), true);
  }
  function P(e, _) {
    const n = _, t = typeof n == "string" ? n : void 0;
    var r = u(t) ? 0 : w(t, c.__wbindgen_malloc, c.__wbindgen_realloc), o = d;
    i().setInt32(e + 4 * 1, o, true), i().setInt32(e + 4 * 0, r, true);
  }
  function J(e, _) {
    throw new Error(g(e, _));
  }
  function Q(e) {
    e._wbg_cb_unref();
  }
  function X(e) {
    e.abort();
  }
  function Y() {
    return s(function(e, _, n, t, r) {
      e.append(g(_, n), g(t, r));
    }, arguments);
  }
  function K() {
    return s(function(e) {
      return e.arrayBuffer();
    }, arguments);
  }
  function Z() {
    return s(function(e, _) {
      return e.call(_);
    }, arguments);
  }
  function ee() {
    return s(function(e, _, n) {
      return e.call(_, n);
    }, arguments);
  }
  function _e(e) {
    return e.crypto;
  }
  function ne(e) {
    return e.done;
  }
  function te(e) {
    return Object.entries(e);
  }
  function re(e, _) {
    let n, t;
    try {
      n = e, t = _, console.error(g(e, _));
    } finally {
      c.__wbindgen_free(n, t, 1);
    }
  }
  function ce(e, _) {
    return e.fetch(_);
  }
  function be(e) {
    return fetch(e);
  }
  function oe() {
    return s(function(e, _) {
      e.getRandomValues(_);
    }, arguments);
  }
  function fe(e) {
    return e.getTime();
  }
  function ie(e, _) {
    return e[_ >>> 0];
  }
  function se() {
    return s(function(e, _) {
      return Reflect.get(e, _);
    }, arguments);
  }
  function ae() {
    return s(function(e, _) {
      return Reflect.has(e, _);
    }, arguments);
  }
  function ue(e) {
    return e.headers;
  }
  function de(e) {
    let _;
    try {
      _ = e instanceof ArrayBuffer;
    } catch {
      _ = false;
    }
    return _;
  }
  function ge(e) {
    let _;
    try {
      _ = e instanceof Map;
    } catch {
      _ = false;
    }
    return _;
  }
  function we(e) {
    let _;
    try {
      _ = e instanceof Response;
    } catch {
      _ = false;
    }
    return _;
  }
  function le(e) {
    let _;
    try {
      _ = e instanceof Uint8Array;
    } catch {
      _ = false;
    }
    return _;
  }
  function ye(e) {
    return Array.isArray(e);
  }
  function me(e) {
    return Number.isSafeInteger(e);
  }
  function he() {
    return Symbol.iterator;
  }
  function pe(e) {
    return e.length;
  }
  function ve(e) {
    return e.length;
  }
  function Ae(e) {
    console.log(e);
  }
  function Se(e) {
    return e.msCrypto;
  }
  function xe() {
    return /* @__PURE__ */ new Date();
  }
  function Ie() {
    return new Object();
  }
  function Te() {
    return s(function() {
      return new Headers();
    }, arguments);
  }
  function Me() {
    return new Error();
  }
  function Oe(e, _) {
    try {
      var n = {
        a: e,
        b: _
      }, t = (o, b) => {
        const f = n.a;
        n.a = 0;
        try {
          return m_(f, n.b, o, b);
        } finally {
          n.a = f;
        }
      };
      return new Promise(t);
    } finally {
      n.a = n.b = 0;
    }
  }
  function ke() {
    return s(function() {
      return new AbortController();
    }, arguments);
  }
  function Fe(e) {
    return new Uint8Array(e);
  }
  function je(e, _) {
    return new Uint8Array(T(e, _));
  }
  function Be(e, _) {
    return new Function(g(e, _));
  }
  function Re(e) {
    return new Uint8Array(e >>> 0);
  }
  function Ee() {
    return s(function(e, _, n) {
      return new Request(g(e, _), n);
    }, arguments);
  }
  function Ue() {
    return s(function(e) {
      return e.next();
    }, arguments);
  }
  function Le(e) {
    return e.next;
  }
  function qe(e) {
    return e.node;
  }
  function Ce(e) {
    return e.process;
  }
  function We(e, _, n) {
    Uint8Array.prototype.set.call(T(e, _), n);
  }
  function De(e) {
    return e.queueMicrotask;
  }
  function $e(e) {
    queueMicrotask(e);
  }
  function Ne() {
    return s(function(e, _) {
      e.randomFillSync(_);
    }, arguments);
  }
  function Ve() {
    return s(function() {
      return module.require;
    }, arguments);
  }
  function ze(e) {
    return Promise.resolve(e);
  }
  function Ge(e, _) {
    e.body = _;
  }
  function He(e, _) {
    e.credentials = h_[_];
  }
  function Pe(e, _) {
    e.headers = _;
  }
  function Je(e, _, n) {
    e.method = g(_, n);
  }
  function Qe(e, _) {
    e.mode = p_[_];
  }
  function Xe(e, _) {
    e.signal = _;
  }
  function Ye(e) {
    return e.signal;
  }
  function Ke(e, _) {
    const n = _.stack, t = w(n, c.__wbindgen_malloc, c.__wbindgen_realloc), r = d;
    i().setInt32(e + 4 * 1, r, true), i().setInt32(e + 4 * 0, t, true);
  }
  function Ze() {
    const e = typeof M > "u" ? null : M;
    return u(e) ? 0 : p(e);
  }
  function e_() {
    const e = typeof globalThis > "u" ? null : globalThis;
    return u(e) ? 0 : p(e);
  }
  function __() {
    const e = typeof self > "u" ? null : self;
    return u(e) ? 0 : p(e);
  }
  function n_() {
    const e = typeof window > "u" ? null : window;
    return u(e) ? 0 : p(e);
  }
  function t_(e) {
    return e.status;
  }
  function r_() {
    return s(function(e) {
      return JSON.stringify(e);
    }, arguments);
  }
  function c_(e, _, n) {
    return e.subarray(_ >>> 0, n >>> 0);
  }
  function b_(e, _, n) {
    return e.then(_, n);
  }
  function o_(e, _) {
    return e.then(_);
  }
  function f_(e, _) {
    const n = _.url, t = w(n, c.__wbindgen_malloc, c.__wbindgen_realloc), r = d;
    i().setInt32(e + 4 * 1, r, true), i().setInt32(e + 4 * 0, t, true);
  }
  function i_(e) {
    return e.value;
  }
  function s_(e) {
    return e.versions;
  }
  function a_(e, _) {
    return v_(e, _, c.wasm_bindgen__closure__destroy__hca0ec3cea7395b6a, y_);
  }
  function u_(e) {
    return e;
  }
  function d_(e, _) {
    return T(e, _);
  }
  function g_(e, _) {
    return g(e, _);
  }
  function w_(e) {
    return BigInt.asUintN(64, e);
  }
  function l_() {
    const e = c.__wbindgen_externrefs, _ = e.grow(4);
    e.set(0, void 0), e.set(_ + 0, void 0), e.set(_ + 1, null), e.set(_ + 2, true), e.set(_ + 3, false);
  }
  function y_(e, _, n) {
    c.wasm_bindgen__convert__closures_____invoke__he63027ed25d1ed37(e, _, n);
  }
  function m_(e, _, n, t) {
    c.wasm_bindgen__convert__closures_____invoke__h54ef5c9114fbdb7b(e, _, n, t);
  }
  const h_ = [
    "omit",
    "same-origin",
    "include"
  ], p_ = [
    "same-origin",
    "no-cors",
    "cors",
    "navigate"
  ];
  function p(e) {
    const _ = c.__externref_table_alloc();
    return c.__wbindgen_externrefs.set(_, e), _;
  }
  const O = typeof FinalizationRegistry > "u" ? {
    register: () => {
    },
    unregister: () => {
    }
  } : new FinalizationRegistry((e) => e.dtor(e.a, e.b));
  function I(e) {
    const _ = typeof e;
    if (_ == "number" || _ == "boolean" || e == null) return `${e}`;
    if (_ == "string") return `"${e}"`;
    if (_ == "symbol") {
      const r = e.description;
      return r == null ? "Symbol" : `Symbol(${r})`;
    }
    if (_ == "function") {
      const r = e.name;
      return typeof r == "string" && r.length > 0 ? `Function(${r})` : "Function";
    }
    if (Array.isArray(e)) {
      const r = e.length;
      let o = "[";
      r > 0 && (o += I(e[0]));
      for (let b = 1; b < r; b++) o += ", " + I(e[b]);
      return o += "]", o;
    }
    const n = /\[object ([^\]]+)\]/.exec(toString.call(e));
    let t;
    if (n && n.length > 1) t = n[1];
    else return toString.call(e);
    if (t == "Object") try {
      return "Object(" + JSON.stringify(e) + ")";
    } catch {
      return "Object";
    }
    return e instanceof Error ? `${e.name}: ${e.message}
${e.stack}` : t;
  }
  function T(e, _) {
    return e = e >>> 0, m().subarray(e / 1, e / 1 + _);
  }
  let l = null;
  function i() {
    return (l === null || l.buffer.detached === true || l.buffer.detached === void 0 && l.buffer !== c.memory.buffer) && (l = new DataView(c.memory.buffer)), l;
  }
  function g(e, _) {
    return e = e >>> 0, S_(e, _);
  }
  let v = null;
  function m() {
    return (v === null || v.byteLength === 0) && (v = new Uint8Array(c.memory.buffer)), v;
  }
  function s(e, _) {
    try {
      return e.apply(this, _);
    } catch (n) {
      const t = p(n);
      c.__wbindgen_exn_store(t);
    }
  }
  function u(e) {
    return e == null;
  }
  function v_(e, _, n, t) {
    const r = {
      a: e,
      b: _,
      cnt: 1,
      dtor: n
    }, o = (...b) => {
      r.cnt++;
      const f = r.a;
      r.a = 0;
      try {
        return t(f, r.b, ...b);
      } finally {
        r.a = f, o._wbg_cb_unref();
      }
    };
    return o._wbg_cb_unref = () => {
      --r.cnt === 0 && (r.dtor(r.a, r.b), r.a = 0, O.unregister(r));
    }, O.register(o, r, r), o;
  }
  function w(e, _, n) {
    if (n === void 0) {
      const f = h.encode(e), y = _(f.length, 1) >>> 0;
      return m().subarray(y, y + f.length).set(f), d = f.length, y;
    }
    let t = e.length, r = _(t, 1) >>> 0;
    const o = m();
    let b = 0;
    for (; b < t; b++) {
      const f = e.charCodeAt(b);
      if (f > 127) break;
      o[r + b] = f;
    }
    if (b !== t) {
      b !== 0 && (e = e.slice(b)), r = n(r, t, t = b + e.length * 3, 1) >>> 0;
      const f = m().subarray(r + b, r + t), y = h.encodeInto(e, f);
      b += y.written, r = n(r, t, b, 1) >>> 0;
    }
    return d = b, r;
  }
  let A = new TextDecoder("utf-8", {
    ignoreBOM: true,
    fatal: true
  });
  A.decode();
  const A_ = 2146435072;
  let x = 0;
  function S_(e, _) {
    return x += _, x >= A_ && (A = new TextDecoder("utf-8", {
      ignoreBOM: true,
      fatal: true
    }), A.decode(), x = _), A.decode(m().subarray(e, e + _));
  }
  const h = new TextEncoder();
  "encodeInto" in h || (h.encodeInto = function(e, _) {
    const n = h.encode(e);
    return _.set(n), {
      read: e.length,
      written: n.length
    };
  });
  let d = 0, c;
  function x_(e) {
    c = e;
  }
  URL = globalThis.URL;
  const a = await j({
    "./integrity_js_bg.js": {
      __wbg_String_8f0eb39a4a4c2f66: R,
      __wbg_new_8a6f238a6ece86ea: Me,
      __wbg_stack_0ed75d68575b0f3c: Ke,
      __wbg_error_7534b8e9a36f1ab4: re,
      __wbg_fetch_f1856afdb49415d1: be,
      __wbg_queueMicrotask_5bb536982f78a56f: $e,
      __wbg_queueMicrotask_0aa0a927f78f5d98: De,
      __wbg_fetch_afb6a4b6cacf876d: ce,
      __wbg_instanceof_Response_ee1d54d79ae41977: we,
      __wbg_arrayBuffer_bb54076166006c39: K,
      __wbg_url_c484c26b1fbf5126: f_,
      __wbg_status_89d7e803db911ee7: t_,
      __wbg_headers_59a2938db9f80985: ue,
      __wbg_log_6b5ca2e6124b2808: Ae,
      __wbg_new_with_str_and_init_a61cbc6bdef21614: Ee,
      __wbg_new_64284bd487f9d239: Te,
      __wbg_append_a992ccc37aa62dc4: Y,
      __wbg_new_b949e7f56150a5d1: ke,
      __wbg_abort_2f0584e03e8e3950: X,
      __wbg_signal_d1285ecab4ebc5ad: Ye,
      __wbg_set_method_c3e20375f5ae7fac: Je,
      __wbg_set_signal_f2d3f8599248896d: Xe,
      __wbg_set_credentials_c4a58d2e05ef24fb: He,
      __wbg_set_headers_cfc5f4b2c1f20549: Pe,
      __wbg_set_body_9a7e00afe3cfe244: Ge,
      __wbg_set_mode_b13642c312648202: Qe,
      __wbg_crypto_86f2631e91b51511: _e,
      __wbg_process_3975fd6c72f520aa: Ce,
      __wbg_versions_4e31226f5e8dc909: s_,
      __wbg_node_e1f24f89a7336c2e: qe,
      __wbg_require_b74f47fc2d022fd6: Ve,
      __wbg_msCrypto_d562bbe83e0d4b91: Se,
      __wbg_randomFillSync_f8c153b79f285817: Ne,
      __wbg_getRandomValues_b3f15fcbfabb0f8b: oe,
      __wbg_new_361308b2356cecd0: Ie,
      __wbg_new_no_args_1c7c842f08d00ebb: Be,
      __wbg_new_dd2b680c8bf6ae29: Fe,
      __wbg_length_32ed9a279acd054c: pe,
      __wbg_prototypesetcall_bdcdcc5842e4d77d: We,
      __wbg_new_from_slice_a3d2629dc1826784: je,
      __wbg_new_with_length_a2c39cbe88fd8ff1: Re,
      __wbg_subarray_a96e1fef17ed23cb: c_,
      __wbg_done_57b39ecd9addfe81: ne,
      __wbg_value_0546255b415e96c1: i_,
      __wbg_instanceof_Map_53af74335dec57f4: ge,
      __wbg_instanceof_Uint8Array_9b9075935c74707c: le,
      __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: de,
      __wbg_new_0_73afc35eb544e539: xe,
      __wbg_getTime_1e3cd1391c5c3995: fe,
      __wbg_get_9b94d73e6221f75c: ie,
      __wbg_length_35a7bace40f36eac: ve,
      __wbg_isArray_d314bb98fcf08331: ye,
      __wbg_isSafeInteger_bfbc7332a9768d2a: me,
      __wbg_entries_58c7934c745daac7: te,
      __wbg_iterator_6ff6560ca1568e55: he,
      __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: e_,
      __wbg_call_389efe28435a9388: Z,
      __wbg_static_accessor_SELF_a621d3dfbb60d0ce: __,
      __wbg_static_accessor_GLOBAL_12837167ad935116: Ze,
      __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: n_,
      __wbg_new_b5d9e2fb389fef91: Oe,
      __wbg_then_b9e7b3b5f1a9e1b5: o_,
      __wbg_then_0d9fe2c7b1857d32: b_,
      __wbg_resolve_002c4b7d9d8f6b64: ze,
      __wbg_call_4708e0c13bdc8e95: ee,
      __wbg_next_418f80d8f5303233: Le,
      __wbg_next_3482f54c49e8af19: Ue,
      __wbg_get_b3ed3ad4be2bc8ac: se,
      __wbg_stringify_8d1cc6ff383e8bae: r_,
      __wbg_has_d4e53238966c12b6: ae,
      __wbg___wbindgen_number_get_8ff4255516ccad3e: H,
      __wbg___wbindgen_in_47fa6863be6f2f25: q,
      __wbg___wbindgen_throw_be289d5034ed271b: J,
      __wbg___wbindgen_is_null_ac34f5003991759a: D,
      __wbg___wbindgen_jsval_eq_11888390b0186270: z,
      __wbg_Error_8c4e43fe74559d73: B,
      __wbg___wbindgen_is_bigint_31b12575b56f32fc: C,
      __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: $,
      __wbg___wbindgen_is_string_cd444516edc5b180: N,
      __wbg___wbindgen_string_get_72fb696202c56729: P,
      __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: U,
      __wbg___wbindgen_is_function_0095a73b8b156f76: W,
      __wbg___wbindgen_is_undefined_9e4d92534c42d778: V,
      __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: G,
      __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: E,
      __wbg___wbindgen_debug_string_0bc8482c6e3508ae: L,
      __wbg__wbg_cb_unref_d9b87ff7982e3b21: Q,
      __wbindgen_init_externref_table: l_,
      __wbindgen_cast_0000000000000001: a_,
      __wbindgen_cast_0000000000000002: u_,
      __wbindgen_cast_0000000000000003: d_,
      __wbindgen_cast_0000000000000004: g_,
      __wbindgen_cast_0000000000000005: w_
    }
  }, F), I_ = a.memory, T_ = a.verify_statement, M_ = a.verify_vc, O_ = a.wasm_bindgen__closure__destroy__hca0ec3cea7395b6a, k_ = a.wasm_bindgen__convert__closures_____invoke__h54ef5c9114fbdb7b, F_ = a.wasm_bindgen__convert__closures_____invoke__he63027ed25d1ed37, j_ = a.__wbindgen_malloc, B_ = a.__wbindgen_realloc, R_ = a.__wbindgen_exn_store, E_ = a.__externref_table_alloc, U_ = a.__wbindgen_externrefs, L_ = a.__wbindgen_free, k = a.__wbindgen_start, q_ = Object.freeze(Object.defineProperty({
    __proto__: null,
    __externref_table_alloc: E_,
    __wbindgen_exn_store: R_,
    __wbindgen_externrefs: U_,
    __wbindgen_free: L_,
    __wbindgen_malloc: j_,
    __wbindgen_realloc: B_,
    __wbindgen_start: k,
    memory: I_,
    verify_statement: T_,
    verify_vc: M_,
    wasm_bindgen__closure__destroy__hca0ec3cea7395b6a: O_,
    wasm_bindgen__convert__closures_____invoke__h54ef5c9114fbdb7b: k_,
    wasm_bindgen__convert__closures_____invoke__he63027ed25d1ed37: F_
  }, Symbol.toStringTag, {
    value: "Module"
  }));
  x_(q_);
  k();
});
export {
  __tla,
  D_ as verify_statement,
  $_ as verify_vc
};
